diff --git a/db.sqlite3 b/db.sqlite3 index 0fbe04cda..76fd2a9aa 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/front/dist/assets/AboutInspectionPage-533fd3b9.js b/front/dist/assets/AboutInspectionPage-533fd3b9.js deleted file mode 100644 index 0715f6170..000000000 --- a/front/dist/assets/AboutInspectionPage-533fd3b9.js +++ /dev/null @@ -1 +0,0 @@ -import{al as t,ao as a,ap as o,aq as e,au as s,H as c,ar as n,av as r}from"./index-32269281.js";const l={};function f(i,p,_,u,x,d){return a(),o(s,null,{default:e(()=>[c(r,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[n(" Об инспекции ")]),_:1})]),_:1})}const h=t(l,[["render",f]]);export{h as default}; diff --git a/front/dist/assets/AboutPortalPage-6b5cc9bf.js b/front/dist/assets/AboutPortalPage-6b5cc9bf.js deleted file mode 100644 index 300977a42..000000000 --- a/front/dist/assets/AboutPortalPage-6b5cc9bf.js +++ /dev/null @@ -1 +0,0 @@ -import{al as e,ao as a,ap as o,aq as t,au as s,H as r,ar as c,av as n}from"./index-32269281.js";const l={};function f(_,i,p,u,x,d){return a(),o(s,null,{default:t(()=>[r(n,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:t(()=>[c(" О портале ")]),_:1})]),_:1})}const h=e(l,[["render",f]]);export{h as default}; diff --git a/front/dist/assets/DefaultPortal-093fc1b2.js b/front/dist/assets/DefaultPortal-093fc1b2.js deleted file mode 100644 index 003a9cc69..000000000 --- a/front/dist/assets/DefaultPortal-093fc1b2.js +++ /dev/null @@ -1 +0,0 @@ -import{p as N,i as ve,c as m,r as R,a as me,b as re,d as wt,s as K,o as be,e as xe,f as Kn,h as Re,j as Wn,k as qn,l as pe,m as Jn,n as tn,q as Xn,t as St,w as j,u as mt,v as T,x as Zn,y as Qn,z as de,A as nn,V as ea,B as W,C as ue,D as Vt,I as ta,E as Z,F as X,G as We,H as i,J as Ie,K as tt,L as na,M as te,N as an,O as Ce,P as nt,Q as xt,R as $e,S as ln,T as he,U as on,W as Ve,X as le,Y as aa,Z as je,_ as Le,$ as la,a0 as ze,a1 as Ue,a2 as De,a3 as Q,a4 as Ct,a5 as oa,a6 as ia,a7 as ra,a8 as J,a9 as sa,aa as rn,ab as ua,ac as Ye,ad as gt,ae as at,af as $t,ag as sn,ah as un,ai as kt,aj as ca,ak as cn,al as He,am as lt,an as dn,ao as G,ap as ae,aq as C,ar as oe,as as _t,at as It,au as Ae,av as ge,aw as At,ax as da,ay as ot,az as se,aA as Me,aB as va,aC as we,aD as vn,aE as it,aF as fn,aG as rt,aH as fa,aI as mn,aJ as ma,aK as ga,aL as st,aM as ya,aN as gn,aO as ut,aP as ha,aQ as ba,aR as Ft,aS as Pt,aT as pa,aU as Te,aV as Rt,aW as ie,aX as Pe,aY as _e,aZ as wa,a_ as Sa,a$ as Va,b0 as Ee,b1 as xa,b2 as Lt,b3 as Ca,b4 as yn,b5 as $a,b6 as hn,b7 as Nt,b8 as ka,b9 as _a,ba as Ia,bb as Aa,bc as Pa,bd as Ra,be as La,bf as Oa}from"./index-32269281.js";import{u as Ea,V as ee,a as bn,b as ct,c as Be,m as Ba}from"./ssrBoot-d4b2bdea.js";import{V as pn,a as Ma,b as wn,c as Sn}from"./group-185db83d.js";const qe=Symbol.for("vuetify:layout"),Vn=Symbol.for("vuetify:layout-item"),jt=1e3,Ta=N({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),xn=N({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Da(){const e=ve(qe);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Cn(e){const o=ve(qe);if(!o)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${Re()}`,t=wt("useLayoutItem");xe(Vn,{id:n});const l=K(!1);Wn(()=>l.value=!0),qn(()=>l.value=!1);const{layoutItemStyles:a,layoutItemScrimStyles:r}=o.register(t,{...e,active:m(()=>l.value?!1:e.active.value),id:n});return pe(()=>o.unregister(n)),{layoutItemStyles:a,layoutRect:o.layoutRect,layoutItemScrimStyles:r}}const Fa=(e,o,n,t)=>{let l={top:0,left:0,right:0,bottom:0};const a=[{id:"",layer:{...l}}];for(const r of e){const u=o.get(r),f=n.get(r),d=t.get(r);if(!u||!f||!d)continue;const g={...l,[u.value]:parseInt(l[u.value],10)+(d.value?parseInt(f.value,10):0)};a.push({id:r,layer:g}),l=g}return a};function Na(e){const o=ve(qe,null),n=m(()=>o?o.rootZIndex.value-100:jt),t=R([]),l=me(new Map),a=me(new Map),r=me(new Map),u=me(new Map),f=me(new Map),{resizeRef:d,contentRect:g}=Ea(),s=m(()=>{const w=new Map,x=e.overlaps??[];for(const S of x.filter($=>$.includes(":"))){const[$,P]=S.split(":");if(!t.value.includes($)||!t.value.includes(P))continue;const I=l.get($),D=l.get(P),O=a.get($),B=a.get(P);!I||!D||!O||!B||(w.set(P,{position:I.value,amount:parseInt(O.value,10)}),w.set($,{position:D.value,amount:-parseInt(B.value,10)}))}return w}),h=m(()=>{const w=[...new Set([...r.values()].map(S=>S.value))].sort((S,$)=>S-$),x=[];for(const S of w){const $=t.value.filter(P=>{var I;return((I=r.get(P))==null?void 0:I.value)===S});x.push(...$)}return Fa(x,l,a,u)}),v=m(()=>!Array.from(f.values()).some(w=>w.value)),c=m(()=>h.value[h.value.length-1].layer),y=m(()=>({"--v-layout-left":re(c.value.left),"--v-layout-right":re(c.value.right),"--v-layout-top":re(c.value.top),"--v-layout-bottom":re(c.value.bottom),...v.value?void 0:{transition:"none"}})),b=m(()=>h.value.slice(1).map((w,x)=>{let{id:S}=w;const{layer:$}=h.value[x],P=a.get(S),I=l.get(S);return{id:S,...$,size:Number(P.value),position:I.value}})),p=w=>b.value.find(x=>x.id===w),k=wt("createLayout"),A=K(!1);be(()=>{A.value=!0}),xe(qe,{register:(w,x)=>{let{id:S,order:$,position:P,layoutSize:I,elementSize:D,active:O,disableTransitions:B,absolute:F}=x;r.set(S,$),l.set(S,P),a.set(S,I),u.set(S,O),B&&f.set(S,B);const H=Kn(Vn,k==null?void 0:k.vnode).indexOf(w);H>-1?t.value.splice(H,0,S):t.value.push(S);const L=m(()=>b.value.findIndex(z=>z.id===S)),M=m(()=>n.value+h.value.length*2-L.value*2),E=m(()=>{const z=P.value==="left"||P.value==="right",ne=P.value==="right",ce=P.value==="bottom",fe={[P.value]:0,zIndex:M.value,transform:`translate${z?"X":"Y"}(${(O.value?0:-110)*(ne||ce?-1:1)}%)`,position:F.value||n.value!==jt?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(!A.value)return fe;const U=b.value[L.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const vt=s.value.get(S);return vt&&(U[vt.position]+=vt.amount),{...fe,height:z?`calc(100% - ${U.top}px - ${U.bottom}px)`:D.value?`${D.value}px`:void 0,left:ne?void 0:`${U.left}px`,right:ne?`${U.right}px`:void 0,top:P.value!=="bottom"?`${U.top}px`:void 0,bottom:P.value!=="top"?`${U.bottom}px`:void 0,width:z?D.value?`${D.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),Y=m(()=>({zIndex:M.value-1}));return{layoutItemStyles:E,layoutItemScrimStyles:Y,zIndex:M}},unregister:w=>{r.delete(w),l.delete(w),a.delete(w),u.delete(w),f.delete(w),t.value=t.value.filter(x=>x!==w)},mainRect:c,mainStyles:y,getLayoutItem:p,items:b,layoutRect:g,rootZIndex:n});const _=m(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),V=m(()=>({zIndex:n.value,position:o?"relative":void 0,overflow:o?"hidden":void 0}));return{layoutClasses:_,layoutStyles:V,getLayoutItem:p,items:b,layoutRect:g,layoutRef:d}}const ja=Jn("MainmenuStore",()=>{const e=R([]);return{portallinks:e,loadlinks:async()=>{const n=await tn.get("api/navigation/links/");e.value=n.data}}});function zt(e,o){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,t)}return n}function Se(e){for(var o=1;o1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,t)=>(o.includes(t)||(n[t]=T(e[t])),n),{})}function Je(e){return typeof e=="function"}function Ua(e){return Zn(e)||Qn(e)}function $n(e,o,n){let t=e;const l=o.split(".");for(let a=0;ae.some(t=>$n(o,t,{[n]:!1})[n]))}function Ht(e,o,n){return m(()=>e.reduce((t,l)=>{const a=$n(o,l,{[n]:!1})[n]||[];return t.concat(a)},[]))}function kn(e,o,n,t){return e.call(t,T(o),T(n),t)}function _n(e){return e.$valid!==void 0?!e.$valid:!e}function Ha(e,o,n,t,l,a,r){let{$lazy:u,$rewardEarly:f}=l,d=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],g=arguments.length>8?arguments[8]:void 0,s=arguments.length>9?arguments[9]:void 0,h=arguments.length>10?arguments[10]:void 0;const v=R(!!t.value),c=R(0);n.value=!1;const y=j([o,t].concat(d,h),()=>{if(u&&!t.value||f&&!s.value&&!n.value)return;let b;try{b=kn(e,o,g,r)}catch(p){b=Promise.reject(p)}c.value++,n.value=!!c.value,v.value=!1,Promise.resolve(b).then(p=>{c.value--,n.value=!!c.value,a.value=p,v.value=_n(p)}).catch(p=>{c.value--,n.value=!!c.value,a.value=p,v.value=!0})},{immediate:!0,deep:typeof o=="object"});return{$invalid:v,$unwatch:y}}function Ga(e,o,n,t,l,a,r,u){let{$lazy:f,$rewardEarly:d}=t;const g=()=>({}),s=m(()=>{if(f&&!n.value||d&&!u.value)return!1;let h=!0;try{const v=kn(e,o,r,a);l.value=v,h=_n(v)}catch(v){l.value=v}return h});return{$unwatch:g,$invalid:s}}function Ya(e,o,n,t,l,a,r,u,f,d,g){const s=R(!1),h=e.$params||{},v=R(null);let c,y;e.$async?{$invalid:c,$unwatch:y}=Ha(e.$validator,o,s,n,t,v,l,e.$watchTargets,f,d,g):{$invalid:c,$unwatch:y}=Ga(e.$validator,o,n,t,v,l,f,d);const b=e.$message;return{$message:Je(b)?m(()=>b(Ut({$pending:s,$invalid:c,$params:Ut(h),$model:o,$response:v,$validator:a,$propertyPath:u,$property:r}))):b||"",$params:h,$pending:s,$invalid:c,$response:v,$unwatch:y}}function Ka(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o=T(e),n=Object.keys(o),t={},l={},a={};let r=null;return n.forEach(u=>{const f=o[u];switch(!0){case Je(f.$validator):t[u]=f;break;case Je(f):t[u]={$validator:f};break;case u==="$validationGroups":r=f;break;case u.startsWith("$"):a[u]=f;break;default:l[u]=f}}),{rules:t,nestedValidators:l,config:a,validationGroups:r}}const Wa="__root";function qa(e,o,n,t,l,a,r,u,f){const d=Object.keys(e),g=t.get(l,e),s=R(!1),h=R(!1),v=R(0);if(g){if(!g.$partial)return g;g.$unwatch(),s.value=g.$dirty.value}const c={$dirty:s,$path:l,$touch:()=>{s.value||(s.value=!0)},$reset:()=>{s.value&&(s.value=!1)},$commit:()=>{}};return d.length?(d.forEach(y=>{c[y]=Ya(e[y],o,c.$dirty,a,r,y,n,l,f,h,v)}),c.$externalResults=m(()=>u.value?[].concat(u.value).map((y,b)=>({$propertyPath:l,$property:n,$validator:"$externalResults",$uid:`${l}-externalResult-${b}`,$message:y,$params:{},$response:null,$pending:!1})):[]),c.$invalid=m(()=>{const y=d.some(b=>T(c[b].$invalid));return h.value=y,!!c.$externalResults.value.length||y}),c.$pending=m(()=>d.some(y=>T(c[y].$pending))),c.$error=m(()=>c.$dirty.value?c.$pending.value||c.$invalid.value:!1),c.$silentErrors=m(()=>d.filter(y=>T(c[y].$invalid)).map(y=>{const b=c[y];return me({$propertyPath:l,$property:n,$validator:y,$uid:`${l}-${y}`,$message:b.$message,$params:b.$params,$response:b.$response,$pending:b.$pending})}).concat(c.$externalResults.value)),c.$errors=m(()=>c.$dirty.value?c.$silentErrors.value:[]),c.$unwatch=()=>d.forEach(y=>{c[y].$unwatch()}),c.$commit=()=>{h.value=!0,v.value=Date.now()},t.set(l,e,c),c):(g&&t.set(l,e,c),c)}function Ja(e,o,n,t,l,a,r){const u=Object.keys(e);return u.length?u.reduce((f,d)=>(f[d]=yt({validations:e[d],state:o,key:d,parentKey:n,resultsCache:t,globalConfig:l,instance:a,externalResults:r}),f),{}):{}}function Xa(e,o,n){const t=m(()=>[o,n].filter(c=>c).reduce((c,y)=>c.concat(Object.values(T(y))),[])),l=m({get(){return e.$dirty.value||(t.value.length?t.value.every(c=>c.$dirty):!1)},set(c){e.$dirty.value=c}}),a=m(()=>{const c=T(e.$silentErrors)||[],y=t.value.filter(b=>(T(b).$silentErrors||[]).length).reduce((b,p)=>b.concat(...p.$silentErrors),[]);return c.concat(y)}),r=m(()=>{const c=T(e.$errors)||[],y=t.value.filter(b=>(T(b).$errors||[]).length).reduce((b,p)=>b.concat(...p.$errors),[]);return c.concat(y)}),u=m(()=>t.value.some(c=>c.$invalid)||T(e.$invalid)||!1),f=m(()=>t.value.some(c=>T(c.$pending))||T(e.$pending)||!1),d=m(()=>t.value.some(c=>c.$dirty)||t.value.some(c=>c.$anyDirty)||l.value),g=m(()=>l.value?f.value||u.value:!1),s=()=>{e.$touch(),t.value.forEach(c=>{c.$touch()})},h=()=>{e.$commit(),t.value.forEach(c=>{c.$commit()})},v=()=>{e.$reset(),t.value.forEach(c=>{c.$reset()})};return t.value.length&&t.value.every(c=>c.$dirty)&&s(),{$dirty:l,$errors:r,$invalid:u,$anyDirty:d,$error:g,$pending:f,$touch:s,$reset:v,$silentErrors:a,$commit:h}}function yt(e){let{validations:o,state:n,key:t,parentKey:l,childResults:a,resultsCache:r,globalConfig:u={},instance:f,externalResults:d}=e;const g=l?`${l}.${t}`:t,{rules:s,nestedValidators:h,config:v,validationGroups:c}=Ka(o),y=Se(Se({},u),v),b=t?m(()=>{const E=T(n);return E?T(E[t]):void 0}):n,p=Se({},T(d)||{}),k=m(()=>{const E=T(d);return t?E?T(E[t]):void 0:E}),A=qa(s,b,t,r,g,y,f,k,n),_=Ja(h,b,g,r,y,f,k),V={};c&&Object.entries(c).forEach(E=>{let[Y,z]=E;V[Y]={$invalid:ft(z,_,"$invalid"),$error:ft(z,_,"$error"),$pending:ft(z,_,"$pending"),$errors:Ht(z,_,"$errors"),$silentErrors:Ht(z,_,"$silentErrors")}});const{$dirty:w,$errors:x,$invalid:S,$anyDirty:$,$error:P,$pending:I,$touch:D,$reset:O,$silentErrors:B,$commit:F}=Xa(A,_,a),q=t?m({get:()=>T(b),set:E=>{w.value=!0;const Y=T(n),z=T(d);z&&(z[t]=p[t]),mt(Y[t])?Y[t].value=E:Y[t]=E}}):null;t&&y.$autoDirty&&j(b,()=>{w.value||D();const E=T(d);E&&(E[t]=p[t])},{flush:"sync"});async function H(){return D(),y.$rewardEarly&&(F(),await de()),await de(),new Promise(E=>{if(!I.value)return E(!S.value);const Y=j(I,()=>{E(!S.value),Y()})})}function L(E){return(a.value||{})[E]}function M(){mt(d)?d.value=p:Object.keys(p).length===0?Object.keys(d).forEach(E=>{delete d[E]}):Object.assign(d,p)}return me(Se(Se(Se({},A),{},{$model:q,$dirty:w,$error:P,$errors:x,$invalid:S,$anyDirty:$,$pending:I,$touch:D,$reset:O,$path:g||Wa,$silentErrors:B,$validate:H,$commit:F},a&&{$getResultsForChild:L,$clearExternalResults:M,$validationGroups:V}),_))}class Za{constructor(){this.storage=new Map}set(o,n,t){this.storage.set(o,{rules:n,result:t})}checkRulesValidity(o,n,t){const l=Object.keys(t),a=Object.keys(n);return a.length!==l.length||!a.every(u=>l.includes(u))?!1:a.every(u=>n[u].$params?Object.keys(n[u].$params).every(f=>T(t[u].$params[f])===T(n[u].$params[f])):!0)}get(o,n){const t=this.storage.get(o);if(!t)return;const{rules:l,result:a}=t,r=this.checkRulesValidity(o,n,l),u=a.$unwatch?a.$unwatch:()=>({});return r?a:{$dirty:a.$dirty,$partial:!0,$unwatch:u}}}const Ke={COLLECT_ALL:!0,COLLECT_NONE:!1},Gt=Symbol("vuelidate#injectChildResults"),Yt=Symbol("vuelidate#removeChildResults");function Qa(e){let{$scope:o,instance:n}=e;const t={},l=R([]),a=m(()=>l.value.reduce((g,s)=>(g[s]=T(t[s]),g),{}));function r(g,s){let{$registerAs:h,$scope:v,$stopPropagation:c}=s;c||o===Ke.COLLECT_NONE||v===Ke.COLLECT_NONE||o!==Ke.COLLECT_ALL&&o!==v||(t[h]=g,l.value.push(h))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],r);function u(g){l.value=l.value.filter(s=>s!==g),delete t[g]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],u);const f=ve(Gt,[]);xe(Gt,n.__vuelidateInjectInstances);const d=ve(Yt,[]);return xe(Yt,n.__vuelidateRemoveInstances),{childResults:a,sendValidationResultsToParent:f,removeValidationResultsFromParent:d}}function In(e){return new Proxy(e,{get(o,n){return typeof o[n]=="object"?In(o[n]):m(()=>o[n])}})}let Kt=0;function el(e,o){var n;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(t=e,e=void 0,o=void 0);let{$registerAs:l,$scope:a=Ke.COLLECT_ALL,$stopPropagation:r,$externalResults:u,currentVueInstance:f}=t;const d=f||((n=Xn())===null||n===void 0?void 0:n.proxy),g=d?d.$options:{};l||(Kt+=1,l=`_vuelidate_${Kt}`);const s=R({}),h=new Za,{childResults:v,sendValidationResultsToParent:c,removeValidationResultsFromParent:y}=d?Qa({$scope:a,instance:d}):{childResults:R({})};if(!e&&g.validations){const b=g.validations;o=R({}),St(()=>{o.value=d,j(()=>Je(b)?b.call(o.value,new In(o.value)):b,p=>{s.value=yt({validations:p,state:o,childResults:v,resultsCache:h,globalConfig:t,instance:d,externalResults:u||d.vuelidateExternalResults})},{immediate:!0})}),t=g.validationsConfig||t}else{const b=mt(e)||Ua(e)?e:me(e||{});j(b,p=>{s.value=yt({validations:p,state:o,childResults:v,resultsCache:h,globalConfig:t,instance:d??{},externalResults:u})},{immediate:!0})}return d&&(c.forEach(b=>b(s,{$registerAs:l,$scope:a,$stopPropagation:r})),pe(()=>y.forEach(b=>b(l)))),m(()=>Se(Se({},T(s.value)),v.value))}function Wt(e,o){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,t)}return n}function Fe(e){for(var o=1;o1&&arguments[1]!==void 0?arguments[1]:[];const n=dt(e);return Fe(Fe({},n),{},{$async:!0,$watchTargets:o})}function ol(e){return{$validator(o){for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l{const f=Object.entries(r).reduce((d,g)=>{let[s,h]=g;const v=e[s]||{},c=Object.entries(v).reduce((y,b)=>{let[p,k]=b;const _=Pn(k).call(this,h,r,u,...t),V=An(_);if(y.$data[p]=_,y.$data.$invalid=!V||!!y.$data.$invalid,y.$data.$error=y.$data.$invalid,!V){let w=k.$message||"";const x=k.$params||{};typeof w=="function"&&(w=w({$pending:!1,$invalid:!V,$params:x,$model:h,$response:_})),y.$errors.push({$property:s,$message:w,$params:x,$response:_,$model:h,$pending:!1,$validator:p})}return{$valid:y.$valid&&V,$data:y.$data,$errors:y.$errors}},{$valid:!0,$data:{},$errors:[]});return d.$data[s]=c.$data,d.$errors[s]=c.$errors,{$valid:d.$valid&&c.$valid,$data:d.$data,$errors:d.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:a.$valid&&f.$valid,$data:a.$data.concat(f.$data),$errors:a.$errors.concat(f.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:o=>{let{$response:n}=o;return n?n.$errors.map(t=>Object.values(t).map(l=>l.map(a=>a.$message)).reduce((l,a)=>l.concat(a),[])):[]}}}const Ot=e=>{if(e=T(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let o in e)return!0;return!1}return!!String(e).length},il=e=>(e=T(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function ke(){for(var e=arguments.length,o=new Array(e),n=0;n(t=T(t),!Ot(t)||o.every(l=>(l.lastIndex=0,l.test(t))))}var Rn=Object.freeze({__proto__:null,forEach:ol,len:il,normalizeValidatorObject:dt,regex:ke,req:Ot,unwrap:T,unwrapNormalizedValidator:Pn,unwrapValidatorResponse:An,withAsync:ll,withMessage:al,withParams:nl});ke(/^[a-zA-Z]*$/);ke(/^[a-zA-Z0-9]*$/);ke(/^\d*(\.\d+)?$/);const rl=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;ke(rl);function sl(e){return typeof e=="string"&&(e=e.trim()),Ot(e)}var ul={$validator:sl,$message:"Value is required",$params:{type:"required"}};const cl=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;ke(cl);ke(/(^[0-9]*$)|(^-[0-9]+$)/);ke(/^[-]?\d*(\.\d+)?$/);const dl=N({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...nn({origin:"center center",scrollStrategy:"block",transition:{component:ea},zIndex:2400})},"VDialog"),Ze=W()({name:"VDialog",props:dl(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const t=ue(e,"modelValue"),{scopeId:l}=Vt(),a=R();function r(f){var s,h;const d=f.relatedTarget,g=f.target;if(d!==g&&((s=a.value)!=null&&s.contentEl)&&((h=a.value)!=null&&h.globalTop)&&![document,a.value.contentEl].includes(g)&&!a.value.contentEl.contains(g)){const v=na(a.value.contentEl);if(!v.length)return;const c=v[0],y=v[v.length-1];d===c?y.focus():c.focus()}}ta&&j(()=>t.value&&e.retainFocus,f=>{f?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),j(t,async f=>{var d,g;await de(),f?(d=a.value.contentEl)==null||d.focus({preventScroll:!0}):(g=a.value.activatorEl)==null||g.focus({preventScroll:!0})});const u=m(()=>Z({"aria-haspopup":"dialog","aria-expanded":String(t.value)},e.activatorProps));return X(()=>{const[f]=We.filterProps(e);return i(We,Z({ref:a,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},f,{modelValue:t.value,"onUpdate:modelValue":d=>t.value=d,"aria-modal":"true",activatorProps:u.value,role:"dialog"},l),{activator:n.activator,default:function(){for(var d=arguments.length,g=new Array(d),s=0;s{var h;return[(h=n.default)==null?void 0:h.call(n,...g)]}})}})}),tt({},a)}});const vl=N({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...te(),...an({transition:{component:pn}})},"VCounter"),Ln=W()({name:"VCounter",functional:!0,props:vl(),setup(e,o){let{slots:n}=o;const t=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return X(()=>i(xt,{transition:e.transition},{default:()=>[Ce(i("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:t.value,max:e.max,value:e.value}):t.value]),[[nt,e.active]])]})),{}}});const fl=N({text:String,clickable:Boolean,...te(),...$e()},"VLabel"),ml=W()({name:"VLabel",props:fl(),setup(e,o){let{slots:n}=o;return X(()=>{var t;return i("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(t=n.default)==null?void 0:t.call(n)])}),{}}}),gl=N({floating:Boolean,...te()},"VFieldLabel"),Ge=W()({name:"VFieldLabel",props:gl(),setup(e,o){let{slots:n}=o;return X(()=>i(ml,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}});function On(e){const{t:o}=ln();function n(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=e[`onClick:${l}`],u=r&&a?o(`$vuetify.input.${a}`,e.label??""):void 0;return i(he,{icon:e[`${l}Icon`],"aria-label":u,onClick:r},null)}return{InputIcon:n}}const En=N({focused:Boolean,"onUpdate:focused":Ve()},"focus");function Et(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:on();const n=ue(e,"focused"),t=m(()=>({[`${o}--focused`]:n.value}));function l(){n.value=!0}function a(){n.value=!1}return{focusClasses:t,isFocused:n,focus:l,blur:a}}const yl=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Bt=N({appendInnerIcon:le,bgColor:String,clearable:Boolean,clearIcon:{type:le,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:le,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>yl.includes(e)},"onClick:clear":Ve(),"onClick:appendInner":Ve(),"onClick:prependInner":Ve(),...te(),...aa(),...je(),...$e()},"VField"),Mt=W()({name:"VField",inheritAttrs:!1,props:{id:String,...En(),...Bt()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const{themeClasses:a}=Le(e),{loaderClasses:r}=la(e),{focusClasses:u,isFocused:f,focus:d,blur:g}=Et(e),{InputIcon:s}=On(e),{roundedClasses:h}=ze(e),{rtlClasses:v}=Ue(),c=m(()=>e.dirty||e.active),y=m(()=>!e.singleLine&&!!(e.label||l.label)),b=Re(),p=m(()=>e.id||`input-${b}`),k=m(()=>`${p.value}-messages`),A=R(),_=R(),V=R(),w=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:x,backgroundColorStyles:S}=De(Q(e,"bgColor")),{textColorClasses:$,textColorStyles:P}=Ct(m(()=>e.error||e.disabled?void 0:c.value&&f.value?e.color:e.baseColor));j(c,O=>{if(y.value){const B=A.value.$el,F=_.value.$el;requestAnimationFrame(()=>{const q=oa(B),H=F.getBoundingClientRect(),L=H.x-q.x,M=H.y-q.y-(q.height/2-H.height/2),E=H.width/.75,Y=Math.abs(E-q.width)>1?{maxWidth:re(E)}:void 0,z=getComputedStyle(B),ne=getComputedStyle(F),ce=parseFloat(z.transitionDuration)*1e3||150,fe=parseFloat(ne.getPropertyValue("--v-field-label-scale")),U=ne.getPropertyValue("color");B.style.visibility="visible",F.style.visibility="hidden",ia(B,{transform:`translate(${L}px, ${M}px) scale(${fe})`,color:U,...Y},{duration:ce,easing:ua,direction:O?"normal":"reverse"}).finished.then(()=>{B.style.removeProperty("visibility"),F.style.removeProperty("visibility")})})}},{flush:"post"});const I=m(()=>({isActive:c,isFocused:f,controlRef:V,blur:g,focus:d}));function D(O){O.target!==document.activeElement&&O.preventDefault()}return X(()=>{var L,M,E;const O=e.variant==="outlined",B=l["prepend-inner"]||e.prependInnerIcon,F=!!(e.clearable||l.clear),q=!!(l["append-inner"]||e.appendInnerIcon||F),H=l.label?l.label({...I.value,label:e.label,props:{for:p.value}}):e.label;return i("div",Z({class:["v-field",{"v-field--active":c.value,"v-field--appended":q,"v-field--center-affix":e.centerAffix??!w.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":B,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!H,[`v-field--variant-${e.variant}`]:!0},a.value,x.value,u.value,r.value,h.value,v.value,e.class],style:[S.value,P.value,e.style],onClick:D},n),[i("div",{class:"v-field__overlay"},null),i(ra,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),B&&i("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&i(s,{key:"prepend-icon",name:"prependInner"},null),(L=l["prepend-inner"])==null?void 0:L.call(l,I.value)]),i("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&y.value&&i(Ge,{key:"floating-label",ref:_,class:[$.value],floating:!0,for:p.value},{default:()=>[H]}),i(Ge,{ref:A,for:p.value},{default:()=>[H]}),(M=l.default)==null?void 0:M.call(l,{...I.value,props:{id:p.value,class:"v-field__input","aria-describedby":k.value},focus:d,blur:g})]),F&&i(Ma,{key:"clear"},{default:()=>[Ce(i("div",{class:"v-field__clearable",onMousedown:Y=>{Y.preventDefault(),Y.stopPropagation()}},[l.clear?l.clear():i(s,{name:"clear"},null)]),[[nt,e.dirty]])]}),q&&i("div",{key:"append",class:"v-field__append-inner"},[(E=l["append-inner"])==null?void 0:E.call(l,I.value),e.appendInnerIcon&&i(s,{key:"append-icon",name:"appendInner"},null)]),i("div",{class:["v-field__outline",$.value]},[O&&i(J,null,[i("div",{class:"v-field__outline__start"},null),y.value&&i("div",{class:"v-field__outline__notch"},[i(Ge,{ref:_,floating:!0,for:p.value},{default:()=>[H]})]),i("div",{class:"v-field__outline__end"},null)]),w.value&&y.value&&i(Ge,{ref:_,floating:!0,for:p.value},{default:()=>[H]})])])}),{controlRef:V}}});function Bn(e){const o=Object.keys(Mt.props).filter(n=>!sa(n)&&n!=="class"&&n!=="style");return rn(e,o)}const hl=N({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...te(),...an({transition:{component:pn,leaveAbsolute:!0,group:!0}})},"VMessages"),bl=W()({name:"VMessages",props:hl(),setup(e,o){let{slots:n}=o;const t=m(()=>Ye(e.messages)),{textColorClasses:l,textColorStyles:a}=Ct(m(()=>e.color));return X(()=>i(xt,{transition:e.transition,tag:"div",class:["v-messages",l.value,e.class],style:[a.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&t.value.map((r,u)=>i("div",{class:"v-messages__message",key:`${u}-${t.value}`},[n.message?n.message({message:r}):r]))]})),{}}}),pl=Symbol.for("vuetify:form");function wl(){return ve(pl,null)}const Sl=N({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...En()},"validation");function Vl(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:on(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Re();const t=ue(e,"modelValue"),l=m(()=>e.validationValue===void 0?t.value:e.validationValue),a=wl(),r=R([]),u=K(!0),f=m(()=>!!(Ye(t.value===""?null:t.value).length||Ye(l.value===""?null:l.value).length)),d=m(()=>!!(e.disabled??(a==null?void 0:a.isDisabled.value))),g=m(()=>!!(e.readonly??(a==null?void 0:a.isReadonly.value))),s=m(()=>e.errorMessages.length?Ye(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):r.value),h=m(()=>{let _=(e.validateOn??(a==null?void 0:a.validateOn.value))||"input";_==="lazy"&&(_="input lazy");const V=new Set((_==null?void 0:_.split(" "))??[]);return{blur:V.has("blur")||V.has("input"),input:V.has("input"),submit:V.has("submit"),lazy:V.has("lazy")}}),v=m(()=>e.error||e.errorMessages.length?!1:e.rules.length?u.value?r.value.length||h.value.lazy?null:!0:!r.value.length:!0),c=K(!1),y=m(()=>({[`${o}--error`]:v.value===!1,[`${o}--dirty`]:f.value,[`${o}--disabled`]:d.value,[`${o}--readonly`]:g.value})),b=m(()=>e.name??T(n));St(()=>{a==null||a.register({id:b.value,validate:A,reset:p,resetValidation:k})}),pe(()=>{a==null||a.unregister(b.value)}),be(async()=>{h.value.lazy||await A(!0),a==null||a.update(b.value,v.value,s.value)}),gt(()=>h.value.input,()=>{j(l,()=>{if(l.value!=null)A();else if(e.focused){const _=j(()=>e.focused,V=>{V||A(),_()})}})}),gt(()=>h.value.blur,()=>{j(()=>e.focused,_=>{_||A()})}),j(v,()=>{a==null||a.update(b.value,v.value,s.value)});function p(){t.value=null,de(k)}function k(){u.value=!0,h.value.lazy?r.value=[]:A(!0)}async function A(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const V=[];c.value=!0;for(const w of e.rules){if(V.length>=+(e.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(l.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}V.push(S||"")}}return r.value=V,c.value=!1,u.value=_,r.value}return{errorMessages:s,isDirty:f,isDisabled:d,isReadonly:g,isPristine:u,isValid:v,isValidating:c,reset:p,resetValidation:k,validate:A,validationClasses:y}}const Tt=N({id:String,appendIcon:le,centerAffix:{type:Boolean,default:!0},prependIcon:le,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":Ve(),"onClick:append":Ve(),...te(),...at(),...Sl()},"VInput"),Qe=W()({name:"VInput",props:{...Tt()},emits:{"update:modelValue":e=>!0},setup(e,o){let{attrs:n,slots:t,emit:l}=o;const{densityClasses:a}=$t(e),{rtlClasses:r}=Ue(),{InputIcon:u}=On(e),f=Re(),d=m(()=>e.id||`input-${f}`),g=m(()=>`${d.value}-messages`),{errorMessages:s,isDirty:h,isDisabled:v,isReadonly:c,isPristine:y,isValid:b,isValidating:p,reset:k,resetValidation:A,validate:_,validationClasses:V}=Vl(e,"v-input",d),w=m(()=>({id:d,messagesId:g,isDirty:h,isDisabled:v,isReadonly:c,isPristine:y,isValid:b,isValidating:p,reset:k,resetValidation:A,validate:_})),x=m(()=>{var S;return(S=e.errorMessages)!=null&&S.length||!y.value&&s.value.length?s.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return X(()=>{var D,O,B,F;const S=!!(t.prepend||e.prependIcon),$=!!(t.append||e.appendIcon),P=x.value.length>0,I=!e.hideDetails||e.hideDetails==="auto"&&(P||!!t.details);return i("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix},a.value,r.value,V.value,e.class],style:e.style},[S&&i("div",{key:"prepend",class:"v-input__prepend"},[(D=t.prepend)==null?void 0:D.call(t,w.value),e.prependIcon&&i(u,{key:"prepend-icon",name:"prepend"},null)]),t.default&&i("div",{class:"v-input__control"},[(O=t.default)==null?void 0:O.call(t,w.value)]),$&&i("div",{key:"append",class:"v-input__append"},[e.appendIcon&&i(u,{key:"append-icon",name:"append"},null),(B=t.append)==null?void 0:B.call(t,w.value)]),I&&i("div",{class:"v-input__details"},[i(bl,{id:g.value,active:P,messages:x.value},{message:t.message}),(F=t.details)==null?void 0:F.call(t,w.value)])])}),{reset:k,resetValidation:A,validate:_}}}),xl=["color","file","time","date","datetime-local","week","month"],Cl=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,type:{type:String,default:"text"},modelModifiers:Object,...Tt(),...Bt()},"VTextField"),qt=W()({name:"VTextField",directives:{Intersect:sn},inheritAttrs:!1,props:Cl(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const a=ue(e,"modelValue"),{isFocused:r,focus:u,blur:f}=Et(e),d=m(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value??"").toString().length),g=m(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),s=m(()=>["plain","underlined"].includes(e.variant));function h(w,x){var S,$;!e.autofocus||!w||($=(S=x[0].target)==null?void 0:S.focus)==null||$.call(S)}const v=R(),c=R(),y=R(),b=m(()=>xl.includes(e.type)||e.persistentPlaceholder||r.value||e.active);function p(){var w;y.value!==document.activeElement&&((w=y.value)==null||w.focus()),r.value||u()}function k(w){t("mousedown:control",w),w.target!==y.value&&(p(),w.preventDefault())}function A(w){p(),t("click:control",w)}function _(w){w.stopPropagation(),p(),de(()=>{a.value=null,cn(e["onClick:clear"],w)})}function V(w){var S;const x=w.target;if(a.value=x.value,(S=e.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(e.type)){const $=[x.selectionStart,x.selectionEnd];de(()=>{x.selectionStart=$[0],x.selectionEnd=$[1]})}}return X(()=>{const w=!!(l.counter||e.counter||e.counterValue),x=!!(w||l.details),[S,$]=un(n),[{modelValue:P,...I}]=Qe.filterProps(e),[D]=Bn(e);return i(Qe,Z({ref:v,modelValue:a.value,"onUpdate:modelValue":O=>a.value=O,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},S,I,{centerAffix:!s.value,focused:r.value}),{...l,default:O=>{let{id:B,isDisabled:F,isDirty:q,isReadonly:H,isValid:L}=O;return i(Mt,Z({ref:c,onMousedown:k,onClick:A,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},D,{id:B.value,active:b.value||q.value,dirty:q.value||e.dirty,disabled:F.value,focused:r.value,error:L.value===!1}),{...l,default:M=>{let{props:{class:E,...Y}}=M;const z=Ce(i("input",Z({ref:y,value:a.value,onInput:V,autofocus:e.autofocus,readonly:H.value,disabled:F.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:p,onBlur:f},Y,$),null),[[kt("intersect"),{handler:h},null,{once:!0}]]);return i(J,null,[e.prefix&&i("span",{class:"v-text-field__prefix"},[i("span",{class:"v-text-field__prefix__text"},[e.prefix])]),i("div",{class:E,"data-no-activator":""},[l.default?i(J,null,[l.default(),z]):ca(z)]),e.suffix&&i("span",{class:"v-text-field__suffix"},[i("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:x?O=>{var B;return i(J,null,[(B=l.details)==null?void 0:B.call(l,O),w&&i(J,null,[i("span",null,null),i(Ln,{active:e.persistentCounter||r.value,value:d.value,max:g.value},l.counter)])])}:void 0})}),tt({},v,c,y)}}),Jt=Rn.withMessage("Обязательное поле",ul),$l={setup(){const e=lt(),o=dn(),n=R(!1),t=me({username:"9966-00-125",password:""}),l=m(()=>({username:{req:Jt,latin:Rn.withMessage(()=>'Логин имееет вид "0000-00-000"',f=>/(\d{4,4}[-]\d{2,2}[-]\d{3,3})+$/.test(f.toString()))},password:{req:Jt}})),a=el(l,t),r=f=>a.value[f].$error?a.value[f].$errors[0].$message:"",u=async()=>{a.value.$error?console.log(!0):await e.logging(t)};return be(()=>{a.value.$validate()}),{accountStore:e,AppStore:o,menuAuthDialog:n,anon:t,v$:a,logging:u,errorer:r}}},kl=se("span",{class:"text-h5"},"Вход в портал",-1);function _l(e,o,n,t,l,a){return G(),ae(Ze,{modelValue:t.menuAuthDialog,"onUpdate:modelValue":o[3]||(o[3]=r=>t.menuAuthDialog=r),persistent:"",width:"400"},{activator:C(({props:r})=>[i(ee,Z(r,{"append-icon":"mdi-login"}),{prepend:C(()=>[i(he,{color:"white"})]),append:C(()=>[i(he,{color:"white"})]),default:C(()=>[oe(" Войти ")]),_:2},1040)]),default:C(()=>[i(ot,null,{default:C(()=>[i(_t,null,{default:C(()=>[kl]),_:1}),i(It,null,{default:C(()=>[i(wn,null,{default:C(()=>[i(Ae,null,{default:C(()=>[i(ge,{cols:"12",class:"py-0"},{default:C(()=>[i(qt,{modelValue:t.anon.username,"onUpdate:modelValue":o[0]||(o[0]=r=>t.anon.username=r),label:"Логин",variant:"underlined","error-messages":t.errorer("username")},null,8,["modelValue","error-messages"])]),_:1}),i(ge,{cols:"12",class:"py-0"},{default:C(()=>[i(qt,{modelValue:t.anon.password,"onUpdate:modelValue":o[1]||(o[1]=r=>t.anon.password=r),label:"Пароль",variant:"underlined",type:"password","error-messages":t.errorer("password")},null,8,["modelValue","error-messages"])]),_:1})]),_:1})]),_:1})]),_:1}),i(At,null,{default:C(()=>[i(bn),i(ee,{color:"blue-darken-1",variant:"text",onClick:o[2]||(o[2]=r=>t.menuAuthDialog=!1)},{default:C(()=>[oe(" Отмена ")]),_:1}),i(ee,{color:"blue-darken-1",variant:"text",onClick:t.logging},{default:C(()=>[oe(" Войти ")]),_:1},8,["onClick"])]),_:1}),Ce(i(da,{indeterminate:""},null,512),[[nt,t.AppStore.loading]])]),_:1})]),_:1},8,["modelValue"])}const Il=He($l,[["render",_l]]);const bt=Symbol.for("vuetify:list");function Mn(){const e=ve(bt,{hasPrepend:K(!1),updateHasPrepend:()=>null}),o={hasPrepend:K(!1),updateHasPrepend:n=>{n&&(o.hasPrepend.value=n)}};return xe(bt,o),e}function Tn(){return ve(bt,null)}const Al={open:e=>{let{id:o,value:n,opened:t,parents:l}=e;if(n){const a=new Set;a.add(o);let r=l.get(o);for(;r!=null;)a.add(r),r=l.get(r);return a}else return t.delete(o),t},select:()=>null},Dn={open:e=>{let{id:o,value:n,opened:t,parents:l}=e;if(n){let a=l.get(o);for(t.add(o);a!=null&&a!==o;)t.add(a),a=l.get(a);return t}else t.delete(o);return t},select:()=>null},Pl={open:Dn.open,select:e=>{let{id:o,value:n,opened:t,parents:l}=e;if(!n)return t;const a=[];let r=l.get(o);for(;r!=null;)a.push(r),r=l.get(r);return new Set(a)}},Dt=e=>{const o={select:n=>{let{id:t,value:l,selected:a}=n;if(t=Me(t),e&&!l){const r=Array.from(a.entries()).reduce((u,f)=>{let[d,g]=f;return g==="on"?[...u,d]:u},[]);if(r.length===1&&r[0]===t)return a}return a.set(t,l?"on":"off"),a},in:(n,t,l)=>{let a=new Map;for(const r of n||[])a=o.select({id:r,value:!0,selected:new Map(a),children:t,parents:l});return a},out:n=>{const t=[];for(const[l,a]of n.entries())a==="on"&&t.push(l);return t}};return o},Fn=e=>{const o=Dt(e);return{select:t=>{let{selected:l,id:a,...r}=t;a=Me(a);const u=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...r,id:a,selected:u})},in:(t,l,a)=>{let r=new Map;return t!=null&&t.length&&(r=o.in(t.slice(0,1),l,a)),r},out:(t,l,a)=>o.out(t,l,a)}},Rl=e=>{const o=Dt(e);return{select:t=>{let{id:l,selected:a,children:r,...u}=t;return l=Me(l),r.has(l)?a:o.select({id:l,selected:a,children:r,...u})},in:o.in,out:o.out}},Ll=e=>{const o=Fn(e);return{select:t=>{let{id:l,selected:a,children:r,...u}=t;return l=Me(l),r.has(l)?a:o.select({id:l,selected:a,children:r,...u})},in:o.in,out:o.out}},Ol=e=>{const o={select:n=>{let{id:t,value:l,selected:a,children:r,parents:u}=n;t=Me(t);const f=new Map(a),d=[t];for(;d.length;){const s=d.shift();a.set(s,l?"on":"off"),r.has(s)&&d.push(...r.get(s))}let g=u.get(t);for(;g;){const s=r.get(g),h=s.every(c=>a.get(c)==="on"),v=s.every(c=>!a.has(c)||a.get(c)==="off");a.set(g,h?"on":v?"off":"indeterminate"),g=u.get(g)}return e&&!l&&Array.from(a.entries()).reduce((h,v)=>{let[c,y]=v;return y==="on"?[...h,c]:h},[]).length===0?f:a},in:(n,t,l)=>{let a=new Map;for(const r of n||[])a=o.select({id:r,value:!0,selected:new Map(a),children:t,parents:l});return a},out:(n,t)=>{const l=[];for(const[a,r]of n.entries())r==="on"&&!t.has(a)&&l.push(a);return l}};return o},Ne=Symbol.for("vuetify:nested"),Nn={id:K(),root:{register:()=>null,unregister:()=>null,parents:R(new Map),children:R(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:R(new Set),selected:R(new Map),selectedValues:R([])}},El=N({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Bl=e=>{let o=!1;const n=R(new Map),t=R(new Map),l=ue(e,"opened",e.opened,s=>new Set(s),s=>[...s.values()]),a=m(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return Ll(e.mandatory);case"leaf":return Rl(e.mandatory);case"independent":return Dt(e.mandatory);case"single-independent":return Fn(e.mandatory);case"classic":default:return Ol(e.mandatory)}}),r=m(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return Pl;case"single":return Al;case"multiple":default:return Dn}}),u=ue(e,"selected",e.selected,s=>a.value.in(s,n.value,t.value),s=>a.value.out(s,n.value,t.value));pe(()=>{o=!0});function f(s){const h=[];let v=s;for(;v!=null;)h.unshift(v),v=t.value.get(v);return h}const d=wt("nested"),g={id:K(),root:{opened:l,selected:u,selectedValues:m(()=>{const s=[];for(const[h,v]of u.value.entries())v==="on"&&s.push(h);return s}),register:(s,h,v)=>{h&&s!==h&&t.value.set(s,h),v&&n.value.set(s,[]),h!=null&&n.value.set(h,[...n.value.get(h)||[],s])},unregister:s=>{if(o)return;n.value.delete(s);const h=t.value.get(s);if(h){const v=n.value.get(h)??[];n.value.set(h,v.filter(c=>c!==s))}t.value.delete(s),l.value.delete(s)},open:(s,h,v)=>{d.emit("click:open",{id:s,value:h,path:f(s),event:v});const c=r.value.open({id:s,value:h,opened:new Set(l.value),children:n.value,parents:t.value,event:v});c&&(l.value=c)},openOnSelect:(s,h,v)=>{const c=r.value.select({id:s,value:h,selected:new Map(u.value),opened:new Set(l.value),children:n.value,parents:t.value,event:v});c&&(l.value=c)},select:(s,h,v)=>{d.emit("click:select",{id:s,value:h,path:f(s),event:v});const c=a.value.select({id:s,value:h,selected:new Map(u.value),children:n.value,parents:t.value,event:v});c&&(u.value=c),g.root.openOnSelect(s,h,v)},children:n,parents:t}};return xe(Ne,g),g.root},jn=(e,o)=>{const n=ve(Ne,Nn),t=Symbol(Re()),l=m(()=>e.value!==void 0?e.value:t),a={...n,id:l,open:(r,u)=>n.root.open(l.value,r,u),openOnSelect:(r,u)=>n.root.openOnSelect(l.value,r,u),isOpen:m(()=>n.root.opened.value.has(l.value)),parent:m(()=>n.root.parents.value.get(l.value)),select:(r,u)=>n.root.select(l.value,r,u),isSelected:m(()=>n.root.selected.value.get(Me(l.value))==="on"),isIndeterminate:m(()=>n.root.selected.value.get(l.value)==="indeterminate"),isLeaf:m(()=>!n.root.children.value.get(l.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(l.value,n.id.value,o),pe(()=>{!n.isGroupActivator&&n.root.unregister(l.value)}),o&&xe(Ne,a),a},Ml=()=>{const e=ve(Ne,Nn);xe(Ne,{...e,isGroupActivator:!0})},Tl=va({name:"VListGroupActivator",setup(e,o){let{slots:n}=o;return Ml(),()=>{var t;return(t=n.default)==null?void 0:t.call(n)}}}),Dl=N({activeColor:String,baseColor:String,color:String,collapseIcon:{type:le,default:"$collapse"},expandIcon:{type:le,default:"$expand"},prependIcon:le,appendIcon:le,fluid:Boolean,subgroup:Boolean,title:String,value:null,...te(),...we()},"VListGroup"),pt=W()({name:"VListGroup",props:Dl(),setup(e,o){let{slots:n}=o;const{isOpen:t,open:l,id:a}=jn(Q(e,"value"),!0),r=m(()=>`v-list-group--id-${String(a.value)}`),u=Tn(),{isBooted:f}=ct();function d(v){l(!t.value,v)}const g=m(()=>({onClick:d,class:"v-list-group__header",id:r.value})),s=m(()=>t.value?e.collapseIcon:e.expandIcon),h=m(()=>({VListItem:{active:t.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&s.value,appendIcon:e.appendIcon||!e.subgroup&&s.value,title:e.title,value:e.value}}));return X(()=>i(e.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":t.value},e.class],style:e.style},{default:()=>[n.activator&&i(Ie,{defaults:h.value},{default:()=>[i(Tl,null,{default:()=>[n.activator({props:g.value,isOpen:t.value})]})]}),i(xt,{transition:{component:Sn},disabled:!f.value},{default:()=>{var v;return[Ce(i("div",{class:"v-list-group__items",role:"group","aria-labelledby":r.value},[(v=n.default)==null?void 0:v.call(n)]),[[nt,t.value]])]}})]})),{}}});const Fl=vn("v-list-item-subtitle"),Nl=vn("v-list-item-title"),jl=N({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:le,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:le,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:Ve(),onClickOnce:Ve(),...it(),...te(),...at(),...fn(),...rt(),...je(),...fa(),...we(),...$e(),...mn({variant:"text"})},"VListItem"),ye=W()({name:"VListItem",directives:{Ripple:ma},props:jl(),emits:{click:e=>!0},setup(e,o){let{attrs:n,slots:t,emit:l}=o;const a=ga(e,n),r=m(()=>e.value===void 0?a.href.value:e.value),{select:u,isSelected:f,isIndeterminate:d,isGroupActivator:g,root:s,parent:h,openOnSelect:v}=jn(r,!1),c=Tn(),y=m(()=>{var L;return e.active!==!1&&(e.active||((L=a.isActive)==null?void 0:L.value)||f.value)}),b=m(()=>e.link!==!1&&a.isLink.value),p=m(()=>!e.disabled&&e.link!==!1&&(e.link||a.isClickable.value||e.value!=null&&!!c)),k=m(()=>e.rounded||e.nav),A=m(()=>e.color??e.activeColor),_=m(()=>({color:y.value?A.value??e.baseColor:e.baseColor,variant:e.variant}));j(()=>{var L;return(L=a.isActive)==null?void 0:L.value},L=>{L&&h.value!=null&&s.open(h.value,!0),L&&v(L)},{immediate:!0});const{themeClasses:V}=Le(e),{borderClasses:w}=st(e),{colorClasses:x,colorStyles:S,variantClasses:$}=ya(_),{densityClasses:P}=$t(e),{dimensionStyles:I}=gn(e),{elevationClasses:D}=ut(e),{roundedClasses:O}=ze(k),B=m(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),F=m(()=>({isActive:y.value,select:u,isSelected:f.value,isIndeterminate:d.value}));function q(L){var M;l("click",L),!(g||!p.value)&&((M=a.navigate)==null||M.call(a,L),e.value!=null&&u(!f.value,L))}function H(L){(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),q(L))}return X(()=>{const L=b.value?"a":e.tag,M=t.title||e.title,E=t.subtitle||e.subtitle,Y=!!(e.appendAvatar||e.appendIcon),z=!!(Y||t.append),ne=!!(e.prependAvatar||e.prependIcon),ce=!!(ne||t.prepend);return c==null||c.updateHasPrepend(ce),e.activeColor&&ha("active-color",["color","base-color"]),Ce(i(L,{class:["v-list-item",{"v-list-item--active":y.value,"v-list-item--disabled":e.disabled,"v-list-item--link":p.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!ce&&(c==null?void 0:c.hasPrepend.value),[`${e.activeClass}`]:e.activeClass&&y.value},V.value,w.value,x.value,P.value,D.value,B.value,O.value,$.value,e.class],style:[S.value,I.value,e.style],href:a.href.value,tabindex:p.value?c?-2:0:void 0,onClick:q,onKeydown:p.value&&!b.value&&H},{default:()=>{var fe;return[ba(p.value||y.value,"v-list-item"),ce&&i("div",{key:"prepend",class:"v-list-item__prepend"},[t.prepend?i(Ie,{key:"prepend-defaults",disabled:!ne,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=t.prepend)==null?void 0:U.call(t,F.value)]}}):i(J,null,[e.prependAvatar&&i(Ft,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&i(he,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),i("div",{class:"v-list-item__content","data-no-activator":""},[M&&i(Nl,{key:"title"},{default:()=>{var U;return[((U=t.title)==null?void 0:U.call(t,{title:e.title}))??e.title]}}),E&&i(Fl,{key:"subtitle"},{default:()=>{var U;return[((U=t.subtitle)==null?void 0:U.call(t,{subtitle:e.subtitle}))??e.subtitle]}}),(fe=t.default)==null?void 0:fe.call(t,F.value)]),z&&i("div",{key:"append",class:"v-list-item__append"},[t.append?i(Ie,{key:"append-defaults",disabled:!Y,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=t.append)==null?void 0:U.call(t,F.value)]}}):i(J,null,[e.appendIcon&&i(he,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&i(Ft,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}}),[[kt("ripple"),p.value&&e.ripple]])}),{}}}),zl=N({color:String,inset:Boolean,sticky:Boolean,title:String,...te(),...we()},"VListSubheader"),Ul=W()({name:"VListSubheader",props:zl(),setup(e,o){let{slots:n}=o;const{textColorClasses:t,textColorStyles:l}=Ct(Q(e,"color"));return X(()=>{const a=!!(n.default||e.title);return i(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},t.value,e.class],style:[{textColorStyles:l},e.style]},{default:()=>{var r;return[a&&i("div",{class:"v-list-subheader__text"},[((r=n.default)==null?void 0:r.call(n))??e.title])]}})}),{}}}),Hl=N({items:Array},"VListChildren"),zn=W()({name:"VListChildren",props:Hl(),setup(e,o){let{slots:n}=o;return Mn(),()=>{var t,l;return((t=n.default)==null?void 0:t.call(n))??((l=e.items)==null?void 0:l.map(a=>{var v,c;let{children:r,props:u,type:f,raw:d}=a;if(f==="divider")return((v=n.divider)==null?void 0:v.call(n,{props:u}))??i(Be,u,null);if(f==="subheader")return((c=n.subheader)==null?void 0:c.call(n,{props:u}))??i(Ul,u,null);const g={subtitle:n.subtitle?y=>{var b;return(b=n.subtitle)==null?void 0:b.call(n,{...y,item:d})}:void 0,prepend:n.prepend?y=>{var b;return(b=n.prepend)==null?void 0:b.call(n,{...y,item:d})}:void 0,append:n.append?y=>{var b;return(b=n.append)==null?void 0:b.call(n,{...y,item:d})}:void 0,title:n.title?y=>{var b;return(b=n.title)==null?void 0:b.call(n,{...y,item:d})}:void 0},[s,h]=pt.filterProps(u);return r?i(pt,Z({value:u==null?void 0:u.value},s),{activator:y=>{let{props:b}=y;return n.header?n.header({props:{...u,...b}}):i(ye,Z(u,b),g)},default:()=>i(zn,{items:r},n)}):n.item?n.item({props:u}):i(ye,u,g)}))}}}),Gl=N({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"list-items");function Yl(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function Kl(e,o){const n=Te(o,e.itemType,"item"),t=Yl(o)?o:Te(o,e.itemTitle),l=Te(o,e.itemValue,void 0),a=Te(o,e.itemChildren),r=e.itemProps===!0?rn(o,["children"])[1]:Te(o,e.itemProps),u={title:t,value:l,...r};return{type:n,title:u.title,value:u.value,props:u,children:n==="item"&&a?Un(e,a):void 0,raw:o}}function Un(e,o){const n=[];for(const t of o)n.push(Kl(e,t));return n}function Wl(e){return{items:m(()=>Un(e,e.items))}}const ql=N({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...El({selectStrategy:"single-leaf",openStrategy:"list"}),...it(),...te(),...at(),...fn(),...rt(),itemType:{type:String,default:"type"},...Gl(),...je(),...we(),...$e(),...mn({variant:"text"})},"VList"),et=W()({name:"VList",props:ql(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,o){let{slots:n}=o;const{items:t}=Wl(e),{themeClasses:l}=Le(e),{backgroundColorClasses:a,backgroundColorStyles:r}=De(Q(e,"bgColor")),{borderClasses:u}=st(e),{densityClasses:f}=$t(e),{dimensionStyles:d}=gn(e),{elevationClasses:g}=ut(e),{roundedClasses:s}=ze(e),{open:h,select:v}=Bl(e),c=m(()=>e.lines?`v-list--${e.lines}-line`:void 0),y=Q(e,"activeColor"),b=Q(e,"baseColor"),p=Q(e,"color");Mn(),Pt({VListGroup:{activeColor:y,baseColor:b,color:p},VListItem:{activeClass:Q(e,"activeClass"),activeColor:y,baseColor:b,color:p,density:Q(e,"density"),disabled:Q(e,"disabled"),lines:Q(e,"lines"),nav:Q(e,"nav"),variant:Q(e,"variant")}});const k=K(!1),A=R();function _($){k.value=!0}function V($){k.value=!1}function w($){var P;!k.value&&!($.relatedTarget&&((P=A.value)!=null&&P.contains($.relatedTarget)))&&S()}function x($){if(A.value){if($.key==="ArrowDown")S("next");else if($.key==="ArrowUp")S("prev");else if($.key==="Home")S("first");else if($.key==="End")S("last");else return;$.preventDefault()}}function S($){if(A.value)return pa(A.value,$)}return X(()=>i(e.tag,{ref:A,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},l.value,a.value,u.value,f.value,g.value,c.value,s.value,e.class],style:[r.value,d.value,e.style],tabindex:e.disabled||k.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:_,onFocusout:V,onFocus:w,onKeydown:x},{default:()=>[i(zn,{items:t.value},n)]})),{open:h,select:v,focus:S}}}),Jl={props:{menuGetUserDialog:{type:Boolean,default:!1},loging:{type:String,default:""}},setup(e,o){const n=lt(),t=R([]),l=async()=>{const f=await tn.get("api/accounts/getuser/?userlogin="+e.loging);t.value=f.data},a=()=>[{title:"Отдел:",info:t.value.department},{title:"ФИО:",info:t.value.fio},{title:"Должность:",info:t.value.post}],r=()=>[{title:"E-mail: ",info:t.value.email},{title:"Телефон: ",info:t.value.tel},{title:"Комната: ",info:t.value.room},{title:"Логин: ",info:t.value.login}];function u(){o.emit("menusClose")}return be(()=>{l()}),{menusCloses:u,userlinks:t,accountStore:n,basicInformation:a,subInformation:r}}},Xl=se("span",{class:"text-h5"},"Карточка пользователя",-1),Zl={class:"font-weight-medium"},Ql={class:"text-subtitle-1"},eo={class:"font-weight-medium"},to={class:"text-subtitle-1"};function no(e,o,n,t,l,a){return G(),ae(ot,null,{default:C(()=>[i(_t,null,{default:C(()=>[Xl]),_:1}),i(It,{class:"flex-column d-flex pb-0"},{default:C(()=>[i(Ae,{class:"flex-grow-0"},{default:C(()=>[i(Be),i(ge,{class:"pa-0",lg:"4"},{default:C(()=>[i(Rt,{class:"h-100",cover:"",src:t.accountStore.user.photo},null,8,["src"])]),_:1}),i(ge,{class:"pa-0"},{default:C(()=>[i(et,{class:"pt-0 custom_subtitle"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.basicInformation(),r=>(G(),ae(ye,{key:r},{title:C(()=>[se("span",Zl,_e(r.title),1)]),subtitle:C(()=>[se("span",Ql,_e(r.info),1)]),_:2},1024))),128))]),_:1})]),_:1}),i(Be)]),_:1}),i(Ae,{class:"flex-grow-0"},{default:C(()=>[i(et,{class:"pa-0 pt-3 custom_subtitle"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.subInformation(),r=>(G(),ae(ye,{key:r,class:"py-0",density:""},{title:C(()=>[se("span",eo,_e(r.title),1),se("span",to,_e(r.info),1)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1}),i(At,{class:"align-self-end pt-0"},{default:C(()=>[i(ee,{color:"blue-darken-1",variant:"text",onClick:t.menusCloses},{default:C(()=>[oe(" Отмена ")]),_:1},8,["onClick"])]),_:1})]),_:1})}const Hn=He(Jl,[["render",no]]),ao={components:{CardUsers:Hn},setup(){const e=R(""),o=R(!1),n={onliner:function(u){let f=new Set(u);l.value=Array.from(f)}},t=lt();let l=R(["ds"]);const a=new WebSocket(wa+"ws/watcher/?token="+localStorage.access),r=u=>{e.value=u,o.value=!0};return a.onmessage=u=>{let f=JSON.parse(u.data);n[f.message.action](f.message.data)},j(()=>t.cod2user,function(){t.cod2user.value||a.close()}),{loging:e,menuGetUserDialog:o,onlineuser:l,checkremote:Sa,spravURL:Va,whatuser:r}}};function lo(e,o,n,t,l,a){const r=Ee("Card-users");return G(),ie("div",null,[(G(!0),ie(J,null,Pe(t.onlineuser,u=>(G(),ae(ye,{key:u,"prepend-avatar":t.checkremote(`${t.spravURL}${u}.jpg`),title:"x",nav:"",onClick:f=>t.whatuser(u)},{default:C(()=>[i(Ze,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":o[1]||(o[1]=f=>t.menuGetUserDialog=f),persistent:"",width:"600"},{default:C(()=>[i(r,{menuGetUserDialog:t.menuGetUserDialog,loging:t.loging,onMenusClose:o[0]||(o[0]=f=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"])]),_:2},1032,["prepend-avatar","onClick"]))),128))])}const oo=He(ao,[["render",lo]]);const io=N({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:le,default:"$ratingEmpty"},fullIcon:{type:le,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...te(),...at(),...xa(),...we(),...$e()},"VRating"),ro=W()({name:"VRating",props:io(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const{t}=ln(),{themeClasses:l}=Le(e),a=ue(e,"modelValue"),r=m(()=>Lt(parseFloat(a.value),0,+e.length)),u=m(()=>Ca(Number(e.length),1)),f=m(()=>u.value.flatMap(y=>e.halfIncrements?[y-.5,y]:[y])),d=K(-1),g=m(()=>f.value.map(y=>{const b=e.hover&&d.value>-1,p=r.value>=y,k=d.value>=y,_=(b?k:p)?e.fullIcon:e.emptyIcon,V=e.activeColor??e.color,w=p||k?V:e.color;return{isFilled:p,isHovered:k,icon:_,color:w}})),s=m(()=>[0,...f.value].map(y=>{function b(){d.value=y}function p(){d.value=-1}function k(){e.disabled||e.readonly||(a.value=r.value===y&&e.clearable?0:y)}return{onMouseenter:e.hover?b:void 0,onMouseleave:e.hover?p:void 0,onClick:k}})),h=m(()=>e.name??`v-rating-${Re()}`);function v(y){var S,$;let{value:b,index:p,showStar:k=!0}=y;const{onMouseenter:A,onMouseleave:_,onClick:V}=s.value[p+1],w=`${h.value}-${String(b).replace(".","-")}`,x={color:(S=g.value[p])==null?void 0:S.color,density:e.density,disabled:e.disabled,icon:($=g.value[p])==null?void 0:$.icon,ripple:e.ripple,size:e.size,variant:"plain"};return i(J,null,[i("label",{for:w,class:{"v-rating__item--half":e.halfIncrements&&b%1>0,"v-rating__item--full":e.halfIncrements&&b%1===0},onMouseenter:A,onMouseleave:_,onClick:V},[i("span",{class:"v-rating__hidden"},[t(e.itemAriaLabel,b,e.length)]),k?n.item?n.item({...g.value[p],props:x,value:b,index:p,rating:r.value}):i(ee,x,null):void 0]),i("input",{class:"v-rating__hidden",name:h.value,id:w,type:"radio",value:b,checked:r.value===b,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function c(y){return n["item-label"]?n["item-label"](y):y.label?i("span",null,[y.label]):i("span",null,[oe(" ")])}return X(()=>{var b;const y=!!((b=e.itemLabels)!=null&&b.length)||n["item-label"];return i(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},l.value,e.class],style:e.style},{default:()=>[i(v,{value:0,index:-1,showStar:!1},null),u.value.map((p,k)=>{var A,_;return i("div",{class:"v-rating__wrapper"},[y&&e.itemLabelPosition==="top"?c({value:p,index:k,label:(A=e.itemLabels)==null?void 0:A[k]}):void 0,i("div",{class:"v-rating__item"},[e.halfIncrements?i(J,null,[i(v,{value:p-.5,index:k*2},null),i(v,{value:p,index:k*2+1},null)]):i(v,{value:p,index:k},null)]),y&&e.itemLabelPosition==="bottom"?c({value:p,index:k,label:(_=e.itemLabels)==null?void 0:_[k]}):void 0])})]})}),{}}});const so=N({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...Tt(),...Bt()},"VTextarea"),uo=W()({name:"VTextarea",directives:{Intersect:sn},inheritAttrs:!1,props:so(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const a=ue(e,"modelValue"),{isFocused:r,focus:u,blur:f}=Et(e),d=m(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value||"").toString().length),g=m(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function s(I,D){var O,B;!e.autofocus||!I||(B=(O=D[0].target)==null?void 0:O.focus)==null||B.call(O)}const h=R(),v=R(),c=K(""),y=R(),b=m(()=>e.persistentPlaceholder||r.value||e.active);function p(){var I;y.value!==document.activeElement&&((I=y.value)==null||I.focus()),r.value||u()}function k(I){p(),t("click:control",I)}function A(I){t("mousedown:control",I)}function _(I){I.stopPropagation(),p(),de(()=>{a.value="",cn(e["onClick:clear"],I)})}function V(I){var O;const D=I.target;if(a.value=D.value,(O=e.modelModifiers)!=null&&O.trim){const B=[D.selectionStart,D.selectionEnd];de(()=>{D.selectionStart=B[0],D.selectionEnd=B[1]})}}const w=R(),x=R(+e.rows),S=m(()=>["plain","underlined"].includes(e.variant));yn(()=>{e.autoGrow||(x.value=+e.rows)});function $(){e.autoGrow&&de(()=>{if(!w.value||!v.value)return;const I=getComputedStyle(w.value),D=getComputedStyle(v.value.$el),O=parseFloat(I.getPropertyValue("--v-field-padding-top"))+parseFloat(I.getPropertyValue("--v-input-padding-top"))+parseFloat(I.getPropertyValue("--v-field-padding-bottom")),B=w.value.scrollHeight,F=parseFloat(I.lineHeight),q=Math.max(parseFloat(e.rows)*F+O,parseFloat(D.getPropertyValue("--v-input-control-height"))),H=parseFloat(e.maxRows)*F+O||1/0,L=Lt(B??0,q,H);x.value=Math.floor((L-O)/F),c.value=re(L)})}be($),j(a,$),j(()=>e.rows,$),j(()=>e.maxRows,$),j(()=>e.density,$);let P;return j(w,I=>{I?(P=new ResizeObserver($),P.observe(w.value)):P==null||P.disconnect()}),pe(()=>{P==null||P.disconnect()}),X(()=>{const I=!!(l.counter||e.counter||e.counterValue),D=!!(I||l.details),[O,B]=un(n),[{modelValue:F,...q}]=Qe.filterProps(e),[H]=Bn(e);return i(Qe,Z({ref:h,modelValue:a.value,"onUpdate:modelValue":L=>a.value=L,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":S.value},e.class],style:e.style},O,q,{centerAffix:x.value===1&&!S.value,focused:r.value}),{...l,default:L=>{let{isDisabled:M,isDirty:E,isReadonly:Y,isValid:z}=L;return i(Mt,Z({ref:v,style:{"--v-textarea-control-height":c.value},onClick:k,onMousedown:A,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},H,{active:b.value||E.value,centerAffix:x.value===1&&!S.value,dirty:E.value||e.dirty,disabled:M.value,focused:r.value,error:z.value===!1}),{...l,default:ne=>{let{props:{class:ce,...fe}}=ne;return i(J,null,[e.prefix&&i("span",{class:"v-text-field__prefix"},[e.prefix]),Ce(i("textarea",Z({ref:y,class:ce,value:a.value,onInput:V,autofocus:e.autofocus,readonly:Y.value,disabled:M.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:p,onBlur:f},fe,B),null),[[kt("intersect"),{handler:s},null,{once:!0}]]),e.autoGrow&&Ce(i("textarea",{class:[ce,"v-textarea__sizer"],"onUpdate:modelValue":U=>a.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[$a,a.value]]),e.suffix&&i("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:D?L=>{var M;return i(J,null,[(M=l.details)==null?void 0:M.call(l,L),I&&i(J,null,[i("span",null,null),i(Ln,{active:e.persistentCounter||r.value,value:d.value,max:g.value},l.counter)])])}:void 0})}),tt({},h,v,y)}}),co={props:{LikeDialog:{type:Boolean,default:!1}},setup(e,o){const n=R({nowcomment:{comment:""},nowrating:[]});function t(){Nt.get("api/feedback/feedbackdata/").then(f=>{if(n.value=f.data,n.value.nowrating.length==0)for(let d of n.value.basecrit)n.value.nowrating.push({rating:d.rating,crit:d.id,id:null});n.value.nowcomment===null&&(n.value.nowcomment={comment:"",id:null})})}be(()=>{t()});const l=m(()=>{const d=n.value.nowrating.reduce((s,h)=>s+h.rating,0)/n.value.nowrating.length;return Number.isInteger(d)?d:d.toFixed(1)});function a(){let f="";return l.value>0&&l.value<=3?f="УПС-С! Мы обязательно все исправим":l.value>2&&l.value<=4?f="Спасибо за обратную связь, мы обратим на это внимание":l.value>4&&l.value<5?f="Класс, будем стараться до 5":f="Спасибо за отзыв и высокую оценку ^__^",f}function r(){o.emit("menusClose")}function u(){Nt.post("api/feedback/feedbackdata/",{nowrating:n.value.nowrating,nowcomment:n.value.nowcomment}).then(f=>{}),r()}return{feedbackdata:n,average:l,menusCloses:r,myLabel:a,feedSend:u}}},vo=se("span",{class:"text-h5"},"Обратная связь",-1),fo={key:0,class:"pl-5"},mo={class:"font-weight-black"};function go(e,o,n,t,l,a){return G(),ae(ot,{class:"pt-2"},{default:C(()=>[i(_t,null,{default:C(()=>[vo]),_:1}),i(It,{class:"px-2 py-0"},{default:C(()=>[i(wn,null,{default:C(()=>[i(Ae,null,{default:C(()=>[i(ge,{class:"flex-grow-0 py-0 text-no-wrap align-self-center text-button"},{default:C(()=>[oe(" Оцените сайт ")]),_:1}),i(Be)]),_:1}),(G(!0),ie(J,null,Pe(t.feedbackdata.basecrit,(r,u)=>(G(),ae(Ae,{key:u},{default:C(()=>[i(ge,{class:"flex-grow-0 pb-0"},{default:C(()=>[i(he,{size:"large",color:r.color,icon:r.ico},null,8,["color","icon"])]),_:2},1024),i(ge,{class:"pb-0",lg:"3"},{default:C(()=>[oe(_e(r.name),1)]),_:2},1024),i(ge,{class:"py-0"},{default:C(()=>[i(ro,{modelValue:t.feedbackdata.nowrating[u].rating,"onUpdate:modelValue":f=>t.feedbackdata.nowrating[u].rating=f,hover:"","half-increments":"",size:"small",color:"yellow-darken-3"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),i(Be)]),_:2},1024))),128)),i(Ae,{class:"mt-6"},{default:C(()=>[i(ge,{class:"pa-0 px-3"},{default:C(()=>[i(uo,{label:"Ваши комментарии сделают портал лучше","hide-details":"",variant:"outlined",rows:"5","row-height":"15",modelValue:t.feedbackdata.nowcomment.comment,"onUpdate:modelValue":o[0]||(o[0]=r=>t.feedbackdata.nowcomment.comment=r)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),i(At,{class:"pt-0"},{default:C(()=>[t.average<5||t.feedbackdata.nowcomment.id!=null?(G(),ie("small",fo,[oe(" Вы оценили сайт на "),se("span",mo,_e(t.average),1),oe(" "+_e(t.myLabel()),1)])):hn("",!0),i(bn),i(ee,{color:"blue-darken-1",variant:"text",text:"Закрыть",onClick:t.menusCloses},null,8,["onClick"]),i(ee,{color:"blue-darken-1",variant:"text",text:t.feedbackdata.nowcomment.id==null?"Отправить":"Обновить",onClick:t.feedSend},null,8,["text","onClick"])]),_:1})]),_:1})}const yo=He(co,[["render",go]]);const ho=N({...te(),...Ta({fullHeight:!0}),...$e()},"VApp"),bo=W()({name:"VApp",props:ho(),setup(e,o){let{slots:n}=o;const t=Le(e),{layoutClasses:l,layoutStyles:a,getLayoutItem:r,items:u,layoutRef:f}=Na(e),{rtlClasses:d}=Ue();return X(()=>{var g;return i("div",{ref:f,class:["v-application",t.themeClasses.value,l.value,d.value,e.class],style:[a.value,e.style]},[i("div",{class:"v-application__wrap"},[(g=n.default)==null?void 0:g.call(n)])])}),{getLayoutItem:r,items:u,theme:t}}});const po=N({text:String,...te(),...we()},"VToolbarTitle"),Gn=W()({name:"VToolbarTitle",props:po(),setup(e,o){let{slots:n}=o;return X(()=>{const t=!!(n.default||n.text||e.text);return i(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var l;return[t&&i("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(l=n.default)==null?void 0:l.call(n)])]}})}),{}}}),wo=[null,"prominent","default","comfortable","compact"],Yn=N({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>wo.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...it(),...te(),...rt(),...je(),...we({tag:"header"}),...$e()},"VToolbar"),Xt=W()({name:"VToolbar",props:Yn(),setup(e,o){var v;let{slots:n}=o;const{backgroundColorClasses:t,backgroundColorStyles:l}=De(Q(e,"color")),{borderClasses:a}=st(e),{elevationClasses:r}=ut(e),{roundedClasses:u}=ze(e),{themeClasses:f}=Le(e),{rtlClasses:d}=Ue(),g=K(!!(e.extended||(v=n.extension)!=null&&v.call(n))),s=m(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),h=m(()=>g.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Pt({VBtn:{variant:"text"}}),X(()=>{var p;const c=!!(e.title||n.title),y=!!(n.image||e.image),b=(p=n.extension)==null?void 0:p.call(n);return g.value=!!(e.extended||b),i(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},t.value,a.value,r.value,u.value,f.value,d.value,e.class],style:[l.value,e.style]},{default:()=>[y&&i("div",{key:"image",class:"v-toolbar__image"},[n.image?i(Ie,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):i(Rt,{key:"image-img",cover:!0,src:e.image},null)]),i(Ie,{defaults:{VTabs:{height:re(s.value)}}},{default:()=>{var k,A,_;return[i("div",{class:"v-toolbar__content",style:{height:re(s.value)}},[n.prepend&&i("div",{class:"v-toolbar__prepend"},[(k=n.prepend)==null?void 0:k.call(n)]),c&&i(Gn,{key:"title",text:e.title},{text:n.title}),(A=n.default)==null?void 0:A.call(n),n.append&&i("div",{class:"v-toolbar__append"},[(_=n.append)==null?void 0:_.call(n)])])]}}),i(Ie,{defaults:{VTabs:{height:re(h.value)}}},{default:()=>[i(Sn,null,{default:()=>[g.value&&i("div",{class:"v-toolbar__extension",style:{height:re(h.value)}},[b])]})]})]})}),{contentHeight:s,extensionHeight:h}}}),So=N({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Vo(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=o;let t=0;const l=R(null),a=K(0),r=K(0),u=K(0),f=K(!1),d=K(!1),g=m(()=>Number(e.scrollThreshold)),s=m(()=>Lt((g.value-a.value)/g.value||0)),h=()=>{const v=l.value;!v||n&&!n.value||(t=a.value,a.value="window"in v?v.pageYOffset:v.scrollTop,d.value=a.value{r.value=r.value||a.value}),j(f,()=>{r.value=0}),be(()=>{j(()=>e.scrollTarget,v=>{var y;const c=v?document.querySelector(v):window;c&&c!==l.value&&((y=l.value)==null||y.removeEventListener("scroll",h),l.value=c,l.value.addEventListener("scroll",h,{passive:!0}))},{immediate:!0})}),pe(()=>{var v;(v=l.value)==null||v.removeEventListener("scroll",h)}),n&&j(n,h,{immediate:!0}),{scrollThreshold:g,currentScroll:a,currentThreshold:u,isScrollActive:f,scrollRatio:s,isScrollingUp:d,savedScroll:r}}const xo=N({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Yn(),...xn(),...So(),height:{type:[Number,String],default:64}},"VAppBar"),Co=W()({name:"VAppBar",props:xo(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const t=R(),l=ue(e,"modelValue"),a=m(()=>{var k;const p=new Set(((k=e.scrollBehavior)==null?void 0:k.split(" "))??[]);return{hide:p.has("hide"),inverted:p.has("inverted"),collapse:p.has("collapse"),elevate:p.has("elevate"),fadeImage:p.has("fade-image")}}),r=m(()=>{const p=a.value;return p.hide||p.inverted||p.collapse||p.elevate||p.fadeImage||!l.value}),{currentScroll:u,scrollThreshold:f,isScrollingUp:d,scrollRatio:g}=Vo(e,{canScroll:r}),s=m(()=>e.collapse||a.value.collapse&&(a.value.inverted?g.value>0:g.value===0)),h=m(()=>e.flat||a.value.elevate&&(a.value.inverted?u.value>0:u.value===0)),v=m(()=>a.value.fadeImage?a.value.inverted?1-g.value:g.value:void 0),c=m(()=>{var A,_;if(a.value.hide&&a.value.inverted)return 0;const p=((A=t.value)==null?void 0:A.contentHeight)??0,k=((_=t.value)==null?void 0:_.extensionHeight)??0;return p+k});gt(m(()=>!!e.scrollBehavior),()=>{yn(()=>{a.value.hide?a.value.inverted?l.value=u.value>f.value:l.value=d.value||u.valueparseInt(e.order,10)),position:Q(e,"location"),layoutSize:c,elementSize:K(void 0),active:l,absolute:Q(e,"absolute")});return X(()=>{const[p]=Xt.filterProps(e);return i(Xt,Z({ref:t,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...b.value,"--v-toolbar-image-opacity":v.value,height:void 0,...y.value},e.style]},p,{collapse:s.value,flat:h.value}),n)}),{}}}),$o=N({...Ba({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),ko=W()({name:"VAppBarNavIcon",props:$o(),setup(e,o){let{slots:n}=o;return X(()=>i(ee,Z(e,{class:["v-app-bar-nav-icon"]}),n)),{}}});const _o=N({scrollable:Boolean,...te(),...we({tag:"main"})},"VMain"),Io=W()({name:"VMain",props:_o(),setup(e,o){let{slots:n}=o;const{mainStyles:t}=Da(),{ssrBootStyles:l}=ct();return X(()=>i(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[t.value,l.value,e.style]},{default:()=>{var a,r;return[e.scrollable?i("div",{class:"v-main__scroller"},[(a=n.default)==null?void 0:a.call(n)]):(r=n.default)==null?void 0:r.call(n)]}})),{}}});function Ao(e){let{rootEl:o,isSticky:n,layoutItemStyles:t}=e;const l=K(!1),a=K(0),r=m(()=>{const d=typeof l.value=="boolean"?"top":l.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,l.value?{[d]:re(a.value)}:{top:t.value.top}]});be(()=>{j(n,d=>{d?window.addEventListener("scroll",f,{passive:!0}):window.removeEventListener("scroll",f)},{immediate:!0})}),pe(()=>{window.removeEventListener("scroll",f)});let u=0;function f(){const d=u>window.scrollY?"up":"down",g=o.value.getBoundingClientRect(),s=parseFloat(t.value.top??0),h=window.scrollY-Math.max(0,a.value-s),v=g.height+Math.max(a.value,s)-window.scrollY-window.innerHeight,c=parseFloat(getComputedStyle(o.value).getPropertyValue("--v-body-scroll-y"))||0;g.height0;n--){if(e[n].t===e[n-1].t)continue;const t=Zt(o),l=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);o+=(l-t)*Math.abs(l),n===e.length-1&&(o*=.5)}return Zt(o)*1e3}function Lo(){const e={};function o(l){Array.from(l.changedTouches).forEach(a=>{(e[a.identifier]??(e[a.identifier]=new ka(Ro))).push([l.timeStamp,a])})}function n(l){Array.from(l.changedTouches).forEach(a=>{delete e[a.identifier]})}function t(l){var d;const a=(d=e[l])==null?void 0:d.values().reverse();if(!a)throw new Error(`No samples for touch id ${l}`);const r=a[0],u=[],f=[];for(const g of a){if(r[0]-g[0]>Po)break;u.push({t:g[0],d:g[1].clientX}),f.push({t:g[0],d:g[1].clientY})}return{x:Qt(u),y:Qt(f),get direction(){const{x:g,y:s}=this,[h,v]=[Math.abs(g),Math.abs(s)];return h>v&&g>=0?"right":h>v&&g<=0?"left":v>h&&s>=0?"down":v>h&&s<=0?"up":Oo()}}}return{addMovement:o,endTouch:n,getVelocity:t}}function Oo(){throw new Error}function Eo(e){let{isActive:o,isTemporary:n,width:t,touchless:l,position:a}=e;be(()=>{window.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("touchmove",k,{passive:!1}),window.addEventListener("touchend",A,{passive:!0})}),pe(()=>{window.removeEventListener("touchstart",p),window.removeEventListener("touchmove",k),window.removeEventListener("touchend",A)});const r=m(()=>["left","right"].includes(a.value)),{addMovement:u,endTouch:f,getVelocity:d}=Lo();let g=!1;const s=K(!1),h=K(0),v=K(0);let c;function y(V,w){return(a.value==="left"?V:a.value==="right"?document.documentElement.clientWidth-V:a.value==="top"?V:a.value==="bottom"?document.documentElement.clientHeight-V:Oe())-(w?t.value:0)}function b(V){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const x=a.value==="left"?(V-v.value)/t.value:a.value==="right"?(document.documentElement.clientWidth-V-v.value)/t.value:a.value==="top"?(V-v.value)/t.value:a.value==="bottom"?(document.documentElement.clientHeight-V-v.value)/t.value:Oe();return w?Math.max(0,Math.min(1,x)):x}function p(V){if(l.value)return;const w=V.changedTouches[0].clientX,x=V.changedTouches[0].clientY,S=25,$=a.value==="left"?wdocument.documentElement.clientWidth-S:a.value==="top"?xdocument.documentElement.clientHeight-S:Oe(),P=o.value&&(a.value==="left"?wdocument.documentElement.clientWidth-t.value:a.value==="top"?xdocument.documentElement.clientHeight-t.value:Oe());($||P||o.value&&n.value)&&(g=!0,c=[w,x],v.value=y(r.value?w:x,o.value),h.value=b(r.value?w:x),f(V),u(V))}function k(V){const w=V.changedTouches[0].clientX,x=V.changedTouches[0].clientY;if(g){if(!V.cancelable){g=!1;return}const $=Math.abs(w-c[0]),P=Math.abs(x-c[1]);(r.value?$>P&&$>3:P>$&&P>3)?(s.value=!0,g=!1):(r.value?P:$)>3&&(g=!1)}if(!s.value)return;V.preventDefault(),u(V);const S=b(r.value?w:x,!1);h.value=Math.max(0,Math.min(1,S)),S>1?v.value=y(r.value?w:x,!0):S<0&&(v.value=y(r.value?w:x,!1))}function A(V){if(g=!1,!s.value)return;u(V),s.value=!1;const w=d(V.changedTouches[0].identifier),x=Math.abs(w.x),S=Math.abs(w.y);(r.value?x>S&&x>400:S>x&&S>3)?o.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[a.value]||Oe()):o.value=h.value>.5}const _=m(()=>s.value?{transform:a.value==="left"?`translateX(calc(-100% + ${h.value*t.value}px))`:a.value==="right"?`translateX(calc(100% - ${h.value*t.value}px))`:a.value==="top"?`translateY(calc(-100% + ${h.value*t.value}px))`:a.value==="bottom"?`translateY(calc(100% - ${h.value*t.value}px))`:Oe(),transition:"none"}:void 0);return{isDragging:s,dragProgress:h,dragStyles:_}}function Oe(){throw new Error}const Bo=["start","end","left","right","top","bottom"],Mo=N({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>Bo.includes(e)},sticky:Boolean,...it(),...te(),...rt(),...xn(),...je(),...we({tag:"nav"}),...$e()},"VNavigationDrawer"),en=W()({name:"VNavigationDrawer",props:Mo(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const{isRtl:a}=Ue(),{themeClasses:r}=Le(e),{borderClasses:u}=st(e),{backgroundColorClasses:f,backgroundColorStyles:d}=De(Q(e,"color")),{elevationClasses:g}=ut(e),{mobile:s}=_a(),{roundedClasses:h}=ze(e),v=Ia(),c=ue(e,"modelValue",null,M=>!!M),{ssrBootStyles:y}=ct(),{scopeId:b}=Vt(),p=R(),k=K(!1),A=m(()=>e.rail&&e.expandOnHover&&k.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),_=m(()=>Aa(e.location,a.value)),V=m(()=>!e.permanent&&(s.value||e.temporary)),w=m(()=>e.sticky&&!V.value&&_.value!=="bottom");e.expandOnHover&&e.rail!=null&&j(k,M=>t("update:rail",!M)),e.disableResizeWatcher||j(V,M=>!e.permanent&&de(()=>c.value=!M)),!e.disableRouteWatcher&&v&&j(v.currentRoute,()=>V.value&&(c.value=!1)),j(()=>e.permanent,M=>{M&&(c.value=!0)}),St(()=>{e.modelValue!=null||V.value||(c.value=e.permanent||!s.value)});const{isDragging:x,dragProgress:S,dragStyles:$}=Eo({isActive:c,isTemporary:V,width:A,touchless:Q(e,"touchless"),position:_}),P=m(()=>{const M=V.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):A.value;return x.value?M*S.value:M}),{layoutItemStyles:I,layoutItemScrimStyles:D}=Cn({id:e.name,order:m(()=>parseInt(e.order,10)),position:_,layoutSize:P,elementSize:A,active:m(()=>c.value||x.value),disableTransitions:m(()=>x.value),absolute:m(()=>e.absolute||w.value&&typeof O.value!="string")}),{isStuck:O,stickyStyles:B}=Ao({rootEl:p,isSticky:w,layoutItemStyles:I}),F=De(m(()=>typeof e.scrim=="string"?e.scrim:null)),q=m(()=>({...x.value?{opacity:S.value*.2,transition:"none"}:void 0,...D.value}));Pt({VList:{bgColor:"transparent"}});function H(){k.value=!0}function L(){k.value=!1}return X(()=>{const M=l.image||e.image;return i(J,null,[i(e.tag,Z({ref:p,onMouseenter:H,onMouseleave:L,class:["v-navigation-drawer",`v-navigation-drawer--${_.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":k.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":V.value,"v-navigation-drawer--active":c.value,"v-navigation-drawer--sticky":w.value},r.value,f.value,u.value,g.value,h.value,e.class],style:[d.value,I.value,$.value,y.value,B.value,e.style]},b,n),{default:()=>{var E,Y,z,ne;return[M&&i("div",{key:"image",class:"v-navigation-drawer__img"},[l.image?(E=l.image)==null?void 0:E.call(l,{image:e.image}):i("img",{src:e.image,alt:""},null)]),l.prepend&&i("div",{class:"v-navigation-drawer__prepend"},[(Y=l.prepend)==null?void 0:Y.call(l)]),i("div",{class:"v-navigation-drawer__content"},[(z=l.default)==null?void 0:z.call(l)]),l.append&&i("div",{class:"v-navigation-drawer__append"},[(ne=l.append)==null?void 0:ne.call(l)])]}}),i(Pa,{name:"fade-transition"},{default:()=>[V.value&&(x.value||c.value)&&!!e.scrim&&i("div",Z({class:["v-navigation-drawer__scrim",F.backgroundColorClasses.value],style:[q.value,F.backgroundColorStyles.value],onClick:()=>c.value=!1},b),null)]})])}),{isStuck:O}}});const To=N({id:String,text:String,...Ra(nn({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),Do=W()({name:"VTooltip",props:To(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const t=ue(e,"modelValue"),{scopeId:l}=Vt(),a=Re(),r=m(()=>e.id||`v-tooltip-${a}`),u=R(),f=m(()=>e.location.split(" ").length>1?e.location:e.location+" center"),d=m(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),g=m(()=>e.transition?e.transition:t.value?"scale-transition":"fade-transition"),s=m(()=>Z({"aria-describedby":r.value},e.activatorProps));return X(()=>{const[h]=We.filterProps(e);return i(We,Z({ref:u,class:["v-tooltip",e.class],style:e.style,id:r.value},h,{modelValue:t.value,"onUpdate:modelValue":v=>t.value=v,transition:g.value,absolute:!0,location:f.value,origin:d.value,persistent:!0,role:"tooltip",activatorProps:s.value,_disableGlobalStack:!0},l),{activator:n.activator,default:function(){var b;for(var v=arguments.length,c=new Array(v),y=0;y{o.global.name.value=o.global.current.value.dark?"light":"dark"};n.loadlinks();const d=[{name:"Главная",ico:"mdi-home",path:"/home"},{name:"Структура",ico:"mdi-source-branch",path:"/structure"},{name:"Сотрудники",ico:"mdi-account-multiple-outline",submenu:[{name:"Справочник",link:"http://10.252.44.33/accounting6/members.php"}]},{name:"Деятельность",ico:"mdi-bulletin-board",submenu:[{name:"Обеспечивающая",path:"/providing"}]},{name:"Безопасность",ico:"mdi-routes",path:"/securyty"},{name:"О портале",ico:"mdi-information-variant",path:"/portal"},{name:"Об инспекции",ico:"mdi-city",path:"/inspection"}],g=m(()=>new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAgCAYAAAAFQMh/AAAAAXNSR0IB2cksfwAAAAlwSFlzAAAuIwAALiMBeKU/dgAACa9JREFUeJylVwtQlNcV3qRJY5ymEzXpI9U0SZNqUpsm0yRmknEmZlKbVk3SJIpTTSbNGEB5xycYK8pbfCAiooC8xADLy32y4MousLyfyhvcBXYXljc/7LIPYL+e+wuWZOLUae7MN3vn/uec795zzz3nrEBwP8NV/BvCLkIJQb/EXeJ4xF2Ch9wkeNxD6njAVWyY//YVL/ujh6v4WUIqwbLKR443AorgdqYMBy/XwjO2Al+eLMHFwk5sOqrEtjMavL1fAZKdntd59v8hfIjgR6eyLN0tYcbw8qEiiKt6kVTUhVRlN9LVWgRl3cRZWQeS5G3wT65FrKgFwZlNWHugkOlYCL68rfsk/SlBtmKP1BmWfQtB3zbyxAz+yXXYGFGK98NL8dnZcnjEVWFzZBmdvhKJ8nYcvdqIgJQ6BGc0IUx4Ey96y5ykJ+Vt3gdpxT9Di7EluBgh2c2IV97GWnLh1nA1vFLqkV3Zh7QKPUSNA7hW34+Ucj1yaM0ruQE7aTOvkGeiJG24pOjELrqWzcdusE1X3JvcVfwg4dqTe6T4Or4aIjLqTUSfn9UgJK8V6rYhjE7Z4ZidAxtDI2M82HDMOjFqtvMygTnNcL9UDdeL1cio1CNS3LbgMRHP8QPEu9b4yJ0h5N7AK/UIobv65GQZcqr0GORssNkdPInT6YRl2opcuYoHm7M1NpjM8KQdQtLZEVOJMHE73Ok6DpP7nybbfNR/j/TXP3GXTO4IU/GuPE73upVI8+qMsDlm0WswoUBVieHRcfQaTZiYnMKpS1d5cJNmfo19YzJM1jEzh+xaIz4+paFA7EKGpge/olfx8G7JJONaTBz15sFC+CfW4ET2TWyNLKWTGtDS2YsewwCkN8pRWd+M8tpbiErI5NdKqxt5sDlbY9+YDJNla23dvcgiVzOvhZH3YmXt+DhExVwetUD6BCWBiQ8iSpCm0uIYRebxnBYYRy0orWpESrYMur5+jE1MQii9gaCzSYi/eg02m50Hm7M19o3JMFmmw3QHxix05y04kFANSa2eP9Bj3nKOcTLij1xCVUgv0cH/ahO2UyJQUZBYyWiKUIbg6CTIiytgGhqFqKiUNxoWk4qG5g4ebM7W2Dcmw2SZDtNlNljA7YzSYN0BPrngATc+0D4S0ET+kp8c4RRUX5yvhHdqA8YoQqfMFpxNzMSxM4lkKBk5smJwU2a6vxnkFahxITWXR76ihF9j35gMk2U6TJfZGLc46HU08KQPE+mD9LvMt6BIsMxHrnOLqUCqoh0uLKCqDZih5zHOTeJMfAZvhOF41GWoKur5U2STW0POJfNgc7bGvjGZBXmmy2zMzDn5l7E1pBgn6GkdpCT0uE+BTvCEt2yaZaeMUh02HCuGsLaffxpMKfpy1l1DDEpNLbS9BoIRbV06dOn60KPv5+fs22JZpstssCGs6YdrXDW2RajxAWW+n3vKrILVvjJE5zdjJ93tvyhZNOjuJAU7vclkofQ7xmKSs6FQVaDfNAyh5DrU5XX8M8qmOfu2WJbp2ufffp12DF9RWmU8vlRgVnrJIFi3rwB5Gh2ExV3YRS5vN3BYGC0dWj5QFhu8kiOjk+qRmCFGZFw6DAODOJ8kRFBUAhLjTiMqJpbXYboLo93IwfV8BUIpji5e78afvi6AYI2f3OlyWoMvYqvgfqEKZR0jdxWs1mlIc9OQnBiLsPOpvPtYJBtNQ8gSX4eQwIg19J5jkjIhTQvFkGwbqovSYJ0237XDbO6hDOZJqdSNXP6kF2Wxtw5fN8eKWxEna8OehFpk1RjnU+McuM5sjNRFob8kEFV1Dei43YtObR8GBkeQlCkhdyt5V7dWKWAqj0CDJAzj5fsx3nwZU+VemLMv3LER7wTe4JNIBFWtlfsLzYLfHVb2+MdX4aSknd5xI1LVOkqTc5ibtWOiMRpmbgjmCh+M9dXz9xpDbu3o7kE7oa1Ti5b2LjTkH4HoWj6Gbpdh9GYCxqqDYDE10O7nYKP0maLS8RnMK7EWm8NK8JC7pFnw9glNwT668KO5rUijyN6f3gTThJWdGVy3CCZNEMab4sA1J6Im5wjSkmLRZzAiPU8BeWY02hX/xoBsO4qFwRjRlsBsaoKl5gAcrdHMbRgYt8KDCA9/28Qnpr+GqPGgmyRZ8N6Zis3LKMpe8y+CL+XqHafLkEuuoefHVx3mcrYJNrhhLbiWy9CXhENy5QTa8vegsyYXXM1xDJUdgYPTwdocjWljGcw6KdlwIp+KxabwEhwVNuMcdSvP7+Mz2JuCU0W3f7ExUjNxlhXvom78he7Ch3aoG/pvcCwMy3A7WjTpaBf7oUfqhsnCLWgVH8CoygODleEYU+6ARSvC3IwVs45pdJum4JdUjyCq0ZepXdpw9AZeCFCaiHipgOw9sCOh/vRTfgUIIHfk1xjwt6BihFItHaHUuXhoq9NRkuEPo9QFTaL9KJPEQ50RCK34S1iUH4LT+MBuufMqRqhpiJR2YEOwCkeybsGPUvFOKhJ/PKY6tLgsLn35uHowgnYmphr8Hu3sLf9CRBd0YXjKPh/ls+CMdTA1pKJFnYRckRSZouuovdmGsSEDrAYlzH3qO93JpA3Rii5spAMkF99GIp32CW85XjmmHvw6q2X5d3qBtYGqd9cGKJ3vUgv7M/c7neVrVFFCr7WhqnuUb3mcszbMmAcwO+MAR97oHpjEuNmGiSkbBikgb5NrayhLRZK3Xqf6vow61O3UXBxJq8czh4rmPomr3fKDbdferJZvl5PLF7pKhqc8pajpHEKXYQKtlNXY3Y9w00Rop2IyxwKXDz2zbYbvVgzDZrxBgbrYxmOUMNZHasLu2WSS/soTiu62J/cq7iot95RBa5zgCViUMjAiK5EMUqGv6hhCNW1syurAKGdFR+8oHpnvxRke9ZQ5f+t/PfqepIvI/3ylynDrpaPFvOK6gwrspn8Nksoe6AY4dOjHcY1yu++FSizzkPIyv3QXwSWyBI9Sh+pOKXGBdImH1L7CT+H3P0nniR8lrG7Sc6Ivkhpsnx6Q4u9eed9xHcOKXfnY8Vkqgj6MwN4PwvDcl9n49PM0bAtRghpHJzUYN0nu5fsi/d4GVkw7Znfq5BUdDe98hvNbQhGw/SK+cbmIuE3HUfv6duifexWjK59H65r1aHz1H+hb/z5SD2cYifDj+//rco9hTkw6OfaHOwSDT6/B4KrV/Hx01QsYeOZFdKx6EX20Nr5xEzi//bO2QuWnP4pwYVhz85dbos5FcV6+3Zyn7wzn4e2cPBgwMR2fUDTyTaB10MvXNh4YXGC5lLjBmnLl97O9+iX3Y/c/fUJPxpmc/zEAAAAASUVORK5CYII=",self.location).href);return{theme:o,mainmenuStore:n,accountStore:t,drawer:l,drawer_right:a,toggleTheme:f,navigations:d,imageSrc:g,getcard:async()=>{r.value=!0},menuGetUserDialog:r,LikeDialog:u,appStore:e}}},No=["src"],jo=se("span",null,"F.A.Q.",-1),zo={class:"mystat d-flex flex-column"};function Uo(e,o,n,t,l,a){const r=Ee("Card-users"),u=Ee("Card-like"),f=Ee("Auth-form"),d=Ee("router-view"),g=Ee("Online-users");return G(),ae(bo,null,{default:C(()=>[i(Co,{elevation:2,density:"compact",color:"teal-darken-4"},{image:C(()=>[i(Rt,{gradient:"to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)"})]),append:C(()=>[t.accountStore.cod2user?(G(),ie(J,{key:0},[i(ot,{border:"",class:"bg-transparent",density:"compact","prepend-avatar":t.accountStore.user.photo,title:t.accountStore.user.fio,subtitle:t.accountStore.user.post,variant:"text",onClick:t.getcard},null,8,["prepend-avatar","title","subtitle","onClick"]),i(Ze,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":o[2]||(o[2]=s=>t.menuGetUserDialog=s),persistent:"",width:"600"},{default:C(()=>[i(r,{menuGetUserDialog:t.menuGetUserDialog,loging:t.accountStore.user.login,onMenusClose:o[1]||(o[1]=s=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"]),i(Do,{location:"bottom"},{activator:C(({props:s})=>[i(ee,Z(s,{dark:"",to:"/faq",icon:"mdi-comment-question-outline"}),null,16)]),default:C(()=>[jo]),_:1}),i(Ze,{modelValue:t.LikeDialog,"onUpdate:modelValue":o[4]||(o[4]=s=>t.LikeDialog=s),persistent:"",width:"800"},{activator:C(({props:s})=>[i(ee,Z(s,{dark:"",icon:"mdi-thumb-up-outline"}),null,16)]),default:C(()=>[i(u,{LikeDialog:t.LikeDialog,onMenusClose:o[3]||(o[3]=s=>t.LikeDialog=!1)},null,8,["LikeDialog"])]),_:1},8,["modelValue"]),i(ee,{icon:"",onClick:t.toggleTheme},{default:C(()=>[i(he,{class:"mr-1",color:"lampa"},{default:C(()=>[oe(" mdi-lightbulb-outline ")]),_:1})]),_:1},8,["onClick"]),i(ee,{dark:"",icon:"mdi-magnify"}),i(ee,{dark:"",icon:"mdi-account-multiple-outline",onClick:o[5]||(o[5]=s=>t.drawer_right=!t.drawer_right)}),i(ee,{dark:"",icon:"mdi-logout",onClick:t.accountStore.logout},null,8,["onClick"])],64)):(G(),ae(Ae,{key:1,justify:"center"},{default:C(()=>[i(f)]),_:1}))]),default:C(()=>[i(ko,{onClick:o[0]||(o[0]=s=>t.drawer=!t.drawer)},{default:C(()=>[se("img",{style:{cursor:"pointer"},src:t.imageSrc},null,8,No)]),_:1}),i(Gn,null,{default:C(()=>[oe(" Портал МиФНС по ЦОД № 2 ")]),_:1})]),_:1}),i(en,{modelValue:t.drawer,"onUpdate:modelValue":o[6]||(o[6]=s=>t.drawer=s)},{default:C(()=>[i(Be),i(et,{nav:"",density:"compact"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.navigations,(s,h)=>(G(),ie(J,null,["submenu"in s?(G(),ae(pt,{key:h,value:s.name},{activator:C(({props:v})=>[i(ye,Z(v,{title:s.name,"prepend-icon":s.ico}),null,16,["title","prepend-icon"])]),default:C(()=>[(G(!0),ie(J,null,Pe(s.submenu,(v,c)=>(G(),ae(ye,{href:v.link,key:c,value:v.name,title:v.name,to:v.path},null,8,["href","value","title","to"]))),128))]),_:2},1032,["value"])):(G(),ae(ye,{key:s.name,title:s.name,value:s.name,href:s.link,to:s.path,color:"navigation"},{prepend:C(()=>[i(he,{icon:s.ico},null,8,["icon"])]),_:2},1032,["title","value","href","to"]))],64))),256))]),_:1}),i(et,{nav:"",density:"compact"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.mainmenuStore.portallinks,s=>(G(),ae(ye,{key:s.name,title:s.name,value:s.name,href:s.link,color:"teal-darken-4"},{prepend:C(()=>[i(he,{icon:s.imagecode},null,8,["icon"])]),_:2},1032,["title","value","href"]))),128))]),_:1})]),_:1},8,["modelValue"]),i(Io,{class:"d-flex bg-main_theme"},{default:C(()=>[i(d),se("div",zo,[i(ee,{class:"mb-1","prepend-icon":"mdi-wikipedia",size:"small",variant:"outlined",height:"30"},{default:C(()=>[oe(" Wiki ")]),_:1}),i(ee,{height:"30","prepend-icon":"mdi-apple-finder",size:"small",variant:"outlined"},{default:C(()=>[oe(" МС ")]),_:1})])]),_:1}),t.accountStore.cod2user?(G(),ae(en,{key:0,modelValue:t.drawer_right,"onUpdate:modelValue":o[7]||(o[7]=s=>t.drawer_right=s),rail:"",permanent:"",location:"right",onClick:o[8]||(o[8]=s=>e.rail=!1)},{default:C(()=>[i(g)]),_:1},8,["modelValue"])):hn("",!0)]),_:1})}const Ko=He(Fo,[["render",Uo]]);export{Ko as default}; diff --git a/front/dist/assets/DefaultPortal-83dc86ba.css b/front/dist/assets/DefaultPortal-83dc86ba.css deleted file mode 100644 index 302feda9c..000000000 --- a/front/dist/assets/DefaultPortal-83dc86ba.css +++ /dev/null @@ -1 +0,0 @@ -.v-dialog{align-items:center;justify-content:center;margin:auto}.v-dialog>.v-overlay__content{max-height:calc(100% - 48px);width:calc(100% - 48px);max-width:calc(100% - 48px);margin:24px;display:flex;flex-direction:column}.v-dialog>.v-overlay__content>.v-card,.v-dialog>.v-overlay__content>.v-sheet{--v-scrollbar-offset: 0px;border-radius:4px;overflow-y:auto;box-shadow:0 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 46px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-dialog>.v-overlay__content>.v-card{display:flex;flex-direction:column}.v-dialog>.v-overlay__content>.v-card>.v-card-item{padding:14px 24px 0}.v-dialog>.v-overlay__content>.v-card>.v-card-item+.v-card-text{padding-top:10px}.v-dialog>.v-overlay__content>.v-card>.v-card-text{font-size:inherit;letter-spacing:.03125em;line-height:inherit;padding:16px 24px 10px}.v-dialog--fullscreen{--v-scrollbar-offset: 0px}.v-dialog--fullscreen>.v-overlay__content{border-radius:0;margin:0;padding:0;width:100%;height:100%;max-width:100%;max-height:100%;overflow-y:auto;top:0;left:0}.v-dialog--fullscreen>.v-overlay__content>.v-card,.v-dialog--fullscreen>.v-overlay__content>.v-sheet{min-height:100%;min-width:100%;border-radius:0}.v-dialog--scrollable>.v-overlay__content,.v-dialog--scrollable>.v-overlay__content>form{display:flex}.v-dialog--scrollable>.v-overlay__content>.v-card,.v-dialog--scrollable>.v-overlay__content>form>.v-card{display:flex;flex:1 1 100%;flex-direction:column;max-height:100%;max-width:100%}.v-dialog--scrollable>.v-overlay__content>.v-card>.v-card-text,.v-dialog--scrollable>.v-overlay__content>form>.v-card>.v-card-text{backface-visibility:hidden;overflow-y:auto}.v-text-field input{color:inherit;opacity:0;flex:1;transition:.15s opacity cubic-bezier(.4,0,.2,1);min-width:0;margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-text-field input:focus,.v-text-field input:active{outline:none}.v-text-field input:invalid{box-shadow:none}.v-text-field .v-field{cursor:text}.v-text-field--prefixed.v-text-field .v-field__input{--v-field-padding-start: 6px}.v-text-field--suffixed.v-text-field .v-field__input{--v-field-padding-end: 0}.v-text-field .v-input__details{padding-inline-start:16px;padding-inline-end:16px}.v-text-field .v-field--no-label input,.v-text-field .v-field--active input{opacity:1}.v-text-field .v-field--single-line input{transition:none}.v-text-field__prefix,.v-text-field__suffix{align-items:center;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));cursor:default;display:flex;opacity:0;transition:inherit;white-space:nowrap;min-height:max(var(--v-input-control-height, 56px),1.5rem + var(--v-field-input-padding-top) + var(--v-field-input-padding-bottom) + var(--v-input-chips-margin-bottom) + 2px);padding-top:calc(var(--v-field-padding-top, 4px) + var(--v-input-padding-top, 0));padding-bottom:var(--v-field-padding-bottom, 6px)}.v-text-field__prefix__text,.v-text-field__suffix__text{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-field--active .v-text-field__prefix,.v-field--active .v-text-field__suffix{opacity:1}.v-field--disabled .v-text-field__prefix,.v-field--disabled .v-text-field__suffix{color:rgba(var(--v-theme-on-surface),var(--v-disabled-opacity))}.v-text-field__prefix{padding-inline-start:var(--v-field-padding-start)}.v-text-field__suffix{padding-inline-end:var(--v-field-padding-end)}.v-text-field--plain-underlined{--v-field-padding-top--plain-underlined: 6px}.v-text-field--plain-underlined .v-input__details{padding:0}.v-text-field--plain-underlined .v-input__prepend,.v-text-field--plain-underlined .v-input__append{align-items:flex-start;padding-top:calc(var(--v-field-padding-top--plain-underlined) + var(--v-input-padding-top))}.v-counter{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));flex:0 1 auto;font-size:12px;transition-duration:.15s}.v-field{display:grid;grid-template-areas:"prepend-inner field clear append-inner";grid-template-columns:min-content minmax(0,1fr) min-content min-content;font-size:16px;letter-spacing:.009375em;max-width:100%;border-radius:4px;contain:layout;flex:1 0;grid-area:control;position:relative;--v-field-padding-start: 16px;--v-field-padding-end: 16px;--v-field-padding-top: 10px;--v-field-padding-bottom: 5px;--v-field-input-padding-top: calc(var(--v-field-padding-top, 10px) + var(--v-input-padding-top, 0));--v-field-input-padding-bottom: var(--v-field-padding-bottom, 5px)}.v-field--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-field--prepended{padding-inline-start:12px}.v-field--appended{padding-inline-end:12px}.v-field--variant-solo,.v-field--variant-solo-filled,.v-field--variant-solo-inverted{background:rgb(var(--v-theme-surface));border-color:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity));box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-field--variant-solo-inverted.v-field--focused{color:rgb(var(--v-theme-on-surface-variant))}.v-field--variant-filled{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-input--density-default .v-field--variant-solo,.v-input--density-default .v-field--variant-solo-inverted,.v-input--density-default .v-field--variant-solo-filled,.v-input--density-default .v-field--variant-filled{--v-input-control-height: 56px;--v-field-padding-bottom: 5px}.v-input--density-comfortable .v-field--variant-solo,.v-input--density-comfortable .v-field--variant-solo-inverted,.v-input--density-comfortable .v-field--variant-solo-filled,.v-input--density-comfortable .v-field--variant-filled{--v-input-control-height: 48px;--v-field-padding-bottom: 1px}.v-input--density-compact .v-field--variant-solo,.v-input--density-compact .v-field--variant-solo-inverted,.v-input--density-compact .v-field--variant-solo-filled,.v-input--density-compact .v-field--variant-filled{--v-input-control-height: 40px;--v-field-padding-bottom: 0px}.v-field--variant-outlined,.v-field--single-line,.v-field--no-label{--v-field-padding-top: 0px}.v-input--density-default .v-field--variant-outlined,.v-input--density-default .v-field--single-line,.v-input--density-default .v-field--no-label{--v-field-padding-bottom: 15px}.v-input--density-comfortable .v-field--variant-outlined,.v-input--density-comfortable .v-field--single-line,.v-input--density-comfortable .v-field--no-label{--v-field-padding-bottom: 11px}.v-input--density-compact .v-field--variant-outlined,.v-input--density-compact .v-field--single-line,.v-input--density-compact .v-field--no-label{--v-field-padding-bottom: 7px}.v-field--variant-plain,.v-field--variant-underlined{border-radius:0;padding:0}.v-field--variant-plain.v-field,.v-field--variant-underlined.v-field{--v-field-padding-start: 0px;--v-field-padding-end: 0px;--v-field-padding-top: var(--v-field-padding-top--plain-underlined, 6px)}.v-input--density-default .v-field--variant-plain,.v-input--density-default .v-field--variant-underlined{--v-input-control-height: 48px;--v-field-padding-bottom: 5px}.v-input--density-comfortable .v-field--variant-plain,.v-input--density-comfortable .v-field--variant-underlined{--v-input-control-height: 40px;--v-field-padding-bottom: 1px}.v-input--density-compact .v-field--variant-plain,.v-input--density-compact .v-field--variant-underlined{--v-input-control-height: 32px;--v-field-padding-bottom: 0px}.v-field--flat{box-shadow:none}.v-field--rounded{border-radius:9999px}.v-field.v-field--prepended{--v-field-padding-start: 6px}.v-field.v-field--appended{--v-field-padding-end: 6px}.v-field__input{color:inherit;display:flex;flex-wrap:wrap;letter-spacing:.009375em;opacity:var(--v-high-emphasis-opacity);min-height:max(var(--v-input-control-height, 56px),1.5rem + var(--v-field-input-padding-top) + var(--v-field-input-padding-bottom) + var(--v-input-chips-margin-bottom) + 2px);min-width:0;padding-inline-start:var(--v-field-padding-start);padding-inline-end:var(--v-field-padding-end);padding-top:var(--v-field-input-padding-top);padding-bottom:var(--v-field-input-padding-bottom);position:relative;width:100%}.v-field__input input{letter-spacing:inherit}.v-field__input input::placeholder,input.v-field__input::placeholder,textarea.v-field__input::placeholder{color:currentColor;opacity:var(--v-disabled-opacity)}.v-field__input:focus,.v-field__input:active{outline:none}.v-field__input:invalid{box-shadow:none}.v-field__field{flex:1 0;grid-area:field;position:relative;align-items:flex-start;display:flex}.v-field__prepend-inner{grid-area:prepend-inner;padding-inline-end:var(--v-field-padding-after)}.v-field__clearable{grid-area:clear}.v-field__append-inner{grid-area:append-inner;padding-inline-start:var(--v-field-padding-after)}.v-field__append-inner,.v-field__clearable,.v-field__prepend-inner{display:flex;align-items:flex-start;padding-top:var(--v-input-padding-top, 10px)}.v-field--center-affix .v-field__append-inner,.v-field--center-affix .v-field__clearable,.v-field--center-affix .v-field__prepend-inner{align-items:center;padding-top:0}.v-field.v-field--variant-underlined .v-field__append-inner,.v-field.v-field--variant-underlined .v-field__clearable,.v-field.v-field--variant-underlined .v-field__prepend-inner,.v-field.v-field--variant-plain .v-field__append-inner,.v-field.v-field--variant-plain .v-field__clearable,.v-field.v-field--variant-plain .v-field__prepend-inner{align-items:flex-start;padding-top:calc(var(--v-field-padding-top, 10px) + var(--v-input-padding-top, 0));padding-bottom:var(--v-field-padding-bottom, 5px)}.v-field--focused .v-field__prepend-inner,.v-field--focused .v-field__append-inner{opacity:1}.v-field__prepend-inner>.v-icon,.v-field__append-inner>.v-icon,.v-field__clearable>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-field--disabled .v-field__prepend-inner>.v-icon,.v-field--error .v-field__prepend-inner>.v-icon,.v-field--disabled .v-field__append-inner>.v-icon,.v-field--error .v-field__append-inner>.v-icon,.v-field--disabled .v-field__clearable>.v-icon,.v-field--error .v-field__clearable>.v-icon{opacity:1}.v-field--error:not(.v-field--disabled) .v-field__prepend-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__append-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__clearable>.v-icon{color:rgb(var(--v-theme-error))}.v-field__clearable{cursor:pointer;opacity:0;margin-inline-start:4px;margin-inline-end:4px;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform,width}.v-field--focused .v-field__clearable,.v-field--persistent-clear .v-field__clearable{opacity:1}@media (hover: hover){.v-field:hover .v-field__clearable{opacity:1}}.v-label.v-field-label{contain:layout paint;margin-inline-start:var(--v-field-padding-start);margin-inline-end:var(--v-field-padding-end);max-width:calc(100% - var(--v-field-padding-start) - var(--v-field-padding-end));pointer-events:none;position:absolute;top:var(--v-input-padding-top);transform-origin:left center;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform}.v-field--variant-underlined .v-label.v-field-label,.v-field--variant-plain .v-label.v-field-label{top:calc(var(--v-input-padding-top) + var(--v-field-padding-top))}.v-field--center-affix .v-label.v-field-label{top:50%;transform:translateY(-50%)}.v-field--active .v-label.v-field-label{visibility:hidden}.v-field--focused .v-label.v-field-label,.v-field--error .v-label.v-field-label{opacity:1}.v-field--error:not(.v-field--disabled) .v-label.v-field-label{color:rgb(var(--v-theme-error))}.v-label.v-field-label--floating{--v-field-label-scale: .75em;font-size:var(--v-field-label-scale);visibility:hidden;max-width:100%}.v-field--center-affix .v-label.v-field-label--floating{transform:none}.v-field.v-field--active .v-label.v-field-label--floating{visibility:visible}.v-input--density-default .v-field--variant-solo .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-filled .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-solo-filled .v-label.v-field-label--floating{top:7px}.v-input--density-comfortable .v-field--variant-solo .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-filled .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-solo-filled .v-label.v-field-label--floating{top:5px}.v-input--density-compact .v-field--variant-solo .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-solo-filled .v-label.v-field-label--floating{top:3px}.v-field--variant-plain .v-label.v-field-label--floating,.v-field--variant-underlined .v-label.v-field-label--floating{transform:translateY(-16px);margin:0;top:var(--v-input-padding-top)}.v-field--variant-outlined .v-label.v-field-label--floating{transform:translateY(-50%);transform-origin:center;position:static;margin:0 4px}.v-field__outline{--v-field-border-width: 1px;--v-field-border-opacity: .38;align-items:stretch;contain:layout;display:flex;height:100%;left:0;pointer-events:none;position:absolute;right:0;width:100%}@media (hover: hover){.v-field:hover .v-field__outline{--v-field-border-opacity: var(--v-high-emphasis-opacity)}}.v-field--error:not(.v-field--disabled) .v-field__outline{color:rgb(var(--v-theme-error))}.v-field.v-field--focused .v-field__outline,.v-input.v-input--error .v-field__outline{--v-field-border-opacity: 1}.v-field--variant-outlined.v-field--focused .v-field__outline{--v-field-border-width: 2px}.v-field--variant-filled .v-field__outline:before,.v-field--variant-underlined .v-field__outline:before{border-style:solid;border-width:0 0 var(--v-field-border-width);opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled .v-field__outline:after,.v-field--variant-underlined .v-field__outline:after{border-color:currentColor;border-style:solid;border-width:0 0 2px;transform:scaleX(0);transition:transform .15s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--focused.v-field--variant-filled .v-field__outline:after,.v-field--focused.v-field--variant-underlined .v-field__outline:after{transform:scaleX(1)}.v-field--variant-outlined .v-field__outline{border-radius:inherit}.v-field--variant-outlined .v-field__outline__start,.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after,.v-field--variant-outlined .v-field__outline__end{border:0 solid currentColor;opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-outlined .v-field__outline__start{flex:0 0 12px;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-start-width:var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__start.v-locale--is-ltr,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__start{border-top-left-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:inherit}.v-field--variant-outlined .v-field__outline__start.v-locale--is-rtl,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__start{border-top-left-radius:0;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:0}.v-field--variant-outlined .v-field__outline__notch{flex:none;position:relative}.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after{opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-outlined .v-field__outline__notch:before{border-width:var(--v-field-border-width) 0 0}.v-field--variant-outlined .v-field__outline__notch:after{bottom:0;border-width:0 0 var(--v-field-border-width)}.v-field--active.v-field--variant-outlined .v-field__outline__notch:before{opacity:0}.v-field--variant-outlined .v-field__outline__end{flex:1;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-end-width:var(--v-field-border-width)}.v-field--variant-outlined .v-field__outline__end.v-locale--is-ltr,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__end{border-top-left-radius:0;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:0}.v-field--variant-outlined .v-field__outline__end.v-locale--is-rtl,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__end{border-top-left-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:inherit}.v-field__loader{bottom:0;left:0;position:absolute;right:0;width:100%}.v-field__overlay{border-radius:inherit;pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled .v-field__overlay{background-color:currentColor;opacity:.04;transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-filled.v-field--has-background .v-field__overlay{opacity:0}@media (hover: hover){.v-field--variant-filled:hover .v-field__overlay{opacity:calc((.04 + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}}.v-field--variant-filled.v-field--focused .v-field__overlay{opacity:calc((.04 + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}.v-field--variant-solo-filled .v-field__overlay{background-color:currentColor;opacity:.04;transition:opacity .25s cubic-bezier(.4,0,.2,1)}@media (hover: hover){.v-field--variant-solo-filled:hover .v-field__overlay{opacity:calc((.04 + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}}.v-field--variant-solo-filled.v-field--focused .v-field__overlay{opacity:calc((.04 + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}.v-field--variant-solo-inverted .v-field__overlay{transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-solo-inverted.v-field--has-background .v-field__overlay{opacity:0}@media (hover: hover){.v-field--variant-solo-inverted:hover .v-field__overlay{opacity:calc((.04 + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}}.v-field--variant-solo-inverted.v-field--focused .v-field__overlay{background-color:rgb(var(--v-theme-surface-variant));opacity:1}.v-field--reverse .v-field__input.v-locale--is-ltr,.v-locale--is-ltr .v-field--reverse .v-field__input{text-align:right}.v-field--reverse .v-field__input.v-locale--is-rtl,.v-locale--is-rtl .v-field--reverse .v-field__input{text-align:left}.v-input--disabled .v-field--variant-filled .v-field__outline:before,.v-input--disabled .v-field--variant-underlined .v-field__outline:before{border-image:repeating-linear-gradient(to right,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 0px,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 2px,transparent 2px,transparent 4px) 1 repeat}.v-field--loading .v-field__outline:after,.v-field--loading .v-field__outline:before{opacity:0}.v-label{align-items:center;display:inline-flex;font-size:1rem;letter-spacing:.009375em;min-width:0;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-label--clickable{cursor:pointer}.v-input{display:grid;flex:1 1 auto;font-size:1rem;font-weight:400;line-height:1.5;--v-input-chips-margin-top: 2px}.v-input--disabled{pointer-events:none}.v-input--density-default{--v-input-control-height: 56px;--v-input-padding-top: 15px}.v-input--density-comfortable{--v-input-control-height: 48px;--v-input-padding-top: 11px}.v-input--density-compact{--v-input-control-height: 40px;--v-input-padding-top: 7px}.v-input--density-default{--v-input-chips-margin-bottom: 0px}.v-input--density-comfortable{--v-input-chips-margin-bottom: 2px}.v-input--density-compact{--v-input-chips-margin-bottom: 4px}.v-input--vertical{grid-template-areas:"append" "control" "prepend";grid-template-rows:max-content auto max-content;grid-template-columns:min-content}.v-input--vertical .v-input__prepend{margin-block-start:16px}.v-input--vertical .v-input__append{margin-block-end:16px}.v-input--horizontal{grid-template-areas:"prepend control append" "a messages b";grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-rows:auto auto}.v-input--horizontal .v-input__prepend{margin-inline-end:16px}.v-input--horizontal .v-input__append{margin-inline-start:16px}.v-input__details{align-items:flex-end;display:flex;font-size:.75rem;font-weight:400;grid-area:messages;letter-spacing:.0333333333em;line-height:normal;min-height:22px;padding-top:6px;overflow:hidden;justify-content:space-between}.v-input__details>.v-icon,.v-input__prepend>.v-icon,.v-input__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-input--disabled .v-input__details>.v-icon,.v-input--disabled .v-input__details .v-messages,.v-input--error .v-input__details>.v-icon,.v-input--error .v-input__details .v-messages,.v-input--disabled .v-input__prepend>.v-icon,.v-input--disabled .v-input__prepend .v-messages,.v-input--error .v-input__prepend>.v-icon,.v-input--error .v-input__prepend .v-messages,.v-input--disabled .v-input__append>.v-icon,.v-input--disabled .v-input__append .v-messages,.v-input--error .v-input__append>.v-icon,.v-input--error .v-input__append .v-messages{opacity:1}.v-input--disabled .v-input__details,.v-input--disabled .v-input__prepend,.v-input--disabled .v-input__append{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-input__details>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__details .v-messages,.v-input--error:not(.v-input--disabled) .v-input__prepend>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__prepend .v-messages,.v-input--error:not(.v-input--disabled) .v-input__append>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__append .v-messages{color:rgb(var(--v-theme-error))}.v-input__prepend,.v-input__append{display:flex;align-items:flex-start;padding-top:var(--v-input-padding-top)}.v-input--center-affix .v-input__prepend,.v-input--center-affix .v-input__append{align-items:center;padding-top:0}.v-input__prepend{grid-area:prepend}.v-input__append{grid-area:append}.v-input__control{display:flex;grid-area:control}.v-messages{flex:1 1 auto;font-size:12px;min-height:14px;min-width:1px;opacity:var(--v-medium-emphasis-opacity);position:relative}.v-messages__message{line-height:12px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;transition-duration:.15s}.custom_subtitle .v-list-item-subtitle{opacity:1!important}.v-list{overflow:auto;padding:8px 0;position:relative;outline:none;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list--border{border-width:thin;box-shadow:none}.v-list--disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.v-list--nav{padding-inline-start:8px;padding-inline-end:8px}.v-navigation-drawer--rail:not(.v-navigation-drawer--is-hovering) .v-list .v-avatar{--v-avatar-height: 24px}.v-list--rounded{border-radius:4px}.v-list--subheader{padding-top:0}.v-list-img{border-radius:inherit;display:flex;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-list-subheader{align-items:center;background:inherit;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));display:flex;font-size:.875rem;font-weight:400;line-height:1.375rem;padding-inline-end:16px;min-height:40px;transition:.2s min-height cubic-bezier(.4,0,.2,1)}.v-list-subheader__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-list--density-default .v-list-subheader{min-height:40px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-comfortable .v-list-subheader{min-height:36px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-compact .v-list-subheader{min-height:32px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-subheader--inset{--indent-padding: 56px}.v-list--nav .v-list-subheader{font-size:.75rem}.v-list-subheader--sticky{background:inherit;left:0;position:sticky;top:0;z-index:1}.v-list__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item{align-items:center;display:grid;flex:none;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;outline:none;max-width:100%;padding:4px 16px;position:relative;text-decoration:none;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:0}.v-list-item--border{border-width:thin;box-shadow:none}.v-list-item:hover>.v-list-item__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item:focus-visible>.v-list-item__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item:focus>.v-list-item__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-list-item--active>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]>.v-list-item__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item--active:hover>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:hover>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-list-item--active:focus-visible>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item--active:focus>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:focus>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-list-item--variant-plain,.v-list-item--variant-outlined,.v-list-item--variant-text,.v-list-item--variant-tonal{background:transparent;color:inherit}.v-list-item--variant-plain{opacity:.62}.v-list-item--variant-plain:focus,.v-list-item--variant-plain:hover{opacity:1}.v-list-item--variant-plain .v-list-item__overlay{display:none}.v-list-item--variant-elevated,.v-list-item--variant-flat{background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list-item--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-list-item--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-list-item--variant-outlined{border:thin solid currentColor}.v-list-item--variant-text .v-list-item__overlay{background:currentColor}.v-list-item--variant-tonal .v-list-item__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}@supports selector(:focus-visible){.v-list-item:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border:2px solid currentColor;border-radius:4px;opacity:0;transition:opacity .2s ease-in-out}.v-list-item:focus-visible:after{opacity:calc(.15 * var(--v-theme-overlay-multiplier))}}.v-list-item__prepend>.v-icon,.v-list-item__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-list-item--active .v-list-item__prepend>.v-icon,.v-list-item--active .v-list-item__append>.v-icon{opacity:1}.v-list-item--rounded{border-radius:4px}.v-list-item--disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.6}.v-list-item--link{cursor:pointer}.v-list-item__prepend{align-items:center;align-self:center;display:flex;grid-area:prepend}.v-list-item__prepend>.v-avatar{margin-inline-end:16px}.v-list-item__prepend>.v-icon{margin-inline-end:32px}.v-list-item--three-line .v-list-item__prepend{align-self:start}.v-list-item__append{align-self:center;display:flex;align-items:center;grid-area:append}.v-list-item__append>.v-avatar{margin-inline-start:16px}.v-list-item__append>.v-icon{margin-inline-start:32px}.v-list-item--three-line .v-list-item__append{align-self:start}.v-list-item__content{align-self:center;grid-area:content;overflow:hidden}.v-list-item-action{align-self:center;display:flex;align-items:center;grid-area:prepend;flex:none;transition:inherit;transition-property:height,width}.v-list-item-action--start{margin-inline-end:12px}.v-list-item-action--end{margin-inline-start:12px}.v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-media--start{margin-inline-end:16px}.v-list-item-media--end{margin-inline-start:16px}.v-list-item--two-line .v-list-item-media{margin-top:-4px;margin-bottom:-4px}.v-list-item--three-line .v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-subtitle{-webkit-box-orient:vertical;display:-webkit-box;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;padding:0;text-overflow:ellipsis;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem;text-transform:none}.v-list-item--one-line .v-list-item-subtitle{-webkit-line-clamp:1}.v-list-item--two-line .v-list-item-subtitle{-webkit-line-clamp:2}.v-list-item--three-line .v-list-item-subtitle{-webkit-line-clamp:3}.v-list-item--nav .v-list-item-subtitle{font-size:.75rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem}.v-list-item-title{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:normal;overflow:hidden;padding:0;white-space:nowrap;text-overflow:ellipsis;word-break:normal;word-wrap:break-word;font-size:1rem;font-weight:400;letter-spacing:.009375em;line-height:1.5rem;text-transform:none}.v-list-item--nav .v-list-item-title{font-size:.8125rem;font-weight:500;letter-spacing:normal;line-height:1rem}.v-list-item--density-default{min-height:40px}.v-list-item--density-default.v-list-item--one-line{min-height:48px;padding-top:4px;padding-bottom:4px}.v-list-item--density-default.v-list-item--two-line{min-height:64px;padding-top:12px;padding-bottom:12px}.v-list-item--density-default.v-list-item--three-line{min-height:88px;padding-top:16px;padding-bottom:16px}.v-list-item--density-default.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-default.v-list-item--three-line .v-list-item__append{padding-top:8px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--one-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--two-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--three-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-comfortable{min-height:36px}.v-list-item--density-comfortable.v-list-item--one-line{min-height:44px}.v-list-item--density-comfortable.v-list-item--two-line{min-height:60px;padding-top:8px;padding-bottom:8px}.v-list-item--density-comfortable.v-list-item--three-line{min-height:84px;padding-top:12px;padding-bottom:12px}.v-list-item--density-comfortable.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-comfortable.v-list-item--three-line .v-list-item__append{padding-top:6px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--one-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--two-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--three-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-compact{min-height:32px}.v-list-item--density-compact.v-list-item--one-line{min-height:40px}.v-list-item--density-compact.v-list-item--two-line{min-height:56px;padding-top:4px;padding-bottom:4px}.v-list-item--density-compact.v-list-item--three-line{min-height:80px;padding-top:8px;padding-bottom:8px}.v-list-item--density-compact.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-compact.v-list-item--three-line .v-list-item__append{padding-top:4px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--one-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--two-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--three-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--nav{padding-inline-start:8px;padding-inline-end:8px}.v-list .v-list-item--nav:not(:only-child){margin-bottom:4px}.v-list-item__underlay{position:absolute}.v-list-item__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item--active.v-list-item--variant-elevated .v-list-item__overlay{--v-theme-overlay-multiplier: 0}.v-list{--indent-padding: 0px}.v-list--nav{--indent-padding: -8px}.v-list-group{--list-indent-size: 16px;--parent-padding: var(--indent-padding);--prepend-width: 40px}.v-list-group--fluid{--list-indent-size: 0px}.v-list-group--prepend{--parent-padding: calc(var(--indent-padding) + var(--prepend-width))}.v-list-group--fluid.v-list-group--prepend{--parent-padding: var(--indent-padding)}.v-list-group__items{--indent-padding: calc(var(--parent-padding) + var(--list-indent-size))}.v-list-group__items .v-list-item{padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-group__header.v-list-item--active:not(:focus-visible) .v-list-item__overlay{opacity:0}.v-list-group__header.v-list-item--active:hover .v-list-item__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.custom_subtitle{opacity:1}.v-selection-control__input{width:46%!important;height:46%!important;border-radius:0!important}.v-rating{max-width:100%;display:inline-flex;white-space:nowrap}.v-rating--readonly{pointer-events:none}.v-rating__wrapper{align-items:center;display:inline-flex;flex-direction:column}.v-rating__wrapper--bottom{flex-direction:column-reverse}.v-rating__item{display:inline-flex;position:relative}.v-rating__item label{cursor:pointer}.v-rating__item .v-btn--variant-plain{opacity:1}.v-rating__item .v-btn{transition-property:transform}.v-rating__item .v-btn .v-icon{transition:inherit;transition-timing-function:cubic-bezier(0,0,.2,1)}.v-rating--hover .v-rating__item:hover:not(.v-rating__item--focused) .v-btn{transform:scale(1.25)}.v-rating__item--half{overflow:hidden;position:absolute;clip-path:polygon(0 0,50% 0,50% 100%,0 100%);z-index:1}.v-rating__item--half .v-btn__overlay,.v-rating__item--half:hover .v-btn__overlay{opacity:0}.v-rating__hidden{height:0;opacity:0;position:absolute;width:0}.v-textarea .v-field{--v-textarea-control-height: var(--v-input-control-height)}.v-textarea .v-field__field{--v-input-control-height: var(--v-textarea-control-height)}.v-textarea .v-field__input{flex:1 1 auto;outline:none;-webkit-mask-image:linear-gradient(to bottom,transparent,transparent calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) - 6px),black calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) + 4px));mask-image:linear-gradient(to bottom,transparent,transparent calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) - 6px),black calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) + 4px))}.v-textarea .v-field__input.v-textarea__sizer{visibility:hidden;position:absolute;top:0;left:0;height:0!important;min-height:0!important;pointer-events:none}.v-textarea--no-resize .v-field__input{resize:none}.v-textarea .v-field--no-label textarea,.v-textarea .v-field--active textarea{opacity:1}.v-textarea textarea{opacity:0;flex:1;min-width:0;transition:.15s opacity cubic-bezier(.4,0,.2,1)}.v-textarea textarea:focus,.v-textarea textarea:active{outline:none}.v-textarea textarea:invalid{box-shadow:none}.mystat{position:fixed;right:10px;bottom:10px;z-index:1005}.v-application{display:flex;background:rgb(var(--v-theme-background));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-application__wrap{backface-visibility:hidden;display:flex;flex-direction:column;flex:1 1 auto;max-width:100%;min-height:100vh;min-height:100dvh;position:relative}.v-app-bar{display:flex}.v-app-bar.v-toolbar{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-app-bar.v-toolbar:not(.v-toolbar--flat){box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-app-bar:not(.v-toolbar--absolute){padding-inline-end:var(--v-scrollbar-offset)}.v-toolbar{align-items:flex-start;display:flex;flex:none;flex-direction:column;justify-content:space-between;max-width:100%;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:height,width,transform,max-width,left,right,top,bottom,box-shadow;width:100%;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-on-surface-variant));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-toolbar--border{border-width:thin;box-shadow:none}.v-toolbar--absolute{position:absolute}.v-toolbar--collapse{max-width:112px;overflow:hidden}.v-toolbar--collapse .v-toolbar-title{display:none}.v-toolbar--collapse.v-locale--is-ltr,.v-locale--is-ltr .v-toolbar--collapse{border-bottom-right-radius:24px}.v-toolbar--collapse.v-locale--is-rtl,.v-locale--is-rtl .v-toolbar--collapse{border-bottom-left-radius:24px}.v-toolbar--flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-toolbar--floating{display:inline-flex}.v-toolbar--rounded{border-radius:4px}.v-toolbar__content,.v-toolbar__extension{align-items:center;display:flex;flex:0 0 auto;position:relative;transition:inherit;width:100%}.v-toolbar__content>.v-btn:first-child{margin-inline-start:10px}.v-toolbar__content>.v-btn:last-child{margin-inline-end:10px}.v-toolbar__content>.v-toolbar-title{margin-inline-start:16px}.v-toolbar--density-prominent .v-toolbar__content{align-items:flex-start}.v-toolbar__image{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;opacity:var(--v-toolbar-image-opacity, 1);transition-property:opacity}.v-toolbar__prepend,.v-toolbar__append{align-items:center;align-self:stretch;display:flex}.v-toolbar__prepend{margin-inline-start:10px;margin-inline-end:auto}.v-toolbar__append{margin-inline-start:auto;margin-inline-end:10px}.v-toolbar-title{flex:1 1;min-width:0;font-size:1.25rem;font-weight:400;letter-spacing:0;line-height:1.75rem;text-transform:none}.v-toolbar--density-prominent .v-toolbar-title{align-self:flex-end;padding-bottom:6px;font-size:1.5rem;font-weight:400;letter-spacing:0;line-height:2.25rem;text-transform:none}.v-toolbar-title__placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-toolbar-items{display:flex;height:inherit;align-self:stretch}.v-toolbar-items>.v-btn{border-radius:0}.v-main{flex:1 0 auto;max-width:100%;transition:.2s cubic-bezier(.4,0,.2,1);padding-left:var(--v-layout-left);padding-right:var(--v-layout-right);padding-top:var(--v-layout-top);padding-bottom:var(--v-layout-bottom)}.v-main__scroller{max-width:100%;position:relative}.v-main--scrollable{display:flex;position:absolute;top:0;left:0;width:100%;height:100%}.v-main--scrollable>.v-main__scroller{flex:1 1 auto;overflow-y:auto;--v-layout-left: 0px;--v-layout-right: 0px;--v-layout-top: 0px;--v-layout-bottom: 0px}.v-navigation-drawer{-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;height:100%;max-width:100%;pointer-events:auto;transition-duration:.2s;transition-property:box-shadow,transform,visibility,width,height,left,right,top,bottom;transition-timing-function:cubic-bezier(.4,0,.2,1);will-change:transform;position:absolute;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-navigation-drawer--border{border-width:thin;box-shadow:none}.v-navigation-drawer--rounded{border-radius:4px}.v-navigation-drawer--top{top:0;border-bottom-width:thin}.v-navigation-drawer--bottom{left:0;border-top-width:thin}.v-navigation-drawer--left{top:0;left:0;right:auto;border-right-width:thin}.v-navigation-drawer--right{top:0;left:auto;right:0;border-left-width:thin}.v-navigation-drawer--floating{border:none}.v-navigation-drawer--temporary{box-shadow:0 8px 10px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 16px 24px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 30px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-navigation-drawer--sticky{height:auto;transition:box-shadow,transform,visibility,width,height,left,right}.v-navigation-drawer .v-list{overflow:hidden}.v-navigation-drawer__content{flex:0 1 auto;height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}.v-navigation-drawer__img{height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.v-navigation-drawer__img img{height:inherit;object-fit:cover;width:inherit}.v-navigation-drawer__scrim{position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:.2;transition:opacity .2s cubic-bezier(.4,0,.2,1);z-index:1}.v-tooltip>.v-overlay__content{background:rgba(var(--v-theme-surface-variant),.7);color:rgb(var(--v-theme-on-surface-variant));border-radius:4px;font-size:.875rem;line-height:1.6;display:inline-block;padding:5px 16px;text-transform:initial;width:auto;opacity:1;pointer-events:none;transition-property:opacity,transform}.v-tooltip>.v-overlay__content[class*=enter-active]{transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.15s}.v-tooltip>.v-overlay__content[class*=leave-active]{transition-timing-function:cubic-bezier(.4,0,1,1);transition-duration:75ms} diff --git a/front/dist/assets/FAQPage-094f71cb.js b/front/dist/assets/FAQPage-094f71cb.js deleted file mode 100644 index fc63fc554..000000000 --- a/front/dist/assets/FAQPage-094f71cb.js +++ /dev/null @@ -1 +0,0 @@ -import{al as t,ao as a,ap as s,aq as e,au as o,H as r,ar as c,av as n}from"./index-32269281.js";const l={};function f(_,i,p,x,d,u){return a(),s(o,null,{default:e(()=>[r(n,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[c(" F.A.Q. ")]),_:1})]),_:1})}const h=t(l,[["render",f]]);export{h as default}; diff --git a/front/dist/assets/FeedbackPage-b32e0848.js b/front/dist/assets/FeedbackPage-b32e0848.js deleted file mode 100644 index ab9d6fa5b..000000000 --- a/front/dist/assets/FeedbackPage-b32e0848.js +++ /dev/null @@ -1 +0,0 @@ -import{al as t,ao as a,ap as s,aq as e,au as o,H as c,ar as r,av as n}from"./index-32269281.js";const l={};function f(_,d,i,p,x,u){return a(),s(o,null,{default:e(()=>[c(n,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[r(" Обратная связь ")]),_:1})]),_:1})}const h=t(l,[["render",f]]);export{h as default}; diff --git a/front/dist/assets/HomePage-8d95f5a4.css b/front/dist/assets/HomePage-8d95f5a4.css deleted file mode 100644 index b117f2404..000000000 --- a/front/dist/assets/HomePage-8d95f5a4.css +++ /dev/null @@ -1 +0,0 @@ -.newsVH{height:93vh}.bgCard{background:#ffffff38}.bgText{background:#ffffffb0;line-height:3rem!important}.titles{font-family:cursive!important;background:#ffffff8c}.v-carousel{overflow:hidden;position:relative;width:100%}.v-carousel__controls{align-items:center;background:rgba(var(--v-theme-surface-variant),.3);bottom:0;display:flex;height:50px;justify-content:center;list-style-type:none;position:absolute;width:100%;z-index:1}.v-carousel__controls>.v-item-group{flex:0 1 auto}.v-carousel__controls__item{margin:0 8px}.v-carousel__controls__item .v-icon{opacity:.5}.v-carousel__controls__item--active .v-icon{opacity:1;vertical-align:middle}.v-carousel__controls__item:hover{background:none}.v-carousel__controls__item:hover .v-icon{opacity:.8}.v-carousel__progress{margin:0;position:absolute;bottom:0;left:0;right:0}.v-carousel-item{display:block;height:inherit;text-decoration:none}.v-carousel-item>.v-img{height:inherit}.v-carousel--hide-delimiter-background .v-carousel__controls{background:transparent}.v-carousel--vertical-delimiters .v-carousel__controls{flex-direction:column;height:100%!important;width:50px}.v-window{overflow:hidden}.v-window__container{display:flex;flex-direction:column;height:inherit;position:relative;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-window__controls{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 16px;pointer-events:none}.v-window__controls *{pointer-events:auto}.v-window--show-arrows-on-hover{overflow:hidden}.v-window--show-arrows-on-hover .v-window__left{transform:translate(-200%)}.v-window--show-arrows-on-hover .v-window__right{transform:translate(200%)}.v-window--show-arrows-on-hover:hover .v-window__left,.v-window--show-arrows-on-hover:hover .v-window__right{transform:translate(0)}.v-window-x-transition-enter-active,.v-window-x-transition-leave-active,.v-window-x-reverse-transition-enter-active,.v-window-x-reverse-transition-leave-active,.v-window-y-transition-enter-active,.v-window-y-transition-leave-active,.v-window-y-reverse-transition-enter-active,.v-window-y-reverse-transition-leave-active{transition:.3s cubic-bezier(.25,.8,.5,1)}.v-window-x-transition-leave-from,.v-window-x-transition-leave-to,.v-window-x-reverse-transition-leave-from,.v-window-x-reverse-transition-leave-to,.v-window-y-transition-leave-from,.v-window-y-transition-leave-to,.v-window-y-reverse-transition-leave-from,.v-window-y-reverse-transition-leave-to{position:absolute!important;top:0;width:100%}.v-window-x-transition-enter-from{transform:translate(100%)}.v-window-x-transition-leave-to,.v-window-x-reverse-transition-enter-from{transform:translate(-100%)}.v-window-x-reverse-transition-leave-to{transform:translate(100%)}.v-window-y-transition-enter-from{transform:translateY(100%)}.v-window-y-transition-leave-to,.v-window-y-reverse-transition-enter-from{transform:translateY(-100%)}.v-window-y-reverse-transition-leave-to{transform:translateY(100%)}.numstyle{font-size:3.875rem!important;line-height:5.25rem!important;font-family:cursive!important;background:#ffffffb0}.statstyle{background:#ffffffb0;font-size:1rem!important}.g{background-color:#fff}.v-sheet{display:block;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-sheet--border{border-width:thin;box-shadow:none}.v-sheet--absolute{position:absolute}.v-sheet--fixed{position:fixed}.v-sheet--relative{position:relative}.v-sheet--sticky{position:sticky}.v-sheet--rounded{border-radius:4px}.v-slide-group{display:flex;overflow:hidden}.v-slide-group__next,.v-slide-group__prev{align-items:center;display:flex;flex:0 1 52px;justify-content:center;min-width:52px;cursor:pointer}.v-slide-group__next--disabled,.v-slide-group__prev--disabled{pointer-events:none;opacity:var(--v-disabled-opacity)}.v-slide-group__content{display:flex;flex:1 0 auto;position:relative;transition:.2s all cubic-bezier(.4,0,.2,1);white-space:nowrap}.v-slide-group__content>*{white-space:initial}.v-slide-group__container{contain:content;display:flex;flex:1 1 auto;overflow:hidden}.v-slide-group--vertical,.v-slide-group--vertical .v-slide-group__container,.v-slide-group--vertical .v-slide-group__content{flex-direction:column} diff --git a/front/dist/assets/HomePage-ff3b6f9b.js b/front/dist/assets/HomePage-ff3b6f9b.js deleted file mode 100644 index 679209b75..000000000 --- a/front/dist/assets/HomePage-ff3b6f9b.js +++ /dev/null @@ -1 +0,0 @@ -import{am as Ce,al as K,r as T,bg as he,w as E,ao as V,ap as I,aq as v,aW as se,aX as oe,a8 as J,bh as le,ay as A,H as l,aV as q,as as ue,ar as $,aY as R,bi as Ne,aw as qe,O as ie,az as Ue,at as re,P as Ve,bj as ke,p as L,M as Q,aC as ce,R as pe,B as z,_ as Te,a1 as Ie,S as Pe,c as x,s as p,e as Ke,F as H,ai as Je,X as ne,C as Qe,o as $e,J as Ze,E as U,ax as et,b as ae,bk as tt,i as nt,bl as at,Q as st,z as ot,bm as lt,bn as ut,aE as it,aF as rt,aG as ct,bo as dt,bp as vt,Z as ft,a2 as mt,a3 as ht,aL as gt,aN as _t,aO as bt,bq as yt,br as xt,a0 as wt,b9 as St,I as Ct,T as ge,L as Vt,b2 as kt,b0 as M,an as pt,bs as Tt,b7 as It,av as O,au as N,b6 as Pt}from"./index-32269281.js";import{b as de,c as $t,u as Re,m as ze,d as Be,e as Rt,f as _e}from"./group-185db83d.js";import{V as X,a as zt,c as Bt,b as Et,u as be}from"./ssrBoot-d4b2bdea.js";const At=Ce(),Lt={setup(){const e=T([]),a=T(!1),t=le.slice(0,-1),n=i=>i.split(" ").slice(0,10).join(" ");return he("api/navigation/news/",e),E(()=>At.cod2user,(i,u)=>{i&&he("api/navigation/news/",e)},{deep:!0}),{newss:e,show:a,burl:t,limitText:n}}};function Ht(e,a,t,n,i,u){return V(),I(de,{class:"py-1 newsVH bg-transparent overflow-auto"},{default:v(()=>[(V(!0),se(J,null,oe(n.newss,(s,o)=>(V(),I(A,{class:"mx-auto mb-0",key:o},{default:v(()=>[l(q,{src:`${n.burl}${s.link}`,height:"164px",cover:""},null,8,["src"]),l(ue,null,{default:v(()=>[$(R(s.title),1)]),_:2},1024),l(Ne,null,{default:v(()=>[$(R(n.limitText(s.text)),1)]),_:2},1024),l(qe,null,{default:v(()=>[l(X,{color:"teal-accent-4",variant:"text"},{default:v(()=>[$(R(s.author.fio),1)]),_:2},1024),l(zt),l(X,{icon:s.show?"mdi-chevron-up":"mdi-chevron-down",onClick:r=>s.show=!s.show},null,8,["icon","onClick"])]),_:2},1024),l($t,null,{default:v(()=>[ie(Ue("div",null,[l(Bt),l(re,null,{default:v(()=>[$(R(s.text),1)]),_:2},1024)],512),[[Ve,s.show]])]),_:2},1024)]),_:2},1024))),128))]),_:1})}const Dt=K(Lt,[["render",Ht]]);const Ot=e=>{const{touchstartX:a,touchendX:t,touchstartY:n,touchendY:i}=e,u=.5,s=16;e.offsetX=t-a,e.offsetY=i-n,Math.abs(e.offsetY)a+s&&e.right(e)),Math.abs(e.offsetX)n+s&&e.down(e))};function Mt(e,a){var n;const t=e.changedTouches[0];a.touchstartX=t.clientX,a.touchstartY=t.clientY,(n=a.start)==null||n.call(a,{originalEvent:e,...a})}function Xt(e,a){var n;const t=e.changedTouches[0];a.touchendX=t.clientX,a.touchendY=t.clientY,(n=a.end)==null||n.call(a,{originalEvent:e,...a}),Ot(a)}function Yt(e,a){var n;const t=e.changedTouches[0];a.touchmoveX=t.clientX,a.touchmoveY=t.clientY,(n=a.move)==null||n.call(a,{originalEvent:e,...a})}function jt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const a={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:t=>Mt(t,a),touchend:t=>Xt(t,a),touchmove:t=>Yt(t,a)}}function Ft(e,a){var o;const t=a.value,n=t!=null&&t.parent?e.parentElement:e,i=(t==null?void 0:t.options)??{passive:!0},u=(o=a.instance)==null?void 0:o.$.uid;if(!n||!u)return;const s=jt(a.value);n._touchHandlers=n._touchHandlers??Object.create(null),n._touchHandlers[u]=s,ke(s).forEach(r=>{n.addEventListener(r,s[r],i)})}function Wt(e,a){var u,s;const t=(u=a.value)!=null&&u.parent?e.parentElement:e,n=(s=a.instance)==null?void 0:s.$.uid;if(!(t!=null&&t._touchHandlers)||!n)return;const i=t._touchHandlers[n];ke(i).forEach(o=>{t.removeEventListener(o,i[o])}),delete t._touchHandlers[n]}const Ee={mounted:Ft,unmounted:Wt},Ae=Symbol.for("vuetify:v-window"),Le=Symbol.for("vuetify:v-window-group"),He=L({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{default:"force"},...Q(),...ce(),...pe()},"VWindow"),ye=z()({name:"VWindow",directives:{Touch:Ee},props:He(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const{themeClasses:n}=Te(e),{isRtl:i}=Ie(),{t:u}=Pe(),s=Re(e,Le),o=T(),r=x(()=>i.value?!e.reverse:e.reverse),d=p(!1),f=x(()=>{const b=e.direction==="vertical"?"y":"x",S=(r.value?!d.value:d.value)?"-reverse":"";return`v-window-${b}${S}-transition`}),g=p(0),y=T(void 0),h=x(()=>s.items.value.findIndex(b=>s.selected.value.includes(b.id)));E(h,(b,w)=>{const S=s.items.value.length,W=S-1;S<=2?d.value=be.continuous||h.value!==0),D=x(()=>e.continuous||h.value!==s.items.value.length-1);function Y(){_.value&&s.prev()}function P(){D.value&&s.next()}const j=x(()=>{const b=[],w={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${r.value?"right":"left"}`,onClick:s.prev,ariaLabel:u("$vuetify.carousel.prev")};b.push(_.value?t.prev?t.prev({props:w}):l(X,w,null):l("div",null,null));const S={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${r.value?"left":"right"}`,onClick:s.next,ariaLabel:u("$vuetify.carousel.next")};return b.push(D.value?t.next?t.next({props:S}):l(X,S,null):l("div",null,null)),b}),F=x(()=>e.touch===!1?e.touch:{...{left:()=>{r.value?Y():P()},right:()=>{r.value?P():Y()},start:w=>{let{originalEvent:S}=w;S.stopPropagation()}},...e.touch===!0?{}:e.touch});return H(()=>ie(l(e.tag,{ref:o,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},n.value,e.class],style:e.style},{default:()=>{var b,w;return[l("div",{class:"v-window__container",style:{height:y.value}},[(b=t.default)==null?void 0:b.call(t,{group:s}),e.showArrows!==!1&&l("div",{class:"v-window__controls"},[j.value])]),(w=t.additional)==null?void 0:w.call(t,{group:s})]}}),[[Je("touch"),F.value]])),{group:s}}}),Gt=L({color:String,cycle:Boolean,delimiterIcon:{type:ne,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...He({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),Nt=z()({name:"VCarousel",props:Gt(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const n=Qe(e,"modelValue"),{t:i}=Pe(),u=T();let s=-1;E(n,r),E(()=>e.interval,r),E(()=>e.cycle,d=>{d?r():window.clearTimeout(s)}),$e(o);function o(){!e.cycle||!u.value||(s=window.setTimeout(u.value.group.next,+e.interval>0?+e.interval:6e3))}function r(){window.clearTimeout(s),window.requestAnimationFrame(o)}return H(()=>{const[d]=ye.filterProps(e);return l(ye,U({ref:u},d,{modelValue:n.value,"onUpdate:modelValue":f=>n.value=f,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:ae(e.height)},e.style]}),{default:t.default,additional:f=>{let{group:g}=f;return l(J,null,[!e.hideDelimiters&&l("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[g.items.value.length>0&&l(Ze,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[g.items.value.map((y,h)=>{const _={id:`carousel-item-${y.id}`,"aria-label":i("$vuetify.carousel.ariaLabel.delimiter",h+1,g.items.value.length),class:[g.isSelected(y.id)&&"v-btn--active"],onClick:()=>g.select(y.id,!0)};return t.item?t.item({props:_,item:y}):l(X,U(y,_),null)})]})]),e.progress&&l(et,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(g.getItemIndex(n.value)+1)/g.items.value.length*100},null)])},prev:t.prev,next:t.next})}),{}}}),De=L({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Q(),...ze(),...tt()},"VWindowItem"),xe=z()({name:"VWindowItem",directives:{Touch:Ee},props:De(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:t}=a;const n=nt(Ae),i=Be(e,Le),{isBooted:u}=Et();if(!n||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const s=p(!1),o=x(()=>u.value&&(n.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function r(){!s.value||!n||(s.value=!1,n.transitionCount.value>0&&(n.transitionCount.value-=1,n.transitionCount.value===0&&(n.transitionHeight.value=void 0)))}function d(){var _;s.value||!n||(s.value=!0,n.transitionCount.value===0&&(n.transitionHeight.value=ae((_=n.rootRef.value)==null?void 0:_.clientHeight)),n.transitionCount.value+=1)}function f(){r()}function g(_){s.value&&ot(()=>{!o.value||!s.value||!n||(n.transitionHeight.value=ae(_.clientHeight))})}const y=x(()=>{const _=n.isReversed.value?e.reverseTransition:e.transition;return o.value?{name:typeof _!="string"?n.transition.value:_,onBeforeEnter:d,onAfterEnter:r,onEnterCancelled:f,onBeforeLeave:d,onAfterLeave:r,onLeaveCancelled:f,onEnter:g}:!1}),{hasContent:h}=at(e,i.isSelected);return H(()=>l(st,{transition:y.value,disabled:!u.value},{default:()=>{var _;return[ie(l("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[h.value&&((_=t.default)==null?void 0:_.call(t))]),[[Ve,i.isSelected.value]])]}})),{}}}),qt=L({...lt(),...De()},"VCarouselItem"),Ut=z()({name:"VCarouselItem",inheritAttrs:!1,props:qt(),setup(e,a){let{slots:t,attrs:n}=a;H(()=>{const[i]=q.filterProps(e),[u]=xe.filterProps(e);return l(xe,U({class:"v-carousel-item"},u),{default:()=>[l(q,U(n,i),t)]})})}}),Kt={setup(){const e=le.slice(0,-1),a=T([{link:""}]);return ut("api/navigation/carousels/",a),{burl:e,carous:a}}};function Jt(e,a,t,n,i,u){return V(),I(Nt,{cover:"",height:"500","hide-delimiters":"","hide-delimiter-background":"","show-arrows":"hover",color:"white"},{default:v(()=>[(V(!0),se(J,null,oe(n.carous,(s,o)=>(V(),I(Ut,{key:o,src:`${n.burl}${s.link}`,cover:"",eager:""},{default:v(()=>[l(de,{"fill-height":"",fluid:"","pa-0":"","ma-0":"","pb-3":"",class:"flex-column h-100 d-flex"},{default:v(()=>[l(A,{class:"bgCard h-100 d-flex flex-column"},{default:v(()=>[l(ue,{class:"ma-2 text-h3 text-uppercase titles text-text_carous py-6"},{default:v(()=>[$(R(s.title),1)]),_:2},1024),l(re,{class:"ml-2 mb-2 text-black w-50 flex-grow-0 py-3 text-text_carous text-h5 bgText overflow-auto font-weight-medium"},{default:v(()=>[$(R(s.text),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"]))),128))]),_:1})}const Qt=K(Kt,[["render",Jt]]);const Zt=L({color:String,...it(),...Q(),...rt(),...ct(),...dt(),...vt(),...ft(),...ce(),...pe()},"VSheet"),en=z()({name:"VSheet",props:Zt(),setup(e,a){let{slots:t}=a;const{themeClasses:n}=Te(e),{backgroundColorClasses:i,backgroundColorStyles:u}=mt(ht(e,"color")),{borderClasses:s}=gt(e),{dimensionStyles:o}=_t(e),{elevationClasses:r}=bt(e),{locationStyles:d}=yt(e),{positionClasses:f}=xt(e),{roundedClasses:g}=wt(e);return H(()=>l(e.tag,{class:["v-sheet",n.value,i.value,s.value,r.value,f.value,g.value,e.class],style:[u.value,o.value,d.value,e.style]},t)),{}}});function we(e){const t=Math.abs(e);return Math.sign(e)*(t/((1/.501-2)*(1-t)+1))}function Se(e){let{selectedElement:a,containerSize:t,contentSize:n,isRtl:i,currentScrollOffset:u,isHorizontal:s}=e;const o=s?a.clientWidth:a.clientHeight,r=s?a.offsetLeft:a.offsetTop,d=i&&s?n-r-o:r,f=t+u,g=o+d,y=o*.4;return d<=u?u=Math.max(d-y,0):f<=g&&(u=Math.min(u-(f-g-y),n-t)),u}function tn(e){let{selectedElement:a,containerSize:t,contentSize:n,isRtl:i,isHorizontal:u}=e;const s=u?a.clientWidth:a.clientHeight,o=u?a.offsetLeft:a.offsetTop,r=i&&u?n-o-s/2-t/2:o+s/2-t/2;return Math.min(n-t,Math.max(0,r))}const Oe=Symbol.for("vuetify:v-slide-group"),nn=L({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:Oe},nextIcon:{type:ne,default:"$next"},prevIcon:{type:ne,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...Q(),...ce(),...Rt({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),an=z()({name:"VSlideGroup",props:nn(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:t}=a;const{isRtl:n}=Ie(),{mobile:i}=St(),u=Re(e,e.symbol),s=p(!1),o=p(0),r=p(0),d=p(0),f=x(()=>e.direction==="horizontal"),{resizeRef:g,contentRect:y}=be(),{resizeRef:h,contentRect:_}=be(),D=x(()=>u.selected.value.length?u.items.value.findIndex(c=>c.id===u.selected.value[0]):-1),Y=x(()=>u.selected.value.length?u.items.value.findIndex(c=>c.id===u.selected.value[u.selected.value.length-1]):-1);if(Ct){let c=-1;E(()=>[u.selected.value,y.value,_.value,f.value],()=>{cancelAnimationFrame(c),c=requestAnimationFrame(()=>{if(y.value&&_.value){const m=f.value?"width":"height";r.value=y.value[m],d.value=_.value[m],s.value=r.value+1=0&&h.value){const m=h.value.children[Y.value];D.value===0||!s.value?o.value=0:e.centerActive?o.value=tn({selectedElement:m,containerSize:r.value,contentSize:d.value,isRtl:n.value,isHorizontal:f.value}):s.value&&(o.value=Se({selectedElement:m,containerSize:r.value,contentSize:d.value,isRtl:n.value,currentScrollOffset:o.value,isHorizontal:f.value}))}})})}const P=p(!1);let j=0,F=0;function b(c){const m=f.value?"clientX":"clientY";F=(n.value&&f.value?-1:1)*o.value,j=c.touches[0][m],P.value=!0}function w(c){if(!s.value)return;const m=f.value?"clientX":"clientY",C=n.value&&f.value?-1:1;o.value=C*(F+j-c.touches[0][m])}function S(c){const m=d.value-r.value;o.value<0||!s.value?o.value=0:o.value>=m&&(o.value=m),P.value=!1}function W(){g.value&&(g.value[f.value?"scrollLeft":"scrollTop"]=0)}const G=p(!1);function Me(c){if(G.value=!0,!(!s.value||!h.value)){for(const m of c.composedPath())for(const C of h.value.children)if(C===m){o.value=Se({selectedElement:C,containerSize:r.value,contentSize:d.value,isRtl:n.value,currentScrollOffset:o.value,isHorizontal:f.value});return}}}function Xe(c){G.value=!1}function Ye(c){var m;!G.value&&!(c.relatedTarget&&((m=h.value)!=null&&m.contains(c.relatedTarget)))&&k()}function je(c){h.value&&(f.value?c.key==="ArrowRight"?k(n.value?"prev":"next"):c.key==="ArrowLeft"&&k(n.value?"next":"prev"):c.key==="ArrowDown"?k("next"):c.key==="ArrowUp"&&k("prev"),c.key==="Home"?k("first"):c.key==="End"&&k("last"))}function k(c){var m,C,ve,fe,me;if(h.value)if(!c)(m=Vt(h.value)[0])==null||m.focus();else if(c==="next"){const B=(C=h.value.querySelector(":focus"))==null?void 0:C.nextElementSibling;B?B.focus():k("first")}else if(c==="prev"){const B=(ve=h.value.querySelector(":focus"))==null?void 0:ve.previousElementSibling;B?B.focus():k("last")}else c==="first"?(fe=h.value.firstElementChild)==null||fe.focus():c==="last"&&((me=h.value.lastElementChild)==null||me.focus())}function Z(c){const m=o.value+(c==="prev"?-1:1)*r.value;o.value=kt(m,0,d.value-r.value)}const Fe=x(()=>{let c=o.value>d.value-r.value?-(d.value-r.value)+we(d.value-r.value-o.value):-o.value;o.value<=0&&(c=we(-o.value));const m=n.value&&f.value?-1:1;return{transform:`translate${f.value?"X":"Y"}(${m*c}px)`,transition:P.value?"none":"",willChange:P.value?"transform":""}}),ee=x(()=>({next:u.next,prev:u.prev,select:u.select,isSelected:u.isSelected})),te=x(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!i.value;case!0:return s.value||Math.abs(o.value)>0;case"mobile":return i.value||s.value||Math.abs(o.value)>0;default:return!i.value&&(s.value||Math.abs(o.value)>0)}}),We=x(()=>Math.abs(o.value)>0),Ge=x(()=>d.value>Math.abs(o.value)+r.value);return H(()=>l(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!f.value,"v-slide-group--has-affixes":te.value,"v-slide-group--is-overflowing":s.value},e.class],style:e.style,tabindex:G.value||u.selected.value.length?-1:0,onFocus:Ye},{default:()=>{var c,m,C;return[te.value&&l("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!We.value}],onClick:()=>Z("prev")},[((c=t.prev)==null?void 0:c.call(t,ee.value))??l(_e,null,{default:()=>[l(ge,{icon:n.value?e.nextIcon:e.prevIcon},null)]})]),l("div",{key:"container",ref:g,class:"v-slide-group__container",onScroll:W},[l("div",{ref:h,class:"v-slide-group__content",style:Fe.value,onTouchstartPassive:b,onTouchmovePassive:w,onTouchendPassive:S,onFocusin:Me,onFocusout:Xe,onKeydown:je},[(m=t.default)==null?void 0:m.call(t,ee.value)])]),te.value&&l("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Ge.value}],onClick:()=>Z("next")},[((C=t.next)==null?void 0:C.call(t,ee.value))??l(_e,null,{default:()=>[l(ge,{icon:n.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:u.selected,scrollTo:Z,scrollOffset:o,focus:k}}}),sn=z()({name:"VSlideGroupItem",props:ze(),emits:{"group:selected":e=>!0},setup(e,a){let{slots:t}=a;const n=Be(e,Oe);return()=>{var i;return(i=t.default)==null?void 0:i.call(t,{isSelected:n.isSelected.value,select:n.select,toggle:n.toggle,selectedClass:n.selectedClass.value})}}}),on={props:{digitalData:{type:Object,default:{}}},setup(){const e=le.slice(0,-1);return{model:T(!1),burl:e}}};function ln(e,a,t,n,i,u){const s=M("vue3-autocounter");return V(),I(A,{class:"d-flex ml-3"},{default:v(()=>[l(en,{class:"mx-auto",elevation:"0","max-width":"690"},{default:v(()=>[l(an,{modelValue:n.model,"onUpdate:modelValue":a[0]||(a[0]=o=>n.model=o),class:"pa-0","selected-class":"bg-primary",mandatory:"","show-arrows":""},{default:v(()=>[(V(!0),se(J,null,oe(t.digitalData,o=>(V(),I(sn,{key:o},{default:v(()=>[l(A,{class:"ma-2 mt-4 d-flex flex-column",height:"160",width:"179",elevation:"0"},{default:v(()=>[l(q,{height:"200",src:`${n.burl}${o.img}`,cover:"",class:"text-white"},{default:v(()=>[l(A,{class:"h-100 text-center g text-numeral"},{default:v(()=>[l(ue,{class:"statstyle my-2 py-0 text-overline font-weight-bold"},{default:v(()=>[$(R(o.status),1)]),_:2},1024),l(re,{class:"numstyle mt-4 py-0 font-weight-bold"},{default:v(()=>[l(s,{ref_for:!0,ref:"counter",startAmount:0,endAmount:Number(o.num),duration:1},null,8,["endAmount"])]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})}const un=K(on,[["render",ln]]),rn={components:{NewsList:Dt,CarouselList:Qt,CarouselNumbers:un},setup(){const e=T([]),a=new Date;$e(()=>{o()});const t=pt();Tt();const n=null,i=Ce(),u=[{status:"Работают",num:"57",img:"/media/newsimage/default.jpg"},{status:"В отпуске",num:"13",img:"/media/newsimage/numbers/vacation.jpg"},{status:"Болеют",num:"3",img:"/media/newsimage/numbers/med.jpg"},{status:"На море",num:"45",img:"/media/newsimage/numbers/vacation.jpg"},{status:"В запое",num:"1,5",img:"/media/newsimage/numbers/med.jpg"}],s=T([{status:"Всего",num:t.countvisitor.totalvisit,img:"/media/newsimage/numbers/calendar.jpg"},{status:"Сегодня",num:t.countvisitor.visittoday,img:"/media/newsimage/numbers/sept.jpg"},{status:"Уникальных",num:t.countvisitor.uniqtoday,img:"/media/newsimage/numbers/uni.jpg"}]);function o(){It.get("api/feedback/feedbackdata/").then(r=>{console.log(r.data),e.value=r.data.results})}return{accountStore:i,stat:u,model:n,onlines:s,appStore:t,proba:o,date1:a}}};function cn(e,a,t,n,i,u){const s=M("Carousel-list"),o=M("Carousel-numbers"),r=M("v-date-picker"),d=M("News-list");return V(),I(de,{fluid:"",class:"d-flex mx-0"},{default:v(()=>[l(N,null,{default:v(()=>[l(O,{class:"d-flex flex-column"},{default:v(()=>[l(N,{class:"flex-grow-0"},{default:v(()=>[l(O,{class:"pr-0"},{default:v(()=>[l(s)]),_:1})]),_:1}),l(N,null,{default:v(()=>[l(O,{class:"pt-1 flex-column d-flex mt-3",lg:"8"},{default:v(()=>[l(N,{class:"flex-column"},{default:v(()=>[l(o,{digitalData:n.stat},null,8,["digitalData"])]),_:1})]),_:1}),l(O,null,{default:v(()=>[l(r)]),_:1})]),_:1})]),_:1}),l(O,{class:"d-flex flex-column justify-space-between px-0 py-2 pb-0",lg:"4"},{default:v(()=>[l(A,{class:"h-100 bg-transparent",elevation:"0"},{default:v(()=>[n.accountStore.cod2user?(V(),I(d,{key:0})):Pt("",!0)]),_:1})]),_:1})]),_:1})]),_:1})}const mn=K(rn,[["render",cn]]);export{mn as default}; diff --git a/front/dist/assets/LaborProtection-5fe2a3b6.js b/front/dist/assets/LaborProtection-5fe2a3b6.js deleted file mode 100644 index 34e9bc13a..000000000 --- a/front/dist/assets/LaborProtection-5fe2a3b6.js +++ /dev/null @@ -1 +0,0 @@ -import{al as e,ao as a,ap as o,aq as t,au as r,H as s,ar as c,av as n}from"./index-32269281.js";const l={};function f(i,_,p,x,d,u){return a(),o(r,null,{default:t(()=>[s(n,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:t(()=>[c(" Охрана труда ")]),_:1})]),_:1})}const g=e(l,[["render",f]]);export{g as default}; diff --git a/front/dist/assets/ProvidingActivitiesPage-3ad4ddc5.js b/front/dist/assets/ProvidingActivitiesPage-3ad4ddc5.js deleted file mode 100644 index 2e76a8242..000000000 --- a/front/dist/assets/ProvidingActivitiesPage-3ad4ddc5.js +++ /dev/null @@ -1 +0,0 @@ -import{p as h,M as V,aC as k,R as I,B as v,_ as x,H as s,al as y,ao as d,ap as p,aq as t,au as f,aW as C,aX as G,a8 as S,av as g,ay as P,az as b,aY as T}from"./index-32269281.js";import{e as B,u as w,m as N,d as R,b as Y,g as $}from"./group-185db83d.js";const _=Symbol.for("vuetify:v-item-group"),D=h({...V(),...B({selectedClass:"v-item--selected"}),...k(),...I()},"VItemGroup"),F=v()({name:"VItemGroup",props:D(),emits:{"update:modelValue":e=>!0},setup(e,c){let{slots:a}=c;const{themeClasses:o}=x(e),{isSelected:u,select:i,next:l,prev:r,selected:m}=w(e,_);return()=>s(e.tag,{class:["v-item-group",o.value,e.class],style:e.style},{default:()=>{var n;return[(n=a.default)==null?void 0:n.call(a,{isSelected:u,select:i,next:l,prev:r,selected:m.value})]}})}}),K=v()({name:"VItem",props:N(),emits:{"group:selected":e=>!0},setup(e,c){let{slots:a}=c;const{isSelected:o,select:u,toggle:i,selectedClass:l,value:r,disabled:m}=R(e,_);return()=>{var n;return(n=a.default)==null?void 0:n.call(a,{isSelected:o.value,selectedClass:l.value,select:u,toggle:i,value:r.value,disabled:m.value})}}}),O={setup(){return{activates:[{name:"Комиссии",link:"http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_committees"},{name:"Ответственность",link:"http://10.252.44.33/accounting6/SOTRYDNIKI.php#tab_departments"}]}}},q={class:"text-h3 flex-grow-1 text-center"};function z(e,c,a,o,u,i){return d(),p(f,null,{default:t(()=>[s(g,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:t(()=>[s(F,{mandatory:""},{default:t(()=>[s(Y,null,{default:t(()=>[s(f,null,{default:t(()=>[(d(!0),C(S,null,G(o.activates,l=>(d(),p(g,{key:l,cols:"12",md:"6"},{default:t(()=>[s(K,null,{default:t(({isSelected:r,toggle:m})=>[s(P,{color:r?"primary":"",class:"d-flex align-center",dark:"",height:"200",href:l.link},{default:t(()=>[s($,null,{default:t(()=>[b("div",q,T(l.name),1)]),_:2},1024)]),_:2},1032,["color","href"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const H=y(O,[["render",z]]);export{H as default}; diff --git a/front/dist/assets/ProvidingActivitiesPage-d12aecf2.css b/front/dist/assets/ProvidingActivitiesPage-d12aecf2.css deleted file mode 100644 index 2fc771966..000000000 --- a/front/dist/assets/ProvidingActivitiesPage-d12aecf2.css +++ /dev/null @@ -1 +0,0 @@ -.v-item-group{flex:0 1 auto;max-width:100%;position:relative;transition:.2s cubic-bezier(.4,0,.2,1)} diff --git a/front/dist/assets/SecurityPage-454174cb.js b/front/dist/assets/SecurityPage-454174cb.js deleted file mode 100644 index 87d5cc778..000000000 --- a/front/dist/assets/SecurityPage-454174cb.js +++ /dev/null @@ -1 +0,0 @@ -import{al as t,ao as a,ap as s,aq as e,au as o,H as r,ar as c,av as n}from"./index-32269281.js";const l={};function f(i,_,p,u,x,d){return a(),s(o,null,{default:e(()=>[r(n,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[c(" Безопасность ")]),_:1})]),_:1})}const h=t(l,[["render",f]]);export{h as default}; diff --git a/front/dist/assets/StructurePage-600729d7.js b/front/dist/assets/StructurePage-600729d7.js deleted file mode 100644 index ffae03593..000000000 --- a/front/dist/assets/StructurePage-600729d7.js +++ /dev/null @@ -1 +0,0 @@ -import{al as t,ao as a,ap as r,aq as e,au as s,H as o,ar as c,av as n}from"./index-32269281.js";const l={};function f(u,_,i,p,x,d){return a(),r(s,null,{default:e(()=>[o(n,{class:"text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"},{default:e(()=>[c(" Структура ")]),_:1})]),_:1})}const h=t(l,[["render",f]]);export{h as default}; diff --git a/front/dist/assets/group-185db83d.js b/front/dist/assets/group-185db83d.js deleted file mode 100644 index 208dd594e..000000000 --- a/front/dist/assets/group-185db83d.js +++ /dev/null @@ -1 +0,0 @@ -import{p as b,M as G,aC as L,B as S,a1 as $,F as k,H as F,bx as q,bc as w,by as I,bz as z,d as C,h as H,e as V,i as M,a3 as B,c as x,l as _,w as O,a as N,C as R,o as U,bA as W,ac as Y,f as J}from"./index-32269281.js";const X=b({fluid:{type:Boolean,default:!1},...G(),...L()},"VContainer"),K=S()({name:"VContainer",props:X(),setup(n,u){let{slots:o}=u;const{rtlClasses:e}=$();return k(()=>F(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},e.value,n.class],style:n.style},o)),{}}}),D=b({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function m(n,u,o){return S()({name:n,props:D({mode:o,origin:u}),setup(e,i){let{slots:a}=i;const t={onBeforeEnter(s){e.origin&&(s.style.transformOrigin=e.origin)},onLeave(s){if(e.leaveAbsolute){const{offsetTop:c,offsetLeft:v,offsetWidth:y,offsetHeight:p}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${c}px`,s.style.left=`${v}px`,s.style.width=`${y}px`,s.style.height=`${p}px`}e.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(e.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:c,top:v,left:y,width:p,height:r}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=c||"",s.style.top=v||"",s.style.left=y||"",s.style.width=p||"",s.style.height=r||""}}};return()=>{const s=e.group?q:w;return I(s,{name:e.disabled?"":n,css:!e.disabled,...e.group?void 0:{mode:e.mode},...e.disabled?{}:t},a.default)}}})}function E(n,u){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return S()({name:n,props:{mode:{type:String,default:o},disabled:Boolean},setup(e,i){let{slots:a}=i;return()=>I(w,{name:e.disabled?"":n,css:!e.disabled,...e.disabled?{}:u},a.default)}})}function P(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",e=z(`offset-${o}`);return{onBeforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[o]:t.style[o]}},onEnter(t){const s=t._initialStyle;t.style.setProperty("transition","none","important"),t.style.overflow="hidden";const c=`${t[e]}px`;t.style[o]="0",t.offsetHeight,t.style.transition=s.transition,n&&t._parent&&t._parent.classList.add(n),requestAnimationFrame(()=>{t.style[o]=c})},onAfterEnter:a,onEnterCancelled:a,onLeave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[o]:t.style[o]},t.style.overflow="hidden",t.style[o]=`${t[e]}px`,t.offsetHeight,requestAnimationFrame(()=>t.style[o]="0")},onAfterLeave:i,onLeaveCancelled:i};function i(t){n&&t._parent&&t._parent.classList.remove(n),a(t)}function a(t){const s=t._initialStyle[o];t.style.overflow=t._initialStyle.overflow,s!=null&&(t.style[o]=s),delete t._initialStyle}}m("fab-transition","center center","out-in");m("dialog-bottom-transition");m("dialog-top-transition");const ee=m("fade-transition");m("scale-transition");m("scroll-x-transition");m("scroll-x-reverse-transition");const te=m("scroll-y-transition");m("scroll-y-reverse-transition");m("slide-x-transition");m("slide-x-reverse-transition");const ne=m("slide-y-transition");m("slide-y-reverse-transition");const se=E("expand-transition",P()),ie=E("expand-x-transition",P("",!0)),oe=b({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),ae=b({value:null,disabled:Boolean,selectedClass:String},"group-item");function re(n,u){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const e=C("useGroupItem");if(!e)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=H();V(Symbol.for(`${u.description}:id`),i);const a=M(u,null);if(!a){if(!o)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${u.description}`)}const t=B(n,"value"),s=x(()=>a.disabled.value||n.disabled);a.register({id:i,value:t,disabled:s},e),_(()=>{a.unregister(i)});const c=x(()=>a.isSelected(i)),v=x(()=>c.value&&[a.selectedClass.value,n.selectedClass]);return O(c,y=>{e.emit("group:selected",{value:y})}),{id:i,isSelected:c,toggle:()=>a.select(i,!c.value),select:y=>a.select(i,y),selectedClass:v,value:t,disabled:s,group:a}}function le(n,u){let o=!1;const e=N([]),i=R(n,"modelValue",[],r=>r==null?[]:T(e,Y(r)),r=>{const l=Z(e,r);return n.multiple?l:l[0]}),a=C("useGroup");function t(r,l){const f=r,d=Symbol.for(`${u.description}:id`),h=J(d,a==null?void 0:a.vnode).indexOf(l);h>-1?e.splice(h,0,f):e.push(f)}function s(r){if(o)return;c();const l=e.findIndex(f=>f.id===r);e.splice(l,1)}function c(){const r=e.find(l=>!l.disabled);r&&n.mandatory==="force"&&!i.value.length&&(i.value=[r.id])}U(()=>{c()}),_(()=>{o=!0});function v(r,l){const f=e.find(d=>d.id===r);if(!(l&&(f!=null&&f.disabled)))if(n.multiple){const d=i.value.slice(),g=d.findIndex(A=>A===r),h=~g;if(l=l??!h,h&&n.mandatory&&d.length<=1||!h&&n.max!=null&&d.length+1>n.max)return;g<0&&l?d.push(r):g>=0&&!l&&d.splice(g,1),i.value=d}else{const d=i.value.includes(r);if(n.mandatory&&d)return;i.value=l??!d?[r]:[]}}function y(r){if(n.multiple,i.value.length){const l=i.value[0],f=e.findIndex(h=>h.id===l);let d=(f+r)%e.length,g=e[d];for(;g.disabled&&d!==f;)d=(d+r)%e.length,g=e[d];if(g.disabled)return;i.value=[e[d].id]}else{const l=e.find(f=>!f.disabled);l&&(i.value=[l.id])}}const p={register:t,unregister:s,selected:i,select:v,disabled:B(n,"disabled"),prev:()=>y(e.length-1),next:()=>y(1),isSelected:r=>i.value.includes(r),selectedClass:x(()=>n.selectedClass),items:x(()=>e),getItemIndex:r=>Q(e,r)};return V(u,p),p}function Q(n,u){const o=T(n,[u]);return o.length?n.findIndex(e=>e.id===o[0]):-1}function T(n,u){const o=[];return u.forEach(e=>{const i=n.find(t=>W(e,t.value)),a=n[e];(i==null?void 0:i.value)!=null?o.push(i.id):a!=null&&o.push(a.id)}),o}function Z(n,u){const o=[];return u.forEach(e=>{const i=n.findIndex(a=>a.id===e);if(~i){const a=n[i];o.push(a.value!=null?a.value:i)}}),o}export{ne as V,ie as a,K as b,se as c,re as d,oe as e,ee as f,te as g,ae as m,le as u}; diff --git a/front/dist/assets/index-32269281.js b/front/dist/assets/index-32269281.js deleted file mode 100644 index 526cb726f..000000000 --- a/front/dist/assets/index-32269281.js +++ /dev/null @@ -1,16 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Do(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const be={},fn=[],tt=()=>{},Xf=()=>!1,Zf=/^on[^a-z]/,Zr=e=>Zf.test(e),Mo=e=>e.startsWith("onUpdate:"),Se=Object.assign,$o=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qf=Object.prototype.hasOwnProperty,ae=(e,t)=>Qf.call(e,t),G=Array.isArray,dn=e=>Qr(e)==="[object Map]",Gl=e=>Qr(e)==="[object Set]",ee=e=>typeof e=="function",we=e=>typeof e=="string",Bo=e=>typeof e=="symbol",ye=e=>e!==null&&typeof e=="object",Xl=e=>ye(e)&&ee(e.then)&&ee(e.catch),Zl=Object.prototype.toString,Qr=e=>Zl.call(e),ed=e=>Qr(e).slice(8,-1),Ql=e=>Qr(e)==="[object Object]",jo=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xr=Do(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),es=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},td=/-(\w)/g,rt=es(e=>e.replace(td,(t,n)=>n?n.toUpperCase():"")),nd=/\B([A-Z])/g,_n=es(e=>e.replace(nd,"-$1").toLowerCase()),bt=es(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ar=es(e=>e?`on${bt(e)}`:""),Un=(e,t)=>!Object.is(e,t),Pr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Gs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rd=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let zi;const Xs=()=>zi||(zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vo(e){if(G(e)){const t={};for(let n=0;n{if(n){const r=n.split(od);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ho(e){let t="";if(we(e))t=e;else if(G(e))for(let n=0;nwe(e)?e:e==null?"":G(e)||ye(e)&&(e.toString===Zl||!ee(e.toString))?JSON.stringify(e,nc,2):String(e),nc=(e,t)=>t&&t.__v_isRef?nc(e,t.value):dn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Gl(t)?{[`Set(${t.size})`]:[...t.values()]}:ye(t)&&!G(t)&&!Ql(t)?String(t):t;let Ve;class rc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ve;try{return Ve=this,t()}finally{Ve=n}}}on(){Ve=this}off(){Ve=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},oc=e=>(e.w&Lt)>0,ic=e=>(e.n&Lt)>0,fd=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":G(e)?jo(n)&&a.push(i.get("length")):(a.push(i.get(qt)),dn(e)&&a.push(i.get(Qs)));break;case"delete":G(e)||(a.push(i.get(qt)),dn(e)&&a.push(i.get(Qs)));break;case"set":dn(e)&&a.push(i.get(qt));break}if(a.length===1)a[0]&&eo(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);eo(Uo(c))}}function eo(e,t){const n=G(e)?e:[...e];for(const r of n)r.computed&&qi(r);for(const r of n)r.computed||qi(r)}function qi(e,t){(e!==Qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function hd(e,t){var n;return(n=$r.get(e))==null?void 0:n.get(t)}const md=Do("__proto__,__v_isRef,__isVue"),cc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bo)),pd=Wo(),gd=Wo(!1,!0),vd=Wo(!0),Ki=yd();function yd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ne(this);for(let o=0,i=this.length;o{e[t]=function(...n){En();const r=ne(this)[t].apply(this,n);return Sn(),r}}),e}function bd(e){const t=ne(this);return Be(t,"has",e),t.hasOwnProperty(e)}function Wo(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Id:mc:t?hc:dc).get(r))return r;const i=G(r);if(!e){if(i&&ae(Ki,s))return Reflect.get(Ki,s,o);if(s==="hasOwnProperty")return bd}const a=Reflect.get(r,s,o);return(Bo(s)?cc.has(s):md(s))||(e||Be(r,"get",s),t)?a:me(a)?i&&jo(s)?a:a.value:ye(a)?e?Yo(a):ut(a):a}}const wd=uc(),_d=uc(!0);function uc(e=!1){return function(n,r,s,o){let i=n[r];if(gn(i)&&me(i)&&!me(s))return!1;if(!e&&(!Br(s)&&!gn(s)&&(i=ne(i),s=ne(s)),!G(n)&&me(i)&&!me(s)))return i.value=s,!0;const a=G(n)&&jo(r)?Number(r)e,ts=e=>Reflect.getPrototypeOf(e);function mr(e,t,n=!1,r=!1){e=e.__v_raw;const s=ne(e),o=ne(t);n||(t!==o&&Be(s,"get",t),Be(s,"get",o));const{has:i}=ts(s),a=r?qo:n?Go:zn;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function pr(e,t=!1){const n=this.__v_raw,r=ne(n),s=ne(e);return t||(e!==s&&Be(r,"has",e),Be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function gr(e,t=!1){return e=e.__v_raw,!t&&Be(ne(e),"iterate",qt),Reflect.get(e,"size",e)}function Yi(e){e=ne(e);const t=ne(this);return ts(t).has.call(t,e)||(t.add(e),yt(t,"add",e,e)),this}function Ji(e,t){t=ne(t);const n=ne(this),{has:r,get:s}=ts(n);let o=r.call(n,e);o||(e=ne(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Un(t,i)&&yt(n,"set",e,t):yt(n,"add",e,t),this}function Gi(e){const t=ne(this),{has:n,get:r}=ts(t);let s=n.call(t,e);s||(e=ne(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&yt(t,"delete",e,void 0),o}function Xi(){const e=ne(this),t=e.size!==0,n=e.clear();return t&&yt(e,"clear",void 0,void 0),n}function vr(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ne(i),c=t?qo:e?Go:zn;return!e&&Be(a,"iterate",qt),i.forEach((l,u)=>r.call(s,c(l),c(u),o))}}function yr(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=dn(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=s[e](...r),u=n?qo:t?Go:zn;return!t&&Be(o,"iterate",c?Qs:qt),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function _t(e){return function(...t){return e==="delete"?!1:this}}function Pd(){const e={get(o){return mr(this,o)},get size(){return gr(this)},has:pr,add:Yi,set:Ji,delete:Gi,clear:Xi,forEach:vr(!1,!1)},t={get(o){return mr(this,o,!1,!0)},get size(){return gr(this)},has:pr,add:Yi,set:Ji,delete:Gi,clear:Xi,forEach:vr(!1,!0)},n={get(o){return mr(this,o,!0)},get size(){return gr(this,!0)},has(o){return pr.call(this,o,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:vr(!0,!1)},r={get(o){return mr(this,o,!0,!0)},get size(){return gr(this,!0)},has(o){return pr.call(this,o,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:vr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=yr(o,!1,!1),n[o]=yr(o,!0,!1),t[o]=yr(o,!1,!0),r[o]=yr(o,!0,!0)}),[e,n,t,r]}const[Od,Rd,Td,kd]=Pd();function Ko(e,t){const n=t?e?kd:Td:e?Rd:Od;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ae(n,s)&&s in r?n:r,s,o)}const Fd={get:Ko(!1,!1)},Ld={get:Ko(!1,!0)},Nd={get:Ko(!0,!1)},dc=new WeakMap,hc=new WeakMap,mc=new WeakMap,Id=new WeakMap;function Dd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Md(e){return e.__v_skip||!Object.isExtensible(e)?0:Dd(ed(e))}function ut(e){return gn(e)?e:Jo(e,!1,fc,Fd,dc)}function pc(e){return Jo(e,!1,Ad,Ld,hc)}function Yo(e){return Jo(e,!0,xd,Nd,mc)}function Jo(e,t,n,r,s){if(!ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Md(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Tt(e){return gn(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function Br(e){return!!(e&&e.__v_isShallow)}function gc(e){return Tt(e)||gn(e)}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function ns(e){return Mr(e,"__v_skip",!0),e}const zn=e=>ye(e)?ut(e):e,Go=e=>ye(e)?Yo(e):e;function vc(e){Rt&&Qe&&(e=ne(e),lc(e.dep||(e.dep=Uo())))}function yc(e,t){e=ne(e);const n=e.dep;n&&eo(n)}function me(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return bc(e,!1)}function xe(e){return bc(e,!0)}function bc(e,t){return me(e)?e:new $d(e,t)}class $d{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ne(t),this._value=n?t:zn(t)}get value(){return vc(this),this._value}set value(t){const n=this.__v_isShallow||Br(t)||gn(t);t=n?t:ne(t),Un(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:zn(t),yc(this))}}function Ue(e){return me(e)?e.value:e}const Bd={get:(e,t,n)=>Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return me(s)&&!me(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function wc(e){return Tt(e)?e:new Proxy(e,Bd)}function rs(e){const t=G(e)?new Array(e.length):{};for(const n in e)t[n]=_c(e,n);return t}class jd{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return hd(ne(this._object),this._key)}}class Vd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xo(e,t,n){return me(e)?e:ee(e)?new Vd(e):ye(e)&&arguments.length>1?_c(e,t,n):ve(e)}function _c(e,t,n){const r=e[t];return me(r)?r:new jd(e,t,n)}class Hd{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new zo(t,()=>{this._dirty||(this._dirty=!0,yc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ne(this);return vc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ud(e,t,n=!1){let r,s;const o=ee(e);return o?(r=e,s=tt):(r=e.get,s=e.set),new Hd(r,s,o||!s,n)}function kt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){ss(o,t,n)}return s}function Ke(e,t,n,r){if(ee(e)){const o=kt(e,t,n,r);return o&&Xl(o)&&o.catch(i=>{ss(i,t,n)}),o}const s=[];for(let o=0;o>>1;qn(ke[r])lt&&ke.splice(t,1)}function Kd(e){G(e)?hn.push(...e):(!gt||!gt.includes(e,e.allowRecurse?Vt+1:Vt))&&hn.push(e),Sc()}function Zi(e,t=Wn?lt+1:0){for(;tqn(n)-qn(r)),Vt=0;Vte.id==null?1/0:e.id,Yd=(e,t)=>{const n=qn(e)-qn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xc(e){to=!1,Wn=!0,ke.sort(Yd);const t=tt;try{for(lt=0;ltwe(m)?m.trim():m)),f&&(s=n.map(Gs))}let a,c=r[a=Ar(t)]||r[a=Ar(rt(t))];!c&&o&&(c=r[a=Ar(_n(t))]),c&&Ke(c,e,6,s);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ke(l,e,6,s)}}function Ac(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ee(e)){const c=l=>{const u=Ac(l,t,!0);u&&(a=!0,Se(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(ye(e)&&r.set(e,null),null):(G(o)?o.forEach(c=>i[c]=null):Se(i,o),ye(e)&&r.set(e,i),i)}function os(e,t){return!e||!Zr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,_n(t))||ae(e,t))}let $e=null,Pc=null;function jr(e){const t=$e;return $e=e,Pc=e&&e.type.__scopeId||null,t}function ln(e,t=$e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&fa(-1);const o=jr(t);let i;try{i=e(...s)}finally{jr(o),r._d&&fa(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function As(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:m,ctx:h,inheritAttrs:g}=e;let S,w;const E=jr(e);try{if(n.shapeFlag&4){const L=s||r;S=at(u.call(L,L,f,o,m,d,h)),w=c}else{const L=t;S=at(L.length>1?L(o,{attrs:c,slots:a,emit:l}):L(o,null)),w=t.props?c:Gd(c)}}catch(L){Bn.length=0,ss(L,e,1),S=k(nt)}let b=S;if(w&&g!==!1){const L=Object.keys(w),{shapeFlag:H}=b;L.length&&H&7&&(i&&L.some(Mo)&&(w=Xd(w,i)),b=Nt(b,w))}return n.dirs&&(b=Nt(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),S=b,jr(E),S}const Gd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zr(n))&&((t||(t={}))[n]=e[n]);return t},Xd=(e,t)=>{const n={};for(const r in e)(!Mo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zd(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Qi(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function th(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):Kd(e)}function Xt(e,t){return ei(e,null,t)}const br={};function pe(e,t,n){return ei(e,t,n)}function ei(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=be){var a;const c=sc()===((a=Ae)==null?void 0:a.scope)?Ae:null;let l,u=!1,f=!1;if(me(e)?(l=()=>e.value,u=Br(e)):Tt(e)?(l=()=>e,r=!0):G(e)?(f=!0,u=e.some(L=>Tt(L)||Br(L)),l=()=>e.map(L=>{if(me(L))return L.value;if(Tt(L))return zt(L);if(ee(L))return kt(L,c,2)})):ee(e)?t?l=()=>kt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),Ke(e,c,3,[m])}:l=tt,t&&r){const L=l;l=()=>zt(L())}let d,m=L=>{d=E.onStop=()=>{kt(L,c,4)}},h;if(Xn)if(m=tt,t?n&&Ke(t,c,3,[l(),f?[]:void 0,m]):l(),s==="sync"){const L=Qh();h=L.__watcherHandles||(L.__watcherHandles=[])}else return tt;let g=f?new Array(e.length).fill(br):br;const S=()=>{if(E.active)if(t){const L=E.run();(r||u||(f?L.some((H,Y)=>Un(H,g[Y])):Un(L,g)))&&(d&&d(),Ke(t,c,3,[L,g===br?void 0:f&&g[0]===br?[]:g,m]),g=L)}else E.run()};S.allowRecurse=!!t;let w;s==="sync"?w=S:s==="post"?w=()=>Me(S,c&&c.suspense):(S.pre=!0,c&&(S.id=c.uid),w=()=>Qo(S));const E=new zo(l,w);t?n?S():g=E.run():s==="post"?Me(E.run.bind(E),c&&c.suspense):E.run();const b=()=>{E.stop(),c&&c.scope&&$o(c.scope.effects,E)};return h&&h.push(b),b}function nh(e,t,n){const r=this.proxy,s=we(e)?e.includes(".")?Oc(r,e):()=>r[e]:e.bind(r,r);let o;ee(t)?o=t:(o=t.handler,n=t);const i=Ae;vn(this);const a=ei(s,o.bind(r),n);return i?vn(i):Kt(),a}function Oc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{zt(n,t)});else if(Ql(e))for(const n in e)zt(e[n],t);return e}function Vr(e,t){const n=$e;if(n===null)return e;const r=fs(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),ri(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],Tc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},rh={name:"BaseTransition",props:Tc,setup(e,{slots:t}){const n=hi(),r=Rc();let s;return()=>{const o=t.default&&ti(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const g of o)if(g.type!==nt){i=g;break}}const a=ne(e),{mode:c}=a;if(r.isLeaving)return Ps(i);const l=ea(i);if(!l)return Ps(i);const u=Kn(l,a,r,n);Yn(l,u);const f=n.subTree,d=f&&ea(f);let m=!1;const{getTransitionKey:h}=l.type;if(h){const g=h();s===void 0?s=g:g!==s&&(s=g,m=!0)}if(d&&d.type!==nt&&(!Ht(l,d)||m)){const g=Kn(d,a,r,n);if(Yn(d,g),c==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Ps(i);c==="in-out"&&l.type!==nt&&(g.delayLeave=(S,w,E)=>{const b=kc(r,d);b[String(d.key)]=d,S._leaveCb=()=>{w(),S._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}},sh=rh;function kc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Kn(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:S,onAfterAppear:w,onAppearCancelled:E}=t,b=String(e.key),L=kc(n,e),H=(x,T)=>{x&&Ke(x,r,9,T)},Y=(x,T)=>{const B=T[1];H(x,T),G(x)?x.every(U=>U.length<=1)&&B():x.length<=1&&B()},J={mode:o,persisted:i,beforeEnter(x){let T=a;if(!n.isMounted)if(s)T=g||a;else return;x._leaveCb&&x._leaveCb(!0);const B=L[b];B&&Ht(e,B)&&B.el._leaveCb&&B.el._leaveCb(),H(T,[x])},enter(x){let T=c,B=l,U=u;if(!n.isMounted)if(s)T=S||c,B=w||l,U=E||u;else return;let O=!1;const j=x._enterCb=te=>{O||(O=!0,te?H(U,[x]):H(B,[x]),J.delayedLeave&&J.delayedLeave(),x._enterCb=void 0)};T?Y(T,[x,j]):j()},leave(x,T){const B=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return T();H(f,[x]);let U=!1;const O=x._leaveCb=j=>{U||(U=!0,T(),j?H(h,[x]):H(m,[x]),x._leaveCb=void 0,L[B]===e&&delete L[B])};L[B]=e,d?Y(d,[x,O]):O()},clone(x){return Kn(x,t,n,r)}};return J}function Ps(e){if(as(e))return e=Nt(e),e.children=null,e}function ea(e){return as(e)?e.children?e.children[0]:void 0:e}function Yn(e,t){e.shapeFlag&6&&e.component?Yn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ti(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oSe({name:e.name},t,{setup:e}))():e}const Or=e=>!!e.type.__asyncLoader,as=e=>e.type.__isKeepAlive;function oh(e,t){Fc(e,"a",t)}function ih(e,t){Fc(e,"da",t)}function Fc(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ls(t,r,n),n){let s=n.parent;for(;s&&s.parent;)as(s.parent.vnode)&&ah(r,t,n,s),s=s.parent}}function ah(e,t,n,r){const s=ls(t,e,r,!0);Ic(()=>{$o(r[t],s)},n)}function ls(e,t,n=Ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;En(),vn(n);const a=Ke(t,n,e,i);return Kt(),Sn(),a});return r?s.unshift(o):s.push(o),o}}const wt=e=>(t,n=Ae)=>(!Xn||e==="sp")&&ls(e,(...r)=>t(...r),n),Lc=wt("bm"),ni=wt("m"),lh=wt("bu"),Nc=wt("u"),ri=wt("bum"),Ic=wt("um"),ch=wt("sp"),uh=wt("rtg"),fh=wt("rtc");function dh(e,t=Ae){ls("ec",e,t)}const si="components",hh="directives";function mh(e,t){return ii(si,e,!0,t)||e}const Dc=Symbol.for("v-ndc");function ph(e){return we(e)?ii(si,e,!1)||e:e||Dc}function oi(e){return ii(hh,e)}function ii(e,t,n=!0,r=!1){const s=$e||Ae;if(s){const o=s.type;if(e===si){const a=Gh(o,!1);if(a&&(a===t||a===rt(t)||a===bt(rt(t))))return o}const i=ta(s[e]||o[e],t)||ta(s.appContext[e],t);return!i&&r?o:i}}function ta(e,t){return e&&(e[t]||e[rt(t)]||e[bt(rt(t))])}function O0(e,t,n,r){let s;const o=n&&n[r];if(G(e)||we(e)){s=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,c=i.length;ae?Kc(e)?fs(e)||e.proxy:no(e.parent):null,Mn=Se(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>no(e.parent),$root:e=>no(e.root),$emit:e=>e.emit,$options:e=>ai(e),$forceUpdate:e=>e.f||(e.f=()=>Qo(e.update)),$nextTick:e=>e.n||(e.n=ft.bind(e.proxy)),$watch:e=>nh.bind(e)}),Os=(e,t)=>e!==be&&!e.__isScriptSetup&&ae(e,t),vh={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Os(r,t))return i[t]=1,r[t];if(s!==be&&ae(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&ae(l,t))return i[t]=3,o[t];if(n!==be&&ae(n,t))return i[t]=4,n[t];ro&&(i[t]=0)}}const u=Mn[t];let f,d;if(u)return t==="$attrs"&&Be(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==be&&ae(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,ae(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Os(s,t)?(s[t]=n,!0):r!==be&&ae(r,t)?(r[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==be&&ae(e,i)||Os(t,i)||(a=o[0])&&ae(a,i)||ae(r,i)||ae(Mn,i)||ae(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function na(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ro=!0;function yh(e){const t=ai(e),n=e.proxy,r=e.ctx;ro=!1,t.beforeCreate&&ra(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:h,activated:g,deactivated:S,beforeDestroy:w,beforeUnmount:E,destroyed:b,unmounted:L,render:H,renderTracked:Y,renderTriggered:J,errorCaptured:x,serverPrefetch:T,expose:B,inheritAttrs:U,components:O,directives:j,filters:te}=t;if(l&&bh(l,r,null),i)for(const ie in i){const X=i[ie];ee(X)&&(r[ie]=X.bind(n))}if(s){const ie=s.call(n,n);ye(ie)&&(e.data=ut(ie))}if(ro=!0,o)for(const ie in o){const X=o[ie],se=ee(X)?X.bind(n,n):ee(X.get)?X.get.bind(n,n):tt,_e=!ee(X)&&ee(X.set)?X.set.bind(n):tt,Oe=D({get:se,set:_e});Object.defineProperty(r,ie,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:De=>Oe.value=De})}if(a)for(const ie in a)Mc(a[ie],r,n,ie);if(c){const ie=ee(c)?c.call(n):c;Reflect.ownKeys(ie).forEach(X=>{Ft(X,ie[X])})}u&&ra(u,e,"c");function Z(ie,X){G(X)?X.forEach(se=>ie(se.bind(n))):X&&ie(X.bind(n))}if(Z(Lc,f),Z(ni,d),Z(lh,m),Z(Nc,h),Z(oh,g),Z(ih,S),Z(dh,x),Z(fh,Y),Z(uh,J),Z(ri,E),Z(Ic,L),Z(ch,T),G(B))if(B.length){const ie=e.exposed||(e.exposed={});B.forEach(X=>{Object.defineProperty(ie,X,{get:()=>n[X],set:se=>n[X]=se})})}else e.exposed||(e.exposed={});H&&e.render===tt&&(e.render=H),U!=null&&(e.inheritAttrs=U),O&&(e.components=O),j&&(e.directives=j)}function bh(e,t,n=tt){G(e)&&(e=so(e));for(const r in e){const s=e[r];let o;ye(s)?"default"in s?o=Ee(s.from||r,s.default,!0):o=Ee(s.from||r):o=Ee(s),me(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ra(e,t,n){Ke(G(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mc(e,t,n,r){const s=r.includes(".")?Oc(n,r):()=>n[r];if(we(e)){const o=t[e];ee(o)&&pe(s,o)}else if(ee(e))pe(s,e.bind(n));else if(ye(e))if(G(e))e.forEach(o=>Mc(o,t,n,r));else{const o=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(o)&&pe(s,o,e)}}function ai(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(l=>Hr(c,l,i,!0)),Hr(c,t,i)),ye(t)&&o.set(t,c),c}function Hr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Hr(e,o,n,!0),s&&s.forEach(i=>Hr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=wh[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const wh={data:sa,props:oa,emits:oa,methods:Nn,computed:Nn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Nn,directives:Nn,watch:Eh,provide:sa,inject:_h};function sa(e,t){return t?e?function(){return Se(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function _h(e,t){return Nn(so(e),so(t))}function so(e){if(G(e)){const t={};for(let n=0;n1)return n&&ee(t)?t.call(r&&r.proxy):t}}function xh(){return!!(Ae||$e||Jn)}function Ah(e,t,n,r=!1){const s={},o={};Mr(o,us,1),e.propsDefaults=Object.create(null),Bc(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:pc(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Ph(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ne(s),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,m]=jc(f,t,!0);Se(i,d),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return ye(e)&&r.set(e,fn),fn;if(G(o))for(let u=0;u-1,m[1]=g<0||h-1||ae(m,"default"))&&a.push(f)}}}const l=[i,a];return ye(e)&&r.set(e,l),l}function ia(e){return e[0]!=="$"}function aa(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function la(e,t){return aa(e)===aa(t)}function ca(e,t){return G(t)?t.findIndex(n=>la(n,e)):ee(t)&&la(t,e)?0:-1}const Vc=e=>e[0]==="_"||e==="$stable",li=e=>G(e)?e.map(at):[at(e)],Oh=(e,t,n)=>{if(t._n)return t;const r=ln((...s)=>li(t(...s)),n);return r._c=!1,r},Hc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Vc(s))continue;const o=e[s];if(ee(o))t[s]=Oh(s,o,r);else if(o!=null){const i=li(o);t[s]=()=>i}}},Uc=(e,t)=>{const n=li(t);e.slots.default=()=>n},Rh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ne(t),Mr(t,"_",n)):Hc(t,e.slots={})}else e.slots={},t&&Uc(e,t);Mr(e.slots,us,1)},Th=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=be;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Se(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Hc(t,s)),i=t}else t&&(Uc(e,t),i={default:1});if(o)for(const a in s)!Vc(a)&&!(a in i)&&delete s[a]};function io(e,t,n,r,s=!1){if(G(e)){e.forEach((d,m)=>io(d,t&&(G(t)?t[m]:t),n,r,s));return}if(Or(r)&&!s)return;const o=r.shapeFlag&4?fs(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:c}=e,l=t&&t.r,u=a.refs===be?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(we(l)?(u[l]=null,ae(f,l)&&(f[l]=null)):me(l)&&(l.value=null)),ee(c))kt(c,a,12,[i,u]);else{const d=we(c),m=me(c);if(d||m){const h=()=>{if(e.f){const g=d?ae(f,c)?f[c]:u[c]:c.value;s?G(g)&&$o(g,o):G(g)?g.includes(o)||g.push(o):d?(u[c]=[o],ae(f,c)&&(f[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,ae(f,c)&&(f[c]=i)):m&&(c.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,Me(h,n)):h()}}}const Me=th;function kh(e){return Fh(e)}function Fh(e,t){const n=Xs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=tt,insertStaticContent:h}=e,g=(p,v,y,_=null,P=null,R=null,$=!1,N=null,I=!!v.dynamicChildren)=>{if(p===v)return;p&&!Ht(p,v)&&(_=A(p),De(p,P,R,!0),p=null),v.patchFlag===-2&&(I=!1,v.dynamicChildren=null);const{type:F,ref:q,shapeFlag:z}=v;switch(F){case ir:S(p,v,y,_);break;case nt:w(p,v,y,_);break;case Rs:p==null&&E(v,y,_,$);break;case Ne:O(p,v,y,_,P,R,$,N,I);break;default:z&1?H(p,v,y,_,P,R,$,N,I):z&6?j(p,v,y,_,P,R,$,N,I):(z&64||z&128)&&F.process(p,v,y,_,P,R,$,N,I,M)}q!=null&&P&&io(q,p&&p.ref,R,v||p,!v)},S=(p,v,y,_)=>{if(p==null)r(v.el=a(v.children),y,_);else{const P=v.el=p.el;v.children!==p.children&&l(P,v.children)}},w=(p,v,y,_)=>{p==null?r(v.el=c(v.children||""),y,_):v.el=p.el},E=(p,v,y,_)=>{[p.el,p.anchor]=h(p.children,v,y,_,p.el,p.anchor)},b=({el:p,anchor:v},y,_)=>{let P;for(;p&&p!==v;)P=d(p),r(p,y,_),p=P;r(v,y,_)},L=({el:p,anchor:v})=>{let y;for(;p&&p!==v;)y=d(p),s(p),p=y;s(v)},H=(p,v,y,_,P,R,$,N,I)=>{$=$||v.type==="svg",p==null?Y(v,y,_,P,R,$,N,I):T(p,v,P,R,$,N,I)},Y=(p,v,y,_,P,R,$,N)=>{let I,F;const{type:q,props:z,shapeFlag:K,transition:Q,dirs:re}=p;if(I=p.el=i(p.type,R,z&&z.is,z),K&8?u(I,p.children):K&16&&x(p.children,I,null,_,P,R&&q!=="foreignObject",$,N),re&&Dt(p,null,_,"created"),J(I,p,p.scopeId,$,_),z){for(const de in z)de!=="value"&&!xr(de)&&o(I,de,null,z[de],R,p.children,_,P,Te);"value"in z&&o(I,"value",null,z.value),(F=z.onVnodeBeforeMount)&&it(F,_,p)}re&&Dt(p,null,_,"beforeMount");const ge=(!P||P&&!P.pendingBranch)&&Q&&!Q.persisted;ge&&Q.beforeEnter(I),r(I,v,y),((F=z&&z.onVnodeMounted)||ge||re)&&Me(()=>{F&&it(F,_,p),ge&&Q.enter(I),re&&Dt(p,null,_,"mounted")},P)},J=(p,v,y,_,P)=>{if(y&&m(p,y),_)for(let R=0;R<_.length;R++)m(p,_[R]);if(P){let R=P.subTree;if(v===R){const $=P.vnode;J(p,$,$.scopeId,$.slotScopeIds,P.parent)}}},x=(p,v,y,_,P,R,$,N,I=0)=>{for(let F=I;F{const N=v.el=p.el;let{patchFlag:I,dynamicChildren:F,dirs:q}=v;I|=p.patchFlag&16;const z=p.props||be,K=v.props||be;let Q;y&&Mt(y,!1),(Q=K.onVnodeBeforeUpdate)&&it(Q,y,v,p),q&&Dt(v,p,y,"beforeUpdate"),y&&Mt(y,!0);const re=P&&v.type!=="foreignObject";if(F?B(p.dynamicChildren,F,N,y,_,re,R):$||X(p,v,N,null,y,_,re,R,!1),I>0){if(I&16)U(N,v,z,K,y,_,P);else if(I&2&&z.class!==K.class&&o(N,"class",null,K.class,P),I&4&&o(N,"style",z.style,K.style,P),I&8){const ge=v.dynamicProps;for(let de=0;de{Q&&it(Q,y,v,p),q&&Dt(v,p,y,"updated")},_)},B=(p,v,y,_,P,R,$)=>{for(let N=0;N{if(y!==_){if(y!==be)for(const N in y)!xr(N)&&!(N in _)&&o(p,N,y[N],null,$,v.children,P,R,Te);for(const N in _){if(xr(N))continue;const I=_[N],F=y[N];I!==F&&N!=="value"&&o(p,N,F,I,$,v.children,P,R,Te)}"value"in _&&o(p,"value",y.value,_.value)}},O=(p,v,y,_,P,R,$,N,I)=>{const F=v.el=p?p.el:a(""),q=v.anchor=p?p.anchor:a("");let{patchFlag:z,dynamicChildren:K,slotScopeIds:Q}=v;Q&&(N=N?N.concat(Q):Q),p==null?(r(F,y,_),r(q,y,_),x(v.children,y,q,P,R,$,N,I)):z>0&&z&64&&K&&p.dynamicChildren?(B(p.dynamicChildren,K,y,P,R,$,N),(v.key!=null||P&&v===P.subTree)&&ci(p,v,!0)):X(p,v,y,q,P,R,$,N,I)},j=(p,v,y,_,P,R,$,N,I)=>{v.slotScopeIds=N,p==null?v.shapeFlag&512?P.ctx.activate(v,y,_,$,I):te(v,y,_,P,R,$,I):he(p,v,I)},te=(p,v,y,_,P,R,$)=>{const N=p.component=Wh(p,_,P);if(as(p)&&(N.ctx.renderer=M),qh(N),N.asyncDep){if(P&&P.registerDep(N,Z),!p.el){const I=N.subTree=k(nt);w(null,I,v,y)}return}Z(N,p,v,y,P,R,$)},he=(p,v,y)=>{const _=v.component=p.component;if(Zd(p,v,y))if(_.asyncDep&&!_.asyncResolved){ie(_,v,y);return}else _.next=v,qd(_.update),_.update();else v.el=p.el,_.vnode=v},Z=(p,v,y,_,P,R,$)=>{const N=()=>{if(p.isMounted){let{next:q,bu:z,u:K,parent:Q,vnode:re}=p,ge=q,de;Mt(p,!1),q?(q.el=re.el,ie(p,q,$)):q=re,z&&Pr(z),(de=q.props&&q.props.onVnodeBeforeUpdate)&&it(de,Q,q,re),Mt(p,!0);const Ce=As(p),Xe=p.subTree;p.subTree=Ce,g(Xe,Ce,f(Xe.el),A(Xe),p,P,R),q.el=Ce.el,ge===null&&Qd(p,Ce.el),K&&Me(K,P),(de=q.props&&q.props.onVnodeUpdated)&&Me(()=>it(de,Q,q,re),P)}else{let q;const{el:z,props:K}=v,{bm:Q,m:re,parent:ge}=p,de=Or(v);if(Mt(p,!1),Q&&Pr(Q),!de&&(q=K&&K.onVnodeBeforeMount)&&it(q,ge,v),Mt(p,!0),z&&ue){const Ce=()=>{p.subTree=As(p),ue(z,p.subTree,p,P,null)};de?v.type.__asyncLoader().then(()=>!p.isUnmounted&&Ce()):Ce()}else{const Ce=p.subTree=As(p);g(null,Ce,y,_,p,P,R),v.el=Ce.el}if(re&&Me(re,P),!de&&(q=K&&K.onVnodeMounted)){const Ce=v;Me(()=>it(q,ge,Ce),P)}(v.shapeFlag&256||ge&&Or(ge.vnode)&&ge.vnode.shapeFlag&256)&&p.a&&Me(p.a,P),p.isMounted=!0,v=y=_=null}},I=p.effect=new zo(N,()=>Qo(F),p.scope),F=p.update=()=>I.run();F.id=p.uid,Mt(p,!0),F()},ie=(p,v,y)=>{v.component=p;const _=p.vnode.props;p.vnode=v,p.next=null,Ph(p,v.props,_,y),Th(p,v.children,y),En(),Zi(),Sn()},X=(p,v,y,_,P,R,$,N,I=!1)=>{const F=p&&p.children,q=p?p.shapeFlag:0,z=v.children,{patchFlag:K,shapeFlag:Q}=v;if(K>0){if(K&128){_e(F,z,y,_,P,R,$,N,I);return}else if(K&256){se(F,z,y,_,P,R,$,N,I);return}}Q&8?(q&16&&Te(F,P,R),z!==F&&u(y,z)):q&16?Q&16?_e(F,z,y,_,P,R,$,N,I):Te(F,P,R,!0):(q&8&&u(y,""),Q&16&&x(z,y,_,P,R,$,N,I))},se=(p,v,y,_,P,R,$,N,I)=>{p=p||fn,v=v||fn;const F=p.length,q=v.length,z=Math.min(F,q);let K;for(K=0;Kq?Te(p,P,R,!0,!1,z):x(v,y,_,P,R,$,N,I,z)},_e=(p,v,y,_,P,R,$,N,I)=>{let F=0;const q=v.length;let z=p.length-1,K=q-1;for(;F<=z&&F<=K;){const Q=p[F],re=v[F]=I?Pt(v[F]):at(v[F]);if(Ht(Q,re))g(Q,re,y,null,P,R,$,N,I);else break;F++}for(;F<=z&&F<=K;){const Q=p[z],re=v[K]=I?Pt(v[K]):at(v[K]);if(Ht(Q,re))g(Q,re,y,null,P,R,$,N,I);else break;z--,K--}if(F>z){if(F<=K){const Q=K+1,re=QK)for(;F<=z;)De(p[F],P,R,!0),F++;else{const Q=F,re=F,ge=new Map;for(F=re;F<=K;F++){const je=v[F]=I?Pt(v[F]):at(v[F]);je.key!=null&&ge.set(je.key,F)}let de,Ce=0;const Xe=K-re+1;let tn=!1,Vi=0;const An=new Array(Xe);for(F=0;F=Xe){De(je,P,R,!0);continue}let ot;if(je.key!=null)ot=ge.get(je.key);else for(de=re;de<=K;de++)if(An[de-re]===0&&Ht(je,v[de])){ot=de;break}ot===void 0?De(je,P,R,!0):(An[ot-re]=F+1,ot>=Vi?Vi=ot:tn=!0,g(je,v[ot],y,null,P,R,$,N,I),Ce++)}const Hi=tn?Lh(An):fn;for(de=Hi.length-1,F=Xe-1;F>=0;F--){const je=re+F,ot=v[je],Ui=je+1{const{el:R,type:$,transition:N,children:I,shapeFlag:F}=p;if(F&6){Oe(p.component.subTree,v,y,_);return}if(F&128){p.suspense.move(v,y,_);return}if(F&64){$.move(p,v,y,M);return}if($===Ne){r(R,v,y);for(let z=0;zN.enter(R),P);else{const{leave:z,delayLeave:K,afterLeave:Q}=N,re=()=>r(R,v,y),ge=()=>{z(R,()=>{re(),Q&&Q()})};K?K(R,re,ge):ge()}else r(R,v,y)},De=(p,v,y,_=!1,P=!1)=>{const{type:R,props:$,ref:N,children:I,dynamicChildren:F,shapeFlag:q,patchFlag:z,dirs:K}=p;if(N!=null&&io(N,null,y,p,!0),q&256){v.ctx.deactivate(p);return}const Q=q&1&&K,re=!Or(p);let ge;if(re&&(ge=$&&$.onVnodeBeforeUnmount)&&it(ge,v,p),q&6)hr(p.component,y,_);else{if(q&128){p.suspense.unmount(y,_);return}Q&&Dt(p,null,v,"beforeUnmount"),q&64?p.type.remove(p,v,y,P,M,_):F&&(R!==Ne||z>0&&z&64)?Te(F,v,y,!1,!0):(R===Ne&&z&384||!P&&q&16)&&Te(I,v,y),_&&Qt(p)}(re&&(ge=$&&$.onVnodeUnmounted)||Q)&&Me(()=>{ge&&it(ge,v,p),Q&&Dt(p,null,v,"unmounted")},y)},Qt=p=>{const{type:v,el:y,anchor:_,transition:P}=p;if(v===Ne){en(y,_);return}if(v===Rs){L(p);return}const R=()=>{s(y),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(p.shapeFlag&1&&P&&!P.persisted){const{leave:$,delayLeave:N}=P,I=()=>$(y,R);N?N(p.el,R,I):I()}else R()},en=(p,v)=>{let y;for(;p!==v;)y=d(p),s(p),p=y;s(v)},hr=(p,v,y)=>{const{bum:_,scope:P,update:R,subTree:$,um:N}=p;_&&Pr(_),P.stop(),R&&(R.active=!1,De($,p,v,y)),N&&Me(N,v),Me(()=>{p.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},Te=(p,v,y,_=!1,P=!1,R=0)=>{for(let $=R;$p.shapeFlag&6?A(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),V=(p,v,y)=>{p==null?v._vnode&&De(v._vnode,null,null,!0):g(v._vnode||null,p,v,null,null,null,y),Zi(),Cc(),v._vnode=p},M={p:g,um:De,m:Oe,r:Qt,mt:te,mc:x,pc:X,pbc:B,n:A,o:e};let W,ue;return t&&([W,ue]=t(M)),{render:V,hydrate:W,createApp:Ch(V,W)}}function Mt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ci(e,t,n=!1){const r=e.children,s=t.children;if(G(r)&&G(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Nh=e=>e.__isTeleport,$n=e=>e&&(e.disabled||e.disabled===""),ua=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ao=(e,t)=>{const n=e&&e.to;return we(n)?t?t(n):null:n},Ih={__isTeleport:!0,process(e,t,n,r,s,o,i,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:m,querySelector:h,createText:g,createComment:S}}=l,w=$n(t.props);let{shapeFlag:E,children:b,dynamicChildren:L}=t;if(e==null){const H=t.el=g(""),Y=t.anchor=g("");m(H,n,r),m(Y,n,r);const J=t.target=ao(t.props,h),x=t.targetAnchor=g("");J&&(m(x,J),i=i||ua(J));const T=(B,U)=>{E&16&&u(b,B,U,s,o,i,a,c)};w?T(n,Y):J&&T(J,x)}else{t.el=e.el;const H=t.anchor=e.anchor,Y=t.target=e.target,J=t.targetAnchor=e.targetAnchor,x=$n(e.props),T=x?n:Y,B=x?H:J;if(i=i||ua(Y),L?(d(e.dynamicChildren,L,T,s,o,i,a),ci(e,t,!0)):c||f(e,t,T,B,s,o,i,a,!1),w)x||wr(t,n,H,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=ao(t.props,h);U&&wr(t,U,null,l,0)}else x&&wr(t,Y,J,l,1)}zc(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),(i||!$n(d))&&(o(l),a&16))for(let m=0;m0?et||fn:null,$h(),Gn>0&&et&&et.push(e),e}function Bh(e,t,n,r,s,o){return Wc(fi(e,t,n,r,s,o,!0))}function ui(e,t,n,r,s){return Wc(k(e,t,n,r,s,!0))}function lo(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const us="__vInternal",qc=({key:e})=>e??null,Rr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||me(e)||ee(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function fi(e,t=null,n=null,r=0,s=null,o=e===Ne?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qc(t),ref:t&&Rr(t),scopeId:Pc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:$e};return a?(di(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=we(n)?8:16),Gn>0&&!i&&et&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&et.push(c),c}const k=jh;function jh(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Dc)&&(e=nt),lo(e)){const a=Nt(e,t,!0);return n&&di(a,n),Gn>0&&!o&&et&&(a.shapeFlag&6?et[et.indexOf(e)]=a:et.push(a)),a.patchFlag|=-2,a}if(Xh(e)&&(e=e.__vccOpts),t){t=Vh(t);let{class:a,style:c}=t;a&&!we(a)&&(t.class=Ho(a)),ye(c)&&(gc(c)&&!G(c)&&(c=Se({},c)),t.style=Vo(c))}const i=we(e)?1:eh(e)?128:Nh(e)?64:ye(e)?4:ee(e)?2:0;return fi(e,t,n,r,s,i,o,!0)}function Vh(e){return e?gc(e)||us in e?Se({},e):e:null}function Nt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Ie(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&qc(a),ref:t&&t.ref?n&&s?G(s)?s.concat(Rr(t)):[s,Rr(t)]:Rr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ne?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nt(e.ssContent),ssFallback:e.ssFallback&&Nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Hh(e=" ",t=0){return k(ir,null,e,t)}function R0(e="",t=!1){return t?(cs(),ui(nt,null,e)):k(nt,null,e)}function at(e){return e==null||typeof e=="boolean"?k(nt):G(e)?k(Ne,null,e.slice()):typeof e=="object"?Pt(e):k(ir,null,String(e))}function Pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nt(e)}function di(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),di(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(us in t)?t._ctx=$e:s===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[Hh(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ie(...e){const t={};for(let n=0;nAe||$e;let mi,nn,da="__VUE_INSTANCE_SETTERS__";(nn=Xs()[da])||(nn=Xs()[da]=[]),nn.push(e=>Ae=e),mi=e=>{nn.length>1?nn.forEach(t=>t(e)):nn[0](e)};const vn=e=>{mi(e),e.scope.on()},Kt=()=>{Ae&&Ae.scope.off(),mi(null)};function Kc(e){return e.vnode.shapeFlag&4}let Xn=!1;function qh(e,t=!1){Xn=t;const{props:n,children:r}=e.vnode,s=Kc(e);Ah(e,n,s,t),Rh(e,r);const o=s?Kh(e,t):void 0;return Xn=!1,o}function Kh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ns(new Proxy(e.ctx,vh));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Jh(e):null;vn(e),En();const o=kt(r,e,0,[e.props,s]);if(Sn(),Kt(),Xl(o)){if(o.then(Kt,Kt),t)return o.then(i=>{ha(e,i,t)}).catch(i=>{ss(i,e,0)});e.asyncDep=o}else ha(e,o,t)}else Yc(e,t)}function ha(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ye(t)&&(e.setupState=wc(t)),Yc(e,n)}let ma;function Yc(e,t,n){const r=e.type;if(!e.render){if(!t&&ma&&!r.render){const s=r.template||ai(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=Se(Se({isCustomElement:o,delimiters:a},i),c);r.render=ma(s,l)}}e.render=r.render||tt}vn(e),En(),yh(e),Sn(),Kt()}function Yh(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Be(e,"get","$attrs"),t[n]}}))}function Jh(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Yh(e)},slots:e.slots,emit:e.emit,expose:t}}function fs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wc(ns(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mn)return Mn[n](e)},has(t,n){return n in t||n in Mn}}))}function Gh(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Xh(e){return ee(e)&&"__vccOpts"in e}const D=(e,t)=>Ud(e,t,Xn);function It(e,t,n){const r=arguments.length;return r===2?ye(t)&&!G(t)?lo(t)?k(e,null,[t]):k(e,t):k(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&lo(n)&&(n=[n]),k(e,t,n))}const Zh=Symbol.for("v-scx"),Qh=()=>Ee(Zh),em="3.3.4",tm="http://www.w3.org/2000/svg",Ut=typeof document<"u"?document:null,pa=Ut&&Ut.createElement("template"),nm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?Ut.createElementNS(tm,e):Ut.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{pa.innerHTML=r?`${e}`:e;const a=pa.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function rm(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function sm(e,t,n){const r=e.style,s=we(n);if(n&&!s){if(t&&!we(t))for(const o in t)n[o]==null&&co(r,o,"");for(const o in n)co(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ga=/\s*!important$/;function co(e,t,n){if(G(n))n.forEach(r=>co(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=om(e,t);ga.test(n)?e.setProperty(_n(r),n.replace(ga,""),"important"):e[r]=n}}const va=["Webkit","Moz","ms"],Ts={};function om(e,t){const n=Ts[t];if(n)return n;let r=rt(t);if(r!=="filter"&&r in e)return Ts[t]=r;r=bt(r);for(let s=0;sks||(fm.then(()=>ks=0),ks=Date.now());function hm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ke(mm(r,n.value),t,5,[r])};return n.value=e,n.attached=dm(),n}function mm(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const wa=/^on[a-z]/,pm=(e,t,n,r,s=!1,o,i,a,c)=>{t==="class"?rm(e,r,s):t==="style"?sm(e,n,r):Zr(t)?Mo(t)||cm(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gm(e,t,r,s))?am(e,t,r,o,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),im(e,t,r,s))};function gm(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&wa.test(t)&&ee(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||wa.test(t)&&we(n)?!1:t in e}const Et="transition",Pn="animation",Jt=(e,{slots:t})=>It(sh,Gc(e),t);Jt.displayName="Transition";const Jc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vm=Jt.props=Se({},Tc,Jc),$t=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},_a=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Gc(e){const t={};for(const O in e)O in Jc||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=ym(s),g=h&&h[0],S=h&&h[1],{onBeforeEnter:w,onEnter:E,onEnterCancelled:b,onLeave:L,onLeaveCancelled:H,onBeforeAppear:Y=w,onAppear:J=E,onAppearCancelled:x=b}=t,T=(O,j,te)=>{xt(O,j?u:a),xt(O,j?l:i),te&&te()},B=(O,j)=>{O._isLeaving=!1,xt(O,f),xt(O,m),xt(O,d),j&&j()},U=O=>(j,te)=>{const he=O?J:E,Z=()=>T(j,O,te);$t(he,[j,Z]),Ea(()=>{xt(j,O?c:o),pt(j,O?u:a),_a(he)||Sa(j,r,g,Z)})};return Se(t,{onBeforeEnter(O){$t(w,[O]),pt(O,o),pt(O,i)},onBeforeAppear(O){$t(Y,[O]),pt(O,c),pt(O,l)},onEnter:U(!1),onAppear:U(!0),onLeave(O,j){O._isLeaving=!0;const te=()=>B(O,j);pt(O,f),Zc(),pt(O,d),Ea(()=>{O._isLeaving&&(xt(O,f),pt(O,m),_a(L)||Sa(O,r,S,te))}),$t(L,[O,te])},onEnterCancelled(O){T(O,!1),$t(b,[O])},onAppearCancelled(O){T(O,!0),$t(x,[O])},onLeaveCancelled(O){B(O),$t(H,[O])}})}function ym(e){if(e==null)return null;if(ye(e))return[Fs(e.enter),Fs(e.leave)];{const t=Fs(e);return[t,t]}}function Fs(e){return rd(e)}function pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ea(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bm=0;function Sa(e,t,n,r){const s=e._endId=++bm,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=Xc(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),o()},d=m=>{m.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[h]||"").split(", "),s=r(`${Et}Delay`),o=r(`${Et}Duration`),i=Ca(s,o),a=r(`${Pn}Delay`),c=r(`${Pn}Duration`),l=Ca(a,c);let u=null,f=0,d=0;t===Et?i>0&&(u=Et,f=i,d=o.length):t===Pn?l>0&&(u=Pn,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?Et:Pn:null,d=u?u===Et?o.length:c.length:0);const m=u===Et&&/\b(transform|all)(,|$)/.test(r(`${Et}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:m}}function Ca(e,t){for(;e.lengthxa(n)+xa(e[r])))}function xa(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Zc(){return document.body.offsetHeight}const Qc=new WeakMap,eu=new WeakMap,tu={name:"TransitionGroup",props:Se({},vm,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=hi(),r=Rc();let s,o;return Nc(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Cm(s[0].el,n.vnode.el,i))return;s.forEach(_m),s.forEach(Em);const a=s.filter(Sm);Zc(),a.forEach(c=>{const l=c.el,u=l.style;pt(l,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=l._moveCb=d=>{d&&d.target!==l||(!d||/transform$/.test(d.propertyName))&&(l.removeEventListener("transitionend",f),l._moveCb=null,xt(l,i))};l.addEventListener("transitionend",f)})}),()=>{const i=ne(e),a=Gc(i);let c=i.tag||Ne;s=o,o=t.default?ti(t.default()):[];for(let l=0;ldelete e.mode;tu.props;const T0=tu;function _m(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Em(e){eu.set(e,e.el.getBoundingClientRect())}function Sm(e){const t=Qc.get(e),n=eu.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function Cm(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=Xc(r);return s.removeChild(r),o}const Aa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>Pr(t,n):t};function xm(e){e.target.composing=!0}function Pa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const k0={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Aa(s);const o=r||s.props&&s.props.type==="number";cn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Gs(a)),e._assign(a)}),n&&cn(e,"change",()=>{e.value=e.value.trim()}),t||(cn(e,"compositionstart",xm),cn(e,"compositionend",Pa),cn(e,"change",Pa))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=Aa(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Gs(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},nu={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):On(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),On(e,!0),r.enter(e)):r.leave(e,()=>{On(e,!1)}):On(e,t))},beforeUnmount(e,{value:t}){On(e,t)}};function On(e,t){e.style.display=t?e._vod:"none"}const Am=Se({patchProp:pm},nm);let Oa;function Pm(){return Oa||(Oa=kh(Am))}const Om=(...e)=>{const t=Pm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Rm(r);if(!s)return;const o=t._component;!ee(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Rm(e){return we(e)?document.querySelector(e):e}var Tm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function km(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ru={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Tm,function(){return function(n){function r(o){if(s[o])return s[o].exports;var i=s[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,r),i.l=!0,i.exports}var s={};return r.m=n,r.c=s,r.i=function(o){return o},r.d=function(o,i,a){r.o(o,i)||Object.defineProperty(o,i,{configurable:!1,enumerable:!0,get:a})},r.n=function(o){var i=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(i,"a",i),i},r.o=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)},r.p="/vue-jwt-decode/dist",r(r.s=10)}([function(n,r,s){n.exports=!s(1)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(n,r){n.exports=function(s){try{return!!s()}catch{return!0}}},function(n,r){var s=n.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=s)},function(n,r){n.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},function(n,r){var s=n.exports={version:"2.5.3"};typeof __e=="number"&&(__e=s)},function(n,r){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},function(n,r,s){var o=s(16);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(i){return o(i)=="String"?i.split(""):Object(i)}},function(n,r){var s=Math.ceil,o=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?o:s)(i)}},function(n,r,s){var o=s(6),i=s(5);n.exports=function(a){return o(i(a))}},function(n,r,s){var o=s(11),i=s.n(o);r.a={install:function(a){a.prototype.$jwtDec=this,a.jwtDec=this},decode:function(a){if(typeof a!="string"&!a instanceof String)return null;var c=a.split(".");if(c.length<2)return null;var l=JSON.parse(atob(c[0])),u=JSON.parse(atob(c[1]));return i()({},l,u)}}},function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=s(9);r.default=o.a},function(n,r,s){n.exports={default:s(12),__esModule:!0}},function(n,r,s){s(38),n.exports=s(4).Object.assign},function(n,r){n.exports=function(s){if(typeof s!="function")throw TypeError(s+" is not a function!");return s}},function(n,r,s){var o=s(3);n.exports=function(i){if(!o(i))throw TypeError(i+" is not an object!");return i}},function(n,r,s){var o=s(8),i=s(34),a=s(33);n.exports=function(c){return function(l,u,f){var d,m=o(l),h=i(m.length),g=a(f,h);if(c&&u!=u){for(;h>g;)if((d=m[g++])!=d)return!0}else for(;h>g;g++)if((c||g in m)&&m[g]===u)return c||g||0;return!c&&-1}}},function(n,r){var s={}.toString;n.exports=function(o){return s.call(o).slice(8,-1)}},function(n,r,s){var o=s(13);n.exports=function(i,a,c){if(o(i),a===void 0)return i;switch(c){case 1:return function(l){return i.call(a,l)};case 2:return function(l,u){return i.call(a,l,u)};case 3:return function(l,u,f){return i.call(a,l,u,f)}}return function(){return i.apply(a,arguments)}}},function(n,r,s){var o=s(3),i=s(2).document,a=o(i)&&o(i.createElement);n.exports=function(c){return a?i.createElement(c):{}}},function(n,r){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,r,s){var o=s(2),i=s(4),a=s(17),c=s(22),l=function(u,f,d){var m,h,g,S=u&l.F,w=u&l.G,E=u&l.S,b=u&l.P,L=u&l.B,H=u&l.W,Y=w?i:i[f]||(i[f]={}),J=Y.prototype,x=w?o:E?o[f]:(o[f]||{}).prototype;w&&(d=f);for(m in d)(h=!S&&x&&x[m]!==void 0)&&m in Y||(g=h?x[m]:d[m],Y[m]=w&&typeof x[m]!="function"?d[m]:L&&h?a(g,o):H&&x[m]==g?function(T){var B=function(U,O,j){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(U);case 2:return new T(U,O)}return new T(U,O,j)}return T.apply(this,arguments)};return B.prototype=T.prototype,B}(g):b&&typeof g=="function"?a(Function.call,g):g,b&&((Y.virtual||(Y.virtual={}))[m]=g,u&l.R&&J&&!J[m]&&c(J,m,g)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,n.exports=l},function(n,r){var s={}.hasOwnProperty;n.exports=function(o,i){return s.call(o,i)}},function(n,r,s){var o=s(25),i=s(30);n.exports=s(0)?function(a,c,l){return o.f(a,c,i(1,l))}:function(a,c,l){return a[c]=l,a}},function(n,r,s){n.exports=!s(0)&&!s(1)(function(){return Object.defineProperty(s(18)("div"),"a",{get:function(){return 7}}).a!=7})},function(n,r,s){var o=s(28),i=s(26),a=s(29),c=s(35),l=s(6),u=Object.assign;n.exports=!u||s(1)(function(){var f={},d={},m=Symbol(),h="abcdefghijklmnopqrst";return f[m]=7,h.split("").forEach(function(g){d[g]=g}),u({},f)[m]!=7||Object.keys(u({},d)).join("")!=h})?function(f,d){for(var m=c(f),h=arguments.length,g=1,S=i.f,w=a.f;h>g;)for(var E,b=l(arguments[g++]),L=S?o(b).concat(S(b)):o(b),H=L.length,Y=0;H>Y;)w.call(b,E=L[Y++])&&(m[E]=b[E]);return m}:u},function(n,r,s){var o=s(14),i=s(23),a=s(36),c=Object.defineProperty;r.f=s(0)?Object.defineProperty:function(l,u,f){if(o(l),u=a(u,!0),o(f),i)try{return c(l,u,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(l[u]=f.value),l}},function(n,r){r.f=Object.getOwnPropertySymbols},function(n,r,s){var o=s(21),i=s(8),a=s(15)(!1),c=s(31)("IE_PROTO");n.exports=function(l,u){var f,d=i(l),m=0,h=[];for(f in d)f!=c&&o(d,f)&&h.push(f);for(;u.length>m;)o(d,f=u[m++])&&(~a(h,f)||h.push(f));return h}},function(n,r,s){var o=s(27),i=s(19);n.exports=Object.keys||function(a){return o(a,i)}},function(n,r){r.f={}.propertyIsEnumerable},function(n,r){n.exports=function(s,o){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:o}}},function(n,r,s){var o=s(32)("keys"),i=s(37);n.exports=function(a){return o[a]||(o[a]=i(a))}},function(n,r,s){var o=s(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});n.exports=function(a){return i[a]||(i[a]={})}},function(n,r,s){var o=s(7),i=Math.max,a=Math.min;n.exports=function(c,l){return c=o(c),c<0?i(c+l,0):a(c,l)}},function(n,r,s){var o=s(7),i=Math.min;n.exports=function(a){return a>0?i(o(a),9007199254740991):0}},function(n,r,s){var o=s(5);n.exports=function(i){return Object(o(i))}},function(n,r,s){var o=s(3);n.exports=function(i,a){if(!o(i))return i;var c,l;if(a&&typeof(c=i.toString)=="function"&&!o(l=c.call(i))||typeof(c=i.valueOf)=="function"&&!o(l=c.call(i))||!a&&typeof(c=i.toString)=="function"&&!o(l=c.call(i)))return l;throw TypeError("Can't convert object to primitive value")}},function(n,r){var s=0,o=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++s+o).toString(36))}},function(n,r,s){var o=s(20);o(o.S+o.F,"Object",{assign:s(24)})}])})})(ru);var Fm=ru.exports;const su=km(Fm);var Lm=!1;/*! - * pinia v2.1.6 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let ou;const ds=e=>ou=e,iu=Symbol();function uo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var jn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(jn||(jn={}));function Nm(){const e=or(!0),t=e.run(()=>ve({}));let n=[],r=[];const s=ns({install(o){ds(s),s._a=o,o.provide(iu,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!Lm?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const au=()=>{};function Ra(e,t,n,r=au){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&sc()&&ze(s),s}function rn(e,...t){e.slice().forEach(n=>{n(...t)})}const Im=e=>e();function fo(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];uo(s)&&uo(r)&&e.hasOwnProperty(n)&&!me(r)&&!Tt(r)?e[n]=fo(s,r):e[n]=r}return e}const Dm=Symbol();function Mm(e){return!uo(e)||!e.hasOwnProperty(Dm)}const{assign:At}=Object;function $m(e){return!!(me(e)&&e.effect)}function Bm(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function l(){a||(n.state.value[e]=s?s():{});const u=rs(n.state.value[e]);return At(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=ns(D(()=>{ds(n);const m=n._s.get(e);return i[d].call(m,m)})),f),{}))}return c=lu(e,l,t,n,r,!0),c}function lu(e,t,n={},r,s,o){let i;const a=At({actions:{}},n),c={deep:!0};let l,u,f=[],d=[],m;const h=r.state.value[e];!o&&!h&&(r.state.value[e]={}),ve({});let g;function S(x){let T;l=u=!1,typeof x=="function"?(x(r.state.value[e]),T={type:jn.patchFunction,storeId:e,events:m}):(fo(r.state.value[e],x),T={type:jn.patchObject,payload:x,storeId:e,events:m});const B=g=Symbol();ft().then(()=>{g===B&&(l=!0)}),u=!0,rn(f,T,r.state.value[e])}const w=o?function(){const{state:T}=n,B=T?T():{};this.$patch(U=>{At(U,B)})}:au;function E(){i.stop(),f=[],d=[],r._s.delete(e)}function b(x,T){return function(){ds(r);const B=Array.from(arguments),U=[],O=[];function j(Z){U.push(Z)}function te(Z){O.push(Z)}rn(d,{args:B,name:x,store:H,after:j,onError:te});let he;try{he=T.apply(this&&this.$id===e?this:H,B)}catch(Z){throw rn(O,Z),Z}return he instanceof Promise?he.then(Z=>(rn(U,Z),Z)).catch(Z=>(rn(O,Z),Promise.reject(Z))):(rn(U,he),he)}}const L={_p:r,$id:e,$onAction:Ra.bind(null,d),$patch:S,$reset:w,$subscribe(x,T={}){const B=Ra(f,x,T.detached,()=>U()),U=i.run(()=>pe(()=>r.state.value[e],O=>{(T.flush==="sync"?u:l)&&x({storeId:e,type:jn.direct,events:m},O)},At({},c,T)));return B},$dispose:E},H=ut(L);r._s.set(e,H);const Y=r._a&&r._a.runWithContext||Im,J=r._e.run(()=>(i=or(),Y(()=>i.run(t))));for(const x in J){const T=J[x];if(me(T)&&!$m(T)||Tt(T))o||(h&&Mm(T)&&(me(T)?T.value=h[x]:fo(T,h[x])),r.state.value[e][x]=T);else if(typeof T=="function"){const B=b(x,T);J[x]=B,a.actions[x]=T}}return At(H,J),At(ne(H),J),Object.defineProperty(H,"$state",{get:()=>r.state.value[e],set:x=>{S(T=>{At(T,x)})}}),r._p.forEach(x=>{At(H,i.run(()=>x({store:H,app:r._a,pinia:r,options:a})))}),h&&o&&n.hydrate&&n.hydrate(H.$state,h),l=!0,u=!0,H}function cu(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,c){const l=xh();return a=a||(l?Ee(iu,null):null),a&&ds(a),a=ou,a._s.has(r)||(o?lu(r,t,s,a):Bm(r,s,a)),a._s.get(r)}return i.$id=r,i}function uu(e,t){return function(){return e.apply(t,arguments)}}const{toString:jm}=Object.prototype,{getPrototypeOf:pi}=Object,hs=(e=>t=>{const n=jm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),dt=e=>(e=e.toLowerCase(),t=>hs(t)===e),ms=e=>t=>typeof t===e,{isArray:Cn}=Array,Zn=ms("undefined");function Vm(e){return e!==null&&!Zn(e)&&e.constructor!==null&&!Zn(e.constructor)&&Ye(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fu=dt("ArrayBuffer");function Hm(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fu(e.buffer),t}const Um=ms("string"),Ye=ms("function"),du=ms("number"),ps=e=>e!==null&&typeof e=="object",zm=e=>e===!0||e===!1,Tr=e=>{if(hs(e)!=="object")return!1;const t=pi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Wm=dt("Date"),qm=dt("File"),Km=dt("Blob"),Ym=dt("FileList"),Jm=e=>ps(e)&&Ye(e.pipe),Gm=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ye(e.append)&&((t=hs(e))==="formdata"||t==="object"&&Ye(e.toString)&&e.toString()==="[object FormData]"))},Xm=dt("URLSearchParams"),Zm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ar(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Cn(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const mu=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),pu=e=>!Zn(e)&&e!==mu;function ho(){const{caseless:e}=pu(this)&&this||{},t={},n=(r,s)=>{const o=e&&hu(t,s)||s;Tr(t[o])&&Tr(r)?t[o]=ho(t[o],r):Tr(r)?t[o]=ho({},r):Cn(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(ar(t,(s,o)=>{n&&Ye(s)?e[o]=uu(s,n):e[o]=s},{allOwnKeys:r}),e),ep=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tp=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},np=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&pi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},sp=e=>{if(!e)return null;if(Cn(e))return e;let t=e.length;if(!du(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},op=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pi(Uint8Array)),ip=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},ap=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},lp=dt("HTMLFormElement"),cp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ta=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),up=dt("RegExp"),gu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ar(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},fp=e=>{gu(e,(t,n)=>{if(Ye(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ye(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},dp=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Cn(e)?r(e):r(String(e).split(t)),n},hp=()=>{},mp=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Ls="abcdefghijklmnopqrstuvwxyz",ka="0123456789",vu={DIGIT:ka,ALPHA:Ls,ALPHA_DIGIT:Ls+Ls.toUpperCase()+ka},pp=(e=16,t=vu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function gp(e){return!!(e&&Ye(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const vp=e=>{const t=new Array(10),n=(r,s)=>{if(ps(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Cn(r)?[]:{};return ar(r,(i,a)=>{const c=n(i,s+1);!Zn(c)&&(o[a]=c)}),t[s]=void 0,o}}return r};return n(e,0)},yp=dt("AsyncFunction"),bp=e=>e&&(ps(e)||Ye(e))&&Ye(e.then)&&Ye(e.catch),C={isArray:Cn,isArrayBuffer:fu,isBuffer:Vm,isFormData:Gm,isArrayBufferView:Hm,isString:Um,isNumber:du,isBoolean:zm,isObject:ps,isPlainObject:Tr,isUndefined:Zn,isDate:Wm,isFile:qm,isBlob:Km,isRegExp:up,isFunction:Ye,isStream:Jm,isURLSearchParams:Xm,isTypedArray:op,isFileList:Ym,forEach:ar,merge:ho,extend:Qm,trim:Zm,stripBOM:ep,inherits:tp,toFlatObject:np,kindOf:hs,kindOfTest:dt,endsWith:rp,toArray:sp,forEachEntry:ip,matchAll:ap,isHTMLForm:lp,hasOwnProperty:Ta,hasOwnProp:Ta,reduceDescriptors:gu,freezeMethods:fp,toObjectSet:dp,toCamelCase:cp,noop:hp,toFiniteNumber:mp,findKey:hu,global:mu,isContextDefined:pu,ALPHABET:vu,generateString:pp,isSpecCompliantForm:gp,toJSONObject:vp,isAsyncFn:yp,isThenable:bp};function le(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}C.inherits(le,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const yu=le.prototype,bu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{bu[e]={value:e}});Object.defineProperties(le,bu);Object.defineProperty(yu,"isAxiosError",{value:!0});le.from=(e,t,n,r,s,o)=>{const i=Object.create(yu);return C.toFlatObject(e,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),le.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const wp=null;function mo(e){return C.isPlainObject(e)||C.isArray(e)}function wu(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function Fa(e,t,n){return e?e.concat(t).map(function(s,o){return s=wu(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function _p(e){return C.isArray(e)&&!e.some(mo)}const Ep=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function gs(e,t,n){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,S){return!C.isUndefined(S[g])});const r=n.metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(s))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(C.isDate(h))return h.toISOString();if(!c&&C.isBlob(h))throw new le("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(h)||C.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,S){let w=h;if(h&&!S&&typeof h=="object"){if(C.endsWith(g,"{}"))g=r?g:g.slice(0,-2),h=JSON.stringify(h);else if(C.isArray(h)&&_p(h)||(C.isFileList(h)||C.endsWith(g,"[]"))&&(w=C.toArray(h)))return g=wu(g),w.forEach(function(b,L){!(C.isUndefined(b)||b===null)&&t.append(i===!0?Fa([g],L,o):i===null?g:g+"[]",l(b))}),!1}return mo(h)?!0:(t.append(Fa(S,g,o),l(h)),!1)}const f=[],d=Object.assign(Ep,{defaultVisitor:u,convertValue:l,isVisitable:mo});function m(h,g){if(!C.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(h),C.forEach(h,function(w,E){(!(C.isUndefined(w)||w===null)&&s.call(t,w,C.isString(E)?E.trim():E,g,d))===!0&&m(w,g?g.concat(E):[E])}),f.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return m(e),t}function La(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function gi(e,t){this._pairs=[],e&&gs(e,this,t)}const _u=gi.prototype;_u.append=function(t,n){this._pairs.push([t,n])};_u.toString=function(t){const n=t?function(r){return t.call(this,r,La)}:La;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Sp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Eu(e,t,n){if(!t)return e;const r=n&&n.encode||Sp,s=n&&n.serialize;let o;if(s?o=s(t,n):o=C.isURLSearchParams(t)?t.toString():new gi(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Cp{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Na=Cp,Su={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xp=typeof URLSearchParams<"u"?URLSearchParams:gi,Ap=typeof FormData<"u"?FormData:null,Pp=typeof Blob<"u"?Blob:null,Op=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Rp=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ct={isBrowser:!0,classes:{URLSearchParams:xp,FormData:Ap,Blob:Pp},isStandardBrowserEnv:Op,isStandardBrowserWebWorkerEnv:Rp,protocols:["http","https","file","blob","url","data"]};function Tp(e,t){return gs(e,new ct.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return ct.isNode&&C.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function kp(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fp(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&C.isArray(s)?s.length:i,c?(C.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!C.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&C.isArray(s[i])&&(s[i]=Fp(s[i])),!a)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(r,s)=>{t(kp(r),s,n,0)}),n}return null}const Lp={"Content-Type":void 0};function Np(e,t,n){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const vs={transitional:Su,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=C.isObject(t);if(o&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return s&&s?JSON.stringify(Cu(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Tp(t,this.formSerializer).toString();if((a=C.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return gs(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Np(t)):t}],transformResponse:[function(t){const n=this.transitional||vs.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&C.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?le.from(a,le.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ct.classes.FormData,Blob:ct.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};C.forEach(["delete","get","head"],function(t){vs.headers[t]={}});C.forEach(["post","put","patch"],function(t){vs.headers[t]=C.merge(Lp)});const vi=vs,Ip=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Dp=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Ip[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ia=Symbol("internals");function Rn(e){return e&&String(e).trim().toLowerCase()}function kr(e){return e===!1||e==null?e:C.isArray(e)?e.map(kr):String(e)}function Mp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const $p=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ns(e,t,n,r,s){if(C.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!C.isString(t)){if(C.isString(r))return t.indexOf(r)!==-1;if(C.isRegExp(r))return r.test(t)}}function Bp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function jp(e,t){const n=C.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class ys{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,c,l){const u=Rn(c);if(!u)throw new Error("header name must be a non-empty string");const f=C.findKey(s,u);(!f||s[f]===void 0||l===!0||l===void 0&&s[f]!==!1)&&(s[f||c]=kr(a))}const i=(a,c)=>C.forEach(a,(l,u)=>o(l,u,c));return C.isPlainObject(t)||t instanceof this.constructor?i(t,n):C.isString(t)&&(t=t.trim())&&!$p(t)?i(Dp(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Rn(t),t){const r=C.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Mp(s);if(C.isFunction(n))return n.call(this,s,r);if(C.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Rn(t),t){const r=C.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ns(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=Rn(i),i){const a=C.findKey(r,i);a&&(!n||Ns(r,r[a],a,n))&&(delete r[a],s=!0)}}return C.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Ns(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return C.forEach(this,(s,o)=>{const i=C.findKey(r,o);if(i){n[i]=kr(s),delete n[o];return}const a=t?Bp(o):String(o).trim();a!==o&&delete n[o],n[a]=kr(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return C.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&C.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Ia]=this[Ia]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=Rn(i);r[a]||(jp(s,i),r[a]=!0)}return C.isArray(t)?t.forEach(o):o(t),this}}ys.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.freezeMethods(ys.prototype);C.freezeMethods(ys);const vt=ys;function Is(e,t){const n=this||vi,r=t||n,s=vt.from(r.headers);let o=r.data;return C.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function xu(e){return!!(e&&e.__CANCEL__)}function lr(e,t,n){le.call(this,e??"canceled",le.ERR_CANCELED,t,n),this.name="CanceledError"}C.inherits(lr,le,{__CANCEL__:!0});function Vp(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new le("Request failed with status code "+n.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Hp=ct.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,a){const c=[];c.push(n+"="+encodeURIComponent(r)),C.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),C.isString(o)&&c.push("path="+o),C.isString(i)&&c.push("domain="+i),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Up(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zp(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Au(e,t){return e&&!Up(t)?zp(e,t):t}const Wp=ct.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const a=C.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function qp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Kp(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),u=r[o];i||(i=l),n[s]=c,r[s]=l;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),l-i{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,c=r(a),l=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&l?(i-o)/c:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const Yp=typeof XMLHttpRequest<"u",Jp=Yp&&function(e){return new Promise(function(n,r){let s=e.data;const o=vt.from(e.headers).normalize(),i=e.responseType;let a;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}C.isFormData(s)&&(ct.isStandardBrowserEnv||ct.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+h))}const u=Au(e.baseURL,e.url);l.open(e.method.toUpperCase(),Eu(u,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function f(){if(!l)return;const m=vt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),g={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:m,config:e,request:l};Vp(function(w){n(w),c()},function(w){r(w),c()},g),l=null}if("onloadend"in l?l.onloadend=f:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(f)},l.onabort=function(){l&&(r(new le("Request aborted",le.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new le("Network Error",le.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||Su;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new le(h,g.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,e,l)),l=null},ct.isStandardBrowserEnv){const m=(e.withCredentials||Wp(u))&&e.xsrfCookieName&&Hp.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}s===void 0&&o.setContentType(null),"setRequestHeader"in l&&C.forEach(o.toJSON(),function(h,g){l.setRequestHeader(g,h)}),C.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",Da(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Da(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=m=>{l&&(r(!m||m.type?new lr(null,e,l):m),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=qp(u);if(d&&ct.protocols.indexOf(d)===-1){r(new le("Unsupported protocol "+d+":",le.ERR_BAD_REQUEST,e));return}l.send(s||null)})},Fr={http:wp,xhr:Jp};C.forEach(Fr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gp={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof vt?e.toJSON():e;function yn(e,t){t=t||{};const n={};function r(l,u,f){return C.isPlainObject(l)&&C.isPlainObject(u)?C.merge.call({caseless:f},l,u):C.isPlainObject(u)?C.merge({},u):C.isArray(u)?u.slice():u}function s(l,u,f){if(C.isUndefined(u)){if(!C.isUndefined(l))return r(void 0,l,f)}else return r(l,u,f)}function o(l,u){if(!C.isUndefined(u))return r(void 0,u)}function i(l,u){if(C.isUndefined(u)){if(!C.isUndefined(l))return r(void 0,l)}else return r(void 0,u)}function a(l,u,f){if(f in t)return r(l,u);if(f in e)return r(void 0,l)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(l,u)=>s($a(l),$a(u),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=c[u]||s,d=f(e[u],t[u],u);C.isUndefined(d)&&f!==a||(n[u]=d)}),n}const Pu="1.4.0",yi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{yi[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ba={};yi.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Pu+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new le(s(i," has been removed"+(n?" in "+n:"")),le.ERR_DEPRECATED);return n&&!Ba[i]&&(Ba[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function Xp(e,t,n){if(typeof e!="object")throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],c=a===void 0||i(a,o,e);if(c!==!0)throw new le("option "+o+" must be "+c,le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new le("Unknown option "+o,le.ERR_BAD_OPTION)}}const po={assertOptions:Xp,validators:yi},St=po.validators;class Ur{constructor(t){this.defaults=t,this.interceptors={request:new Na,response:new Na}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=yn(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&po.assertOptions(r,{silentJSONParsing:St.transitional(St.boolean),forcedJSONParsing:St.transitional(St.boolean),clarifyTimeoutError:St.transitional(St.boolean)},!1),s!=null&&(C.isFunction(s)?n.paramsSerializer={serialize:s}:po.assertOptions(s,{encode:St.function,serialize:St.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&C.merge(o.common,o[n.method]),i&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=vt.concat(i,o);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let u,f=0,d;if(!c){const h=[Ma.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,l),d=h.length,u=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new lr(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new bi(function(s){t=s}),cancel:t}}}const Zp=bi;function Qp(e){return function(n){return e.apply(null,n)}}function eg(e){return C.isObject(e)&&e.isAxiosError===!0}const go={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(go).forEach(([e,t])=>{go[t]=e});const tg=go;function Ou(e){const t=new Lr(e),n=uu(Lr.prototype.request,t);return C.extend(n,Lr.prototype,t,{allOwnKeys:!0}),C.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ou(yn(e,s))},n}const Pe=Ou(vi);Pe.Axios=Lr;Pe.CanceledError=lr;Pe.CancelToken=Zp;Pe.isCancel=xu;Pe.VERSION=Pu;Pe.toFormData=gs;Pe.AxiosError=le;Pe.Cancel=Pe.CanceledError;Pe.all=function(t){return Promise.all(t)};Pe.spread=Qp;Pe.isAxiosError=eg;Pe.mergeConfig=yn;Pe.AxiosHeaders=vt;Pe.formToJSON=e=>Cu(C.isHTMLForm(e)?new FormData(e):e);Pe.HttpStatusCode=tg;Pe.default=Pe;const wi=Pe,ja="http://10.252.44.33/accounting6/images/photo/",bs="http://10.252.44.60:9965/",F0="ws://10.252.44.60:9965/";async function ng(){const e=localStorage.getItem("refresh");try{const t=await wi.post("/api/accounts/token/refresh/",{refresh:e},{baseURL:bs});return t.config.data&&localStorage.setItem("refresh",JSON.parse(t.config.data).refresh),localStorage.setItem("access",t.data.access),t.data.access}catch(t){const n=Si();return n.logout(),n.cod2user.value=!1,Promise.reject(t)}}const mn=wi.create({baseURL:bs}),_i=wi.create({baseURL:bs});mn.defaults.headers.common.Authorization=`Bearer ${localStorage.getItem("access")}`;mn.interceptors.request.use(e=>{const t=localStorage.getItem("access");return t&&(e.headers={Authorization:`Bearer ${t}`}),e},e=>Promise.reject(e));mn.interceptors.response.use(e=>e,async e=>{const t=e.config;if((e.response.status===401||e.response.status===403)&&!t._retry){t._retry=!0;try{const n=await ng();return mn.defaults.headers.common.Authorization=`Bearer ${n}`,t.data&&(t.data=JSON.parse(t.data)),mn(t)}catch{return Promise.reject(e)}}return Promise.reject(e)});const Ru=cu("app",()=>{const e=ve(!1),t=ve({totalvisit:0,visittoday:0,uniqtoday:0});return{loading:e,countvisitor:t}});/*! - * vue-router v4.2.4 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */const un=typeof window<"u";function rg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function Ms(e,t){const n={};for(const r in t){const s=t[r];n[r]=st(s)?s.map(e):e(s)}return n}const Vn=()=>{},st=Array.isArray,sg=/\/$/,og=e=>e.replace(sg,"");function $s(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=cg(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function ig(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Va(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ag(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&bn(t.matched[r],n.matched[s])&&Tu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Tu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lg(e[n],t[n]))return!1;return!0}function lg(e,t){return st(e)?Ha(e,t):st(t)?Ha(t,e):e===t}function Ha(e,t){return st(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function cg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Qn;(function(e){e.pop="pop",e.push="push"})(Qn||(Qn={}));var Hn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Hn||(Hn={}));function ug(e){if(!e)if(un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),og(e)}const fg=/^[^#]+#/;function dg(e,t){return e.replace(fg,"#")+t}function hg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ws=()=>({left:window.pageXOffset,top:window.pageYOffset});function mg(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=hg(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ua(e,t){return(history.state?history.state.position-t:-1)+e}const vo=new Map;function pg(e,t){vo.set(e,t)}function gg(e){const t=vo.get(e);return vo.delete(e),t}let vg=()=>location.protocol+"//"+location.host;function ku(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Va(c,"")}return Va(n,e)+r+s}function yg(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const m=ku(e,location),h=n.value,g=t.value;let S=0;if(d){if(n.value=m,t.value=d,i&&i===h){i=null;return}S=g?d.position-g.position:0}else r(m);s.forEach(w=>{w(n.value,h,{delta:S,type:Qn.pop,direction:S?S>0?Hn.forward:Hn.back:Hn.unknown})})};function c(){i=n.value}function l(d){s.push(d);const m=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(fe({},d.state,{scroll:ws()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function za(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ws():null}}function bg(e){const{history:t,location:n}=window,r={value:ku(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:vg()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),s.value=l}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(c,l){const u=fe({},t.state,za(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,u,!0),r.value=c}function a(c,l){const u=fe({},s.value,t.state,{forward:c,scroll:ws()});o(u.current,u,!0);const f=fe({},za(r.value,c,null),{position:u.position+1},l);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function wg(e){e=ug(e);const t=bg(e),n=yg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=fe({location:"",base:e,go:r,createHref:dg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function _g(e){return typeof e=="string"||e&&typeof e=="object"}function Fu(e){return typeof e=="string"||typeof e=="symbol"}const Ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Lu=Symbol("");var Wa;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wa||(Wa={}));function wn(e,t){return fe(new Error,{type:e,[Lu]:!0},t)}function mt(e,t){return e instanceof Error&&Lu in e&&(t==null||!!(e.type&t))}const qa="[^/]+?",Eg={sensitive:!1,strict:!1,start:!0,end:!0},Sg=/[.+*?^${}()[\]/\\]/g;function Cg(e,t){const n=fe({},Eg,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Ag(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Pg={type:0,value:""},Og=/[a-zA-Z0-9_]/;function Rg(e){if(!e)return[[]];if(e==="/")return[[Pg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${l}": ${m}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",u="";function f(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(E)}:Vn}function i(u){if(Fu(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Nu(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Ja(u)&&r.set(u.record.name,u)}function l(u,f){let d,m={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw wn(1,{location:u});g=d.record.name,m=fe(Ya(f.params,d.keys.filter(E=>!E.optional).map(E=>E.name)),u.params&&Ya(u.params,d.keys.map(E=>E.name))),h=d.stringify(m)}else if("path"in u)h=u.path,d=n.find(E=>E.re.test(h)),d&&(m=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(E=>E.re.test(f.path)),!d)throw wn(1,{location:u,currentLocation:f});g=d.record.name,m=fe({},f.params,u.params),h=d.stringify(m)}const S=[];let w=d;for(;w;)S.unshift(w.record),w=w.parent;return{name:g,path:h,params:m,matched:S,meta:Ng(S)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Ya(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Fg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ja(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ng(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function Ga(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Nu(e,t){return t.children.some(n=>n===e||Nu(e,n))}const Iu=/#/g,Ig=/&/g,Dg=/\//g,Mg=/=/g,$g=/\?/g,Du=/\+/g,Bg=/%5B/g,jg=/%5D/g,Mu=/%5E/g,Vg=/%60/g,$u=/%7B/g,Hg=/%7C/g,Bu=/%7D/g,Ug=/%20/g;function Ei(e){return encodeURI(""+e).replace(Hg,"|").replace(Bg,"[").replace(jg,"]")}function zg(e){return Ei(e).replace($u,"{").replace(Bu,"}").replace(Mu,"^")}function yo(e){return Ei(e).replace(Du,"%2B").replace(Ug,"+").replace(Iu,"%23").replace(Ig,"%26").replace(Vg,"`").replace($u,"{").replace(Bu,"}").replace(Mu,"^")}function Wg(e){return yo(e).replace(Mg,"%3D")}function qg(e){return Ei(e).replace(Iu,"%23").replace($g,"%3F")}function Kg(e){return e==null?"":qg(e).replace(Dg,"%2F")}function zr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Yg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&yo(o)):[r&&yo(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Jg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=st(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Gg=Symbol(""),Za=Symbol(""),_s=Symbol(""),ju=Symbol(""),bo=Symbol("");function Tn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(wn(4,{from:n,to:t})):f instanceof Error?a(f):_g(f)?a(wn(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},l=e.call(r&&r.instances[s],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch(f=>a(f))})}function Bs(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(Xg(a)){const l=(a.__vccOpts||a)[t];l&&s.push(Ot(l,n,r,o,i))}else{let c=a();s.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=rg(l)?l.default:l;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Ot(d,n,r,o,i)()}))}}return s}function Xg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Qa(e){const t=Ee(_s),n=Ee(ju),r=D(()=>t.resolve(Ue(e.to))),s=D(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(bn.bind(null,u));if(d>-1)return d;const m=el(c[l-2]);return l>1&&el(u)===m&&f[f.length-1].path!==m?f.findIndex(bn.bind(null,c[l-2])):d}),o=D(()=>s.value>-1&&tv(n.params,r.value.params)),i=D(()=>s.value>-1&&s.value===n.matched.length-1&&Tu(n.params,r.value.params));function a(c={}){return ev(c)?t[Ue(e.replace)?"replace":"push"](Ue(e.to)).catch(Vn):Promise.resolve()}return{route:r,href:D(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Zg=is({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Qa,setup(e,{slots:t}){const n=ut(Qa(e)),{options:r}=Ee(_s),s=D(()=>({[tl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[tl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:It("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Qg=Zg;function ev(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function tv(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!st(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function el(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tl=(e,t,n)=>e??t??n,nv=is({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ee(bo),s=D(()=>e.route||r.value),o=Ee(Za,0),i=D(()=>{let l=Ue(o);const{matched:u}=s.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=D(()=>s.value.matched[i.value]);Ft(Za,D(()=>i.value+1)),Ft(Gg,a),Ft(bo,s);const c=ve();return pe(()=>[c.value,a.value,e.name],([l,u,f],[d,m,h])=>{u&&(u.instances[f]=l,m&&m!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),l&&u&&(!m||!bn(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(l))},{flush:"post"}),()=>{const l=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return nl(n.default,{Component:d,route:l});const m=f.props[u],h=m?m===!0?l.params:typeof m=="function"?m(l):m:null,S=It(d,fe({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return nl(n.default,{Component:S,route:l})||S}}});function nl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rv=nv;function sv(e){const t=kg(e.routes,e),n=e.parseQuery||Yg,r=e.stringifyQuery||Xa,s=e.history,o=Tn(),i=Tn(),a=Tn(),c=xe(Ct);let l=Ct;un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ms.bind(null,A=>""+A),f=Ms.bind(null,Kg),d=Ms.bind(null,zr);function m(A,V){let M,W;return Fu(A)?(M=t.getRecordMatcher(A),W=V):W=A,t.addRoute(W,M)}function h(A){const V=t.getRecordMatcher(A);V&&t.removeRoute(V)}function g(){return t.getRoutes().map(A=>A.record)}function S(A){return!!t.getRecordMatcher(A)}function w(A,V){if(V=fe({},V||c.value),typeof A=="string"){const y=$s(n,A,V.path),_=t.resolve({path:y.path},V),P=s.createHref(y.fullPath);return fe(y,_,{params:d(_.params),hash:zr(y.hash),redirectedFrom:void 0,href:P})}let M;if("path"in A)M=fe({},A,{path:$s(n,A.path,V.path).path});else{const y=fe({},A.params);for(const _ in y)y[_]==null&&delete y[_];M=fe({},A,{params:f(y)}),V.params=f(V.params)}const W=t.resolve(M,V),ue=A.hash||"";W.params=u(d(W.params));const p=ig(r,fe({},A,{hash:zg(ue),path:W.path})),v=s.createHref(p);return fe({fullPath:p,hash:ue,query:r===Xa?Jg(A.query):A.query||{}},W,{redirectedFrom:void 0,href:v})}function E(A){return typeof A=="string"?$s(n,A,c.value.path):fe({},A)}function b(A,V){if(l!==A)return wn(8,{from:V,to:A})}function L(A){return J(A)}function H(A){return L(fe(E(A),{replace:!0}))}function Y(A){const V=A.matched[A.matched.length-1];if(V&&V.redirect){const{redirect:M}=V;let W=typeof M=="function"?M(A):M;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=E(W):{path:W},W.params={}),fe({query:A.query,hash:A.hash,params:"path"in W?{}:A.params},W)}}function J(A,V){const M=l=w(A),W=c.value,ue=A.state,p=A.force,v=A.replace===!0,y=Y(M);if(y)return J(fe(E(y),{state:typeof y=="object"?fe({},ue,y.state):ue,force:p,replace:v}),V||M);const _=M;_.redirectedFrom=V;let P;return!p&&ag(r,W,M)&&(P=wn(16,{to:_,from:W}),Oe(W,W,!0,!1)),(P?Promise.resolve(P):B(_,W)).catch(R=>mt(R)?mt(R,2)?R:_e(R):X(R,_,W)).then(R=>{if(R){if(mt(R,2))return J(fe({replace:v},E(R.to),{state:typeof R.to=="object"?fe({},ue,R.to.state):ue,force:p}),V||_)}else R=O(_,W,!0,v,ue);return U(_,W,R),R})}function x(A,V){const M=b(A,V);return M?Promise.reject(M):Promise.resolve()}function T(A){const V=en.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(A):A()}function B(A,V){let M;const[W,ue,p]=ov(A,V);M=Bs(W.reverse(),"beforeRouteLeave",A,V);for(const y of W)y.leaveGuards.forEach(_=>{M.push(Ot(_,A,V))});const v=x.bind(null,A,V);return M.push(v),Te(M).then(()=>{M=[];for(const y of o.list())M.push(Ot(y,A,V));return M.push(v),Te(M)}).then(()=>{M=Bs(ue,"beforeRouteUpdate",A,V);for(const y of ue)y.updateGuards.forEach(_=>{M.push(Ot(_,A,V))});return M.push(v),Te(M)}).then(()=>{M=[];for(const y of p)if(y.beforeEnter)if(st(y.beforeEnter))for(const _ of y.beforeEnter)M.push(Ot(_,A,V));else M.push(Ot(y.beforeEnter,A,V));return M.push(v),Te(M)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),M=Bs(p,"beforeRouteEnter",A,V),M.push(v),Te(M))).then(()=>{M=[];for(const y of i.list())M.push(Ot(y,A,V));return M.push(v),Te(M)}).catch(y=>mt(y,8)?y:Promise.reject(y))}function U(A,V,M){a.list().forEach(W=>T(()=>W(A,V,M)))}function O(A,V,M,W,ue){const p=b(A,V);if(p)return p;const v=V===Ct,y=un?history.state:{};M&&(W||v?s.replace(A.fullPath,fe({scroll:v&&y&&y.scroll},ue)):s.push(A.fullPath,ue)),c.value=A,Oe(A,V,M,v),_e()}let j;function te(){j||(j=s.listen((A,V,M)=>{if(!hr.listening)return;const W=w(A),ue=Y(W);if(ue){J(fe(ue,{replace:!0}),W).catch(Vn);return}l=W;const p=c.value;un&&pg(Ua(p.fullPath,M.delta),ws()),B(W,p).catch(v=>mt(v,12)?v:mt(v,2)?(J(v.to,W).then(y=>{mt(y,20)&&!M.delta&&M.type===Qn.pop&&s.go(-1,!1)}).catch(Vn),Promise.reject()):(M.delta&&s.go(-M.delta,!1),X(v,W,p))).then(v=>{v=v||O(W,p,!1),v&&(M.delta&&!mt(v,8)?s.go(-M.delta,!1):M.type===Qn.pop&&mt(v,20)&&s.go(-1,!1)),U(W,p,v)}).catch(Vn)}))}let he=Tn(),Z=Tn(),ie;function X(A,V,M){_e(A);const W=Z.list();return W.length?W.forEach(ue=>ue(A,V,M)):console.error(A),Promise.reject(A)}function se(){return ie&&c.value!==Ct?Promise.resolve():new Promise((A,V)=>{he.add([A,V])})}function _e(A){return ie||(ie=!A,te(),he.list().forEach(([V,M])=>A?M(A):V()),he.reset()),A}function Oe(A,V,M,W){const{scrollBehavior:ue}=e;if(!un||!ue)return Promise.resolve();const p=!M&&gg(Ua(A.fullPath,0))||(W||!M)&&history.state&&history.state.scroll||null;return ft().then(()=>ue(A,V,p)).then(v=>v&&mg(v)).catch(v=>X(v,A,V))}const De=A=>s.go(A);let Qt;const en=new Set,hr={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,hasRoute:S,getRoutes:g,resolve:w,options:e,push:L,replace:H,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:Z.add,isReady:se,install(A){const V=this;A.component("RouterLink",Qg),A.component("RouterView",rv),A.config.globalProperties.$router=V,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>Ue(c)}),un&&!Qt&&c.value===Ct&&(Qt=!0,L(s.location).catch(ue=>{}));const M={};for(const ue in Ct)Object.defineProperty(M,ue,{get:()=>c.value[ue],enumerable:!0});A.provide(_s,V),A.provide(ju,pc(M)),A.provide(bo,c);const W=A.unmount;en.add(A),A.unmount=function(){en.delete(A),en.size<1&&(l=Ct,j&&j(),j=null,c.value=Ct,Qt=!1,ie=!1),W()}}};function Te(A){return A.reduce((V,M)=>V.then(()=>T(M)),Promise.resolve())}return hr}function ov(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ibn(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>bn(l,c))||s.push(c))}return[n,r,s]}function iv(){return Ee(_s)}const L0="hello";function N0(e,t){try{mn.get(e).then(n=>{t.value=n.data})}catch(n){console.log(n)}}function I0(e,t){try{_i.get(e).then(n=>{t.value=n.data})}catch(n){console.log(n)}}function rl(e){let t=new Image;return t.src=e,t.complete?e:"https://avatars.mds.yandex.net/i?id=e581fbd83b62938eb98e4d1110c176eabdb19946-9181179-images-thumbs&n=13"}function D0(){console.log("Загружаю данные для циферок по количеству");const e=iv(),t=Si(),n=Ru();let r={user__id:"user"in t&&"id"in t.user?t.user.id:null,page:e.currentRoute.value.meta.title};_i.post(`${bs}api/watcher/counter/`,r).then(s=>{n.countvisitor=s.data})}const Si=cu("AccountStore",()=>{const e=Ru(),t=ve({}),n=ve(!1),r=i=>{i.photo=rl(`${ja}${i.login}.jpg`),t.value=i},s=async i=>{console.log(i),e.loading=!0;const a=await _i.post("api/accounts/token/",i);localStorage.setItem("access",a.data.access),localStorage.setItem("refresh",a.data.refresh);let c=su.decode(a.data.refresh);c.user.photo=rl(`${ja}${c.user.login}.jpg`),t.value=c.user,e.loading=!1},o=()=>{t.value={},localStorage.removeItem("access"),localStorage.removeItem("refresh")};return pe(t,(i,a)=>{n.value=!!("login"in i&&i.login.startsWith("9966-"))},{deep:!0}),{user:t,setUser:r,cod2user:n,logging:s,logout:o}});const av={__name:"App",setup(e){const t=Si();return(()=>{const r=localStorage.getItem("refresh");if(r){const s=su.decode(r);t.setUser(s.user)}})(),(r,s)=>{const o=mh("router-view");return cs(),ui(o)}}},lv="modulepreload",cv=function(e){return"/"+e},sl={},Ze=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=cv(o),o in sl)return;sl[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":lv,i||(l.as="script",l.crossOrigin=""),l.href=o,document.head.appendChild(l),i)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};async function uv(){(await Ze(()=>import("./webfontloader-f4a64c41.js").then(t=>t.w),[])).load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}function cr(e,t){let n;function r(){n=or(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}pe(e,s=>{s&&!n?r():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),ze(()=>{n==null||n.stop()})}function ol(e,t,n){fv(e,t),t.set(e,n)}function fv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function dv(e,t,n){var r=Vu(e,t,"set");return hv(e,r,n),n}function hv(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Bt(e,t){var n=Vu(e,t,"get");return mv(e,n)}function Vu(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function mv(e,t){return t.get?t.get.call(e):t.value}function Hu(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;spv(e[r],t[r]))}function wo(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Hu(e,t.split("."),n))}function M0(e,t,n){if(t==null)return e===void 0?n:e;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return wo(e,t,n);if(Array.isArray(t))return Hu(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Uu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function _o(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function gv(e){return e&&"$el"in e?e.$el:e}const il=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function $0(e){return Object.keys(e)}function js(e,t){return t.every(n=>e.hasOwnProperty(n))}function zu(e,t,n){const r=Object.create(null),s=Object.create(null);for(const o in e)t.some(i=>i instanceof RegExp?i.test(o):i===o)&&!(n!=null&&n.some(i=>i===o))?r[o]=e[o]:s[o]=e[o];return[r,s]}function vv(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function B0(e){return zu(e,["class","style","id",/^data-/])}function j0(e){return e==null?[]:Array.isArray(e)?e:[e]}function Eo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function al(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function yv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const o=e[s],i=t[s];if(_o(o)&&_o(i)){r[s]=qe(o,i,n);continue}if(Array.isArray(o)&&Array.isArray(i)&&n){r[s]=n(o,i);continue}r[s]=i}return r}function Wu(e){return e.map(t=>t.type===Ne?Wu(t.children):t).flat()}function Yt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Yt.cache.has(e))return Yt.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Yt.cache.set(e,t),t}Yt.cache=new Map;function Vs(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Vs(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>Vs(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Vs(e,t.component.subTree).flat(1)}return[]}var _r=new WeakMap,sn=new WeakMap;class V0{constructor(t){ol(this,_r,{writable:!0,value:[]}),ol(this,sn,{writable:!0,value:0}),this.size=t}push(t){Bt(this,_r)[Bt(this,sn)]=t,dv(this,sn,(Bt(this,sn)+1)%this.size)}values(){return Bt(this,_r).slice(Bt(this,sn)).concat(Bt(this,_r).slice(0,Bt(this,sn)))}}function Ci(e){const t=ut({}),n=D(e);return Xt(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),rs(t)}function Wr(e,t){return e.includes(t)}const bv=/^on[^a-z]/,qu=e=>bv.test(e);function Ku(e){return e[2].toLowerCase()+e.slice(3)}const H0=()=>[Function,Array];function ll(e,t){return t="on"+bt(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function U0(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r`${n}:not([tabindex="-1"]):not([disabled])`).join(", ");return[...e.querySelectorAll(t)]}function So(e,t){var s,o,i;const n=wv(e),r=n.indexOf(document.activeElement);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((s=n[0])==null||s.focus());else if(t==="first")(o=n[0])==null||o.focus();else if(t==="last")(i=n.at(-1))==null||i.focus();else{let a,c=r;const l=t==="next"?1:-1;do c+=l,a=n[c];while((!a||a.offsetParent==null)&&c=0);a?a.focus():So(e,t==="next"?"first":"last")}}const Yu=["top","bottom"],_v=["start","end","left","right"];function Co(e,t){let[n,r]=e.split(" ");return r||(r=Wr(Yu,n)?"start":Wr(_v,n)?"top":"center"),{side:cl(n,t),align:cl(r,t)}}function cl(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Hs(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Us(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function ul(e){return{side:e.align,align:e.side}}function fl(e){return Wr(Yu,e.side)?"y":"x"}class pn{constructor(t){let{x:n,y:r,width:s,height:o}=t;this.x=n,this.y=r,this.width=s,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function dl(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Ju(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let s,o,i,a,c;if(r.startsWith("matrix3d("))s=r.slice(9,-1).split(/, /),o=+s[0],i=+s[5],a=+s[12],c=+s[13];else if(r.startsWith("matrix("))s=r.slice(7,-1).split(/, /),o=+s[0],i=+s[3],a=+s[4],c=+s[5];else return new pn(t);const l=n.transformOrigin,u=t.x-a-(1-o)*parseFloat(l),f=t.y-c-(1-i)*parseFloat(l.slice(l.indexOf(" ")+1)),d=o?t.width/o:e.offsetWidth+1,m=i?t.height/i:e.offsetHeight+1;return new pn({x:u,y:f,width:d,height:m})}else return new pn(t)}function In(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(s=>{r.onfinish=()=>{s(r)}})),r}const Nr=new WeakMap;function Ev(e,t){Object.keys(t).forEach(n=>{if(qu(n)){const r=Ku(n),s=Nr.get(e);if(t[n]==null)s==null||s.forEach(o=>{const[i,a]=o;i===r&&(e.removeEventListener(r,a),s.delete(o))});else if(!s||![...s].some(o=>o[0]===r&&o[1]===t[n])){e.addEventListener(r,t[n]);const o=s||new Set;o.add([r,t[n]]),Nr.has(e)||Nr.set(e,o)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function Sv(e,t){Object.keys(t).forEach(n=>{if(qu(n)){const r=Ku(n),s=Nr.get(e);s==null||s.forEach(o=>{const[i,a]=o;i===r&&(e.removeEventListener(r,a),s.delete(o))})}else e.removeAttribute(n)})}function z0(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const qr=.20689655172413793,Cv=e=>e>qr**3?Math.cbrt(e):e/(3*qr**2)+4/29,xv=e=>e>qr?e**3:3*qr**2*(e-4/29);function Gu(e){const t=Cv,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Xu(e){const t=xv,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Av=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Pv=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Ov=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Rv=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Zu(e){const t=Array(3),n=Pv,r=Av;for(let s=0;s<3;++s)t[s]=Math.round(Eo(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function xi(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],o=Rv,i=Ov;t=o(t/255),n=o(n/255),r=o(r/255);for(let a=0;a<3;++a)s[a]=i[a][0]*t+i[a][1]*n+i[a][2]*r;return s}function hl(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const ml=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Tv={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>pl({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>pl({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>er({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>er({h:e,s:t,v:n,a:r})};function Wt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&ml.test(e)){const{groups:t}=e.match(ml),{fn:n,values:r}=t,s=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return Tv[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Fv(t)}else if(typeof e=="object"){if(js(e,["r","g","b"]))return e;if(js(e,["h","s","l"]))return er(Qu(e));if(js(e,["h","s","v"]))return er(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function er(e){const{h:t,s:n,v:r,a:s}=e,o=a=>{const c=(a+t/60)%6;return r-r*n*Math.max(Math.min(c,4-c,1),0)},i=[o(5),o(3),o(1)].map(a=>Math.round(a*255));return{r:i[0],g:i[1],b:i[2],a:s}}function pl(e){return er(Qu(e))}function Qu(e){const{h:t,s:n,l:r,a:s}=e,o=r+n*Math.min(r,1-r),i=o===0?0:2-2*r/o;return{h:t,s:i,v:o,a:s}}function Er(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function kv(e){let{r:t,g:n,b:r,a:s}=e;return`#${[Er(t),Er(n),Er(r),s!==void 0?Er(Math.round(s*255)):""].join("")}`}function Fv(e){e=Lv(e);let[t,n,r,s]=yv(e,2).map(o=>parseInt(o,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function Lv(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=al(al(e,6),8,"F")),e}function Nv(e,t){const n=Gu(xi(e));return n[0]=n[0]+t*10,Zu(Xu(n))}function Iv(e,t){const n=Gu(xi(e));return n[0]=n[0]-t*10,Zu(Xu(n))}function Dv(e){const t=Wt(e);return xi(t)[1]}function oe(e,t){return n=>Object.keys(e).reduce((r,s)=>{const i=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...i,default:n[s]}:r[s]=i,t&&!r[s].source&&(r[s].source=t),r},{})}const Je=oe({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ur(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=oe(e.props??{},e.name)();const t=Object.keys(e.props);e.filterProps=function(r){return zu(r,t,["class","style"])},e.props._as=String,e.setup=function(r,s){const o=Ti();if(!o.value)return e._setup(r,s);const{props:i,provideSubDefaults:a}=Kv(r,r._as??e.name,o),c=e._setup(i,s);return a(),c}}return e}function Fe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?ur:is)(t)}function Ai(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return Fe()({name:n??bt(rt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Je()},setup(r,s){let{slots:o}=s;return()=>{var i;return It(r.tag,{class:[e,r.class],style:r.style},(i=o.default)==null?void 0:i.call(o))}}})}function ef(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const xo="cubic-bezier(0.4, 0, 0.2, 1)",Mv="cubic-bezier(0.0, 0, 0.2, 1)",$v="cubic-bezier(0.4, 0, 1, 1)";function Ge(e,t){const n=hi();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Zt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Ge(e).type;return Yt((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let tf=0,Ir=new WeakMap;function Pi(){const e=Ge("getUid");if(Ir.has(e))return Ir.get(e);{const t=tf++;return Ir.set(e,t),t}}Pi.reset=()=>{tf=0,Ir=new WeakMap};function Bv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?jv(e):Oi(e))return e;e=e.parentElement}return document.scrollingElement}function Kr(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Oi(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Oi(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function jv(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}const Re=typeof window<"u",Ri=Re&&"IntersectionObserver"in window,Vv=Re&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Hv=Re&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports("selector(:focus-visible)");function Uv(e){const{provides:t}=Ge("injectSelf");if(t&&e in t)return t[e]}function zv(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function ht(e){const t=Ge("useRender");t.render=e}const tr=Symbol.for("vuetify:defaults");function Wv(e){return ve(e)}function Ti(){const e=Ee(tr);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function ki(e,t){const n=Ti(),r=ve(e),s=D(()=>{if(Ue(t==null?void 0:t.disabled))return n.value;const i=Ue(t==null?void 0:t.scoped),a=Ue(t==null?void 0:t.reset),c=Ue(t==null?void 0:t.root);let l=qe(r.value,{prev:n.value});if(i)return l;if(a||c){const u=Number(a||1/0);for(let f=0;f<=u&&!(!l||!("prev"in l));f++)l=l.prev;return l&&typeof c=="string"&&c in l&&(l=qe(qe(l,{prev:l}),l[c])),l}return l.prev?qe(l.prev,l):l});return Ft(tr,s),s}function qv(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[Yt(t)])<"u"}function Kv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ti();const r=Ge("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=D(()=>{var c;return(c=n.value)==null?void 0:c[e._as??t]}),o=new Proxy(e,{get(c,l){var f,d,m,h;const u=Reflect.get(c,l);return l==="class"||l==="style"?[(f=s.value)==null?void 0:f[l],u].filter(g=>g!=null):typeof l=="string"&&!qv(r.vnode,l)?((d=s.value)==null?void 0:d[l])??((h=(m=n.value)==null?void 0:m.global)==null?void 0:h[l])??u:u}}),i=xe();Xt(()=>{if(s.value){const c=Object.entries(s.value).filter(l=>{let[u]=l;return u.startsWith(u[0].toUpperCase())});c.length&&(i.value=Object.fromEntries(c))}});function a(){cr(i,()=>{var c;ki(qe(((c=Uv(tr))==null?void 0:c.value)??{},i.value))})}return{props:o,provideSubDefaults:a}}const Es=["sm","md","lg","xl","xxl"],Ao=Symbol.for("vuetify:display"),gl={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},Yv=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gl;return qe(gl,e)};function vl(e){return Re&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function yl(e){return Re&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function bl(e){const t=Re&&!e?window.navigator.userAgent:"ssr";function n(h){return!!t.match(h)}const r=n(/android/i),s=n(/iphone|ipad|ipod/i),o=n(/cordova/i),i=n(/electron/i),a=n(/chrome/i),c=n(/edge/i),l=n(/firefox/i),u=n(/opera/i),f=n(/win/i),d=n(/mac/i),m=n(/linux/i);return{android:r,ios:s,cordova:o,electron:i,chrome:a,edge:c,firefox:l,opera:u,win:f,mac:d,linux:m,touch:Vv,ssr:t==="ssr"}}function Jv(e,t){const{thresholds:n,mobileBreakpoint:r}=Yv(e),s=xe(yl(t)),o=xe(bl(t)),i=ut({}),a=xe(vl(t));function c(){s.value=yl(),a.value=vl()}function l(){c(),o.value=bl()}return Xt(()=>{const u=a.value=n.xxl,S=u?"xs":f?"sm":d?"md":m?"lg":h?"xl":"xxl",w=typeof r=="number"?r:n[r],E=a.valueIt(rf,{...e,class:"mdi"})},Gt=[String,Function,Object,Array],Po=Symbol.for("vuetify:icons"),Ss=oe({icon:{type:Gt},tag:{type:String,required:!0}},"icon"),wl=Fe()({name:"VComponentIcon",props:Ss(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return k(e.tag,null,{default:()=>{var s;return[e.icon?k(r,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}}),nf=ur({name:"VSvgIcon",inheritAttrs:!1,props:Ss(),setup(e,t){let{attrs:n}=t;return()=>k(e.tag,Ie(n,{style:null}),{default:()=>[k("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?k("path",{d:r[0],"fill-opacity":r[1]},null):k("path",{d:r},null)):k("path",{d:e.icon},null)])]})}});ur({name:"VLigatureIcon",props:Ss(),setup(e){return()=>k(e.tag,null,{default:()=>[e.icon]})}});const rf=ur({name:"VClassIcon",props:Ss(),setup(e){return()=>k(e.tag,{class:e.icon},null)}}),Qv={svg:{component:nf},class:{component:rf}};function ey(e){return qe({defaultSet:"mdi",sets:{...Qv,mdi:Zv},aliases:{...Xv,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const ty=e=>{const t=Ee(Po);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:D(()=>{var c;const r=Ue(e);if(!r)return{component:wl};let s=r;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=(c=t.aliases)==null?void 0:c[s.slice(1)])),!s)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(s))return{component:nf,icon:s};if(typeof s!="string")return{component:wl,icon:s};const o=Object.keys(t.sets).find(l=>typeof s=="string"&&s.startsWith(`${l}:`)),i=o?s.slice(o.length+1):s;return{component:t.sets[o??t.defaultSet].component,icon:i}})}},ny={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},ry={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Cs(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const o=Ge("useProxiedModel"),i=ve(e[t]!==void 0?e[t]:n),a=Yt(t),l=D(a!==t?()=>{var f,d,m,h;return e[t],!!(((f=o.vnode.props)!=null&&f.hasOwnProperty(t)||(d=o.vnode.props)!=null&&d.hasOwnProperty(a))&&((m=o.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${t}`)||(h=o.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var f,d;return e[t],!!((f=o.vnode.props)!=null&&f.hasOwnProperty(t)&&((d=o.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)))});cr(()=>!l.value,()=>{pe(()=>e[t],f=>{i.value=f})});const u=D({get(){const f=e[t];return r(l.value?f:i.value)},set(f){const d=s(f),m=ne(l.value?e[t]:i.value);m===d||r(m)===f||(i.value=d,o==null||o.emit(`update:${t}`,d))}});return Object.defineProperty(u,"externalValue",{get:()=>l.value?e[t]:i.value}),u}const _l="$vuetify.",El=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),sf=(e,t,n)=>function(r){for(var s=arguments.length,o=new Array(s>1?s-1:0),i=1;inew Intl.NumberFormat([e.value,t.value],r).format(n)}function zs(e,t,n){const r=Cs(e,t,e[t]??n.value);return r.value=e[t]??n.value,pe(n,s=>{e[t]==null&&(r.value=n.value)}),r}function af(e){return t=>{const n=zs(t,"locale",e.current),r=zs(t,"fallback",e.fallback),s=zs(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,t:sf(n,r,s),n:of(n,r),provide:af({current:n,fallback:r,messages:s})}}}function sy(e){const t=xe((e==null?void 0:e.locale)??"en"),n=xe((e==null?void 0:e.fallback)??"en"),r=ve({en:ny,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:sf(t,n,r),n:of(t,n),provide:af({current:t,fallback:n,messages:r})}}const Yr=Symbol.for("vuetify:locale");function oy(e){return e.name!=null}function iy(e){const t=e!=null&&e.adapter&&oy(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:sy(e),n=ay(t,e);return{...t,...n}}function W0(){const e=Ee(Yr);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function ay(e,t){const n=ve((t==null?void 0:t.rtl)??ry),r=D(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:D(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function Fi(){const e=Ee(Yr);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const on=2.4,Sl=.2126729,Cl=.7151522,xl=.072175,ly=.55,cy=.58,uy=.57,fy=.62,Sr=.03,Al=1.45,dy=5e-4,hy=1.25,my=1.25,Pl=.078,Ol=12.82051282051282,Cr=.06,Rl=.001;function Tl(e,t){const n=(e.r/255)**on,r=(e.g/255)**on,s=(e.b/255)**on,o=(t.r/255)**on,i=(t.g/255)**on,a=(t.b/255)**on;let c=n*Sl+r*Cl+s*xl,l=o*Sl+i*Cl+a*xl;if(c<=Sr&&(c+=(Sr-c)**Al),l<=Sr&&(l+=(Sr-l)**Al),Math.abs(l-c)c){const f=(l**ly-c**cy)*hy;u=f-Rl?0:f>-Pl?f-f*Ol*Cr:f+Cr}return u*100}const nr=Symbol.for("vuetify:theme"),fr=oe({theme:String},"theme"),kn={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-variant":"#BDBDBD","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function py(){var n,r;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kn;if(!e)return{...kn,isDisabled:!0};const t={};for(const[s,o]of Object.entries(e.themes??{})){const i=o.dark||s==="dark"?(n=kn.themes)==null?void 0:n.dark:(r=kn.themes)==null?void 0:r.light;t[s]=qe(i,o)}return qe(kn,{...e,themes:t})}function gy(e){const t=py(e),n=ve(t.defaultTheme),r=ve(t.themes),s=D(()=>{const u={};for(const[f,d]of Object.entries(r.value)){const m=u[f]={...d,colors:{...d.colors}};if(t.variations)for(const h of t.variations.colors){const g=m.colors[h];if(g)for(const S of["lighten","darken"]){const w=S==="lighten"?Nv:Iv;for(const E of Uu(t.variations[S],1))m.colors[`${h}-${S}-${E}`]=kv(w(Wt(g),E))}}for(const h of Object.keys(m.colors)){if(/^on-[a-z]/.test(h)||m.colors[`on-${h}`])continue;const g=`on-${h}`,S=Wt(m.colors[h]),w=Math.abs(Tl(Wt(0),S)),E=Math.abs(Tl(Wt(16777215),S));m.colors[g]=E>Math.min(w,50)?"#fff":"#000"}}return u}),o=D(()=>s.value[n.value]),i=D(()=>{const u=[];o.value.dark&&jt(u,":root",["color-scheme: dark"]),jt(u,":root",kl(o.value));for(const[h,g]of Object.entries(s.value))jt(u,`.v-theme--${h}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...kl(g)]);const f=[],d=[],m=new Set(Object.values(s.value).flatMap(h=>Object.keys(h.colors)));for(const h of m)/^on-[a-z]/.test(h)?jt(d,`.${h}`,[`color: rgb(var(--v-theme-${h})) !important`]):(jt(f,`.bg-${h}`,[`--v-theme-overlay-multiplier: var(--v-theme-${h}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${h})) !important`,`color: rgb(var(--v-theme-on-${h})) !important`]),jt(d,`.text-${h}`,[`color: rgb(var(--v-theme-${h})) !important`]),jt(d,`.border-${h}`,[`--v-border-color: var(--v-theme-${h})`]));return u.push(...f,...d),u.map((h,g)=>g===0?h:` ${h}`).join("")});function a(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function c(u){if(t.isDisabled)return;const f=u._context.provides.usehead;if(f)if(f.push){const d=f.push(a);pe(i,()=>{d.patch(a)})}else Re?(f.addHeadObjs(D(a)),Xt(()=>f.updateDOM())):f.addHeadObjs(a());else{let m=function(){if(typeof document<"u"&&!d){const h=document.createElement("style");h.type="text/css",h.id="vuetify-theme-stylesheet",t.cspNonce&&h.setAttribute("nonce",t.cspNonce),d=h,document.head.appendChild(d)}d&&(d.innerHTML=i.value)},d=Re?document.getElementById("vuetify-theme-stylesheet"):null;pe(i,m,{immediate:!0})}}const l=D(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:c,isDisabled:t.isDisabled,name:n,themes:r,current:o,computedThemes:s,themeClasses:l,styles:i,global:{name:n,current:o}}}function dr(e){Ge("provideTheme");const t=Ee(nr,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=D(()=>e.theme??(t==null?void 0:t.name.value)),r=D(()=>t.isDisabled?void 0:`v-theme--${n.value}`),s={...t,name:n,themeClasses:r};return Ft(nr,s),s}function q0(){Ge("useTheme");const e=Ee(nr,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function jt(e,t,n){e.push(`${t} { -`,...n.map(r=>` ${r}; -`),`} -`)}function kl(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[s,o]of Object.entries(e.colors)){const i=Wt(o);r.push(`--v-theme-${s}: ${i.r},${i.g},${i.b}`),s.startsWith("on-")||r.push(`--v-theme-${s}-overlay-multiplier: ${Dv(o)>.18?t:n}`)}for(const[s,o]of Object.entries(e.variables)){const i=typeof o=="string"&&o.startsWith("#")?Wt(o):void 0,a=i?`${i.r}, ${i.g}, ${i.b}`:void 0;r.push(`--v-${s}: ${a??o}`)}return r}const Oo={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function vy(e,t){const n=[];let r=[];const s=lf(e),o=cf(e),i=s.getDay()-Oo[t.slice(-2).toUpperCase()],a=o.getDay()-Oo[t.slice(-2).toUpperCase()];for(let c=0;co.padStart(2,"0")).join("-"),n=new Date().getTimezoneOffset()/-60,r=n<0?"-":"+",s=Math.abs(n).toString().padStart(2,"0");return`${t}T00:00:00.000${r}${s}:00`}const by=/([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))/;function wy(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(by.test(e)?t=Date.parse(yy(e)):t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Fl=new Date(2e3,0,2);function _y(e){const t=Oo[e.slice(-2).toUpperCase()];return Uu(7).map(n=>{const r=new Date(Fl);return r.setDate(Fl.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"short"}).format(r)})}function Ey(e,t,n){const r=new Date(e);let s={};switch(t){case"fullDateWithWeekday":s={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":s={};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"dayOfMonth":s={day:"numeric"};break;default:s={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,s).format(r)}function Sy(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function Cy(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function xy(e){return e.getFullYear()}function Ay(e){return e.getMonth()}function Py(e){return new Date(e.getFullYear(),0,1)}function Oy(e){return new Date(e.getFullYear(),11,31)}function Ry(e,t){return Ro(e,t[0])&&ky(e,t[1])}function Ty(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Ro(e,t){return e.getTime()>t.getTime()}function ky(e,t){return e.getTime()0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=qe(t,n),{aliases:s={},components:o={},directives:i={}}=r,a=Wv(r.defaults),c=Jv(r.display,r.ssr),l=gy(r.theme),u=ey(r.icons),f=iy(r.locale),d=My(r.date);return{install:h=>{for(const g in i)h.directive(g,i[g]);for(const g in o)h.component(g,o[g]);for(const g in s)h.component(g,ur({...s[g],name:g,aliasName:s[g].name}));if(l.install(h),h.provide(tr,a),h.provide(Ao,c),h.provide(nr,l),h.provide(Po,u),h.provide(Yr,f),h.provide(Nl,d),Re&&r.ssr)if(h.$nuxt)h.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:g}=h;h.mount=function(){const S=g(...arguments);return ft(()=>c.update()),h.mount=g,S}}Pi.reset(),h.mixin({computed:{$vuetify(){return ut({defaults:an.call(this,tr),display:an.call(this,Ao),theme:an.call(this,nr),icons:an.call(this,Po),locale:an.call(this,Yr),date:an.call(this,Nl)})}}})},defaults:a,display:c,theme:l,icons:u,locale:f,date:d}}const $y="3.3.10";uf.version=$y;function an(e){var r,s;const t=this.$,n=((r=t.parent)==null?void 0:r.provides)??((s=t.vnode.appContext)==null?void 0:s.provides);if(n&&e in n)return n[e]}const By=uf({theme:{defaultTheme:"light"},theme:{themes:{light:{colors:{lampa:"#FFFFFF",primary:"#1867C0",secondary:"#5CBBF6",main_theme:"#f7f7f7",scrollbar:"#367F8A",cards:"#F5F5F5",text_carous:"#242424",navigation:"#004D40",numeral:"#3C3C3C"}},dark:{colors:{lampa:"#000000",primary:"#1867C0",secondary:"#5CBBF6",main_theme:"#101311",scrollbar:"#367F8A",cards:"#F5F5F5",text_carous:"#242424",navigation:"#FDF5E6",numeral:"#3C3C3C"}},options:{customProperties:!0}}}}),jy=Nm(),Vy=[{path:"/",component:()=>Ze(()=>import("./DefaultPortal-093fc1b2.js"),["assets/DefaultPortal-093fc1b2.js","assets/ssrBoot-d4b2bdea.js","assets/group-185db83d.js","assets/ssrBoot-14a68332.css","assets/DefaultPortal-83dc86ba.css"]),children:[{path:"/home",name:"HomePage",component:()=>Ze(()=>import("./HomePage-ff3b6f9b.js"),["assets/HomePage-ff3b6f9b.js","assets/group-185db83d.js","assets/ssrBoot-d4b2bdea.js","assets/ssrBoot-14a68332.css","assets/HomePage-8d95f5a4.css"]),meta:{title:"Портал МиФНС по ЦОД №2"}},{path:"/structure",name:"StructurePage",component:()=>Ze(()=>import("./StructurePage-600729d7.js"),[]),meta:{title:"Структура"}},{path:"/providing",name:"ProvidingActivitiesPage",component:()=>Ze(()=>import("./ProvidingActivitiesPage-3ad4ddc5.js"),["assets/ProvidingActivitiesPage-3ad4ddc5.js","assets/group-185db83d.js","assets/ProvidingActivitiesPage-d12aecf2.css"])},{path:"/faq",name:"FAQPage",component:()=>Ze(()=>import("./FAQPage-094f71cb.js"),[])},{path:"/feedback",name:"FeedbackPage",component:()=>Ze(()=>import("./FeedbackPage-b32e0848.js"),[])},{path:"/labor",name:"LaborProtection",component:()=>Ze(()=>import("./LaborProtection-5fe2a3b6.js"),[])},{path:"/securyty",name:"SecurityPage",component:()=>Ze(()=>import("./SecurityPage-454174cb.js"),[])},{path:"/inspection",name:"AboutInspectionPage",component:()=>Ze(()=>import("./AboutInspectionPage-533fd3b9.js"),[])},{path:"/portal",name:"AboutPortalPage",component:()=>Ze(()=>import("./AboutPortalPage-6b5cc9bf.js"),[])}]}],ff=sv({history:wg({}.BASE_URL),routes:Vy});ff.beforeEach((e,t,n)=>{document.title=e.meta.title,n()});function Hy(e){uv(),e.use(By).use(jy).use(ff)}const Uy=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const zy=Fe()({name:"VCardActions",props:Je(),setup(e,t){let{slots:n}=t;return ki({VBtn:{variant:"text"}}),ht(()=>{var r;return k("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),Wy=Ai("v-card-subtitle"),qy=Ai("v-card-title");function Li(e){return Ci(()=>{const t=[],n={};return e.value.background&&(hl(e.value.background)?n.backgroundColor=e.value.background:t.push(`bg-${e.value.background}`)),e.value.text&&(hl(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function df(e,t){const n=D(()=>({text:me(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Li(n);return{textColorClasses:r,textColorStyles:s}}function To(e,t){const n=D(()=>({background:me(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Li(n);return{backgroundColorClasses:r,backgroundColorStyles:s}}const Ky=["x-small","small","default","large","x-large"],hf=oe({size:{type:[String,Number],default:"default"}},"size");function mf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();return Ci(()=>{let n,r;return Wr(Ky,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:ce(e.size),height:ce(e.size)}),{sizeClasses:n,sizeStyles:r}})}const xn=oe({tag:{type:String,default:"div"}},"tag"),Yy=oe({color:String,start:Boolean,end:Boolean,icon:Gt,...Je(),...hf(),...xn({tag:"i"}),...fr()},"VIcon"),pf=Fe()({name:"VIcon",props:Yy(),setup(e,t){let{attrs:n,slots:r}=t;const s=ve(),{themeClasses:o}=dr(e),{iconData:i}=ty(D(()=>s.value||e.icon)),{sizeClasses:a}=mf(e),{textColorClasses:c,textColorStyles:l}=df(Xo(e,"color"));return ht(()=>{var f,d;const u=(f=r.default)==null?void 0:f.call(r);return u&&(s.value=(d=Wu(u).filter(m=>m.type===ir&&m.children&&typeof m.children=="string")[0])==null?void 0:d.children),k(i.value.component,{tag:e.tag,icon:i.value.icon,class:["v-icon","notranslate",o.value,a.value,c.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[a.value?void 0:{fontSize:ce(e.size),height:ce(e.size),width:ce(e.size)},l.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[u]})}),{}}});const Ni=oe({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ii(e){return{dimensionStyles:D(()=>({height:ce(e.height),maxHeight:ce(e.maxHeight),maxWidth:ce(e.maxWidth),minHeight:ce(e.minHeight),minWidth:ce(e.minWidth),width:ce(e.width)}))}}function Jy(e){return{aspectStyles:D(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const gf=oe({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Je(),...Ni()},"VResponsive"),Il=Fe()({name:"VResponsive",props:gf(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=Jy(e),{dimensionStyles:s}=Ii(e);return ht(()=>{var o;return k("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[s.value,e.style]},[k("div",{class:"v-responsive__sizer",style:r.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&k("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),vf=oe({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Dn=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:s,...o}=e,{component:i=Jt,...a}=typeof r=="object"?r:{};return It(i,Ie(typeof r=="string"?{name:s?"":r}:a,o,{disabled:s}),n)};function Gy(e,t){if(!Ri)return;const n=t.modifiers||{},r=t.value,{handler:s,options:o}=typeof r=="object"?r:{handler:r,options:{}},i=new IntersectionObserver(function(){var f;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;const l=(f=e._observe)==null?void 0:f[t.instance.$.uid];if(!l)return;const u=a.some(d=>d.isIntersecting);s&&(!n.quiet||l.init)&&(!n.once||u||l.init)&&s(u,a,c),u&&n.once?yf(e,t):l.init=!0},o);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:i},i.observe(e)}function yf(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Xy={mounted:Gy,unmounted:yf},Zy=Xy,Qy=oe({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...gf(),...Je(),...vf()},"VImg"),bf=Fe()({name:"VImg",directives:{intersect:Zy},props:Qy(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const s=xe(""),o=ve(),i=xe(e.eager?"loading":"idle"),a=xe(),c=xe(),l=D(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),u=D(()=>l.value.aspect||a.value/c.value||0);pe(()=>e.src,()=>{f(i.value!=="idle")}),pe(u,(x,T)=>{!x&&T&&o.value&&S(o.value)}),Lc(()=>f());function f(x){if(!(e.eager&&x)&&!(Ri&&!x&&!e.eager)){if(i.value="loading",l.value.lazySrc){const T=new Image;T.src=l.value.lazySrc,S(T,null)}l.value.src&&ft(()=>{var T,B;if(n("loadstart",((T=o.value)==null?void 0:T.currentSrc)||l.value.src),(B=o.value)!=null&&B.complete){if(o.value.naturalWidth||m(),i.value==="error")return;u.value||S(o.value,null),d()}else u.value||S(o.value),h()})}}function d(){var x;h(),i.value="loaded",n("load",((x=o.value)==null?void 0:x.currentSrc)||l.value.src)}function m(){var x;i.value="error",n("error",((x=o.value)==null?void 0:x.currentSrc)||l.value.src)}function h(){const x=o.value;x&&(s.value=x.currentSrc||x.src)}let g=-1;function S(x){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const B=()=>{clearTimeout(g);const{naturalHeight:U,naturalWidth:O}=x;U||O?(a.value=O,c.value=U):!x.complete&&i.value==="loading"&&T!=null?g=window.setTimeout(B,T):(x.currentSrc.endsWith(".svg")||x.currentSrc.startsWith("data:image/svg+xml"))&&(a.value=1,c.value=1)};B()}const w=D(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),E=()=>{var B;if(!l.value.src||i.value==="idle")return null;const x=k("img",{class:["v-img__img",w.value],src:l.value.src,srcset:l.value.srcset,alt:e.alt,sizes:e.sizes,ref:o,onLoad:d,onError:m},null),T=(B=r.sources)==null?void 0:B.call(r);return k(Dn,{transition:e.transition,appear:!0},{default:()=>[Vr(T?k("picture",{class:"v-img__picture"},[T,x]):x,[[nu,i.value==="loaded"]])]})},b=()=>k(Dn,{transition:e.transition},{default:()=>[l.value.lazySrc&&i.value!=="loaded"&&k("img",{class:["v-img__img","v-img__img--preload",w.value],src:l.value.lazySrc,alt:e.alt},null)]}),L=()=>r.placeholder?k(Dn,{transition:e.transition,appear:!0},{default:()=>[(i.value==="loading"||i.value==="error"&&!r.error)&&k("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,H=()=>r.error?k(Dn,{transition:e.transition,appear:!0},{default:()=>[i.value==="error"&&k("div",{class:"v-img__error"},[r.error()])]}):null,Y=()=>e.gradient?k("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,J=xe(!1);{const x=pe(u,T=>{T&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{J.value=!0})}),x())})}return ht(()=>{const[x]=Il.filterProps(e);return Vr(k(Il,Ie({class:["v-img",{"v-img--booting":!J.value},e.class],style:[{width:ce(e.width==="auto"?a.value:e.width)},e.style]},x,{aspectRatio:u.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>k(Ne,null,[k(E,null,null),k(b,null,null),k(Y,null,null),k(L,null,null),k(H,null,null)]),default:r.default}),[[oi("intersect"),{handler:f,options:e.options},null,{once:!0}]])}),{currentSrc:s,image:o,state:i,naturalWidth:a,naturalHeight:c}}}),eb=[null,"default","comfortable","compact"],Di=oe({density:{type:String,default:"default",validator:e=>eb.includes(e)}},"density");function wf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();return{densityClasses:D(()=>`${t}--density-${e.density}`)}}const Mi=oe({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function $i(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();return{roundedClasses:D(()=>{const r=me(e)?e.value:e.rounded,s=[];if(r===!0||r==="")s.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))s.push(`rounded-${o}`);return s})}}const tb=["elevated","flat","tonal","outlined","text","plain"];function _f(e,t){return k(Ne,null,[e&&k("span",{key:"overlay",class:`${t}__overlay`},null),k("span",{key:"underlay",class:`${t}__underlay`},null)])}const Ef=oe({color:String,variant:{type:String,default:"elevated",validator:e=>tb.includes(e)}},"variant");function Sf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();const n=D(()=>{const{variant:o}=Ue(e);return`${t}--variant-${o}`}),{colorClasses:r,colorStyles:s}=Li(D(()=>{const{variant:o,color:i}=Ue(e);return{[["elevated","flat"].includes(o)?"background":"text"]:i}}));return{colorClasses:r,colorStyles:s,variantClasses:n}}const nb=oe({start:Boolean,end:Boolean,icon:Gt,image:String,...Je(),...Di(),...Mi(),...hf(),...xn(),...fr(),...Ef({variant:"flat"})},"VAvatar"),Dl=Fe()({name:"VAvatar",props:nb(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=dr(e),{colorClasses:s,colorStyles:o,variantClasses:i}=Sf(e),{densityClasses:a}=wf(e),{roundedClasses:c}=$i(e),{sizeClasses:l,sizeStyles:u}=mf(e);return ht(()=>k(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,s.value,a.value,c.value,l.value,i.value,e.class],style:[o.value,u.value,e.style]},{default:()=>{var f;return[e.image?k(bf,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?k(pf,{key:"icon",icon:e.icon},null):(f=n.default)==null?void 0:f.call(n),_f(!1,"v-avatar")]}})),{}}}),rb=oe({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Jr=Fe(!1)({name:"VDefaultsProvider",props:rb(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:s,reset:o,root:i,scoped:a}=rs(e);return ki(r,{reset:o,root:i,scoped:a,disabled:s}),()=>{var c;return(c=n.default)==null?void 0:c.call(n)}}}),sb=oe({appendAvatar:String,appendIcon:Gt,prependAvatar:String,prependIcon:Gt,subtitle:String,title:String,...Je(),...Di()},"VCardItem"),ob=Fe()({name:"VCardItem",props:sb(),setup(e,t){let{slots:n}=t;return ht(()=>{var l;const r=!!(e.prependAvatar||e.prependIcon),s=!!(r||n.prepend),o=!!(e.appendAvatar||e.appendIcon),i=!!(o||n.append),a=!!(e.title||n.title),c=!!(e.subtitle||n.subtitle);return k("div",{class:["v-card-item",e.class],style:e.style},[s&&k("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?k(Jr,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},n.prepend):r&&k(Dl,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),k("div",{class:"v-card-item__content"},[a&&k(qy,{key:"title"},{default:()=>{var u;return[((u=n.title)==null?void 0:u.call(n))??e.title]}}),c&&k(Wy,{key:"subtitle"},{default:()=>{var u;return[((u=n.subtitle)==null?void 0:u.call(n))??e.subtitle]}}),(l=n.default)==null?void 0:l.call(n)]),i&&k("div",{key:"append",class:"v-card-item__append"},[n.append?k(Jr,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},n.append):o&&k(Dl,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),ib=Ai("v-card-text"),ab=oe({border:[Boolean,Number,String]},"border");function lb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();return{borderClasses:D(()=>{const r=me(e)?e.value:e.border,s=[];if(r===!0||r==="")s.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))s.push(`border-${o}`);return s})}}const cb=oe({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function ub(e){return{elevationClasses:D(()=>{const n=me(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}function fb(e,t){const n=ve(),r=xe(!1);if(Ri){const s=new IntersectionObserver(o=>{e==null||e(o,s),r.value=!!o.find(i=>i.isIntersecting)},t);ri(()=>{s.disconnect()}),pe(n,(o,i)=>{i&&(s.unobserve(i),r.value=!1),o&&s.observe(o)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const Ml={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Cf=oe({location:String},"location");function xf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=Fi();return{locationStyles:D(()=>{if(!e.location)return{};const{side:o,align:i}=Co(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function a(l){return n?n(l):0}const c={};return o!=="center"&&(t?c[Ml[o]]=`calc(100% - ${a(o)}px)`:c[o]=0),i!=="center"?t?c[Ml[i]]=`calc(100% - ${a(i)}px)`:c[i]=0:(o==="center"?c.top=c.left="50%":c[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",c.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),c})}}const db=oe({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Je(),...Cf({location:"top"}),...Mi(),...xn(),...fr()},"VProgressLinear"),hb=Fe()({name:"VProgressLinear",props:db(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Cs(e,"modelValue"),{isRtl:s,rtlClasses:o}=Fi(),{themeClasses:i}=dr(e),{locationStyles:a}=xf(e),{textColorClasses:c,textColorStyles:l}=df(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:f}=To(D(()=>e.bgColor||e.color)),{backgroundColorClasses:d,backgroundColorStyles:m}=To(e,"color"),{roundedClasses:h}=$i(e),{intersectionRef:g,isIntersecting:S}=fb(),w=D(()=>parseInt(e.max,10)),E=D(()=>parseInt(e.height,10)),b=D(()=>parseFloat(e.bufferValue)/w.value*100),L=D(()=>parseFloat(r.value)/w.value*100),H=D(()=>s.value!==e.reverse),Y=D(()=>e.indeterminate?"fade-transition":"slide-x-transition"),J=D(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function x(T){if(!g.value)return;const{left:B,right:U,width:O}=g.value.getBoundingClientRect(),j=H.value?O-T.clientX+(U-O):T.clientX-B;r.value=Math.round(j/O*w.value)}return ht(()=>k(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&S.value,"v-progress-linear--reverse":H.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,i.value,o.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?ce(E.value):0,"--v-progress-linear-height":ce(E.value),...a.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:L.value,onClick:e.clickable&&x},{default:()=>[e.stream&&k("div",{key:"stream",class:["v-progress-linear__stream",c.value],style:{...l.value,[H.value?"left":"right"]:ce(-E.value),borderTop:`${ce(E.value/2)} dotted`,opacity:J.value,top:`calc(50% - ${ce(E.value/4)})`,width:ce(100-b.value,"%"),"--v-progress-linear-stream-to":ce(E.value*(H.value?1:-1))}},null),k("div",{class:["v-progress-linear__background",u.value],style:[f.value,{opacity:J.value,width:ce(e.stream?b.value:100,"%")}]},null),k(Jt,{name:Y.value},{default:()=>[e.indeterminate?k("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(T=>k("div",{key:T,class:["v-progress-linear__indeterminate",T,d.value],style:m.value},null))]):k("div",{class:["v-progress-linear__determinate",d.value],style:[m.value,{width:ce(L.value,"%")}]},null)]}),n.default&&k("div",{class:"v-progress-linear__content"},[n.default({value:L.value,buffer:b.value})])]})),{}}}),mb=oe({loading:[Boolean,String]},"loader");function pb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();return{loaderClasses:D(()=>({[`${t}--loading`]:e.loading}))}}function gb(e,t){var r;let{slots:n}=t;return k("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||k(hb,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const vb=["static","relative","fixed","absolute","sticky"],yb=oe({position:{type:String,validator:e=>vb.includes(e)}},"position");function bb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt();return{positionClasses:D(()=>e.position?`${t}--${e.position}`:void 0)}}function wb(){var e,t;return(t=(e=Ge("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function _b(e,t){const n=ph("RouterLink"),r=D(()=>!!(e.href||e.to)),s=D(()=>(r==null?void 0:r.value)||ll(t,"click")||ll(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:s,href:Xo(e,"href")};const o=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:s,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&D(()=>{var i,a;return e.exact?(i=o.isExactActive)==null?void 0:i.value:(a=o.isActive)==null?void 0:a.value}),href:D(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const Eb=oe({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Ws=!1;function Sb(e,t){let n=!1,r,s;Re&&(ft(()=>{window.addEventListener("popstate",o),r=e==null?void 0:e.beforeEach((i,a,c)=>{Ws?n?t(c):c():setTimeout(()=>n?t(c):c()),Ws=!0}),s=e==null?void 0:e.afterEach(()=>{Ws=!1})}),ze(()=>{window.removeEventListener("popstate",o),r==null||r(),s==null||s()}));function o(i){var a;(a=i.state)!=null&&a.replaced||(n=!0,setTimeout(()=>n=!1))}}const ko=Symbol("rippleStop"),Cb=80;function $l(e,t){e.style.transform=t,e.style.webkitTransform=t}function Fo(e){return e.constructor.name==="TouchEvent"}function Af(e){return e.constructor.name==="KeyboardEvent"}const xb=function(e,t){var f;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,s=0;if(!Af(e)){const d=t.getBoundingClientRect(),m=Fo(e)?e.touches[e.touches.length-1]:e;r=m.clientX-d.left,s=m.clientY-d.top}let o=0,i=.3;(f=t._ripple)!=null&&f.circle?(i=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt((r-o)**2+(s-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const a=`${(t.clientWidth-o*2)/2}px`,c=`${(t.clientHeight-o*2)/2}px`,l=n.center?a:`${r-o}px`,u=n.center?c:`${s-o}px`;return{radius:o,scale:i,x:l,y:u,centerX:a,centerY:c}},Gr={show(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=t==null?void 0:t._ripple)!=null&&m.enabled))return;const r=document.createElement("span"),s=document.createElement("span");r.appendChild(s),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:o,scale:i,x:a,y:c,centerX:l,centerY:u}=xb(e,t,n),f=`${o*2}px`;s.className="v-ripple__animation",s.style.width=f,s.style.height=f,t.appendChild(r);const d=window.getComputedStyle(t);d&&d.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),$l(s,`translate(${a}, ${c}) scale3d(${i},${i},${i})`),s.dataset.activated=String(performance.now()),setTimeout(()=>{s.classList.remove("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--in"),$l(s,`translate(${l}, ${u}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),s=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var a;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((a=n.parentNode)==null?void 0:a.parentNode)===e&&e.removeChild(n.parentNode)},300)},s)}};function Pf(e){return typeof e>"u"||!!e}function rr(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[ko])){if(e[ko]=!0,Fo(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Af(e),n._ripple.class&&(t.class=n._ripple.class),Fo(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Gr.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},Cb)}else Gr.show(e,n,t)}}function Bl(e){e[ko]=!0}function He(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{He(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Gr.hide(t)}}function Of(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let sr=!1;function Rf(e){!sr&&(e.keyCode===il.enter||e.keyCode===il.space)&&(sr=!0,rr(e))}function Tf(e){sr=!1,He(e)}function kf(e){sr&&(sr=!1,He(e))}function Ff(e,t,n){const{value:r,modifiers:s}=t,o=Pf(r);if(o||Gr.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=s.center,e._ripple.circle=s.circle,_o(r)&&r.class&&(e._ripple.class=r.class),o&&!n){if(s.stop){e.addEventListener("touchstart",Bl,{passive:!0}),e.addEventListener("mousedown",Bl);return}e.addEventListener("touchstart",rr,{passive:!0}),e.addEventListener("touchend",He,{passive:!0}),e.addEventListener("touchmove",Of,{passive:!0}),e.addEventListener("touchcancel",He),e.addEventListener("mousedown",rr),e.addEventListener("mouseup",He),e.addEventListener("mouseleave",He),e.addEventListener("keydown",Rf),e.addEventListener("keyup",Tf),e.addEventListener("blur",kf),e.addEventListener("dragstart",He,{passive:!0})}else!o&&n&&Lf(e)}function Lf(e){e.removeEventListener("mousedown",rr),e.removeEventListener("touchstart",rr),e.removeEventListener("touchend",He),e.removeEventListener("touchmove",Of),e.removeEventListener("touchcancel",He),e.removeEventListener("mouseup",He),e.removeEventListener("mouseleave",He),e.removeEventListener("keydown",Rf),e.removeEventListener("keyup",Tf),e.removeEventListener("dragstart",He),e.removeEventListener("blur",kf)}function Ab(e,t){Ff(e,t,!1)}function Pb(e){delete e._ripple,Lf(e)}function Ob(e,t){if(t.value===t.oldValue)return;const n=Pf(t.oldValue);Ff(e,t,n)}const Rb={mounted:Ab,unmounted:Pb,updated:Ob},Tb=oe({appendAvatar:String,appendIcon:Gt,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Gt,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...ab(),...Je(),...Di(),...Ni(),...cb(),...mb(),...Cf(),...yb(),...Mi(),...Eb(),...xn(),...fr(),...Ef({variant:"elevated"})},"VCard"),kb=Fe()({name:"VCard",directives:{Ripple:Rb},props:Tb(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:s}=dr(e),{borderClasses:o}=lb(e),{colorClasses:i,colorStyles:a,variantClasses:c}=Sf(e),{densityClasses:l}=wf(e),{dimensionStyles:u}=Ii(e),{elevationClasses:f}=ub(e),{loaderClasses:d}=pb(e),{locationStyles:m}=xf(e),{positionClasses:h}=bb(e),{roundedClasses:g}=$i(e),S=_b(e,n),w=D(()=>e.link!==!1&&S.isLink.value),E=D(()=>!e.disabled&&e.link!==!1&&(e.link||S.isClickable.value));return ht(()=>{const b=w.value?"a":e.tag,L=!!(r.title||e.title),H=!!(r.subtitle||e.subtitle),Y=L||H,J=!!(r.append||e.appendAvatar||e.appendIcon),x=!!(r.prepend||e.prependAvatar||e.prependIcon),T=!!(r.image||e.image),B=Y||x||J,U=!!(r.text||e.text);return Vr(k(b,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":E.value},s.value,o.value,i.value,l.value,f.value,d.value,h.value,g.value,c.value,e.class],style:[a.value,u.value,m.value,e.style],href:S.href.value,onClick:E.value&&S.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var O;return[T&&k("div",{key:"image",class:"v-card__image"},[r.image?k(Jr,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):k(bf,{key:"image-img",cover:!0,src:e.image},null)]),k(gb,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:r.loader}),B&&k(ob,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),U&&k(ib,{key:"text"},{default:()=>{var j;return[((j=r.text)==null?void 0:j.call(r))??e.text]}}),(O=r.default)==null?void 0:O.call(r),r.actions&&k(zy,null,{default:r.actions}),_f(E.value,"v-card")]}}),[[oi("ripple"),E.value&&e.ripple]])}),{}}});const Nf=(()=>Es.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),If=(()=>Es.reduce((e,t)=>{const n="offset"+bt(t);return e[n]={type:[String,Number],default:null},e},{}))(),Df=(()=>Es.reduce((e,t)=>{const n="order"+bt(t);return e[n]={type:[String,Number],default:null},e},{}))(),jl={col:Object.keys(Nf),offset:Object.keys(If),order:Object.keys(Df)};function Fb(e,t,n){let r=e;if(!(n==null||n===!1)){if(t){const s=t.replace(e,"");r+=`-${s}`}return e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}}const Lb=["auto","start","end","center","baseline","stretch"],Nb=oe({cols:{type:[Boolean,String,Number],default:!1},...Nf,offset:{type:[String,Number],default:null},...If,order:{type:[String,Number],default:null},...Df,alignSelf:{type:String,default:null,validator:e=>Lb.includes(e)},...Je(),...xn()},"VCol"),Ib=Fe()({name:"VCol",props:Nb(),setup(e,t){let{slots:n}=t;const r=D(()=>{const s=[];let o;for(o in jl)jl[o].forEach(a=>{const c=e[a],l=Fb(o,a,c);l&&s.push(l)});const i=s.some(a=>a.startsWith("v-col-"));return s.push({"v-col":!i||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),s});return()=>{var s;return It(e.tag,{class:[r.value,e.class],style:e.style},(s=n.default)==null?void 0:s.call(n))}}}),Bi=["start","end","center"],Mf=["space-between","space-around","space-evenly"];function ji(e,t){return Es.reduce((n,r)=>{const s=e+bt(r);return n[s]=t(),n},{})}const Db=[...Bi,"baseline","stretch"],$f=e=>Db.includes(e),Bf=ji("align",()=>({type:String,default:null,validator:$f})),Mb=[...Bi,...Mf],jf=e=>Mb.includes(e),Vf=ji("justify",()=>({type:String,default:null,validator:jf})),$b=[...Bi,...Mf,"stretch"],Hf=e=>$b.includes(e),Uf=ji("alignContent",()=>({type:String,default:null,validator:Hf})),Vl={align:Object.keys(Bf),justify:Object.keys(Vf),alignContent:Object.keys(Uf)},Bb={align:"align",justify:"justify",alignContent:"align-content"};function jb(e,t,n){let r=Bb[e];if(n!=null){if(t){const s=t.replace(e,"");r+=`-${s}`}return r+=`-${n}`,r.toLowerCase()}}const Vb=oe({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:$f},...Bf,justify:{type:String,default:null,validator:jf},...Vf,alignContent:{type:String,default:null,validator:Hf},...Uf,...Je(),...xn()},"VRow"),Hb=Fe()({name:"VRow",props:Vb(),setup(e,t){let{slots:n}=t;const r=D(()=>{const s=[];let o;for(o in Vl)Vl[o].forEach(i=>{const a=e[i],c=jb(o,i,a);c&&s.push(c)});return s.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),s});return()=>{var s;return It(e.tag,{class:["v-row",r.value,e.class],style:e.style},(s=n.default)==null?void 0:s.call(n))}}});const Ub=oe({target:Object},"v-dialog-transition"),zb=Fe()({name:"VDialogTransition",props:Ub(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(s){s.style.pointerEvents="none",s.style.visibility="hidden"},async onEnter(s,o){var d;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),s.style.visibility="";const{x:i,y:a,sx:c,sy:l,speed:u}=Ul(e.target,s),f=In(s,[{transform:`translate(${i}px, ${a}px) scale(${c}, ${l})`,opacity:0},{}],{duration:225*u,easing:Mv});(d=Hl(s))==null||d.forEach(m=>{In(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:xo})}),f.finished.then(()=>o())},onAfterEnter(s){s.style.removeProperty("pointer-events")},onBeforeLeave(s){s.style.pointerEvents="none"},async onLeave(s,o){var d;await new Promise(m=>requestAnimationFrame(m));const{x:i,y:a,sx:c,sy:l,speed:u}=Ul(e.target,s);In(s,[{},{transform:`translate(${i}px, ${a}px) scale(${c}, ${l})`,opacity:0}],{duration:125*u,easing:$v}).finished.then(()=>o()),(d=Hl(s))==null||d.forEach(m=>{In(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:xo})})},onAfterLeave(s){s.style.removeProperty("pointer-events")}};return()=>e.target?k(Jt,Ie({name:"dialog-transition"},r,{css:!1}),n):k(Jt,{name:"dialog-transition"},n)}});function Hl(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function Ul(e,t){const n=e.getBoundingClientRect(),r=Ju(t),[s,o]=getComputedStyle(t).transformOrigin.split(" ").map(w=>parseFloat(w)),[i,a]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let c=n.left+n.width/2;i==="left"||a==="left"?c-=n.width/2:(i==="right"||a==="right")&&(c+=n.width/2);let l=n.top+n.height/2;i==="top"||a==="top"?l-=n.height/2:(i==="bottom"||a==="bottom")&&(l+=n.height/2);const u=n.width/r.width,f=n.height/r.height,d=Math.max(1,u,f),m=u/d||0,h=f/d||0,g=r.width*r.height/(window.innerWidth*window.innerHeight),S=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:c-(s+r.left),y:l-(o+r.top),sx:m,sy:h,speed:S}}function qs(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Wb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zl(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,s=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,o=n==="top"?0:n==="bottom"?t.height:n;return qs({x:s,y:o},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,s=n==="left"?0:n==="right"?t.width:n,o=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return qs({x:s,y:o},t)}return qs({x:t.width/2,y:t.height/2},t)}const zf={static:Yb,connected:Gb},qb=oe({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in zf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Kb(e,t){const n=ve({}),r=ve();Re&&(cr(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var i,a;pe(()=>e.locationStrategy,o),ze(()=>{r.value=void 0}),typeof e.locationStrategy=="function"?r.value=(i=e.locationStrategy(t,e,n))==null?void 0:i.updateLocation:r.value=(a=zf[e.locationStrategy](t,e,n))==null?void 0:a.updateLocation}),window.addEventListener("resize",s,{passive:!0}),ze(()=>{window.removeEventListener("resize",s),r.value=void 0}));function s(o){var i;(i=r.value)==null||i.call(r,o)}return{contentStyles:n,updateLocation:r}}function Yb(){}function Jb(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=Ju(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function Gb(e,t,n){zv(e.activatorEl.value)&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:s,preferredOrigin:o}=Ci(()=>{const h=Co(t.location,e.isRtl.value),g=t.origin==="overlap"?h:t.origin==="auto"?Hs(h):Co(t.origin,e.isRtl.value);return h.side===g.side&&h.align===Us(g).align?{preferredAnchor:ul(h),preferredOrigin:ul(g)}:{preferredAnchor:h,preferredOrigin:g}}),[i,a,c,l]=["minWidth","minHeight","maxWidth","maxHeight"].map(h=>D(()=>{const g=parseFloat(t[h]);return isNaN(g)?1/0:g})),u=D(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const h=t.offset.split(" ").map(parseFloat);return h.length<2&&h.push(0),h}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let f=!1;const d=new ResizeObserver(()=>{f&&m()});pe([e.activatorEl,e.contentEl],(h,g)=>{let[S,w]=h,[E,b]=g;E&&d.unobserve(E),S&&d.observe(S),b&&d.unobserve(b),w&&d.observe(w)},{immediate:!0}),ze(()=>{d.disconnect()});function m(){if(f=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>f=!0)}),!e.activatorEl.value||!e.contentEl.value)return;const h=e.activatorEl.value.getBoundingClientRect(),g=Jb(e.contentEl.value,e.isRtl.value),S=Kr(e.contentEl.value),w=12;S.length||(S.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const E=S.reduce((U,O)=>{const j=O.getBoundingClientRect(),te=new pn({x:O===document.documentElement?0:j.x,y:O===document.documentElement?0:j.y,width:O.clientWidth,height:O.clientHeight});return U?new pn({x:Math.max(U.left,te.left),y:Math.max(U.top,te.top),width:Math.min(U.right,te.right)-Math.max(U.left,te.left),height:Math.min(U.bottom,te.bottom)-Math.max(U.top,te.top)}):te},void 0);E.x+=w,E.y+=w,E.width-=w*2,E.height-=w*2;let b={anchor:s.value,origin:o.value};function L(U){const O=new pn(g),j=zl(U.anchor,h),te=zl(U.origin,O);let{x:he,y:Z}=Wb(j,te);switch(U.anchor.side){case"top":Z-=u.value[0];break;case"bottom":Z+=u.value[0];break;case"left":he-=u.value[0];break;case"right":he+=u.value[0];break}switch(U.anchor.align){case"top":Z-=u.value[1];break;case"bottom":Z+=u.value[1];break;case"left":he-=u.value[1];break;case"right":he+=u.value[1];break}return O.x+=he,O.y+=Z,O.width=Math.min(O.width,c.value),O.height=Math.min(O.height,l.value),{overflows:dl(O,E),x:he,y:Z}}let H=0,Y=0;const J={x:0,y:0},x={x:!1,y:!1};let T=-1;for(;!(T++>10);){const{x:U,y:O,overflows:j}=L(b);H+=U,Y+=O,g.x+=U,g.y+=O;{const te=fl(b.anchor),he=j.x.before||j.x.after,Z=j.y.before||j.y.after;let ie=!1;if(["x","y"].forEach(X=>{if(X==="x"&&he&&!x.x||X==="y"&&Z&&!x.y){const se={anchor:{...b.anchor},origin:{...b.origin}},_e=X==="x"?te==="y"?Us:Hs:te==="y"?Hs:Us;se.anchor=_e(se.anchor),se.origin=_e(se.origin);const{overflows:Oe}=L(se);(Oe[X].before<=j[X].before&&Oe[X].after<=j[X].after||Oe[X].before+Oe[X].after<(j[X].before+j[X].after)/2)&&(b=se,ie=x[X]=!0)}}),ie)continue}j.x.before&&(H+=j.x.before,g.x+=j.x.before),j.x.after&&(H-=j.x.after,g.x-=j.x.after),j.y.before&&(Y+=j.y.before,g.y+=j.y.before),j.y.after&&(Y-=j.y.after,g.y-=j.y.after);{const te=dl(g,E);J.x=E.width-te.x.before-te.x.after,J.y=E.height-te.y.before-te.y.after,H+=te.x.before,g.x+=te.x.before,Y+=te.y.before,g.y+=te.y.before}break}const B=fl(b.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:ce(Ks(Y)),left:e.isRtl.value?void 0:ce(Ks(H)),right:e.isRtl.value?ce(Ks(-H)):void 0,minWidth:ce(B==="y"?Math.min(i.value,h.width):i.value),maxWidth:ce(Wl(Eo(J.x,i.value===1/0?0:i.value,c.value))),maxHeight:ce(Wl(Eo(J.y,a.value===1/0?0:a.value,l.value)))}),{available:J,contentBox:g}}return pe(()=>[s.value,o.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>m()),ft(()=>{const h=m();if(!h)return;const{available:g,contentBox:S}=h;S.height>g.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function Ks(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Wl(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Lo=!0;const Xr=[];function Xb(e){!Lo||Xr.length?(Xr.push(e),No()):(Lo=!1,e(),No())}let ql=-1;function No(){cancelAnimationFrame(ql),ql=requestAnimationFrame(()=>{const e=Xr.shift();e&&e(),Xr.length?No():Lo=!0})}const Dr={none:null,close:e0,block:t0,reposition:n0},Zb=oe({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Dr}},"VOverlay-scroll-strategies");function Qb(e,t){if(!Re)return;let n;Xt(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=or(),await ft(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=Dr[e.scrollStrategy])==null||r.call(Dr,t,e,n)}))}),ze(()=>{n==null||n.stop()})}function e0(e){function t(n){e.isActive.value=!1}Wf(e.activatorEl.value??e.contentEl.value,t)}function t0(e,t){var i;const n=(i=e.root.value)==null?void 0:i.offsetParent,r=[...new Set([...Kr(e.activatorEl.value,t.contained?n:void 0),...Kr(e.contentEl.value,t.contained?n:void 0)])].filter(a=>!a.classList.contains("v-overlay-scroll-blocked")),s=window.innerWidth-document.documentElement.offsetWidth,o=(a=>Oi(a)&&a)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((a,c)=>{a.style.setProperty("--v-body-scroll-x",ce(-a.scrollLeft)),a.style.setProperty("--v-body-scroll-y",ce(-a.scrollTop)),a!==document.documentElement&&a.style.setProperty("--v-scrollbar-offset",ce(s)),a.classList.add("v-overlay-scroll-blocked")}),ze(()=>{r.forEach((a,c)=>{const l=parseFloat(a.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(a.style.getPropertyValue("--v-body-scroll-y"));a.style.removeProperty("--v-body-scroll-x"),a.style.removeProperty("--v-body-scroll-y"),a.style.removeProperty("--v-scrollbar-offset"),a.classList.remove("v-overlay-scroll-blocked"),a.scrollLeft=-l,a.scrollTop=-u}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function n0(e,t,n){let r=!1,s=-1,o=-1;function i(a){Xb(()=>{var u,f;const c=performance.now();(f=(u=e.updateLocation).value)==null||f.call(u,a),r=(performance.now()-c)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?a=>a():requestIdleCallback)(()=>{n.run(()=>{Wf(e.activatorEl.value??e.contentEl.value,a=>{r?(cancelAnimationFrame(s),s=requestAnimationFrame(()=>{s=requestAnimationFrame(()=>{i(a)})})):i(a)})})}),ze(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(s)})}function Wf(e,t){const n=[document,...Kr(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),ze(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const Io=Symbol.for("vuetify:v-menu"),r0=oe({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function s0(e,t){const n={},r=s=>()=>{if(!Re)return Promise.resolve(!0);const o=s==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(i=>{const a=parseInt(e[s]??0,10);n[s]=window.setTimeout(()=>{t==null||t(o),i(o)},a)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const o0=oe({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...r0()},"VOverlay-activator");function i0(e,t){let{isActive:n,isTop:r}=t;const s=ve();let o=!1,i=!1,a=!0;const c=D(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),l=D(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:u,runCloseDelay:f}=s0(e,b=>{b===(e.openOnHover&&o||c.value&&i)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==b&&(a=!0),n.value=b)}),d={onClick:b=>{b.stopPropagation(),s.value=b.currentTarget||b.target,n.value=!n.value},onMouseenter:b=>{var L;(L=b.sourceCapabilities)!=null&&L.firesTouchEvents||(o=!0,s.value=b.currentTarget||b.target,u())},onMouseleave:b=>{o=!1,f()},onFocus:b=>{Hv&&!b.target.matches(":focus-visible")||(i=!0,b.stopPropagation(),s.value=b.currentTarget||b.target,u())},onBlur:b=>{i=!1,b.stopPropagation(),f()}},m=D(()=>{const b={};return l.value&&(b.onClick=d.onClick),e.openOnHover&&(b.onMouseenter=d.onMouseenter,b.onMouseleave=d.onMouseleave),c.value&&(b.onFocus=d.onFocus,b.onBlur=d.onBlur),b}),h=D(()=>{const b={};if(e.openOnHover&&(b.onMouseenter=()=>{o=!0,u()},b.onMouseleave=()=>{o=!1,f()}),c.value&&(b.onFocusin=()=>{i=!0,u()},b.onFocusout=()=>{i=!1,f()}),e.closeOnContentClick){const L=Ee(Io,null);b.onClick=()=>{n.value=!1,L==null||L.closeParents()}}return b}),g=D(()=>{const b={};return e.openOnHover&&(b.onMouseenter=()=>{a&&(o=!0,a=!1,u())},b.onMouseleave=()=>{o=!1,f()}),b});pe(r,b=>{b&&(e.openOnHover&&!o&&(!c.value||!i)||c.value&&!i&&(!e.openOnHover||!o))&&(n.value=!1)});const S=ve();Xt(()=>{S.value&&ft(()=>{s.value=gv(S.value)})});const w=Ge("useActivator");let E;return pe(()=>!!e.activator,b=>{b&&Re?(E=or(),E.run(()=>{a0(e,w,{activatorEl:s,activatorEvents:m})})):E&&E.stop()},{flush:"post",immediate:!0}),ze(()=>{E==null||E.stop()}),{activatorEl:s,activatorRef:S,activatorEvents:m,contentEvents:h,scrimEvents:g}}function a0(e,t,n){let{activatorEl:r,activatorEvents:s}=n;pe(()=>e.activator,(c,l)=>{if(l&&c!==l){const u=a(l);u&&i(u)}c&&ft(()=>o())},{immediate:!0}),pe(()=>e.activatorProps,()=>{o()}),ze(()=>{i()});function o(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Ev(c,Ie(s.value,l))}function i(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;c&&Sv(c,Ie(s.value,l))}function a(){var u,f;let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,l;if(c)if(c==="parent"){let d=(f=(u=t==null?void 0:t.proxy)==null?void 0:u.$el)==null?void 0:f.parentNode;for(;d.hasAttribute("data-no-activator");)d=d.parentNode;l=d}else typeof c=="string"?l=document.querySelector(c):"$el"in c?l=c.$el:l=c;return r.value=(l==null?void 0:l.nodeType)===Node.ELEMENT_NODE?l:null,r.value}}function l0(){if(!Re)return xe(!1);const{ssr:e}=Gv();if(e){const t=xe(!1);return ni(()=>{t.value=!0}),t}else return xe(!0)}const c0=oe({eager:Boolean},"lazy");function u0(e,t){const n=xe(!1),r=D(()=>n.value||e.eager||t.value);pe(t,()=>n.value=!0);function s(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:s}}function qf(){const t=Ge("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Kl=Symbol.for("vuetify:stack"),Fn=ut([]);function f0(e,t,n){const r=Ge("useStack"),s=!n,o=Ee(Kl,void 0),i=ut({activeChildren:new Set});Ft(Kl,i);const a=xe(+t.value);cr(e,()=>{var f;const u=(f=Fn.at(-1))==null?void 0:f[1];a.value=u?u+10:+t.value,s&&Fn.push([r.uid,a.value]),o==null||o.activeChildren.add(r.uid),ze(()=>{if(s){const d=ne(Fn).findIndex(m=>m[0]===r.uid);Fn.splice(d,1)}o==null||o.activeChildren.delete(r.uid)})});const c=xe(!0);s&&Xt(()=>{var f;const u=((f=Fn.at(-1))==null?void 0:f[0])===r.uid;setTimeout(()=>c.value=u)});const l=D(()=>!i.activeChildren.size);return{globalTop:Yo(c),localTop:l,stackStyles:D(()=>({zIndex:a.value}))}}function d0(e){return{teleportTarget:D(()=>{const n=e.value;if(n===!0||!Re)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let s=r.querySelector(":scope > .v-overlay-container");return s||(s=document.createElement("div"),s.className="v-overlay-container",r.appendChild(s)),s})}}function h0(){return!0}function Kf(e,t,n){if(!e||Yf(e,n)===!1)return!1;const r=ef(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const s=(typeof n.value=="object"&&n.value.include||(()=>[]))();return s.push(t),!s.some(o=>o==null?void 0:o.contains(e.target))}function Yf(e,t){return(typeof t.value=="object"&&t.value.closeConditional||h0)(e)}function m0(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&Kf(e,t,n)&&setTimeout(()=>{Yf(e,n)&&r&&r(e)},0)}function Yl(e,t){const n=ef(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const p0={mounted(e,t){const n=s=>m0(s,e,t),r=s=>{e._clickOutside.lastMousedownWasOutside=Kf(s,e,t)};Yl(e,s=>{s.addEventListener("click",n,!0),s.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){e._clickOutside&&(Yl(e,n=>{var o;if(!n||!((o=e._clickOutside)!=null&&o[t.instance.$.uid]))return;const{onClick:r,onMousedown:s}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",s,!0)}),delete e._clickOutside[t.instance.$.uid])}};function g0(e){const{modelValue:t,color:n,...r}=e;return k(Jt,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&k("div",Ie({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const Jf=oe({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...o0(),...Je(),...Ni(),...c0(),...qb(),...Zb(),...fr(),...vf()},"VOverlay"),Jl=Fe()({name:"VOverlay",directives:{ClickOutside:p0},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Jf()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:s}=t;const o=Cs(e,"modelValue"),i=D({get:()=>o.value,set:se=>{se&&e.disabled||(o.value=se)}}),{teleportTarget:a}=d0(D(()=>e.attach||e.contained)),{themeClasses:c}=dr(e),{rtlClasses:l,isRtl:u}=Fi(),{hasContent:f,onAfterLeave:d}=u0(e,i),m=To(D(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:h,localTop:g,stackStyles:S}=f0(i,Xo(e,"zIndex"),e._disableGlobalStack),{activatorEl:w,activatorRef:E,activatorEvents:b,contentEvents:L,scrimEvents:H}=i0(e,{isActive:i,isTop:g}),{dimensionStyles:Y}=Ii(e),J=l0(),{scopeId:x}=qf();pe(()=>e.disabled,se=>{se&&(i.value=!1)});const T=ve(),B=ve(),{contentStyles:U,updateLocation:O}=Kb(e,{isRtl:u,contentEl:B,activatorEl:w,isActive:i});Qb(e,{root:T,contentEl:B,activatorEl:w,isActive:i,updateLocation:O});function j(se){s("click:outside",se),e.persistent?X():i.value=!1}function te(){return i.value&&h.value}Re&&pe(i,se=>{se?window.addEventListener("keydown",he):window.removeEventListener("keydown",he)},{immediate:!0});function he(se){var _e,Oe;se.key==="Escape"&&h.value&&(e.persistent?X():(i.value=!1,(_e=B.value)!=null&&_e.contains(document.activeElement)&&((Oe=w.value)==null||Oe.focus())))}const Z=wb();cr(()=>e.closeOnBack,()=>{Sb(Z,se=>{h.value&&i.value?(se(!1),e.persistent?X():i.value=!1):se()})});const ie=ve();pe(()=>i.value&&(e.absolute||e.contained)&&a.value==null,se=>{if(se){const _e=Bv(T.value);_e&&_e!==document.scrollingElement&&(ie.value=_e.scrollTop)}});function X(){e.noClickAnimation||B.value&&In(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:xo})}return ht(()=>{var se;return k(Ne,null,[(se=n.activator)==null?void 0:se.call(n,{isActive:i.value,props:Ie({ref:E},b.value,e.activatorProps)}),J.value&&f.value&&k(Mh,{disabled:!a.value,to:a.value},{default:()=>[k("div",Ie({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":i.value,"v-overlay--contained":e.contained},c.value,l.value,e.class],style:[S.value,{top:ce(ie.value)},e.style],ref:T},x,r),[k(g0,Ie({color:m,modelValue:i.value&&!!e.scrim},H.value),null),k(Dn,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterLeave:()=>{d(),s("afterLeave")}},{default:()=>{var _e;return[Vr(k("div",Ie({ref:B,class:["v-overlay__content",e.contentClass],style:[Y.value,U.value]},L.value,e.contentProps),[(_e=n.default)==null?void 0:_e.call(n,{isActive:i})]),[[nu,i.value],[oi("click-outside"),{handler:j,closeConditional:te,include:()=>[w.value]}]])]}})])]})])}),{activatorEl:w,animateClick:X,contentEl:B,globalTop:h,localTop:g,updateLocation:O}}}),Ys=Symbol("Forwarded refs");function Js(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function v0(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r!0},setup(e,t){let{slots:n}=t;const r=Cs(e,"modelValue"),{scopeId:s}=qf(),o=Pi(),i=D(()=>e.id||`v-menu-${o}`),a=ve(),c=Ee(Io,null),l=xe(0);Ft(Io,{register(){++l.value},unregister(){--l.value},closeParents(){setTimeout(()=>{l.value||(r.value=!1,c==null||c.closeParents())},40)}}),pe(r,h=>{h?c==null||c.register():c==null||c.unregister()});function u(){c==null||c.closeParents()}function f(h){var g,S;e.disabled||h.key==="Tab"&&(r.value=!1,(S=(g=a.value)==null?void 0:g.activatorEl)==null||S.focus())}function d(h){var S;if(e.disabled)return;const g=(S=a.value)==null?void 0:S.contentEl;g&&r.value?h.key==="ArrowDown"?(h.preventDefault(),So(g,"next")):h.key==="ArrowUp"&&(h.preventDefault(),So(g,"prev")):["ArrowDown","ArrowUp"].includes(h.key)&&(r.value=!0,h.preventDefault(),setTimeout(()=>setTimeout(()=>d(h))))}const m=D(()=>Ie({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":i.value,onKeydown:d},e.activatorProps));return ht(()=>{const[h]=Jl.filterProps(e);return k(Jl,Ie({ref:a,class:["v-menu",e.class],style:e.style},h,{modelValue:r.value,"onUpdate:modelValue":g=>r.value=g,absolute:!0,activatorProps:m.value,"onClick:outside":u,onKeydown:f},s),{activator:n.activator,default:function(){for(var g=arguments.length,S=new Array(g),w=0;w{var E;return[(E=n.default)==null?void 0:E.call(n,...S)]}})}})}),v0({id:i,ΨopenChildren:l},a)}}),w0={name:"myHelper",props:{pretext:{type:Object,default:()=>{}}},data:()=>({fav:!0,menu:!1,message:!1,hints:!0})},_0={class:"pa-0 align-self-center"};function E0(e,t,n,r,s,o){return cs(),Bh("div",_0,[k(b0,{modelValue:e.menu,"onUpdate:modelValue":t[1]||(t[1]=i=>e.menu=i),"close-on-content-click":!1,"nudge-width":500,"offset-x":""},{activator:ln(({on:i,attrs:a})=>[k(pf,Ie(a,gh(i),{size:"large",color:"indigo",icon:"mdi-owl",onClick:t[0]||(t[0]=c=>e.menu=!e.menu)}),null,16)]),default:ln(()=>[k(kb,{class:"whmy overflow-auto overflow-x-hidden"},{default:ln(()=>[k(Hb,{class:"ma-3"},{default:ln(()=>[k(Ib,null,{default:ln(()=>[fi("pre",null,""+tc(n.pretext)+` -`,1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const S0=Uy(w0,[["render",E0]]),C0=[S0];var Gf=is({name:"Vue3Autocounter",interval:null,props:{startAmount:{type:Number,default:0},endAmount:{type:Number,default:0,required:!0},duration:{type:Number,default:3,validator(e){return e>=1}},autoinit:{type:Boolean,default:!0},prefix:{type:String,default:""},suffix:{type:String,default:""},separator:{type:String,default:","},decimalSeparator:{type:String,default:"."},decimals:{type:Number,default:0,validator(e){return e>=0}}},data(){return{timestamp:0,startTimestamp:0,currentAmount:0,currentStartAmount:0,currentDuration:0,paused:!1,remaining:0,animationFrame:0}},mounted(){this.currentAmount=this.startAmount,this.currentStartAmount=this.startAmount,this.currentDuration=this.duration*1e3,this.remaining=this.duration*1e3,this.autoinit?this.start():this.paused=!0,this.$emit("mounted")},unmounted(){this.cancelAnimation()},watch:{startAmount(){this.reset()},endAmount(){this.reset()},duration(){this.reset()}},computed:{isCountingUp(){return this.endAmount>this.startAmount},displayedAmount(){return`${this.prefix}${this.formatedAmount}${this.suffix}`},formatedAmount(){const e=/(\d+)(\d{3})/;let t=this.currentAmount.toFixed(this.decimals);t+="";let n=t.split("."),r=n[0],s=n.length>1?this.decimalSeparator+n[1]:"",o=!isNaN(parseFloat(this.separator));if(this.separator&&!o)for(;e.test(r);)r=r.replace(e,"$1"+this.separator+"$2");return r+s}},methods:{start(){this.cancelAnimation(),this.currentStartAmount=this.startAmount,this.startTimestamp=null,this.currentDuration=this.duration*1e3,this.paused=!1,this.animationFrame=window.requestAnimationFrame(this.counting)},pause(){this.paused||(this.cancelAnimation(),this.paused=!0)},resume(){this.paused&&(this.startTimestamp=null,this.currentDuration=+this.remaining,this.currentStartAmount=+this.currentAmount,this.animationFrame=window.requestAnimationFrame(this.counting),this.paused=!1)},reset(){this.paused=!1,this.startTimestamp=null,this.cancelAnimation(),this.currentAmount=this.startAmount,this.autoinit?this.start():this.paused=!0},counting(e){this.timestamp=e,this.startTimestamp||(this.startTimestamp=e);let t=e-this.startTimestamp;this.remaining=this.currentDuration-t,this.isCountingUp?(this.currentAmount=this.currentStartAmount+(this.endAmount-this.currentStartAmount)*(t/this.currentDuration),this.currentAmount=this.currentAmount>this.endAmount?this.endAmount:this.currentAmount):(this.currentAmount=this.currentStartAmount-(this.currentStartAmount-this.endAmount)*(t/this.currentDuration),this.currentAmount=this.currentAmount{this.$emit("finished")},1e3)},cancelAnimation(){this.animationFrame&&window.cancelAnimationFrame(this.animationFrame)}}});function x0(e,t,n,r,s,o){return cs(),ui("span",null,tc(e.displayedAmount),1)}Gf.render=x0;var A0=(()=>{const e=Gf;return e.install=t=>{t.component("Vue3Autocounter",e)},e})();const P0=A0,xs=Om(av);C0.forEach(e=>{xs.component(e.name,e)});xs.component("vue3-autocounter",P0);Hy(xs);xs.mount("#app");export{pb as $,Jf as A,Fe as B,Cs as C,qf as D,Ie as E,ht as F,Jl as G,k as H,Re as I,Jr as J,v0 as K,wv as L,Je as M,vf as N,Vr as O,nu as P,Dn as Q,fr as R,W0 as S,pf as T,Zt as U,zb as V,H0 as W,Gt as X,mb as Y,Mi as Z,dr as _,ut as a,ja as a$,$i as a0,Fi as a1,To as a2,Xo as a3,df as a4,Ju as a5,In as a6,gb as a7,Ne as a8,qu as a9,ne as aA,ur as aB,xn as aC,Ai as aD,ab as aE,Ni as aF,cb as aG,Eb as aH,Ef as aI,Rb as aJ,_b as aK,lb as aL,Sf as aM,Ii as aN,ub as aO,z0 as aP,_f as aQ,Dl as aR,ki as aS,So as aT,M0 as aU,bf as aV,Bh as aW,O0 as aX,tc as aY,F0 as aZ,rl as a_,zu as aa,xo as ab,j0 as ac,cr as ad,Di as ae,wf as af,Zy as ag,B0 as ah,oi as ai,Nt as aj,U0 as ak,Uy as al,Si as am,Ru as an,cs as ao,ui as ap,ln as aq,Hh as ar,qy as as,ib as at,Hb as au,Ib as av,zy as aw,hb as ax,kb as ay,fi as az,ce as b,mh as b0,hf as b1,Eo as b2,Uu as b3,Xt as b4,k0 as b5,R0 as b6,mn as b7,V0 as b8,Gv as b9,pv as bA,wb as ba,cl as bb,Jt as bc,vv as bd,L0 as be,q0 as bf,N0 as bg,bs as bh,Wy as bi,$0 as bj,c0 as bk,u0 as bl,Qy as bm,I0 as bn,Cf as bo,yb as bp,xf as bq,bb as br,D0 as bs,gv as bt,Yo as bu,mf as bv,fb as bw,T0 as bx,It as by,rt as bz,D as c,Ge as d,Ft as e,Vs as f,km as g,Pi as h,Ee as i,ih as j,oh as k,ri as l,cu as m,_i as n,ni as o,oe as p,hi as q,ve as r,xe as s,Lc as t,me as u,Ue as v,pe as w,Tt as x,gn as y,ft as z}; diff --git a/front/dist/assets/index-555541c7.css b/front/dist/assets/index-555541c7.css deleted file mode 100644 index 6c62fc671..000000000 --- a/front/dist/assets/index-555541c7.css +++ /dev/null @@ -1,5 +0,0 @@ -::-webkit-scrollbar{width:1px;height:6px}::-webkit-scrollbar-track{-webkit-border-radius:6px;border-radius:6px}::-webkit-scrollbar-thumb{-webkit-border-radius:6px;border-radius:6px;background:rgb(var(--v-theme-scrollbar))}::-webkit-scrollbar-thumb:window-inactive{background:rgb(var(--v-theme-scrollbar))}@font-face{font-family:Material Design Icons;src:url(/assets/materialdesignicons-webfont-861aea05.eot?v=7.0.96);src:url(/assets/materialdesignicons-webfont-861aea05.eot?#iefix&v=7.0.96) format("embedded-opentype"),url(/assets/materialdesignicons-webfont-e52d60f6.woff2?v=7.0.96) format("woff2"),url(/assets/materialdesignicons-webfont-48d3eec6.woff?v=7.0.96) format("woff"),url(/assets/materialdesignicons-webfont-bd725a7a.ttf?v=7.0.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-check:before{content:"󰅠"}.mdi-cloud-check-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-refresh:before{content:"󰔪"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-variant:before{content:"󰙎"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-people:before{content:"󰎏"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename-box:before{content:"󰑕"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! - * ress.css • v2.0.4 - * MIT License - * github.com/filipelinhares/ress - */html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:before,:after{background-repeat:no-repeat;box-sizing:inherit}:before,:after{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit],[role=button]{cursor:pointer;color:inherit}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{outline:1px dotted ButtonText}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}::-ms-clear,::-ms-reveal{display:none}img{border-style:none}progress{vertical-align:baseline}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true]{cursor:default}.dialog-transition-enter-active,.dialog-bottom-transition-enter-active,.dialog-top-transition-enter-active{transition-duration:225ms!important;transition-timing-function:cubic-bezier(0,0,.2,1)!important}.dialog-transition-leave-active,.dialog-bottom-transition-leave-active,.dialog-top-transition-leave-active{transition-duration:125ms!important;transition-timing-function:cubic-bezier(.4,0,1,1)!important}.dialog-transition-enter-active,.dialog-transition-leave-active,.dialog-bottom-transition-enter-active,.dialog-bottom-transition-leave-active,.dialog-top-transition-enter-active,.dialog-top-transition-leave-active{transition-property:transform,opacity!important;pointer-events:none}.dialog-transition-enter-from,.dialog-transition-leave-to{transform:scale(.9);opacity:0}.dialog-transition-enter-to,.dialog-transition-leave-from{opacity:1}.dialog-bottom-transition-enter-from,.dialog-bottom-transition-leave-to{transform:translateY(calc(50vh + 50%))}.dialog-top-transition-enter-from,.dialog-top-transition-leave-to{transform:translateY(calc(-50vh - 50%))}.picker-transition-enter-active,.picker-reverse-transition-enter-active,.picker-transition-leave-active,.picker-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-move,.picker-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-enter-from,.picker-transition-leave-to,.picker-reverse-transition-enter-from,.picker-reverse-transition-leave-to{opacity:0}.picker-transition-leave-from,.picker-transition-leave-active,.picker-transition-leave-to,.picker-reverse-transition-leave-from,.picker-reverse-transition-leave-active,.picker-reverse-transition-leave-to{position:absolute!important}.picker-transition-enter-active,.picker-transition-leave-active,.picker-reverse-transition-enter-active,.picker-reverse-transition-leave-active{transition-property:transform,opacity!important}.picker-transition-enter-active,.picker-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-enter-from{transform:translateY(100%)}.picker-transition-leave-to{transform:translateY(-100%)}.picker-reverse-transition-enter-active,.picker-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-reverse-transition-enter-from{transform:translateY(-100%)}.picker-reverse-transition-leave-to{transform:translateY(100%)}.expand-transition-enter-active,.expand-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-transition-enter-active,.expand-transition-leave-active{transition-property:height!important}.expand-x-transition-enter-active,.expand-x-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-x-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-x-transition-enter-active,.expand-x-transition-leave-active{transition-property:width!important}.scale-transition-enter-active,.scale-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-transition-leave-to{opacity:0}.scale-transition-leave-active{transition-duration:.1s!important}.scale-transition-enter-from{opacity:0;transform:scale(0)}.scale-transition-enter-active,.scale-transition-leave-active{transition-property:transform,opacity!important}.scale-rotate-transition-enter-active,.scale-rotate-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-transition-leave-to{opacity:0}.scale-rotate-transition-leave-active{transition-duration:.1s!important}.scale-rotate-transition-enter-from{opacity:0;transform:scale(0) rotate(-45deg)}.scale-rotate-transition-enter-active,.scale-rotate-transition-leave-active{transition-property:transform,opacity!important}.scale-rotate-reverse-transition-enter-active,.scale-rotate-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-reverse-transition-leave-to{opacity:0}.scale-rotate-reverse-transition-leave-active{transition-duration:.1s!important}.scale-rotate-reverse-transition-enter-from{opacity:0;transform:scale(0) rotate(45deg)}.scale-rotate-reverse-transition-enter-active,.scale-rotate-reverse-transition-leave-active{transition-property:transform,opacity!important}.message-transition-enter-active,.message-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.message-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.message-transition-enter-from,.message-transition-leave-to{opacity:0;transform:translateY(-15px)}.message-transition-leave-from,.message-transition-leave-active{position:absolute}.message-transition-enter-active,.message-transition-leave-active{transition-property:transform,opacity!important}.slide-y-transition-enter-active,.slide-y-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-transition-enter-from,.slide-y-transition-leave-to{opacity:0;transform:translateY(-15px)}.slide-y-transition-enter-active,.slide-y-transition-leave-active{transition-property:transform,opacity!important}.slide-y-reverse-transition-enter-active,.slide-y-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-reverse-transition-enter-from,.slide-y-reverse-transition-leave-to{opacity:0;transform:translateY(15px)}.slide-y-reverse-transition-enter-active,.slide-y-reverse-transition-leave-active{transition-property:transform,opacity!important}.scroll-y-transition-enter-active,.scroll-y-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-transition-enter-from,.scroll-y-transition-leave-to{opacity:0}.scroll-y-transition-enter-from{transform:translateY(-15px)}.scroll-y-transition-leave-to{transform:translateY(15px)}.scroll-y-transition-enter-active,.scroll-y-transition-leave-active{transition-property:transform,opacity!important}.scroll-y-reverse-transition-enter-active,.scroll-y-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-reverse-transition-enter-from,.scroll-y-reverse-transition-leave-to{opacity:0}.scroll-y-reverse-transition-enter-from{transform:translateY(15px)}.scroll-y-reverse-transition-leave-to{transform:translateY(-15px)}.scroll-y-reverse-transition-enter-active,.scroll-y-reverse-transition-leave-active{transition-property:transform,opacity!important}.scroll-x-transition-enter-active,.scroll-x-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-transition-enter-from,.scroll-x-transition-leave-to{opacity:0}.scroll-x-transition-enter-from{transform:translate(-15px)}.scroll-x-transition-leave-to{transform:translate(15px)}.scroll-x-transition-enter-active,.scroll-x-transition-leave-active{transition-property:transform,opacity!important}.scroll-x-reverse-transition-enter-active,.scroll-x-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-reverse-transition-enter-from,.scroll-x-reverse-transition-leave-to{opacity:0}.scroll-x-reverse-transition-enter-from{transform:translate(15px)}.scroll-x-reverse-transition-leave-to{transform:translate(-15px)}.scroll-x-reverse-transition-enter-active,.scroll-x-reverse-transition-leave-active{transition-property:transform,opacity!important}.slide-x-transition-enter-active,.slide-x-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-transition-enter-from,.slide-x-transition-leave-to{opacity:0;transform:translate(-15px)}.slide-x-transition-enter-active,.slide-x-transition-leave-active{transition-property:transform,opacity!important}.slide-x-reverse-transition-enter-active,.slide-x-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-reverse-transition-enter-from,.slide-x-reverse-transition-leave-to{opacity:0;transform:translate(15px)}.slide-x-reverse-transition-enter-active,.slide-x-reverse-transition-leave-active{transition-property:transform,opacity!important}.fade-transition-enter-active,.fade-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fade-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fade-transition-enter-from,.fade-transition-leave-to{opacity:0!important}.fade-transition-enter-active,.fade-transition-leave-active{transition-property:opacity!important}.fab-transition-enter-active,.fab-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fab-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fab-transition-enter-from,.fab-transition-leave-to{transform:scale(0) rotate(-45deg)}.fab-transition-enter-active,.fab-transition-leave-active{transition-property:transform!important}.v-locale--is-rtl{direction:rtl}.v-locale--is-ltr{direction:ltr}.blockquote{padding:16px 0 16px 24px;font-size:18px;font-weight:300}html{font-family:Roboto,sans-serif;line-height:1.5;font-size:1rem;overflow-x:hidden;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:rgba(0,0,0,0)}html.overflow-y-hidden{overflow-y:hidden!important}:root{--v-theme-overlay-multiplier: 1;--v-scrollbar-offset: 0px}@supports (-webkit-touch-callout: none){body{cursor:pointer}}@media only print{.hidden-print-only{display:none!important}}@media only screen{.hidden-screen-only{display:none!important}}@media (max-width: 599.98px){.hidden-xs{display:none!important}}@media (min-width: 600px) and (max-width: 959.98px){.hidden-sm{display:none!important}}@media (min-width: 960px) and (max-width: 1279.98px){.hidden-md{display:none!important}}@media (min-width: 1280px) and (max-width: 1919.98px){.hidden-lg{display:none!important}}@media (min-width: 1920px) and (max-width: 2559.98px){.hidden-xl{display:none!important}}@media (min-width: 2560px){.hidden-xxl{display:none!important}}@media (min-width: 600px){.hidden-sm-and-up{display:none!important}}@media (min-width: 960px){.hidden-md-and-up{display:none!important}}@media (min-width: 1280px){.hidden-lg-and-up{display:none!important}}@media (min-width: 1920px){.hidden-xl-and-up{display:none!important}}@media (max-width: 959.98px){.hidden-sm-and-down{display:none!important}}@media (max-width: 1279.98px){.hidden-md-and-down{display:none!important}}@media (max-width: 1919.98px){.hidden-lg-and-down{display:none!important}}@media (max-width: 2559.98px){.hidden-xl-and-down{display:none!important}}.elevation-24{box-shadow:0 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 46px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-23{box-shadow:0 11px 14px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 23px 36px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 44px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-22{box-shadow:0 10px 14px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 22px 35px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 8px 42px 7px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-21{box-shadow:0 10px 13px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 21px 33px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 8px 40px 7px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-20{box-shadow:0 10px 13px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 20px 31px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 8px 38px 7px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-19{box-shadow:0 9px 12px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 19px 29px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 7px 36px 6px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-18{box-shadow:0 9px 11px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 18px 28px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 7px 34px 6px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-17{box-shadow:0 8px 11px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 17px 26px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 32px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-16{box-shadow:0 8px 10px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 16px 24px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 30px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-15{box-shadow:0 8px 9px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 15px 22px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 28px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-14{box-shadow:0 7px 9px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 14px 21px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 5px 26px 4px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-13{box-shadow:0 7px 8px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 13px 19px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 5px 24px 4px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-12{box-shadow:0 7px 8px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 12px 17px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 5px 22px 4px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-11{box-shadow:0 6px 7px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 11px 15px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 4px 20px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-10{box-shadow:0 6px 6px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 10px 14px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 4px 18px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-9{box-shadow:0 5px 6px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 9px 12px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 16px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-8{box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-7{box-shadow:0 4px 5px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 7px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 2px 16px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-6{box-shadow:0 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 6px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 18px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-5{box-shadow:0 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 5px 8px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 14px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-4{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-3{box-shadow:0 3px 3px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 3px 4px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 8px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-2{box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-1{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-0{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.d-sr-only,.d-sr-only-focusable:not(:focus){border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.float-none{float:none!important}.float-left{float:left!important}.float-right{float:right!important}.v-locale--is-rtl .float-end{float:left!important}.v-locale--is-rtl .float-start,.v-locale--is-ltr .float-end{float:right!important}.v-locale--is-ltr .float-start{float:left!important}.flex-fill,.flex-1-1{flex:1 1 auto!important}.flex-1-0{flex:1 0 auto!important}.flex-0-1{flex:0 1 auto!important}.flex-0-0{flex:0 0 auto!important}.flex-1-1-100{flex:1 1 100%!important}.flex-1-0-100{flex:1 0 100%!important}.flex-0-1-100{flex:0 1 100%!important}.flex-0-0-100{flex:0 0 100%!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-space-between{justify-content:space-between!important}.justify-space-around{justify-content:space-around!important}.justify-space-evenly{justify-content:space-evenly!important}.align-start{align-items:flex-start!important}.align-end{align-items:flex-end!important}.align-center{align-items:center!important}.align-baseline{align-items:baseline!important}.align-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-space-between{align-content:space-between!important}.align-content-space-around{align-content:space-around!important}.align-content-space-evenly{align-content:space-evenly!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-6{order:6!important}.order-7{order:7!important}.order-8{order:8!important}.order-9{order:9!important}.order-10{order:10!important}.order-11{order:11!important}.order-12{order:12!important}.order-last{order:13!important}.ma-0{margin:0!important}.ma-1{margin:4px!important}.ma-2{margin:8px!important}.ma-3{margin:12px!important}.ma-4{margin:16px!important}.ma-5{margin:20px!important}.ma-6{margin:24px!important}.ma-7{margin:28px!important}.ma-8{margin:32px!important}.ma-9{margin:36px!important}.ma-10{margin:40px!important}.ma-11{margin:44px!important}.ma-12{margin:48px!important}.ma-13{margin:52px!important}.ma-14{margin:56px!important}.ma-15{margin:60px!important}.ma-16{margin:64px!important}.ma-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:4px!important;margin-left:4px!important}.mx-2{margin-right:8px!important;margin-left:8px!important}.mx-3{margin-right:12px!important;margin-left:12px!important}.mx-4{margin-right:16px!important;margin-left:16px!important}.mx-5{margin-right:20px!important;margin-left:20px!important}.mx-6{margin-right:24px!important;margin-left:24px!important}.mx-7{margin-right:28px!important;margin-left:28px!important}.mx-8{margin-right:32px!important;margin-left:32px!important}.mx-9{margin-right:36px!important;margin-left:36px!important}.mx-10{margin-right:40px!important;margin-left:40px!important}.mx-11{margin-right:44px!important;margin-left:44px!important}.mx-12{margin-right:48px!important;margin-left:48px!important}.mx-13{margin-right:52px!important;margin-left:52px!important}.mx-14{margin-right:56px!important;margin-left:56px!important}.mx-15{margin-right:60px!important;margin-left:60px!important}.mx-16{margin-right:64px!important;margin-left:64px!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:4px!important;margin-bottom:4px!important}.my-2{margin-top:8px!important;margin-bottom:8px!important}.my-3{margin-top:12px!important;margin-bottom:12px!important}.my-4{margin-top:16px!important;margin-bottom:16px!important}.my-5{margin-top:20px!important;margin-bottom:20px!important}.my-6{margin-top:24px!important;margin-bottom:24px!important}.my-7{margin-top:28px!important;margin-bottom:28px!important}.my-8{margin-top:32px!important;margin-bottom:32px!important}.my-9{margin-top:36px!important;margin-bottom:36px!important}.my-10{margin-top:40px!important;margin-bottom:40px!important}.my-11{margin-top:44px!important;margin-bottom:44px!important}.my-12{margin-top:48px!important;margin-bottom:48px!important}.my-13{margin-top:52px!important;margin-bottom:52px!important}.my-14{margin-top:56px!important;margin-bottom:56px!important}.my-15{margin-top:60px!important;margin-bottom:60px!important}.my-16{margin-top:64px!important;margin-bottom:64px!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:4px!important}.mt-2{margin-top:8px!important}.mt-3{margin-top:12px!important}.mt-4{margin-top:16px!important}.mt-5{margin-top:20px!important}.mt-6{margin-top:24px!important}.mt-7{margin-top:28px!important}.mt-8{margin-top:32px!important}.mt-9{margin-top:36px!important}.mt-10{margin-top:40px!important}.mt-11{margin-top:44px!important}.mt-12{margin-top:48px!important}.mt-13{margin-top:52px!important}.mt-14{margin-top:56px!important}.mt-15{margin-top:60px!important}.mt-16{margin-top:64px!important}.mt-auto{margin-top:auto!important}.mr-0{margin-right:0!important}.mr-1{margin-right:4px!important}.mr-2{margin-right:8px!important}.mr-3{margin-right:12px!important}.mr-4{margin-right:16px!important}.mr-5{margin-right:20px!important}.mr-6{margin-right:24px!important}.mr-7{margin-right:28px!important}.mr-8{margin-right:32px!important}.mr-9{margin-right:36px!important}.mr-10{margin-right:40px!important}.mr-11{margin-right:44px!important}.mr-12{margin-right:48px!important}.mr-13{margin-right:52px!important}.mr-14{margin-right:56px!important}.mr-15{margin-right:60px!important}.mr-16{margin-right:64px!important}.mr-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:4px!important}.mb-2{margin-bottom:8px!important}.mb-3{margin-bottom:12px!important}.mb-4{margin-bottom:16px!important}.mb-5{margin-bottom:20px!important}.mb-6{margin-bottom:24px!important}.mb-7{margin-bottom:28px!important}.mb-8{margin-bottom:32px!important}.mb-9{margin-bottom:36px!important}.mb-10{margin-bottom:40px!important}.mb-11{margin-bottom:44px!important}.mb-12{margin-bottom:48px!important}.mb-13{margin-bottom:52px!important}.mb-14{margin-bottom:56px!important}.mb-15{margin-bottom:60px!important}.mb-16{margin-bottom:64px!important}.mb-auto{margin-bottom:auto!important}.ml-0{margin-left:0!important}.ml-1{margin-left:4px!important}.ml-2{margin-left:8px!important}.ml-3{margin-left:12px!important}.ml-4{margin-left:16px!important}.ml-5{margin-left:20px!important}.ml-6{margin-left:24px!important}.ml-7{margin-left:28px!important}.ml-8{margin-left:32px!important}.ml-9{margin-left:36px!important}.ml-10{margin-left:40px!important}.ml-11{margin-left:44px!important}.ml-12{margin-left:48px!important}.ml-13{margin-left:52px!important}.ml-14{margin-left:56px!important}.ml-15{margin-left:60px!important}.ml-16{margin-left:64px!important}.ml-auto{margin-left:auto!important}.ms-0{margin-inline-start:0px!important}.ms-1{margin-inline-start:4px!important}.ms-2{margin-inline-start:8px!important}.ms-3{margin-inline-start:12px!important}.ms-4{margin-inline-start:16px!important}.ms-5{margin-inline-start:20px!important}.ms-6{margin-inline-start:24px!important}.ms-7{margin-inline-start:28px!important}.ms-8{margin-inline-start:32px!important}.ms-9{margin-inline-start:36px!important}.ms-10{margin-inline-start:40px!important}.ms-11{margin-inline-start:44px!important}.ms-12{margin-inline-start:48px!important}.ms-13{margin-inline-start:52px!important}.ms-14{margin-inline-start:56px!important}.ms-15{margin-inline-start:60px!important}.ms-16{margin-inline-start:64px!important}.ms-auto{margin-inline-start:auto!important}.me-0{margin-inline-end:0px!important}.me-1{margin-inline-end:4px!important}.me-2{margin-inline-end:8px!important}.me-3{margin-inline-end:12px!important}.me-4{margin-inline-end:16px!important}.me-5{margin-inline-end:20px!important}.me-6{margin-inline-end:24px!important}.me-7{margin-inline-end:28px!important}.me-8{margin-inline-end:32px!important}.me-9{margin-inline-end:36px!important}.me-10{margin-inline-end:40px!important}.me-11{margin-inline-end:44px!important}.me-12{margin-inline-end:48px!important}.me-13{margin-inline-end:52px!important}.me-14{margin-inline-end:56px!important}.me-15{margin-inline-end:60px!important}.me-16{margin-inline-end:64px!important}.me-auto{margin-inline-end:auto!important}.ma-n1{margin:-4px!important}.ma-n2{margin:-8px!important}.ma-n3{margin:-12px!important}.ma-n4{margin:-16px!important}.ma-n5{margin:-20px!important}.ma-n6{margin:-24px!important}.ma-n7{margin:-28px!important}.ma-n8{margin:-32px!important}.ma-n9{margin:-36px!important}.ma-n10{margin:-40px!important}.ma-n11{margin:-44px!important}.ma-n12{margin:-48px!important}.ma-n13{margin:-52px!important}.ma-n14{margin:-56px!important}.ma-n15{margin:-60px!important}.ma-n16{margin:-64px!important}.mx-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-n16{margin-right:-64px!important;margin-left:-64px!important}.my-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-n1{margin-top:-4px!important}.mt-n2{margin-top:-8px!important}.mt-n3{margin-top:-12px!important}.mt-n4{margin-top:-16px!important}.mt-n5{margin-top:-20px!important}.mt-n6{margin-top:-24px!important}.mt-n7{margin-top:-28px!important}.mt-n8{margin-top:-32px!important}.mt-n9{margin-top:-36px!important}.mt-n10{margin-top:-40px!important}.mt-n11{margin-top:-44px!important}.mt-n12{margin-top:-48px!important}.mt-n13{margin-top:-52px!important}.mt-n14{margin-top:-56px!important}.mt-n15{margin-top:-60px!important}.mt-n16{margin-top:-64px!important}.mr-n1{margin-right:-4px!important}.mr-n2{margin-right:-8px!important}.mr-n3{margin-right:-12px!important}.mr-n4{margin-right:-16px!important}.mr-n5{margin-right:-20px!important}.mr-n6{margin-right:-24px!important}.mr-n7{margin-right:-28px!important}.mr-n8{margin-right:-32px!important}.mr-n9{margin-right:-36px!important}.mr-n10{margin-right:-40px!important}.mr-n11{margin-right:-44px!important}.mr-n12{margin-right:-48px!important}.mr-n13{margin-right:-52px!important}.mr-n14{margin-right:-56px!important}.mr-n15{margin-right:-60px!important}.mr-n16{margin-right:-64px!important}.mb-n1{margin-bottom:-4px!important}.mb-n2{margin-bottom:-8px!important}.mb-n3{margin-bottom:-12px!important}.mb-n4{margin-bottom:-16px!important}.mb-n5{margin-bottom:-20px!important}.mb-n6{margin-bottom:-24px!important}.mb-n7{margin-bottom:-28px!important}.mb-n8{margin-bottom:-32px!important}.mb-n9{margin-bottom:-36px!important}.mb-n10{margin-bottom:-40px!important}.mb-n11{margin-bottom:-44px!important}.mb-n12{margin-bottom:-48px!important}.mb-n13{margin-bottom:-52px!important}.mb-n14{margin-bottom:-56px!important}.mb-n15{margin-bottom:-60px!important}.mb-n16{margin-bottom:-64px!important}.ml-n1{margin-left:-4px!important}.ml-n2{margin-left:-8px!important}.ml-n3{margin-left:-12px!important}.ml-n4{margin-left:-16px!important}.ml-n5{margin-left:-20px!important}.ml-n6{margin-left:-24px!important}.ml-n7{margin-left:-28px!important}.ml-n8{margin-left:-32px!important}.ml-n9{margin-left:-36px!important}.ml-n10{margin-left:-40px!important}.ml-n11{margin-left:-44px!important}.ml-n12{margin-left:-48px!important}.ml-n13{margin-left:-52px!important}.ml-n14{margin-left:-56px!important}.ml-n15{margin-left:-60px!important}.ml-n16{margin-left:-64px!important}.ms-n1{margin-inline-start:-4px!important}.ms-n2{margin-inline-start:-8px!important}.ms-n3{margin-inline-start:-12px!important}.ms-n4{margin-inline-start:-16px!important}.ms-n5{margin-inline-start:-20px!important}.ms-n6{margin-inline-start:-24px!important}.ms-n7{margin-inline-start:-28px!important}.ms-n8{margin-inline-start:-32px!important}.ms-n9{margin-inline-start:-36px!important}.ms-n10{margin-inline-start:-40px!important}.ms-n11{margin-inline-start:-44px!important}.ms-n12{margin-inline-start:-48px!important}.ms-n13{margin-inline-start:-52px!important}.ms-n14{margin-inline-start:-56px!important}.ms-n15{margin-inline-start:-60px!important}.ms-n16{margin-inline-start:-64px!important}.me-n1{margin-inline-end:-4px!important}.me-n2{margin-inline-end:-8px!important}.me-n3{margin-inline-end:-12px!important}.me-n4{margin-inline-end:-16px!important}.me-n5{margin-inline-end:-20px!important}.me-n6{margin-inline-end:-24px!important}.me-n7{margin-inline-end:-28px!important}.me-n8{margin-inline-end:-32px!important}.me-n9{margin-inline-end:-36px!important}.me-n10{margin-inline-end:-40px!important}.me-n11{margin-inline-end:-44px!important}.me-n12{margin-inline-end:-48px!important}.me-n13{margin-inline-end:-52px!important}.me-n14{margin-inline-end:-56px!important}.me-n15{margin-inline-end:-60px!important}.me-n16{margin-inline-end:-64px!important}.pa-0{padding:0!important}.pa-1{padding:4px!important}.pa-2{padding:8px!important}.pa-3{padding:12px!important}.pa-4{padding:16px!important}.pa-5{padding:20px!important}.pa-6{padding:24px!important}.pa-7{padding:28px!important}.pa-8{padding:32px!important}.pa-9{padding:36px!important}.pa-10{padding:40px!important}.pa-11{padding:44px!important}.pa-12{padding:48px!important}.pa-13{padding:52px!important}.pa-14{padding:56px!important}.pa-15{padding:60px!important}.pa-16{padding:64px!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:4px!important;padding-left:4px!important}.px-2{padding-right:8px!important;padding-left:8px!important}.px-3{padding-right:12px!important;padding-left:12px!important}.px-4{padding-right:16px!important;padding-left:16px!important}.px-5{padding-right:20px!important;padding-left:20px!important}.px-6{padding-right:24px!important;padding-left:24px!important}.px-7{padding-right:28px!important;padding-left:28px!important}.px-8{padding-right:32px!important;padding-left:32px!important}.px-9{padding-right:36px!important;padding-left:36px!important}.px-10{padding-right:40px!important;padding-left:40px!important}.px-11{padding-right:44px!important;padding-left:44px!important}.px-12{padding-right:48px!important;padding-left:48px!important}.px-13{padding-right:52px!important;padding-left:52px!important}.px-14{padding-right:56px!important;padding-left:56px!important}.px-15{padding-right:60px!important;padding-left:60px!important}.px-16{padding-right:64px!important;padding-left:64px!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:4px!important;padding-bottom:4px!important}.py-2{padding-top:8px!important;padding-bottom:8px!important}.py-3{padding-top:12px!important;padding-bottom:12px!important}.py-4{padding-top:16px!important;padding-bottom:16px!important}.py-5{padding-top:20px!important;padding-bottom:20px!important}.py-6{padding-top:24px!important;padding-bottom:24px!important}.py-7{padding-top:28px!important;padding-bottom:28px!important}.py-8{padding-top:32px!important;padding-bottom:32px!important}.py-9{padding-top:36px!important;padding-bottom:36px!important}.py-10{padding-top:40px!important;padding-bottom:40px!important}.py-11{padding-top:44px!important;padding-bottom:44px!important}.py-12{padding-top:48px!important;padding-bottom:48px!important}.py-13{padding-top:52px!important;padding-bottom:52px!important}.py-14{padding-top:56px!important;padding-bottom:56px!important}.py-15{padding-top:60px!important;padding-bottom:60px!important}.py-16{padding-top:64px!important;padding-bottom:64px!important}.pt-0{padding-top:0!important}.pt-1{padding-top:4px!important}.pt-2{padding-top:8px!important}.pt-3{padding-top:12px!important}.pt-4{padding-top:16px!important}.pt-5{padding-top:20px!important}.pt-6{padding-top:24px!important}.pt-7{padding-top:28px!important}.pt-8{padding-top:32px!important}.pt-9{padding-top:36px!important}.pt-10{padding-top:40px!important}.pt-11{padding-top:44px!important}.pt-12{padding-top:48px!important}.pt-13{padding-top:52px!important}.pt-14{padding-top:56px!important}.pt-15{padding-top:60px!important}.pt-16{padding-top:64px!important}.pr-0{padding-right:0!important}.pr-1{padding-right:4px!important}.pr-2{padding-right:8px!important}.pr-3{padding-right:12px!important}.pr-4{padding-right:16px!important}.pr-5{padding-right:20px!important}.pr-6{padding-right:24px!important}.pr-7{padding-right:28px!important}.pr-8{padding-right:32px!important}.pr-9{padding-right:36px!important}.pr-10{padding-right:40px!important}.pr-11{padding-right:44px!important}.pr-12{padding-right:48px!important}.pr-13{padding-right:52px!important}.pr-14{padding-right:56px!important}.pr-15{padding-right:60px!important}.pr-16{padding-right:64px!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:4px!important}.pb-2{padding-bottom:8px!important}.pb-3{padding-bottom:12px!important}.pb-4{padding-bottom:16px!important}.pb-5{padding-bottom:20px!important}.pb-6{padding-bottom:24px!important}.pb-7{padding-bottom:28px!important}.pb-8{padding-bottom:32px!important}.pb-9{padding-bottom:36px!important}.pb-10{padding-bottom:40px!important}.pb-11{padding-bottom:44px!important}.pb-12{padding-bottom:48px!important}.pb-13{padding-bottom:52px!important}.pb-14{padding-bottom:56px!important}.pb-15{padding-bottom:60px!important}.pb-16{padding-bottom:64px!important}.pl-0{padding-left:0!important}.pl-1{padding-left:4px!important}.pl-2{padding-left:8px!important}.pl-3{padding-left:12px!important}.pl-4{padding-left:16px!important}.pl-5{padding-left:20px!important}.pl-6{padding-left:24px!important}.pl-7{padding-left:28px!important}.pl-8{padding-left:32px!important}.pl-9{padding-left:36px!important}.pl-10{padding-left:40px!important}.pl-11{padding-left:44px!important}.pl-12{padding-left:48px!important}.pl-13{padding-left:52px!important}.pl-14{padding-left:56px!important}.pl-15{padding-left:60px!important}.pl-16{padding-left:64px!important}.ps-0{padding-inline-start:0px!important}.ps-1{padding-inline-start:4px!important}.ps-2{padding-inline-start:8px!important}.ps-3{padding-inline-start:12px!important}.ps-4{padding-inline-start:16px!important}.ps-5{padding-inline-start:20px!important}.ps-6{padding-inline-start:24px!important}.ps-7{padding-inline-start:28px!important}.ps-8{padding-inline-start:32px!important}.ps-9{padding-inline-start:36px!important}.ps-10{padding-inline-start:40px!important}.ps-11{padding-inline-start:44px!important}.ps-12{padding-inline-start:48px!important}.ps-13{padding-inline-start:52px!important}.ps-14{padding-inline-start:56px!important}.ps-15{padding-inline-start:60px!important}.ps-16{padding-inline-start:64px!important}.pe-0{padding-inline-end:0px!important}.pe-1{padding-inline-end:4px!important}.pe-2{padding-inline-end:8px!important}.pe-3{padding-inline-end:12px!important}.pe-4{padding-inline-end:16px!important}.pe-5{padding-inline-end:20px!important}.pe-6{padding-inline-end:24px!important}.pe-7{padding-inline-end:28px!important}.pe-8{padding-inline-end:32px!important}.pe-9{padding-inline-end:36px!important}.pe-10{padding-inline-end:40px!important}.pe-11{padding-inline-end:44px!important}.pe-12{padding-inline-end:48px!important}.pe-13{padding-inline-end:52px!important}.pe-14{padding-inline-end:56px!important}.pe-15{padding-inline-end:60px!important}.pe-16{padding-inline-end:64px!important}.rounded-0{border-radius:0!important}.rounded-sm{border-radius:2px!important}.rounded{border-radius:4px!important}.rounded-lg{border-radius:8px!important}.rounded-xl{border-radius:24px!important}.rounded-pill{border-radius:9999px!important}.rounded-circle{border-radius:50%!important}.rounded-shaped{border-radius:24px 0!important}.rounded-t-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-t-sm{border-top-left-radius:2px!important;border-top-right-radius:2px!important}.rounded-t{border-top-left-radius:4px!important;border-top-right-radius:4px!important}.rounded-t-lg{border-top-left-radius:8px!important;border-top-right-radius:8px!important}.rounded-t-xl{border-top-left-radius:24px!important;border-top-right-radius:24px!important}.rounded-t-pill{border-top-left-radius:9999px!important;border-top-right-radius:9999px!important}.rounded-t-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-t-shaped{border-top-left-radius:24px!important;border-top-right-radius:0!important}.v-locale--is-ltr .rounded-e-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.v-locale--is-rtl .rounded-e-0{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.v-locale--is-ltr .rounded-e-sm{border-top-right-radius:2px!important;border-bottom-right-radius:2px!important}.v-locale--is-rtl .rounded-e-sm{border-top-left-radius:2px!important;border-bottom-left-radius:2px!important}.v-locale--is-ltr .rounded-e{border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}.v-locale--is-rtl .rounded-e{border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}.v-locale--is-ltr .rounded-e-lg{border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}.v-locale--is-rtl .rounded-e-lg{border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}.v-locale--is-ltr .rounded-e-xl{border-top-right-radius:24px!important;border-bottom-right-radius:24px!important}.v-locale--is-rtl .rounded-e-xl{border-top-left-radius:24px!important;border-bottom-left-radius:24px!important}.v-locale--is-ltr .rounded-e-pill{border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.v-locale--is-rtl .rounded-e-pill{border-top-left-radius:9999px!important;border-bottom-left-radius:9999px!important}.v-locale--is-ltr .rounded-e-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.v-locale--is-rtl .rounded-e-circle{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.v-locale--is-ltr .rounded-e-shaped{border-top-right-radius:24px!important;border-bottom-right-radius:0!important}.v-locale--is-rtl .rounded-e-shaped{border-top-left-radius:24px!important;border-bottom-left-radius:0!important}.rounded-b-0{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-b-sm{border-bottom-left-radius:2px!important;border-bottom-right-radius:2px!important}.rounded-b{border-bottom-left-radius:4px!important;border-bottom-right-radius:4px!important}.rounded-b-lg{border-bottom-left-radius:8px!important;border-bottom-right-radius:8px!important}.rounded-b-xl{border-bottom-left-radius:24px!important;border-bottom-right-radius:24px!important}.rounded-b-pill{border-bottom-left-radius:9999px!important;border-bottom-right-radius:9999px!important}.rounded-b-circle{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-b-shaped{border-bottom-left-radius:24px!important;border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-s-0{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.v-locale--is-rtl .rounded-s-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-s-sm{border-top-left-radius:2px!important;border-bottom-left-radius:2px!important}.v-locale--is-rtl .rounded-s-sm{border-top-right-radius:2px!important;border-bottom-right-radius:2px!important}.v-locale--is-ltr .rounded-s{border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}.v-locale--is-rtl .rounded-s{border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}.v-locale--is-ltr .rounded-s-lg{border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}.v-locale--is-rtl .rounded-s-lg{border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}.v-locale--is-ltr .rounded-s-xl{border-top-left-radius:24px!important;border-bottom-left-radius:24px!important}.v-locale--is-rtl .rounded-s-xl{border-top-right-radius:24px!important;border-bottom-right-radius:24px!important}.v-locale--is-ltr .rounded-s-pill{border-top-left-radius:9999px!important;border-bottom-left-radius:9999px!important}.v-locale--is-rtl .rounded-s-pill{border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.v-locale--is-ltr .rounded-s-circle{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.v-locale--is-rtl .rounded-s-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.v-locale--is-ltr .rounded-s-shaped{border-top-left-radius:24px!important;border-bottom-left-radius:0!important}.v-locale--is-rtl .rounded-s-shaped{border-top-right-radius:24px!important;border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-ts-0{border-top-left-radius:0!important}.v-locale--is-rtl .rounded-ts-0{border-top-right-radius:0!important}.v-locale--is-ltr .rounded-ts-sm{border-top-left-radius:2px!important}.v-locale--is-rtl .rounded-ts-sm{border-top-right-radius:2px!important}.v-locale--is-ltr .rounded-ts{border-top-left-radius:4px!important}.v-locale--is-rtl .rounded-ts{border-top-right-radius:4px!important}.v-locale--is-ltr .rounded-ts-lg{border-top-left-radius:8px!important}.v-locale--is-rtl .rounded-ts-lg{border-top-right-radius:8px!important}.v-locale--is-ltr .rounded-ts-xl{border-top-left-radius:24px!important}.v-locale--is-rtl .rounded-ts-xl{border-top-right-radius:24px!important}.v-locale--is-ltr .rounded-ts-pill{border-top-left-radius:9999px!important}.v-locale--is-rtl .rounded-ts-pill{border-top-right-radius:9999px!important}.v-locale--is-ltr .rounded-ts-circle{border-top-left-radius:50%!important}.v-locale--is-rtl .rounded-ts-circle{border-top-right-radius:50%!important}.v-locale--is-ltr .rounded-ts-shaped{border-top-left-radius:24px 0!important}.v-locale--is-rtl .rounded-ts-shaped{border-top-right-radius:24px 0!important}.v-locale--is-ltr .rounded-te-0{border-top-right-radius:0!important}.v-locale--is-rtl .rounded-te-0{border-top-left-radius:0!important}.v-locale--is-ltr .rounded-te-sm{border-top-right-radius:2px!important}.v-locale--is-rtl .rounded-te-sm{border-top-left-radius:2px!important}.v-locale--is-ltr .rounded-te{border-top-right-radius:4px!important}.v-locale--is-rtl .rounded-te{border-top-left-radius:4px!important}.v-locale--is-ltr .rounded-te-lg{border-top-right-radius:8px!important}.v-locale--is-rtl .rounded-te-lg{border-top-left-radius:8px!important}.v-locale--is-ltr .rounded-te-xl{border-top-right-radius:24px!important}.v-locale--is-rtl .rounded-te-xl{border-top-left-radius:24px!important}.v-locale--is-ltr .rounded-te-pill{border-top-right-radius:9999px!important}.v-locale--is-rtl .rounded-te-pill{border-top-left-radius:9999px!important}.v-locale--is-ltr .rounded-te-circle{border-top-right-radius:50%!important}.v-locale--is-rtl .rounded-te-circle{border-top-left-radius:50%!important}.v-locale--is-ltr .rounded-te-shaped{border-top-right-radius:24px 0!important}.v-locale--is-rtl .rounded-te-shaped{border-top-left-radius:24px 0!important}.v-locale--is-ltr .rounded-be-0{border-bottom-right-radius:0!important}.v-locale--is-rtl .rounded-be-0{border-bottom-left-radius:0!important}.v-locale--is-ltr .rounded-be-sm{border-bottom-right-radius:2px!important}.v-locale--is-rtl .rounded-be-sm{border-bottom-left-radius:2px!important}.v-locale--is-ltr .rounded-be{border-bottom-right-radius:4px!important}.v-locale--is-rtl .rounded-be{border-bottom-left-radius:4px!important}.v-locale--is-ltr .rounded-be-lg{border-bottom-right-radius:8px!important}.v-locale--is-rtl .rounded-be-lg{border-bottom-left-radius:8px!important}.v-locale--is-ltr .rounded-be-xl{border-bottom-right-radius:24px!important}.v-locale--is-rtl .rounded-be-xl{border-bottom-left-radius:24px!important}.v-locale--is-ltr .rounded-be-pill{border-bottom-right-radius:9999px!important}.v-locale--is-rtl .rounded-be-pill{border-bottom-left-radius:9999px!important}.v-locale--is-ltr .rounded-be-circle{border-bottom-right-radius:50%!important}.v-locale--is-rtl .rounded-be-circle{border-bottom-left-radius:50%!important}.v-locale--is-ltr .rounded-be-shaped{border-bottom-right-radius:24px 0!important}.v-locale--is-rtl .rounded-be-shaped{border-bottom-left-radius:24px 0!important}.v-locale--is-ltr .rounded-bs-0{border-bottom-left-radius:0!important}.v-locale--is-rtl .rounded-bs-0{border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-bs-sm{border-bottom-left-radius:2px!important}.v-locale--is-rtl .rounded-bs-sm{border-bottom-right-radius:2px!important}.v-locale--is-ltr .rounded-bs{border-bottom-left-radius:4px!important}.v-locale--is-rtl .rounded-bs{border-bottom-right-radius:4px!important}.v-locale--is-ltr .rounded-bs-lg{border-bottom-left-radius:8px!important}.v-locale--is-rtl .rounded-bs-lg{border-bottom-right-radius:8px!important}.v-locale--is-ltr .rounded-bs-xl{border-bottom-left-radius:24px!important}.v-locale--is-rtl .rounded-bs-xl{border-bottom-right-radius:24px!important}.v-locale--is-ltr .rounded-bs-pill{border-bottom-left-radius:9999px!important}.v-locale--is-rtl .rounded-bs-pill{border-bottom-right-radius:9999px!important}.v-locale--is-ltr .rounded-bs-circle{border-bottom-left-radius:50%!important}.v-locale--is-rtl .rounded-bs-circle{border-bottom-right-radius:50%!important}.v-locale--is-ltr .rounded-bs-shaped{border-bottom-left-radius:24px 0!important}.v-locale--is-rtl .rounded-bs-shaped{border-bottom-right-radius:24px 0!important}.border-0{border-width:0!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border{border-width:thin!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-sm{border-width:1px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-md{border-width:2px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-lg{border-width:4px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-xl{border-width:8px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-opacity-0{--v-border-opacity: 0 !important}.border-opacity{--v-border-opacity: .12 !important}.border-opacity-25{--v-border-opacity: .25 !important}.border-opacity-50{--v-border-opacity: .5 !important}.border-opacity-75{--v-border-opacity: .75 !important}.border-opacity-100{--v-border-opacity: 1 !important}.border-t-0{border-block-start-width:0!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t{border-block-start-width:thin!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-sm{border-block-start-width:1px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-md{border-block-start-width:2px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-lg{border-block-start-width:4px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-xl{border-block-start-width:8px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-0{border-inline-end-width:0!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e{border-inline-end-width:thin!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-sm{border-inline-end-width:1px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-md{border-inline-end-width:2px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-lg{border-inline-end-width:4px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-xl{border-inline-end-width:8px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-0{border-block-end-width:0!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b{border-block-end-width:thin!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-sm{border-block-end-width:1px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-md{border-block-end-width:2px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-lg{border-block-end-width:4px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-xl{border-block-end-width:8px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-0{border-inline-start-width:0!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s{border-inline-start-width:thin!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-sm{border-inline-start-width:1px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-md{border-inline-start-width:2px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-lg{border-inline-start-width:4px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-xl{border-inline-start-width:8px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-solid{border-style:solid!important}.border-dashed{border-style:dashed!important}.border-dotted{border-style:dotted!important}.border-double{border-style:double!important}.border-none{border-style:none!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}.text-start{text-align:start!important}.text-end{text-align:end!important}.text-decoration-line-through{text-decoration:line-through!important}.text-decoration-none{text-decoration:none!important}.text-decoration-overline{text-decoration:overline!important}.text-decoration-underline{text-decoration:underline!important}.text-wrap{white-space:normal!important}.text-no-wrap{white-space:nowrap!important}.text-pre{white-space:pre!important}.text-pre-line{white-space:pre-line!important}.text-pre-wrap{white-space:pre-wrap!important}.text-break{overflow-wrap:break-word!important;word-break:break-word!important}.text-high-emphasis{color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))!important}.text-medium-emphasis{color:rgba(var(--v-theme-on-background),var(--v-medium-emphasis-opacity))!important}.text-disabled{color:rgba(var(--v-theme-on-background),var(--v-disabled-opacity))!important}.text-truncate{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.text-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-none{text-transform:none!important}.text-capitalize{text-transform:capitalize!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.font-weight-thin{font-weight:100!important}.font-weight-light{font-weight:300!important}.font-weight-regular{font-weight:400!important}.font-weight-medium{font-weight:500!important}.font-weight-bold{font-weight:700!important}.font-weight-black{font-weight:900!important}.font-italic{font-style:italic!important}.text-mono{font-family:monospace!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-fixed{position:fixed!important}.position-absolute{position:absolute!important}.position-sticky{position:sticky!important}.fill-height{height:100%!important}.h-auto{height:auto!important}.h-screen{height:100vh!important}.h-0{height:0!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-screen{height:100dvh!important}.w-auto{width:auto!important}.w-0{width:0!important}.w-25{width:25%!important}.w-33{width:33%!important}.w-50{width:50%!important}.w-66{width:66%!important}.w-75{width:75%!important}.w-100{width:100%!important}@media (min-width: 600px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.float-sm-none{float:none!important}.float-sm-left{float:left!important}.float-sm-right{float:right!important}.v-locale--is-rtl .float-sm-end{float:left!important}.v-locale--is-rtl .float-sm-start,.v-locale--is-ltr .float-sm-end{float:right!important}.v-locale--is-ltr .float-sm-start{float:left!important}.flex-sm-fill,.flex-sm-1-1{flex:1 1 auto!important}.flex-sm-1-0{flex:1 0 auto!important}.flex-sm-0-1{flex:0 1 auto!important}.flex-sm-0-0{flex:0 0 auto!important}.flex-sm-1-1-100{flex:1 1 100%!important}.flex-sm-1-0-100{flex:1 0 100%!important}.flex-sm-0-1-100{flex:0 1 100%!important}.flex-sm-0-0-100{flex:0 0 100%!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-sm-start{justify-content:flex-start!important}.justify-sm-end{justify-content:flex-end!important}.justify-sm-center{justify-content:center!important}.justify-sm-space-between{justify-content:space-between!important}.justify-sm-space-around{justify-content:space-around!important}.justify-sm-space-evenly{justify-content:space-evenly!important}.align-sm-start{align-items:flex-start!important}.align-sm-end{align-items:flex-end!important}.align-sm-center{align-items:center!important}.align-sm-baseline{align-items:baseline!important}.align-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-space-between{align-content:space-between!important}.align-content-sm-space-around{align-content:space-around!important}.align-content-sm-space-evenly{align-content:space-evenly!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-6{order:6!important}.order-sm-7{order:7!important}.order-sm-8{order:8!important}.order-sm-9{order:9!important}.order-sm-10{order:10!important}.order-sm-11{order:11!important}.order-sm-12{order:12!important}.order-sm-last{order:13!important}.ma-sm-0{margin:0!important}.ma-sm-1{margin:4px!important}.ma-sm-2{margin:8px!important}.ma-sm-3{margin:12px!important}.ma-sm-4{margin:16px!important}.ma-sm-5{margin:20px!important}.ma-sm-6{margin:24px!important}.ma-sm-7{margin:28px!important}.ma-sm-8{margin:32px!important}.ma-sm-9{margin:36px!important}.ma-sm-10{margin:40px!important}.ma-sm-11{margin:44px!important}.ma-sm-12{margin:48px!important}.ma-sm-13{margin:52px!important}.ma-sm-14{margin:56px!important}.ma-sm-15{margin:60px!important}.ma-sm-16{margin:64px!important}.ma-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:4px!important;margin-left:4px!important}.mx-sm-2{margin-right:8px!important;margin-left:8px!important}.mx-sm-3{margin-right:12px!important;margin-left:12px!important}.mx-sm-4{margin-right:16px!important;margin-left:16px!important}.mx-sm-5{margin-right:20px!important;margin-left:20px!important}.mx-sm-6{margin-right:24px!important;margin-left:24px!important}.mx-sm-7{margin-right:28px!important;margin-left:28px!important}.mx-sm-8{margin-right:32px!important;margin-left:32px!important}.mx-sm-9{margin-right:36px!important;margin-left:36px!important}.mx-sm-10{margin-right:40px!important;margin-left:40px!important}.mx-sm-11{margin-right:44px!important;margin-left:44px!important}.mx-sm-12{margin-right:48px!important;margin-left:48px!important}.mx-sm-13{margin-right:52px!important;margin-left:52px!important}.mx-sm-14{margin-right:56px!important;margin-left:56px!important}.mx-sm-15{margin-right:60px!important;margin-left:60px!important}.mx-sm-16{margin-right:64px!important;margin-left:64px!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:4px!important;margin-bottom:4px!important}.my-sm-2{margin-top:8px!important;margin-bottom:8px!important}.my-sm-3{margin-top:12px!important;margin-bottom:12px!important}.my-sm-4{margin-top:16px!important;margin-bottom:16px!important}.my-sm-5{margin-top:20px!important;margin-bottom:20px!important}.my-sm-6{margin-top:24px!important;margin-bottom:24px!important}.my-sm-7{margin-top:28px!important;margin-bottom:28px!important}.my-sm-8{margin-top:32px!important;margin-bottom:32px!important}.my-sm-9{margin-top:36px!important;margin-bottom:36px!important}.my-sm-10{margin-top:40px!important;margin-bottom:40px!important}.my-sm-11{margin-top:44px!important;margin-bottom:44px!important}.my-sm-12{margin-top:48px!important;margin-bottom:48px!important}.my-sm-13{margin-top:52px!important;margin-bottom:52px!important}.my-sm-14{margin-top:56px!important;margin-bottom:56px!important}.my-sm-15{margin-top:60px!important;margin-bottom:60px!important}.my-sm-16{margin-top:64px!important;margin-bottom:64px!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:4px!important}.mt-sm-2{margin-top:8px!important}.mt-sm-3{margin-top:12px!important}.mt-sm-4{margin-top:16px!important}.mt-sm-5{margin-top:20px!important}.mt-sm-6{margin-top:24px!important}.mt-sm-7{margin-top:28px!important}.mt-sm-8{margin-top:32px!important}.mt-sm-9{margin-top:36px!important}.mt-sm-10{margin-top:40px!important}.mt-sm-11{margin-top:44px!important}.mt-sm-12{margin-top:48px!important}.mt-sm-13{margin-top:52px!important}.mt-sm-14{margin-top:56px!important}.mt-sm-15{margin-top:60px!important}.mt-sm-16{margin-top:64px!important}.mt-sm-auto{margin-top:auto!important}.mr-sm-0{margin-right:0!important}.mr-sm-1{margin-right:4px!important}.mr-sm-2{margin-right:8px!important}.mr-sm-3{margin-right:12px!important}.mr-sm-4{margin-right:16px!important}.mr-sm-5{margin-right:20px!important}.mr-sm-6{margin-right:24px!important}.mr-sm-7{margin-right:28px!important}.mr-sm-8{margin-right:32px!important}.mr-sm-9{margin-right:36px!important}.mr-sm-10{margin-right:40px!important}.mr-sm-11{margin-right:44px!important}.mr-sm-12{margin-right:48px!important}.mr-sm-13{margin-right:52px!important}.mr-sm-14{margin-right:56px!important}.mr-sm-15{margin-right:60px!important}.mr-sm-16{margin-right:64px!important}.mr-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:4px!important}.mb-sm-2{margin-bottom:8px!important}.mb-sm-3{margin-bottom:12px!important}.mb-sm-4{margin-bottom:16px!important}.mb-sm-5{margin-bottom:20px!important}.mb-sm-6{margin-bottom:24px!important}.mb-sm-7{margin-bottom:28px!important}.mb-sm-8{margin-bottom:32px!important}.mb-sm-9{margin-bottom:36px!important}.mb-sm-10{margin-bottom:40px!important}.mb-sm-11{margin-bottom:44px!important}.mb-sm-12{margin-bottom:48px!important}.mb-sm-13{margin-bottom:52px!important}.mb-sm-14{margin-bottom:56px!important}.mb-sm-15{margin-bottom:60px!important}.mb-sm-16{margin-bottom:64px!important}.mb-sm-auto{margin-bottom:auto!important}.ml-sm-0{margin-left:0!important}.ml-sm-1{margin-left:4px!important}.ml-sm-2{margin-left:8px!important}.ml-sm-3{margin-left:12px!important}.ml-sm-4{margin-left:16px!important}.ml-sm-5{margin-left:20px!important}.ml-sm-6{margin-left:24px!important}.ml-sm-7{margin-left:28px!important}.ml-sm-8{margin-left:32px!important}.ml-sm-9{margin-left:36px!important}.ml-sm-10{margin-left:40px!important}.ml-sm-11{margin-left:44px!important}.ml-sm-12{margin-left:48px!important}.ml-sm-13{margin-left:52px!important}.ml-sm-14{margin-left:56px!important}.ml-sm-15{margin-left:60px!important}.ml-sm-16{margin-left:64px!important}.ml-sm-auto{margin-left:auto!important}.ms-sm-0{margin-inline-start:0px!important}.ms-sm-1{margin-inline-start:4px!important}.ms-sm-2{margin-inline-start:8px!important}.ms-sm-3{margin-inline-start:12px!important}.ms-sm-4{margin-inline-start:16px!important}.ms-sm-5{margin-inline-start:20px!important}.ms-sm-6{margin-inline-start:24px!important}.ms-sm-7{margin-inline-start:28px!important}.ms-sm-8{margin-inline-start:32px!important}.ms-sm-9{margin-inline-start:36px!important}.ms-sm-10{margin-inline-start:40px!important}.ms-sm-11{margin-inline-start:44px!important}.ms-sm-12{margin-inline-start:48px!important}.ms-sm-13{margin-inline-start:52px!important}.ms-sm-14{margin-inline-start:56px!important}.ms-sm-15{margin-inline-start:60px!important}.ms-sm-16{margin-inline-start:64px!important}.ms-sm-auto{margin-inline-start:auto!important}.me-sm-0{margin-inline-end:0px!important}.me-sm-1{margin-inline-end:4px!important}.me-sm-2{margin-inline-end:8px!important}.me-sm-3{margin-inline-end:12px!important}.me-sm-4{margin-inline-end:16px!important}.me-sm-5{margin-inline-end:20px!important}.me-sm-6{margin-inline-end:24px!important}.me-sm-7{margin-inline-end:28px!important}.me-sm-8{margin-inline-end:32px!important}.me-sm-9{margin-inline-end:36px!important}.me-sm-10{margin-inline-end:40px!important}.me-sm-11{margin-inline-end:44px!important}.me-sm-12{margin-inline-end:48px!important}.me-sm-13{margin-inline-end:52px!important}.me-sm-14{margin-inline-end:56px!important}.me-sm-15{margin-inline-end:60px!important}.me-sm-16{margin-inline-end:64px!important}.me-sm-auto{margin-inline-end:auto!important}.ma-sm-n1{margin:-4px!important}.ma-sm-n2{margin:-8px!important}.ma-sm-n3{margin:-12px!important}.ma-sm-n4{margin:-16px!important}.ma-sm-n5{margin:-20px!important}.ma-sm-n6{margin:-24px!important}.ma-sm-n7{margin:-28px!important}.ma-sm-n8{margin:-32px!important}.ma-sm-n9{margin:-36px!important}.ma-sm-n10{margin:-40px!important}.ma-sm-n11{margin:-44px!important}.ma-sm-n12{margin:-48px!important}.ma-sm-n13{margin:-52px!important}.ma-sm-n14{margin:-56px!important}.ma-sm-n15{margin:-60px!important}.ma-sm-n16{margin:-64px!important}.mx-sm-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-sm-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-sm-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-sm-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-sm-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-sm-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-sm-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-sm-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-sm-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-sm-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-sm-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-sm-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-sm-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-sm-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-sm-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-sm-n16{margin-right:-64px!important;margin-left:-64px!important}.my-sm-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-sm-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-sm-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-sm-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-sm-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-sm-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-sm-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-sm-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-sm-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-sm-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-sm-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-sm-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-sm-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-sm-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-sm-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-sm-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-sm-n1{margin-top:-4px!important}.mt-sm-n2{margin-top:-8px!important}.mt-sm-n3{margin-top:-12px!important}.mt-sm-n4{margin-top:-16px!important}.mt-sm-n5{margin-top:-20px!important}.mt-sm-n6{margin-top:-24px!important}.mt-sm-n7{margin-top:-28px!important}.mt-sm-n8{margin-top:-32px!important}.mt-sm-n9{margin-top:-36px!important}.mt-sm-n10{margin-top:-40px!important}.mt-sm-n11{margin-top:-44px!important}.mt-sm-n12{margin-top:-48px!important}.mt-sm-n13{margin-top:-52px!important}.mt-sm-n14{margin-top:-56px!important}.mt-sm-n15{margin-top:-60px!important}.mt-sm-n16{margin-top:-64px!important}.mr-sm-n1{margin-right:-4px!important}.mr-sm-n2{margin-right:-8px!important}.mr-sm-n3{margin-right:-12px!important}.mr-sm-n4{margin-right:-16px!important}.mr-sm-n5{margin-right:-20px!important}.mr-sm-n6{margin-right:-24px!important}.mr-sm-n7{margin-right:-28px!important}.mr-sm-n8{margin-right:-32px!important}.mr-sm-n9{margin-right:-36px!important}.mr-sm-n10{margin-right:-40px!important}.mr-sm-n11{margin-right:-44px!important}.mr-sm-n12{margin-right:-48px!important}.mr-sm-n13{margin-right:-52px!important}.mr-sm-n14{margin-right:-56px!important}.mr-sm-n15{margin-right:-60px!important}.mr-sm-n16{margin-right:-64px!important}.mb-sm-n1{margin-bottom:-4px!important}.mb-sm-n2{margin-bottom:-8px!important}.mb-sm-n3{margin-bottom:-12px!important}.mb-sm-n4{margin-bottom:-16px!important}.mb-sm-n5{margin-bottom:-20px!important}.mb-sm-n6{margin-bottom:-24px!important}.mb-sm-n7{margin-bottom:-28px!important}.mb-sm-n8{margin-bottom:-32px!important}.mb-sm-n9{margin-bottom:-36px!important}.mb-sm-n10{margin-bottom:-40px!important}.mb-sm-n11{margin-bottom:-44px!important}.mb-sm-n12{margin-bottom:-48px!important}.mb-sm-n13{margin-bottom:-52px!important}.mb-sm-n14{margin-bottom:-56px!important}.mb-sm-n15{margin-bottom:-60px!important}.mb-sm-n16{margin-bottom:-64px!important}.ml-sm-n1{margin-left:-4px!important}.ml-sm-n2{margin-left:-8px!important}.ml-sm-n3{margin-left:-12px!important}.ml-sm-n4{margin-left:-16px!important}.ml-sm-n5{margin-left:-20px!important}.ml-sm-n6{margin-left:-24px!important}.ml-sm-n7{margin-left:-28px!important}.ml-sm-n8{margin-left:-32px!important}.ml-sm-n9{margin-left:-36px!important}.ml-sm-n10{margin-left:-40px!important}.ml-sm-n11{margin-left:-44px!important}.ml-sm-n12{margin-left:-48px!important}.ml-sm-n13{margin-left:-52px!important}.ml-sm-n14{margin-left:-56px!important}.ml-sm-n15{margin-left:-60px!important}.ml-sm-n16{margin-left:-64px!important}.ms-sm-n1{margin-inline-start:-4px!important}.ms-sm-n2{margin-inline-start:-8px!important}.ms-sm-n3{margin-inline-start:-12px!important}.ms-sm-n4{margin-inline-start:-16px!important}.ms-sm-n5{margin-inline-start:-20px!important}.ms-sm-n6{margin-inline-start:-24px!important}.ms-sm-n7{margin-inline-start:-28px!important}.ms-sm-n8{margin-inline-start:-32px!important}.ms-sm-n9{margin-inline-start:-36px!important}.ms-sm-n10{margin-inline-start:-40px!important}.ms-sm-n11{margin-inline-start:-44px!important}.ms-sm-n12{margin-inline-start:-48px!important}.ms-sm-n13{margin-inline-start:-52px!important}.ms-sm-n14{margin-inline-start:-56px!important}.ms-sm-n15{margin-inline-start:-60px!important}.ms-sm-n16{margin-inline-start:-64px!important}.me-sm-n1{margin-inline-end:-4px!important}.me-sm-n2{margin-inline-end:-8px!important}.me-sm-n3{margin-inline-end:-12px!important}.me-sm-n4{margin-inline-end:-16px!important}.me-sm-n5{margin-inline-end:-20px!important}.me-sm-n6{margin-inline-end:-24px!important}.me-sm-n7{margin-inline-end:-28px!important}.me-sm-n8{margin-inline-end:-32px!important}.me-sm-n9{margin-inline-end:-36px!important}.me-sm-n10{margin-inline-end:-40px!important}.me-sm-n11{margin-inline-end:-44px!important}.me-sm-n12{margin-inline-end:-48px!important}.me-sm-n13{margin-inline-end:-52px!important}.me-sm-n14{margin-inline-end:-56px!important}.me-sm-n15{margin-inline-end:-60px!important}.me-sm-n16{margin-inline-end:-64px!important}.pa-sm-0{padding:0!important}.pa-sm-1{padding:4px!important}.pa-sm-2{padding:8px!important}.pa-sm-3{padding:12px!important}.pa-sm-4{padding:16px!important}.pa-sm-5{padding:20px!important}.pa-sm-6{padding:24px!important}.pa-sm-7{padding:28px!important}.pa-sm-8{padding:32px!important}.pa-sm-9{padding:36px!important}.pa-sm-10{padding:40px!important}.pa-sm-11{padding:44px!important}.pa-sm-12{padding:48px!important}.pa-sm-13{padding:52px!important}.pa-sm-14{padding:56px!important}.pa-sm-15{padding:60px!important}.pa-sm-16{padding:64px!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:4px!important;padding-left:4px!important}.px-sm-2{padding-right:8px!important;padding-left:8px!important}.px-sm-3{padding-right:12px!important;padding-left:12px!important}.px-sm-4{padding-right:16px!important;padding-left:16px!important}.px-sm-5{padding-right:20px!important;padding-left:20px!important}.px-sm-6{padding-right:24px!important;padding-left:24px!important}.px-sm-7{padding-right:28px!important;padding-left:28px!important}.px-sm-8{padding-right:32px!important;padding-left:32px!important}.px-sm-9{padding-right:36px!important;padding-left:36px!important}.px-sm-10{padding-right:40px!important;padding-left:40px!important}.px-sm-11{padding-right:44px!important;padding-left:44px!important}.px-sm-12{padding-right:48px!important;padding-left:48px!important}.px-sm-13{padding-right:52px!important;padding-left:52px!important}.px-sm-14{padding-right:56px!important;padding-left:56px!important}.px-sm-15{padding-right:60px!important;padding-left:60px!important}.px-sm-16{padding-right:64px!important;padding-left:64px!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:4px!important;padding-bottom:4px!important}.py-sm-2{padding-top:8px!important;padding-bottom:8px!important}.py-sm-3{padding-top:12px!important;padding-bottom:12px!important}.py-sm-4{padding-top:16px!important;padding-bottom:16px!important}.py-sm-5{padding-top:20px!important;padding-bottom:20px!important}.py-sm-6{padding-top:24px!important;padding-bottom:24px!important}.py-sm-7{padding-top:28px!important;padding-bottom:28px!important}.py-sm-8{padding-top:32px!important;padding-bottom:32px!important}.py-sm-9{padding-top:36px!important;padding-bottom:36px!important}.py-sm-10{padding-top:40px!important;padding-bottom:40px!important}.py-sm-11{padding-top:44px!important;padding-bottom:44px!important}.py-sm-12{padding-top:48px!important;padding-bottom:48px!important}.py-sm-13{padding-top:52px!important;padding-bottom:52px!important}.py-sm-14{padding-top:56px!important;padding-bottom:56px!important}.py-sm-15{padding-top:60px!important;padding-bottom:60px!important}.py-sm-16{padding-top:64px!important;padding-bottom:64px!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:4px!important}.pt-sm-2{padding-top:8px!important}.pt-sm-3{padding-top:12px!important}.pt-sm-4{padding-top:16px!important}.pt-sm-5{padding-top:20px!important}.pt-sm-6{padding-top:24px!important}.pt-sm-7{padding-top:28px!important}.pt-sm-8{padding-top:32px!important}.pt-sm-9{padding-top:36px!important}.pt-sm-10{padding-top:40px!important}.pt-sm-11{padding-top:44px!important}.pt-sm-12{padding-top:48px!important}.pt-sm-13{padding-top:52px!important}.pt-sm-14{padding-top:56px!important}.pt-sm-15{padding-top:60px!important}.pt-sm-16{padding-top:64px!important}.pr-sm-0{padding-right:0!important}.pr-sm-1{padding-right:4px!important}.pr-sm-2{padding-right:8px!important}.pr-sm-3{padding-right:12px!important}.pr-sm-4{padding-right:16px!important}.pr-sm-5{padding-right:20px!important}.pr-sm-6{padding-right:24px!important}.pr-sm-7{padding-right:28px!important}.pr-sm-8{padding-right:32px!important}.pr-sm-9{padding-right:36px!important}.pr-sm-10{padding-right:40px!important}.pr-sm-11{padding-right:44px!important}.pr-sm-12{padding-right:48px!important}.pr-sm-13{padding-right:52px!important}.pr-sm-14{padding-right:56px!important}.pr-sm-15{padding-right:60px!important}.pr-sm-16{padding-right:64px!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:4px!important}.pb-sm-2{padding-bottom:8px!important}.pb-sm-3{padding-bottom:12px!important}.pb-sm-4{padding-bottom:16px!important}.pb-sm-5{padding-bottom:20px!important}.pb-sm-6{padding-bottom:24px!important}.pb-sm-7{padding-bottom:28px!important}.pb-sm-8{padding-bottom:32px!important}.pb-sm-9{padding-bottom:36px!important}.pb-sm-10{padding-bottom:40px!important}.pb-sm-11{padding-bottom:44px!important}.pb-sm-12{padding-bottom:48px!important}.pb-sm-13{padding-bottom:52px!important}.pb-sm-14{padding-bottom:56px!important}.pb-sm-15{padding-bottom:60px!important}.pb-sm-16{padding-bottom:64px!important}.pl-sm-0{padding-left:0!important}.pl-sm-1{padding-left:4px!important}.pl-sm-2{padding-left:8px!important}.pl-sm-3{padding-left:12px!important}.pl-sm-4{padding-left:16px!important}.pl-sm-5{padding-left:20px!important}.pl-sm-6{padding-left:24px!important}.pl-sm-7{padding-left:28px!important}.pl-sm-8{padding-left:32px!important}.pl-sm-9{padding-left:36px!important}.pl-sm-10{padding-left:40px!important}.pl-sm-11{padding-left:44px!important}.pl-sm-12{padding-left:48px!important}.pl-sm-13{padding-left:52px!important}.pl-sm-14{padding-left:56px!important}.pl-sm-15{padding-left:60px!important}.pl-sm-16{padding-left:64px!important}.ps-sm-0{padding-inline-start:0px!important}.ps-sm-1{padding-inline-start:4px!important}.ps-sm-2{padding-inline-start:8px!important}.ps-sm-3{padding-inline-start:12px!important}.ps-sm-4{padding-inline-start:16px!important}.ps-sm-5{padding-inline-start:20px!important}.ps-sm-6{padding-inline-start:24px!important}.ps-sm-7{padding-inline-start:28px!important}.ps-sm-8{padding-inline-start:32px!important}.ps-sm-9{padding-inline-start:36px!important}.ps-sm-10{padding-inline-start:40px!important}.ps-sm-11{padding-inline-start:44px!important}.ps-sm-12{padding-inline-start:48px!important}.ps-sm-13{padding-inline-start:52px!important}.ps-sm-14{padding-inline-start:56px!important}.ps-sm-15{padding-inline-start:60px!important}.ps-sm-16{padding-inline-start:64px!important}.pe-sm-0{padding-inline-end:0px!important}.pe-sm-1{padding-inline-end:4px!important}.pe-sm-2{padding-inline-end:8px!important}.pe-sm-3{padding-inline-end:12px!important}.pe-sm-4{padding-inline-end:16px!important}.pe-sm-5{padding-inline-end:20px!important}.pe-sm-6{padding-inline-end:24px!important}.pe-sm-7{padding-inline-end:28px!important}.pe-sm-8{padding-inline-end:32px!important}.pe-sm-9{padding-inline-end:36px!important}.pe-sm-10{padding-inline-end:40px!important}.pe-sm-11{padding-inline-end:44px!important}.pe-sm-12{padding-inline-end:48px!important}.pe-sm-13{padding-inline-end:52px!important}.pe-sm-14{padding-inline-end:56px!important}.pe-sm-15{padding-inline-end:60px!important}.pe-sm-16{padding-inline-end:64px!important}.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}.text-sm-justify{text-align:justify!important}.text-sm-start{text-align:start!important}.text-sm-end{text-align:end!important}.text-sm-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-sm-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 960px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.float-md-none{float:none!important}.float-md-left{float:left!important}.float-md-right{float:right!important}.v-locale--is-rtl .float-md-end{float:left!important}.v-locale--is-rtl .float-md-start,.v-locale--is-ltr .float-md-end{float:right!important}.v-locale--is-ltr .float-md-start{float:left!important}.flex-md-fill,.flex-md-1-1{flex:1 1 auto!important}.flex-md-1-0{flex:1 0 auto!important}.flex-md-0-1{flex:0 1 auto!important}.flex-md-0-0{flex:0 0 auto!important}.flex-md-1-1-100{flex:1 1 100%!important}.flex-md-1-0-100{flex:1 0 100%!important}.flex-md-0-1-100{flex:0 1 100%!important}.flex-md-0-0-100{flex:0 0 100%!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-md-start{justify-content:flex-start!important}.justify-md-end{justify-content:flex-end!important}.justify-md-center{justify-content:center!important}.justify-md-space-between{justify-content:space-between!important}.justify-md-space-around{justify-content:space-around!important}.justify-md-space-evenly{justify-content:space-evenly!important}.align-md-start{align-items:flex-start!important}.align-md-end{align-items:flex-end!important}.align-md-center{align-items:center!important}.align-md-baseline{align-items:baseline!important}.align-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-space-between{align-content:space-between!important}.align-content-md-space-around{align-content:space-around!important}.align-content-md-space-evenly{align-content:space-evenly!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-6{order:6!important}.order-md-7{order:7!important}.order-md-8{order:8!important}.order-md-9{order:9!important}.order-md-10{order:10!important}.order-md-11{order:11!important}.order-md-12{order:12!important}.order-md-last{order:13!important}.ma-md-0{margin:0!important}.ma-md-1{margin:4px!important}.ma-md-2{margin:8px!important}.ma-md-3{margin:12px!important}.ma-md-4{margin:16px!important}.ma-md-5{margin:20px!important}.ma-md-6{margin:24px!important}.ma-md-7{margin:28px!important}.ma-md-8{margin:32px!important}.ma-md-9{margin:36px!important}.ma-md-10{margin:40px!important}.ma-md-11{margin:44px!important}.ma-md-12{margin:48px!important}.ma-md-13{margin:52px!important}.ma-md-14{margin:56px!important}.ma-md-15{margin:60px!important}.ma-md-16{margin:64px!important}.ma-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:4px!important;margin-left:4px!important}.mx-md-2{margin-right:8px!important;margin-left:8px!important}.mx-md-3{margin-right:12px!important;margin-left:12px!important}.mx-md-4{margin-right:16px!important;margin-left:16px!important}.mx-md-5{margin-right:20px!important;margin-left:20px!important}.mx-md-6{margin-right:24px!important;margin-left:24px!important}.mx-md-7{margin-right:28px!important;margin-left:28px!important}.mx-md-8{margin-right:32px!important;margin-left:32px!important}.mx-md-9{margin-right:36px!important;margin-left:36px!important}.mx-md-10{margin-right:40px!important;margin-left:40px!important}.mx-md-11{margin-right:44px!important;margin-left:44px!important}.mx-md-12{margin-right:48px!important;margin-left:48px!important}.mx-md-13{margin-right:52px!important;margin-left:52px!important}.mx-md-14{margin-right:56px!important;margin-left:56px!important}.mx-md-15{margin-right:60px!important;margin-left:60px!important}.mx-md-16{margin-right:64px!important;margin-left:64px!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:4px!important;margin-bottom:4px!important}.my-md-2{margin-top:8px!important;margin-bottom:8px!important}.my-md-3{margin-top:12px!important;margin-bottom:12px!important}.my-md-4{margin-top:16px!important;margin-bottom:16px!important}.my-md-5{margin-top:20px!important;margin-bottom:20px!important}.my-md-6{margin-top:24px!important;margin-bottom:24px!important}.my-md-7{margin-top:28px!important;margin-bottom:28px!important}.my-md-8{margin-top:32px!important;margin-bottom:32px!important}.my-md-9{margin-top:36px!important;margin-bottom:36px!important}.my-md-10{margin-top:40px!important;margin-bottom:40px!important}.my-md-11{margin-top:44px!important;margin-bottom:44px!important}.my-md-12{margin-top:48px!important;margin-bottom:48px!important}.my-md-13{margin-top:52px!important;margin-bottom:52px!important}.my-md-14{margin-top:56px!important;margin-bottom:56px!important}.my-md-15{margin-top:60px!important;margin-bottom:60px!important}.my-md-16{margin-top:64px!important;margin-bottom:64px!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:4px!important}.mt-md-2{margin-top:8px!important}.mt-md-3{margin-top:12px!important}.mt-md-4{margin-top:16px!important}.mt-md-5{margin-top:20px!important}.mt-md-6{margin-top:24px!important}.mt-md-7{margin-top:28px!important}.mt-md-8{margin-top:32px!important}.mt-md-9{margin-top:36px!important}.mt-md-10{margin-top:40px!important}.mt-md-11{margin-top:44px!important}.mt-md-12{margin-top:48px!important}.mt-md-13{margin-top:52px!important}.mt-md-14{margin-top:56px!important}.mt-md-15{margin-top:60px!important}.mt-md-16{margin-top:64px!important}.mt-md-auto{margin-top:auto!important}.mr-md-0{margin-right:0!important}.mr-md-1{margin-right:4px!important}.mr-md-2{margin-right:8px!important}.mr-md-3{margin-right:12px!important}.mr-md-4{margin-right:16px!important}.mr-md-5{margin-right:20px!important}.mr-md-6{margin-right:24px!important}.mr-md-7{margin-right:28px!important}.mr-md-8{margin-right:32px!important}.mr-md-9{margin-right:36px!important}.mr-md-10{margin-right:40px!important}.mr-md-11{margin-right:44px!important}.mr-md-12{margin-right:48px!important}.mr-md-13{margin-right:52px!important}.mr-md-14{margin-right:56px!important}.mr-md-15{margin-right:60px!important}.mr-md-16{margin-right:64px!important}.mr-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:4px!important}.mb-md-2{margin-bottom:8px!important}.mb-md-3{margin-bottom:12px!important}.mb-md-4{margin-bottom:16px!important}.mb-md-5{margin-bottom:20px!important}.mb-md-6{margin-bottom:24px!important}.mb-md-7{margin-bottom:28px!important}.mb-md-8{margin-bottom:32px!important}.mb-md-9{margin-bottom:36px!important}.mb-md-10{margin-bottom:40px!important}.mb-md-11{margin-bottom:44px!important}.mb-md-12{margin-bottom:48px!important}.mb-md-13{margin-bottom:52px!important}.mb-md-14{margin-bottom:56px!important}.mb-md-15{margin-bottom:60px!important}.mb-md-16{margin-bottom:64px!important}.mb-md-auto{margin-bottom:auto!important}.ml-md-0{margin-left:0!important}.ml-md-1{margin-left:4px!important}.ml-md-2{margin-left:8px!important}.ml-md-3{margin-left:12px!important}.ml-md-4{margin-left:16px!important}.ml-md-5{margin-left:20px!important}.ml-md-6{margin-left:24px!important}.ml-md-7{margin-left:28px!important}.ml-md-8{margin-left:32px!important}.ml-md-9{margin-left:36px!important}.ml-md-10{margin-left:40px!important}.ml-md-11{margin-left:44px!important}.ml-md-12{margin-left:48px!important}.ml-md-13{margin-left:52px!important}.ml-md-14{margin-left:56px!important}.ml-md-15{margin-left:60px!important}.ml-md-16{margin-left:64px!important}.ml-md-auto{margin-left:auto!important}.ms-md-0{margin-inline-start:0px!important}.ms-md-1{margin-inline-start:4px!important}.ms-md-2{margin-inline-start:8px!important}.ms-md-3{margin-inline-start:12px!important}.ms-md-4{margin-inline-start:16px!important}.ms-md-5{margin-inline-start:20px!important}.ms-md-6{margin-inline-start:24px!important}.ms-md-7{margin-inline-start:28px!important}.ms-md-8{margin-inline-start:32px!important}.ms-md-9{margin-inline-start:36px!important}.ms-md-10{margin-inline-start:40px!important}.ms-md-11{margin-inline-start:44px!important}.ms-md-12{margin-inline-start:48px!important}.ms-md-13{margin-inline-start:52px!important}.ms-md-14{margin-inline-start:56px!important}.ms-md-15{margin-inline-start:60px!important}.ms-md-16{margin-inline-start:64px!important}.ms-md-auto{margin-inline-start:auto!important}.me-md-0{margin-inline-end:0px!important}.me-md-1{margin-inline-end:4px!important}.me-md-2{margin-inline-end:8px!important}.me-md-3{margin-inline-end:12px!important}.me-md-4{margin-inline-end:16px!important}.me-md-5{margin-inline-end:20px!important}.me-md-6{margin-inline-end:24px!important}.me-md-7{margin-inline-end:28px!important}.me-md-8{margin-inline-end:32px!important}.me-md-9{margin-inline-end:36px!important}.me-md-10{margin-inline-end:40px!important}.me-md-11{margin-inline-end:44px!important}.me-md-12{margin-inline-end:48px!important}.me-md-13{margin-inline-end:52px!important}.me-md-14{margin-inline-end:56px!important}.me-md-15{margin-inline-end:60px!important}.me-md-16{margin-inline-end:64px!important}.me-md-auto{margin-inline-end:auto!important}.ma-md-n1{margin:-4px!important}.ma-md-n2{margin:-8px!important}.ma-md-n3{margin:-12px!important}.ma-md-n4{margin:-16px!important}.ma-md-n5{margin:-20px!important}.ma-md-n6{margin:-24px!important}.ma-md-n7{margin:-28px!important}.ma-md-n8{margin:-32px!important}.ma-md-n9{margin:-36px!important}.ma-md-n10{margin:-40px!important}.ma-md-n11{margin:-44px!important}.ma-md-n12{margin:-48px!important}.ma-md-n13{margin:-52px!important}.ma-md-n14{margin:-56px!important}.ma-md-n15{margin:-60px!important}.ma-md-n16{margin:-64px!important}.mx-md-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-md-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-md-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-md-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-md-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-md-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-md-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-md-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-md-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-md-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-md-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-md-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-md-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-md-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-md-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-md-n16{margin-right:-64px!important;margin-left:-64px!important}.my-md-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-md-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-md-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-md-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-md-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-md-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-md-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-md-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-md-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-md-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-md-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-md-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-md-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-md-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-md-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-md-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-md-n1{margin-top:-4px!important}.mt-md-n2{margin-top:-8px!important}.mt-md-n3{margin-top:-12px!important}.mt-md-n4{margin-top:-16px!important}.mt-md-n5{margin-top:-20px!important}.mt-md-n6{margin-top:-24px!important}.mt-md-n7{margin-top:-28px!important}.mt-md-n8{margin-top:-32px!important}.mt-md-n9{margin-top:-36px!important}.mt-md-n10{margin-top:-40px!important}.mt-md-n11{margin-top:-44px!important}.mt-md-n12{margin-top:-48px!important}.mt-md-n13{margin-top:-52px!important}.mt-md-n14{margin-top:-56px!important}.mt-md-n15{margin-top:-60px!important}.mt-md-n16{margin-top:-64px!important}.mr-md-n1{margin-right:-4px!important}.mr-md-n2{margin-right:-8px!important}.mr-md-n3{margin-right:-12px!important}.mr-md-n4{margin-right:-16px!important}.mr-md-n5{margin-right:-20px!important}.mr-md-n6{margin-right:-24px!important}.mr-md-n7{margin-right:-28px!important}.mr-md-n8{margin-right:-32px!important}.mr-md-n9{margin-right:-36px!important}.mr-md-n10{margin-right:-40px!important}.mr-md-n11{margin-right:-44px!important}.mr-md-n12{margin-right:-48px!important}.mr-md-n13{margin-right:-52px!important}.mr-md-n14{margin-right:-56px!important}.mr-md-n15{margin-right:-60px!important}.mr-md-n16{margin-right:-64px!important}.mb-md-n1{margin-bottom:-4px!important}.mb-md-n2{margin-bottom:-8px!important}.mb-md-n3{margin-bottom:-12px!important}.mb-md-n4{margin-bottom:-16px!important}.mb-md-n5{margin-bottom:-20px!important}.mb-md-n6{margin-bottom:-24px!important}.mb-md-n7{margin-bottom:-28px!important}.mb-md-n8{margin-bottom:-32px!important}.mb-md-n9{margin-bottom:-36px!important}.mb-md-n10{margin-bottom:-40px!important}.mb-md-n11{margin-bottom:-44px!important}.mb-md-n12{margin-bottom:-48px!important}.mb-md-n13{margin-bottom:-52px!important}.mb-md-n14{margin-bottom:-56px!important}.mb-md-n15{margin-bottom:-60px!important}.mb-md-n16{margin-bottom:-64px!important}.ml-md-n1{margin-left:-4px!important}.ml-md-n2{margin-left:-8px!important}.ml-md-n3{margin-left:-12px!important}.ml-md-n4{margin-left:-16px!important}.ml-md-n5{margin-left:-20px!important}.ml-md-n6{margin-left:-24px!important}.ml-md-n7{margin-left:-28px!important}.ml-md-n8{margin-left:-32px!important}.ml-md-n9{margin-left:-36px!important}.ml-md-n10{margin-left:-40px!important}.ml-md-n11{margin-left:-44px!important}.ml-md-n12{margin-left:-48px!important}.ml-md-n13{margin-left:-52px!important}.ml-md-n14{margin-left:-56px!important}.ml-md-n15{margin-left:-60px!important}.ml-md-n16{margin-left:-64px!important}.ms-md-n1{margin-inline-start:-4px!important}.ms-md-n2{margin-inline-start:-8px!important}.ms-md-n3{margin-inline-start:-12px!important}.ms-md-n4{margin-inline-start:-16px!important}.ms-md-n5{margin-inline-start:-20px!important}.ms-md-n6{margin-inline-start:-24px!important}.ms-md-n7{margin-inline-start:-28px!important}.ms-md-n8{margin-inline-start:-32px!important}.ms-md-n9{margin-inline-start:-36px!important}.ms-md-n10{margin-inline-start:-40px!important}.ms-md-n11{margin-inline-start:-44px!important}.ms-md-n12{margin-inline-start:-48px!important}.ms-md-n13{margin-inline-start:-52px!important}.ms-md-n14{margin-inline-start:-56px!important}.ms-md-n15{margin-inline-start:-60px!important}.ms-md-n16{margin-inline-start:-64px!important}.me-md-n1{margin-inline-end:-4px!important}.me-md-n2{margin-inline-end:-8px!important}.me-md-n3{margin-inline-end:-12px!important}.me-md-n4{margin-inline-end:-16px!important}.me-md-n5{margin-inline-end:-20px!important}.me-md-n6{margin-inline-end:-24px!important}.me-md-n7{margin-inline-end:-28px!important}.me-md-n8{margin-inline-end:-32px!important}.me-md-n9{margin-inline-end:-36px!important}.me-md-n10{margin-inline-end:-40px!important}.me-md-n11{margin-inline-end:-44px!important}.me-md-n12{margin-inline-end:-48px!important}.me-md-n13{margin-inline-end:-52px!important}.me-md-n14{margin-inline-end:-56px!important}.me-md-n15{margin-inline-end:-60px!important}.me-md-n16{margin-inline-end:-64px!important}.pa-md-0{padding:0!important}.pa-md-1{padding:4px!important}.pa-md-2{padding:8px!important}.pa-md-3{padding:12px!important}.pa-md-4{padding:16px!important}.pa-md-5{padding:20px!important}.pa-md-6{padding:24px!important}.pa-md-7{padding:28px!important}.pa-md-8{padding:32px!important}.pa-md-9{padding:36px!important}.pa-md-10{padding:40px!important}.pa-md-11{padding:44px!important}.pa-md-12{padding:48px!important}.pa-md-13{padding:52px!important}.pa-md-14{padding:56px!important}.pa-md-15{padding:60px!important}.pa-md-16{padding:64px!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:4px!important;padding-left:4px!important}.px-md-2{padding-right:8px!important;padding-left:8px!important}.px-md-3{padding-right:12px!important;padding-left:12px!important}.px-md-4{padding-right:16px!important;padding-left:16px!important}.px-md-5{padding-right:20px!important;padding-left:20px!important}.px-md-6{padding-right:24px!important;padding-left:24px!important}.px-md-7{padding-right:28px!important;padding-left:28px!important}.px-md-8{padding-right:32px!important;padding-left:32px!important}.px-md-9{padding-right:36px!important;padding-left:36px!important}.px-md-10{padding-right:40px!important;padding-left:40px!important}.px-md-11{padding-right:44px!important;padding-left:44px!important}.px-md-12{padding-right:48px!important;padding-left:48px!important}.px-md-13{padding-right:52px!important;padding-left:52px!important}.px-md-14{padding-right:56px!important;padding-left:56px!important}.px-md-15{padding-right:60px!important;padding-left:60px!important}.px-md-16{padding-right:64px!important;padding-left:64px!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:4px!important;padding-bottom:4px!important}.py-md-2{padding-top:8px!important;padding-bottom:8px!important}.py-md-3{padding-top:12px!important;padding-bottom:12px!important}.py-md-4{padding-top:16px!important;padding-bottom:16px!important}.py-md-5{padding-top:20px!important;padding-bottom:20px!important}.py-md-6{padding-top:24px!important;padding-bottom:24px!important}.py-md-7{padding-top:28px!important;padding-bottom:28px!important}.py-md-8{padding-top:32px!important;padding-bottom:32px!important}.py-md-9{padding-top:36px!important;padding-bottom:36px!important}.py-md-10{padding-top:40px!important;padding-bottom:40px!important}.py-md-11{padding-top:44px!important;padding-bottom:44px!important}.py-md-12{padding-top:48px!important;padding-bottom:48px!important}.py-md-13{padding-top:52px!important;padding-bottom:52px!important}.py-md-14{padding-top:56px!important;padding-bottom:56px!important}.py-md-15{padding-top:60px!important;padding-bottom:60px!important}.py-md-16{padding-top:64px!important;padding-bottom:64px!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:4px!important}.pt-md-2{padding-top:8px!important}.pt-md-3{padding-top:12px!important}.pt-md-4{padding-top:16px!important}.pt-md-5{padding-top:20px!important}.pt-md-6{padding-top:24px!important}.pt-md-7{padding-top:28px!important}.pt-md-8{padding-top:32px!important}.pt-md-9{padding-top:36px!important}.pt-md-10{padding-top:40px!important}.pt-md-11{padding-top:44px!important}.pt-md-12{padding-top:48px!important}.pt-md-13{padding-top:52px!important}.pt-md-14{padding-top:56px!important}.pt-md-15{padding-top:60px!important}.pt-md-16{padding-top:64px!important}.pr-md-0{padding-right:0!important}.pr-md-1{padding-right:4px!important}.pr-md-2{padding-right:8px!important}.pr-md-3{padding-right:12px!important}.pr-md-4{padding-right:16px!important}.pr-md-5{padding-right:20px!important}.pr-md-6{padding-right:24px!important}.pr-md-7{padding-right:28px!important}.pr-md-8{padding-right:32px!important}.pr-md-9{padding-right:36px!important}.pr-md-10{padding-right:40px!important}.pr-md-11{padding-right:44px!important}.pr-md-12{padding-right:48px!important}.pr-md-13{padding-right:52px!important}.pr-md-14{padding-right:56px!important}.pr-md-15{padding-right:60px!important}.pr-md-16{padding-right:64px!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:4px!important}.pb-md-2{padding-bottom:8px!important}.pb-md-3{padding-bottom:12px!important}.pb-md-4{padding-bottom:16px!important}.pb-md-5{padding-bottom:20px!important}.pb-md-6{padding-bottom:24px!important}.pb-md-7{padding-bottom:28px!important}.pb-md-8{padding-bottom:32px!important}.pb-md-9{padding-bottom:36px!important}.pb-md-10{padding-bottom:40px!important}.pb-md-11{padding-bottom:44px!important}.pb-md-12{padding-bottom:48px!important}.pb-md-13{padding-bottom:52px!important}.pb-md-14{padding-bottom:56px!important}.pb-md-15{padding-bottom:60px!important}.pb-md-16{padding-bottom:64px!important}.pl-md-0{padding-left:0!important}.pl-md-1{padding-left:4px!important}.pl-md-2{padding-left:8px!important}.pl-md-3{padding-left:12px!important}.pl-md-4{padding-left:16px!important}.pl-md-5{padding-left:20px!important}.pl-md-6{padding-left:24px!important}.pl-md-7{padding-left:28px!important}.pl-md-8{padding-left:32px!important}.pl-md-9{padding-left:36px!important}.pl-md-10{padding-left:40px!important}.pl-md-11{padding-left:44px!important}.pl-md-12{padding-left:48px!important}.pl-md-13{padding-left:52px!important}.pl-md-14{padding-left:56px!important}.pl-md-15{padding-left:60px!important}.pl-md-16{padding-left:64px!important}.ps-md-0{padding-inline-start:0px!important}.ps-md-1{padding-inline-start:4px!important}.ps-md-2{padding-inline-start:8px!important}.ps-md-3{padding-inline-start:12px!important}.ps-md-4{padding-inline-start:16px!important}.ps-md-5{padding-inline-start:20px!important}.ps-md-6{padding-inline-start:24px!important}.ps-md-7{padding-inline-start:28px!important}.ps-md-8{padding-inline-start:32px!important}.ps-md-9{padding-inline-start:36px!important}.ps-md-10{padding-inline-start:40px!important}.ps-md-11{padding-inline-start:44px!important}.ps-md-12{padding-inline-start:48px!important}.ps-md-13{padding-inline-start:52px!important}.ps-md-14{padding-inline-start:56px!important}.ps-md-15{padding-inline-start:60px!important}.ps-md-16{padding-inline-start:64px!important}.pe-md-0{padding-inline-end:0px!important}.pe-md-1{padding-inline-end:4px!important}.pe-md-2{padding-inline-end:8px!important}.pe-md-3{padding-inline-end:12px!important}.pe-md-4{padding-inline-end:16px!important}.pe-md-5{padding-inline-end:20px!important}.pe-md-6{padding-inline-end:24px!important}.pe-md-7{padding-inline-end:28px!important}.pe-md-8{padding-inline-end:32px!important}.pe-md-9{padding-inline-end:36px!important}.pe-md-10{padding-inline-end:40px!important}.pe-md-11{padding-inline-end:44px!important}.pe-md-12{padding-inline-end:48px!important}.pe-md-13{padding-inline-end:52px!important}.pe-md-14{padding-inline-end:56px!important}.pe-md-15{padding-inline-end:60px!important}.pe-md-16{padding-inline-end:64px!important}.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}.text-md-justify{text-align:justify!important}.text-md-start{text-align:start!important}.text-md-end{text-align:end!important}.text-md-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-md-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 1280px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.float-lg-none{float:none!important}.float-lg-left{float:left!important}.float-lg-right{float:right!important}.v-locale--is-rtl .float-lg-end{float:left!important}.v-locale--is-rtl .float-lg-start,.v-locale--is-ltr .float-lg-end{float:right!important}.v-locale--is-ltr .float-lg-start{float:left!important}.flex-lg-fill,.flex-lg-1-1{flex:1 1 auto!important}.flex-lg-1-0{flex:1 0 auto!important}.flex-lg-0-1{flex:0 1 auto!important}.flex-lg-0-0{flex:0 0 auto!important}.flex-lg-1-1-100{flex:1 1 100%!important}.flex-lg-1-0-100{flex:1 0 100%!important}.flex-lg-0-1-100{flex:0 1 100%!important}.flex-lg-0-0-100{flex:0 0 100%!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-lg-start{justify-content:flex-start!important}.justify-lg-end{justify-content:flex-end!important}.justify-lg-center{justify-content:center!important}.justify-lg-space-between{justify-content:space-between!important}.justify-lg-space-around{justify-content:space-around!important}.justify-lg-space-evenly{justify-content:space-evenly!important}.align-lg-start{align-items:flex-start!important}.align-lg-end{align-items:flex-end!important}.align-lg-center{align-items:center!important}.align-lg-baseline{align-items:baseline!important}.align-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-space-between{align-content:space-between!important}.align-content-lg-space-around{align-content:space-around!important}.align-content-lg-space-evenly{align-content:space-evenly!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-6{order:6!important}.order-lg-7{order:7!important}.order-lg-8{order:8!important}.order-lg-9{order:9!important}.order-lg-10{order:10!important}.order-lg-11{order:11!important}.order-lg-12{order:12!important}.order-lg-last{order:13!important}.ma-lg-0{margin:0!important}.ma-lg-1{margin:4px!important}.ma-lg-2{margin:8px!important}.ma-lg-3{margin:12px!important}.ma-lg-4{margin:16px!important}.ma-lg-5{margin:20px!important}.ma-lg-6{margin:24px!important}.ma-lg-7{margin:28px!important}.ma-lg-8{margin:32px!important}.ma-lg-9{margin:36px!important}.ma-lg-10{margin:40px!important}.ma-lg-11{margin:44px!important}.ma-lg-12{margin:48px!important}.ma-lg-13{margin:52px!important}.ma-lg-14{margin:56px!important}.ma-lg-15{margin:60px!important}.ma-lg-16{margin:64px!important}.ma-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:4px!important;margin-left:4px!important}.mx-lg-2{margin-right:8px!important;margin-left:8px!important}.mx-lg-3{margin-right:12px!important;margin-left:12px!important}.mx-lg-4{margin-right:16px!important;margin-left:16px!important}.mx-lg-5{margin-right:20px!important;margin-left:20px!important}.mx-lg-6{margin-right:24px!important;margin-left:24px!important}.mx-lg-7{margin-right:28px!important;margin-left:28px!important}.mx-lg-8{margin-right:32px!important;margin-left:32px!important}.mx-lg-9{margin-right:36px!important;margin-left:36px!important}.mx-lg-10{margin-right:40px!important;margin-left:40px!important}.mx-lg-11{margin-right:44px!important;margin-left:44px!important}.mx-lg-12{margin-right:48px!important;margin-left:48px!important}.mx-lg-13{margin-right:52px!important;margin-left:52px!important}.mx-lg-14{margin-right:56px!important;margin-left:56px!important}.mx-lg-15{margin-right:60px!important;margin-left:60px!important}.mx-lg-16{margin-right:64px!important;margin-left:64px!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:4px!important;margin-bottom:4px!important}.my-lg-2{margin-top:8px!important;margin-bottom:8px!important}.my-lg-3{margin-top:12px!important;margin-bottom:12px!important}.my-lg-4{margin-top:16px!important;margin-bottom:16px!important}.my-lg-5{margin-top:20px!important;margin-bottom:20px!important}.my-lg-6{margin-top:24px!important;margin-bottom:24px!important}.my-lg-7{margin-top:28px!important;margin-bottom:28px!important}.my-lg-8{margin-top:32px!important;margin-bottom:32px!important}.my-lg-9{margin-top:36px!important;margin-bottom:36px!important}.my-lg-10{margin-top:40px!important;margin-bottom:40px!important}.my-lg-11{margin-top:44px!important;margin-bottom:44px!important}.my-lg-12{margin-top:48px!important;margin-bottom:48px!important}.my-lg-13{margin-top:52px!important;margin-bottom:52px!important}.my-lg-14{margin-top:56px!important;margin-bottom:56px!important}.my-lg-15{margin-top:60px!important;margin-bottom:60px!important}.my-lg-16{margin-top:64px!important;margin-bottom:64px!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:4px!important}.mt-lg-2{margin-top:8px!important}.mt-lg-3{margin-top:12px!important}.mt-lg-4{margin-top:16px!important}.mt-lg-5{margin-top:20px!important}.mt-lg-6{margin-top:24px!important}.mt-lg-7{margin-top:28px!important}.mt-lg-8{margin-top:32px!important}.mt-lg-9{margin-top:36px!important}.mt-lg-10{margin-top:40px!important}.mt-lg-11{margin-top:44px!important}.mt-lg-12{margin-top:48px!important}.mt-lg-13{margin-top:52px!important}.mt-lg-14{margin-top:56px!important}.mt-lg-15{margin-top:60px!important}.mt-lg-16{margin-top:64px!important}.mt-lg-auto{margin-top:auto!important}.mr-lg-0{margin-right:0!important}.mr-lg-1{margin-right:4px!important}.mr-lg-2{margin-right:8px!important}.mr-lg-3{margin-right:12px!important}.mr-lg-4{margin-right:16px!important}.mr-lg-5{margin-right:20px!important}.mr-lg-6{margin-right:24px!important}.mr-lg-7{margin-right:28px!important}.mr-lg-8{margin-right:32px!important}.mr-lg-9{margin-right:36px!important}.mr-lg-10{margin-right:40px!important}.mr-lg-11{margin-right:44px!important}.mr-lg-12{margin-right:48px!important}.mr-lg-13{margin-right:52px!important}.mr-lg-14{margin-right:56px!important}.mr-lg-15{margin-right:60px!important}.mr-lg-16{margin-right:64px!important}.mr-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:4px!important}.mb-lg-2{margin-bottom:8px!important}.mb-lg-3{margin-bottom:12px!important}.mb-lg-4{margin-bottom:16px!important}.mb-lg-5{margin-bottom:20px!important}.mb-lg-6{margin-bottom:24px!important}.mb-lg-7{margin-bottom:28px!important}.mb-lg-8{margin-bottom:32px!important}.mb-lg-9{margin-bottom:36px!important}.mb-lg-10{margin-bottom:40px!important}.mb-lg-11{margin-bottom:44px!important}.mb-lg-12{margin-bottom:48px!important}.mb-lg-13{margin-bottom:52px!important}.mb-lg-14{margin-bottom:56px!important}.mb-lg-15{margin-bottom:60px!important}.mb-lg-16{margin-bottom:64px!important}.mb-lg-auto{margin-bottom:auto!important}.ml-lg-0{margin-left:0!important}.ml-lg-1{margin-left:4px!important}.ml-lg-2{margin-left:8px!important}.ml-lg-3{margin-left:12px!important}.ml-lg-4{margin-left:16px!important}.ml-lg-5{margin-left:20px!important}.ml-lg-6{margin-left:24px!important}.ml-lg-7{margin-left:28px!important}.ml-lg-8{margin-left:32px!important}.ml-lg-9{margin-left:36px!important}.ml-lg-10{margin-left:40px!important}.ml-lg-11{margin-left:44px!important}.ml-lg-12{margin-left:48px!important}.ml-lg-13{margin-left:52px!important}.ml-lg-14{margin-left:56px!important}.ml-lg-15{margin-left:60px!important}.ml-lg-16{margin-left:64px!important}.ml-lg-auto{margin-left:auto!important}.ms-lg-0{margin-inline-start:0px!important}.ms-lg-1{margin-inline-start:4px!important}.ms-lg-2{margin-inline-start:8px!important}.ms-lg-3{margin-inline-start:12px!important}.ms-lg-4{margin-inline-start:16px!important}.ms-lg-5{margin-inline-start:20px!important}.ms-lg-6{margin-inline-start:24px!important}.ms-lg-7{margin-inline-start:28px!important}.ms-lg-8{margin-inline-start:32px!important}.ms-lg-9{margin-inline-start:36px!important}.ms-lg-10{margin-inline-start:40px!important}.ms-lg-11{margin-inline-start:44px!important}.ms-lg-12{margin-inline-start:48px!important}.ms-lg-13{margin-inline-start:52px!important}.ms-lg-14{margin-inline-start:56px!important}.ms-lg-15{margin-inline-start:60px!important}.ms-lg-16{margin-inline-start:64px!important}.ms-lg-auto{margin-inline-start:auto!important}.me-lg-0{margin-inline-end:0px!important}.me-lg-1{margin-inline-end:4px!important}.me-lg-2{margin-inline-end:8px!important}.me-lg-3{margin-inline-end:12px!important}.me-lg-4{margin-inline-end:16px!important}.me-lg-5{margin-inline-end:20px!important}.me-lg-6{margin-inline-end:24px!important}.me-lg-7{margin-inline-end:28px!important}.me-lg-8{margin-inline-end:32px!important}.me-lg-9{margin-inline-end:36px!important}.me-lg-10{margin-inline-end:40px!important}.me-lg-11{margin-inline-end:44px!important}.me-lg-12{margin-inline-end:48px!important}.me-lg-13{margin-inline-end:52px!important}.me-lg-14{margin-inline-end:56px!important}.me-lg-15{margin-inline-end:60px!important}.me-lg-16{margin-inline-end:64px!important}.me-lg-auto{margin-inline-end:auto!important}.ma-lg-n1{margin:-4px!important}.ma-lg-n2{margin:-8px!important}.ma-lg-n3{margin:-12px!important}.ma-lg-n4{margin:-16px!important}.ma-lg-n5{margin:-20px!important}.ma-lg-n6{margin:-24px!important}.ma-lg-n7{margin:-28px!important}.ma-lg-n8{margin:-32px!important}.ma-lg-n9{margin:-36px!important}.ma-lg-n10{margin:-40px!important}.ma-lg-n11{margin:-44px!important}.ma-lg-n12{margin:-48px!important}.ma-lg-n13{margin:-52px!important}.ma-lg-n14{margin:-56px!important}.ma-lg-n15{margin:-60px!important}.ma-lg-n16{margin:-64px!important}.mx-lg-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-lg-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-lg-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-lg-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-lg-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-lg-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-lg-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-lg-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-lg-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-lg-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-lg-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-lg-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-lg-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-lg-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-lg-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-lg-n16{margin-right:-64px!important;margin-left:-64px!important}.my-lg-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-lg-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-lg-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-lg-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-lg-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-lg-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-lg-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-lg-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-lg-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-lg-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-lg-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-lg-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-lg-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-lg-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-lg-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-lg-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-lg-n1{margin-top:-4px!important}.mt-lg-n2{margin-top:-8px!important}.mt-lg-n3{margin-top:-12px!important}.mt-lg-n4{margin-top:-16px!important}.mt-lg-n5{margin-top:-20px!important}.mt-lg-n6{margin-top:-24px!important}.mt-lg-n7{margin-top:-28px!important}.mt-lg-n8{margin-top:-32px!important}.mt-lg-n9{margin-top:-36px!important}.mt-lg-n10{margin-top:-40px!important}.mt-lg-n11{margin-top:-44px!important}.mt-lg-n12{margin-top:-48px!important}.mt-lg-n13{margin-top:-52px!important}.mt-lg-n14{margin-top:-56px!important}.mt-lg-n15{margin-top:-60px!important}.mt-lg-n16{margin-top:-64px!important}.mr-lg-n1{margin-right:-4px!important}.mr-lg-n2{margin-right:-8px!important}.mr-lg-n3{margin-right:-12px!important}.mr-lg-n4{margin-right:-16px!important}.mr-lg-n5{margin-right:-20px!important}.mr-lg-n6{margin-right:-24px!important}.mr-lg-n7{margin-right:-28px!important}.mr-lg-n8{margin-right:-32px!important}.mr-lg-n9{margin-right:-36px!important}.mr-lg-n10{margin-right:-40px!important}.mr-lg-n11{margin-right:-44px!important}.mr-lg-n12{margin-right:-48px!important}.mr-lg-n13{margin-right:-52px!important}.mr-lg-n14{margin-right:-56px!important}.mr-lg-n15{margin-right:-60px!important}.mr-lg-n16{margin-right:-64px!important}.mb-lg-n1{margin-bottom:-4px!important}.mb-lg-n2{margin-bottom:-8px!important}.mb-lg-n3{margin-bottom:-12px!important}.mb-lg-n4{margin-bottom:-16px!important}.mb-lg-n5{margin-bottom:-20px!important}.mb-lg-n6{margin-bottom:-24px!important}.mb-lg-n7{margin-bottom:-28px!important}.mb-lg-n8{margin-bottom:-32px!important}.mb-lg-n9{margin-bottom:-36px!important}.mb-lg-n10{margin-bottom:-40px!important}.mb-lg-n11{margin-bottom:-44px!important}.mb-lg-n12{margin-bottom:-48px!important}.mb-lg-n13{margin-bottom:-52px!important}.mb-lg-n14{margin-bottom:-56px!important}.mb-lg-n15{margin-bottom:-60px!important}.mb-lg-n16{margin-bottom:-64px!important}.ml-lg-n1{margin-left:-4px!important}.ml-lg-n2{margin-left:-8px!important}.ml-lg-n3{margin-left:-12px!important}.ml-lg-n4{margin-left:-16px!important}.ml-lg-n5{margin-left:-20px!important}.ml-lg-n6{margin-left:-24px!important}.ml-lg-n7{margin-left:-28px!important}.ml-lg-n8{margin-left:-32px!important}.ml-lg-n9{margin-left:-36px!important}.ml-lg-n10{margin-left:-40px!important}.ml-lg-n11{margin-left:-44px!important}.ml-lg-n12{margin-left:-48px!important}.ml-lg-n13{margin-left:-52px!important}.ml-lg-n14{margin-left:-56px!important}.ml-lg-n15{margin-left:-60px!important}.ml-lg-n16{margin-left:-64px!important}.ms-lg-n1{margin-inline-start:-4px!important}.ms-lg-n2{margin-inline-start:-8px!important}.ms-lg-n3{margin-inline-start:-12px!important}.ms-lg-n4{margin-inline-start:-16px!important}.ms-lg-n5{margin-inline-start:-20px!important}.ms-lg-n6{margin-inline-start:-24px!important}.ms-lg-n7{margin-inline-start:-28px!important}.ms-lg-n8{margin-inline-start:-32px!important}.ms-lg-n9{margin-inline-start:-36px!important}.ms-lg-n10{margin-inline-start:-40px!important}.ms-lg-n11{margin-inline-start:-44px!important}.ms-lg-n12{margin-inline-start:-48px!important}.ms-lg-n13{margin-inline-start:-52px!important}.ms-lg-n14{margin-inline-start:-56px!important}.ms-lg-n15{margin-inline-start:-60px!important}.ms-lg-n16{margin-inline-start:-64px!important}.me-lg-n1{margin-inline-end:-4px!important}.me-lg-n2{margin-inline-end:-8px!important}.me-lg-n3{margin-inline-end:-12px!important}.me-lg-n4{margin-inline-end:-16px!important}.me-lg-n5{margin-inline-end:-20px!important}.me-lg-n6{margin-inline-end:-24px!important}.me-lg-n7{margin-inline-end:-28px!important}.me-lg-n8{margin-inline-end:-32px!important}.me-lg-n9{margin-inline-end:-36px!important}.me-lg-n10{margin-inline-end:-40px!important}.me-lg-n11{margin-inline-end:-44px!important}.me-lg-n12{margin-inline-end:-48px!important}.me-lg-n13{margin-inline-end:-52px!important}.me-lg-n14{margin-inline-end:-56px!important}.me-lg-n15{margin-inline-end:-60px!important}.me-lg-n16{margin-inline-end:-64px!important}.pa-lg-0{padding:0!important}.pa-lg-1{padding:4px!important}.pa-lg-2{padding:8px!important}.pa-lg-3{padding:12px!important}.pa-lg-4{padding:16px!important}.pa-lg-5{padding:20px!important}.pa-lg-6{padding:24px!important}.pa-lg-7{padding:28px!important}.pa-lg-8{padding:32px!important}.pa-lg-9{padding:36px!important}.pa-lg-10{padding:40px!important}.pa-lg-11{padding:44px!important}.pa-lg-12{padding:48px!important}.pa-lg-13{padding:52px!important}.pa-lg-14{padding:56px!important}.pa-lg-15{padding:60px!important}.pa-lg-16{padding:64px!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:4px!important;padding-left:4px!important}.px-lg-2{padding-right:8px!important;padding-left:8px!important}.px-lg-3{padding-right:12px!important;padding-left:12px!important}.px-lg-4{padding-right:16px!important;padding-left:16px!important}.px-lg-5{padding-right:20px!important;padding-left:20px!important}.px-lg-6{padding-right:24px!important;padding-left:24px!important}.px-lg-7{padding-right:28px!important;padding-left:28px!important}.px-lg-8{padding-right:32px!important;padding-left:32px!important}.px-lg-9{padding-right:36px!important;padding-left:36px!important}.px-lg-10{padding-right:40px!important;padding-left:40px!important}.px-lg-11{padding-right:44px!important;padding-left:44px!important}.px-lg-12{padding-right:48px!important;padding-left:48px!important}.px-lg-13{padding-right:52px!important;padding-left:52px!important}.px-lg-14{padding-right:56px!important;padding-left:56px!important}.px-lg-15{padding-right:60px!important;padding-left:60px!important}.px-lg-16{padding-right:64px!important;padding-left:64px!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:4px!important;padding-bottom:4px!important}.py-lg-2{padding-top:8px!important;padding-bottom:8px!important}.py-lg-3{padding-top:12px!important;padding-bottom:12px!important}.py-lg-4{padding-top:16px!important;padding-bottom:16px!important}.py-lg-5{padding-top:20px!important;padding-bottom:20px!important}.py-lg-6{padding-top:24px!important;padding-bottom:24px!important}.py-lg-7{padding-top:28px!important;padding-bottom:28px!important}.py-lg-8{padding-top:32px!important;padding-bottom:32px!important}.py-lg-9{padding-top:36px!important;padding-bottom:36px!important}.py-lg-10{padding-top:40px!important;padding-bottom:40px!important}.py-lg-11{padding-top:44px!important;padding-bottom:44px!important}.py-lg-12{padding-top:48px!important;padding-bottom:48px!important}.py-lg-13{padding-top:52px!important;padding-bottom:52px!important}.py-lg-14{padding-top:56px!important;padding-bottom:56px!important}.py-lg-15{padding-top:60px!important;padding-bottom:60px!important}.py-lg-16{padding-top:64px!important;padding-bottom:64px!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:4px!important}.pt-lg-2{padding-top:8px!important}.pt-lg-3{padding-top:12px!important}.pt-lg-4{padding-top:16px!important}.pt-lg-5{padding-top:20px!important}.pt-lg-6{padding-top:24px!important}.pt-lg-7{padding-top:28px!important}.pt-lg-8{padding-top:32px!important}.pt-lg-9{padding-top:36px!important}.pt-lg-10{padding-top:40px!important}.pt-lg-11{padding-top:44px!important}.pt-lg-12{padding-top:48px!important}.pt-lg-13{padding-top:52px!important}.pt-lg-14{padding-top:56px!important}.pt-lg-15{padding-top:60px!important}.pt-lg-16{padding-top:64px!important}.pr-lg-0{padding-right:0!important}.pr-lg-1{padding-right:4px!important}.pr-lg-2{padding-right:8px!important}.pr-lg-3{padding-right:12px!important}.pr-lg-4{padding-right:16px!important}.pr-lg-5{padding-right:20px!important}.pr-lg-6{padding-right:24px!important}.pr-lg-7{padding-right:28px!important}.pr-lg-8{padding-right:32px!important}.pr-lg-9{padding-right:36px!important}.pr-lg-10{padding-right:40px!important}.pr-lg-11{padding-right:44px!important}.pr-lg-12{padding-right:48px!important}.pr-lg-13{padding-right:52px!important}.pr-lg-14{padding-right:56px!important}.pr-lg-15{padding-right:60px!important}.pr-lg-16{padding-right:64px!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:4px!important}.pb-lg-2{padding-bottom:8px!important}.pb-lg-3{padding-bottom:12px!important}.pb-lg-4{padding-bottom:16px!important}.pb-lg-5{padding-bottom:20px!important}.pb-lg-6{padding-bottom:24px!important}.pb-lg-7{padding-bottom:28px!important}.pb-lg-8{padding-bottom:32px!important}.pb-lg-9{padding-bottom:36px!important}.pb-lg-10{padding-bottom:40px!important}.pb-lg-11{padding-bottom:44px!important}.pb-lg-12{padding-bottom:48px!important}.pb-lg-13{padding-bottom:52px!important}.pb-lg-14{padding-bottom:56px!important}.pb-lg-15{padding-bottom:60px!important}.pb-lg-16{padding-bottom:64px!important}.pl-lg-0{padding-left:0!important}.pl-lg-1{padding-left:4px!important}.pl-lg-2{padding-left:8px!important}.pl-lg-3{padding-left:12px!important}.pl-lg-4{padding-left:16px!important}.pl-lg-5{padding-left:20px!important}.pl-lg-6{padding-left:24px!important}.pl-lg-7{padding-left:28px!important}.pl-lg-8{padding-left:32px!important}.pl-lg-9{padding-left:36px!important}.pl-lg-10{padding-left:40px!important}.pl-lg-11{padding-left:44px!important}.pl-lg-12{padding-left:48px!important}.pl-lg-13{padding-left:52px!important}.pl-lg-14{padding-left:56px!important}.pl-lg-15{padding-left:60px!important}.pl-lg-16{padding-left:64px!important}.ps-lg-0{padding-inline-start:0px!important}.ps-lg-1{padding-inline-start:4px!important}.ps-lg-2{padding-inline-start:8px!important}.ps-lg-3{padding-inline-start:12px!important}.ps-lg-4{padding-inline-start:16px!important}.ps-lg-5{padding-inline-start:20px!important}.ps-lg-6{padding-inline-start:24px!important}.ps-lg-7{padding-inline-start:28px!important}.ps-lg-8{padding-inline-start:32px!important}.ps-lg-9{padding-inline-start:36px!important}.ps-lg-10{padding-inline-start:40px!important}.ps-lg-11{padding-inline-start:44px!important}.ps-lg-12{padding-inline-start:48px!important}.ps-lg-13{padding-inline-start:52px!important}.ps-lg-14{padding-inline-start:56px!important}.ps-lg-15{padding-inline-start:60px!important}.ps-lg-16{padding-inline-start:64px!important}.pe-lg-0{padding-inline-end:0px!important}.pe-lg-1{padding-inline-end:4px!important}.pe-lg-2{padding-inline-end:8px!important}.pe-lg-3{padding-inline-end:12px!important}.pe-lg-4{padding-inline-end:16px!important}.pe-lg-5{padding-inline-end:20px!important}.pe-lg-6{padding-inline-end:24px!important}.pe-lg-7{padding-inline-end:28px!important}.pe-lg-8{padding-inline-end:32px!important}.pe-lg-9{padding-inline-end:36px!important}.pe-lg-10{padding-inline-end:40px!important}.pe-lg-11{padding-inline-end:44px!important}.pe-lg-12{padding-inline-end:48px!important}.pe-lg-13{padding-inline-end:52px!important}.pe-lg-14{padding-inline-end:56px!important}.pe-lg-15{padding-inline-end:60px!important}.pe-lg-16{padding-inline-end:64px!important}.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}.text-lg-justify{text-align:justify!important}.text-lg-start{text-align:start!important}.text-lg-end{text-align:end!important}.text-lg-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-lg-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 1920px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.float-xl-none{float:none!important}.float-xl-left{float:left!important}.float-xl-right{float:right!important}.v-locale--is-rtl .float-xl-end{float:left!important}.v-locale--is-rtl .float-xl-start,.v-locale--is-ltr .float-xl-end{float:right!important}.v-locale--is-ltr .float-xl-start{float:left!important}.flex-xl-fill,.flex-xl-1-1{flex:1 1 auto!important}.flex-xl-1-0{flex:1 0 auto!important}.flex-xl-0-1{flex:0 1 auto!important}.flex-xl-0-0{flex:0 0 auto!important}.flex-xl-1-1-100{flex:1 1 100%!important}.flex-xl-1-0-100{flex:1 0 100%!important}.flex-xl-0-1-100{flex:0 1 100%!important}.flex-xl-0-0-100{flex:0 0 100%!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-xl-start{justify-content:flex-start!important}.justify-xl-end{justify-content:flex-end!important}.justify-xl-center{justify-content:center!important}.justify-xl-space-between{justify-content:space-between!important}.justify-xl-space-around{justify-content:space-around!important}.justify-xl-space-evenly{justify-content:space-evenly!important}.align-xl-start{align-items:flex-start!important}.align-xl-end{align-items:flex-end!important}.align-xl-center{align-items:center!important}.align-xl-baseline{align-items:baseline!important}.align-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-space-between{align-content:space-between!important}.align-content-xl-space-around{align-content:space-around!important}.align-content-xl-space-evenly{align-content:space-evenly!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-6{order:6!important}.order-xl-7{order:7!important}.order-xl-8{order:8!important}.order-xl-9{order:9!important}.order-xl-10{order:10!important}.order-xl-11{order:11!important}.order-xl-12{order:12!important}.order-xl-last{order:13!important}.ma-xl-0{margin:0!important}.ma-xl-1{margin:4px!important}.ma-xl-2{margin:8px!important}.ma-xl-3{margin:12px!important}.ma-xl-4{margin:16px!important}.ma-xl-5{margin:20px!important}.ma-xl-6{margin:24px!important}.ma-xl-7{margin:28px!important}.ma-xl-8{margin:32px!important}.ma-xl-9{margin:36px!important}.ma-xl-10{margin:40px!important}.ma-xl-11{margin:44px!important}.ma-xl-12{margin:48px!important}.ma-xl-13{margin:52px!important}.ma-xl-14{margin:56px!important}.ma-xl-15{margin:60px!important}.ma-xl-16{margin:64px!important}.ma-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:4px!important;margin-left:4px!important}.mx-xl-2{margin-right:8px!important;margin-left:8px!important}.mx-xl-3{margin-right:12px!important;margin-left:12px!important}.mx-xl-4{margin-right:16px!important;margin-left:16px!important}.mx-xl-5{margin-right:20px!important;margin-left:20px!important}.mx-xl-6{margin-right:24px!important;margin-left:24px!important}.mx-xl-7{margin-right:28px!important;margin-left:28px!important}.mx-xl-8{margin-right:32px!important;margin-left:32px!important}.mx-xl-9{margin-right:36px!important;margin-left:36px!important}.mx-xl-10{margin-right:40px!important;margin-left:40px!important}.mx-xl-11{margin-right:44px!important;margin-left:44px!important}.mx-xl-12{margin-right:48px!important;margin-left:48px!important}.mx-xl-13{margin-right:52px!important;margin-left:52px!important}.mx-xl-14{margin-right:56px!important;margin-left:56px!important}.mx-xl-15{margin-right:60px!important;margin-left:60px!important}.mx-xl-16{margin-right:64px!important;margin-left:64px!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:4px!important;margin-bottom:4px!important}.my-xl-2{margin-top:8px!important;margin-bottom:8px!important}.my-xl-3{margin-top:12px!important;margin-bottom:12px!important}.my-xl-4{margin-top:16px!important;margin-bottom:16px!important}.my-xl-5{margin-top:20px!important;margin-bottom:20px!important}.my-xl-6{margin-top:24px!important;margin-bottom:24px!important}.my-xl-7{margin-top:28px!important;margin-bottom:28px!important}.my-xl-8{margin-top:32px!important;margin-bottom:32px!important}.my-xl-9{margin-top:36px!important;margin-bottom:36px!important}.my-xl-10{margin-top:40px!important;margin-bottom:40px!important}.my-xl-11{margin-top:44px!important;margin-bottom:44px!important}.my-xl-12{margin-top:48px!important;margin-bottom:48px!important}.my-xl-13{margin-top:52px!important;margin-bottom:52px!important}.my-xl-14{margin-top:56px!important;margin-bottom:56px!important}.my-xl-15{margin-top:60px!important;margin-bottom:60px!important}.my-xl-16{margin-top:64px!important;margin-bottom:64px!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:4px!important}.mt-xl-2{margin-top:8px!important}.mt-xl-3{margin-top:12px!important}.mt-xl-4{margin-top:16px!important}.mt-xl-5{margin-top:20px!important}.mt-xl-6{margin-top:24px!important}.mt-xl-7{margin-top:28px!important}.mt-xl-8{margin-top:32px!important}.mt-xl-9{margin-top:36px!important}.mt-xl-10{margin-top:40px!important}.mt-xl-11{margin-top:44px!important}.mt-xl-12{margin-top:48px!important}.mt-xl-13{margin-top:52px!important}.mt-xl-14{margin-top:56px!important}.mt-xl-15{margin-top:60px!important}.mt-xl-16{margin-top:64px!important}.mt-xl-auto{margin-top:auto!important}.mr-xl-0{margin-right:0!important}.mr-xl-1{margin-right:4px!important}.mr-xl-2{margin-right:8px!important}.mr-xl-3{margin-right:12px!important}.mr-xl-4{margin-right:16px!important}.mr-xl-5{margin-right:20px!important}.mr-xl-6{margin-right:24px!important}.mr-xl-7{margin-right:28px!important}.mr-xl-8{margin-right:32px!important}.mr-xl-9{margin-right:36px!important}.mr-xl-10{margin-right:40px!important}.mr-xl-11{margin-right:44px!important}.mr-xl-12{margin-right:48px!important}.mr-xl-13{margin-right:52px!important}.mr-xl-14{margin-right:56px!important}.mr-xl-15{margin-right:60px!important}.mr-xl-16{margin-right:64px!important}.mr-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:4px!important}.mb-xl-2{margin-bottom:8px!important}.mb-xl-3{margin-bottom:12px!important}.mb-xl-4{margin-bottom:16px!important}.mb-xl-5{margin-bottom:20px!important}.mb-xl-6{margin-bottom:24px!important}.mb-xl-7{margin-bottom:28px!important}.mb-xl-8{margin-bottom:32px!important}.mb-xl-9{margin-bottom:36px!important}.mb-xl-10{margin-bottom:40px!important}.mb-xl-11{margin-bottom:44px!important}.mb-xl-12{margin-bottom:48px!important}.mb-xl-13{margin-bottom:52px!important}.mb-xl-14{margin-bottom:56px!important}.mb-xl-15{margin-bottom:60px!important}.mb-xl-16{margin-bottom:64px!important}.mb-xl-auto{margin-bottom:auto!important}.ml-xl-0{margin-left:0!important}.ml-xl-1{margin-left:4px!important}.ml-xl-2{margin-left:8px!important}.ml-xl-3{margin-left:12px!important}.ml-xl-4{margin-left:16px!important}.ml-xl-5{margin-left:20px!important}.ml-xl-6{margin-left:24px!important}.ml-xl-7{margin-left:28px!important}.ml-xl-8{margin-left:32px!important}.ml-xl-9{margin-left:36px!important}.ml-xl-10{margin-left:40px!important}.ml-xl-11{margin-left:44px!important}.ml-xl-12{margin-left:48px!important}.ml-xl-13{margin-left:52px!important}.ml-xl-14{margin-left:56px!important}.ml-xl-15{margin-left:60px!important}.ml-xl-16{margin-left:64px!important}.ml-xl-auto{margin-left:auto!important}.ms-xl-0{margin-inline-start:0px!important}.ms-xl-1{margin-inline-start:4px!important}.ms-xl-2{margin-inline-start:8px!important}.ms-xl-3{margin-inline-start:12px!important}.ms-xl-4{margin-inline-start:16px!important}.ms-xl-5{margin-inline-start:20px!important}.ms-xl-6{margin-inline-start:24px!important}.ms-xl-7{margin-inline-start:28px!important}.ms-xl-8{margin-inline-start:32px!important}.ms-xl-9{margin-inline-start:36px!important}.ms-xl-10{margin-inline-start:40px!important}.ms-xl-11{margin-inline-start:44px!important}.ms-xl-12{margin-inline-start:48px!important}.ms-xl-13{margin-inline-start:52px!important}.ms-xl-14{margin-inline-start:56px!important}.ms-xl-15{margin-inline-start:60px!important}.ms-xl-16{margin-inline-start:64px!important}.ms-xl-auto{margin-inline-start:auto!important}.me-xl-0{margin-inline-end:0px!important}.me-xl-1{margin-inline-end:4px!important}.me-xl-2{margin-inline-end:8px!important}.me-xl-3{margin-inline-end:12px!important}.me-xl-4{margin-inline-end:16px!important}.me-xl-5{margin-inline-end:20px!important}.me-xl-6{margin-inline-end:24px!important}.me-xl-7{margin-inline-end:28px!important}.me-xl-8{margin-inline-end:32px!important}.me-xl-9{margin-inline-end:36px!important}.me-xl-10{margin-inline-end:40px!important}.me-xl-11{margin-inline-end:44px!important}.me-xl-12{margin-inline-end:48px!important}.me-xl-13{margin-inline-end:52px!important}.me-xl-14{margin-inline-end:56px!important}.me-xl-15{margin-inline-end:60px!important}.me-xl-16{margin-inline-end:64px!important}.me-xl-auto{margin-inline-end:auto!important}.ma-xl-n1{margin:-4px!important}.ma-xl-n2{margin:-8px!important}.ma-xl-n3{margin:-12px!important}.ma-xl-n4{margin:-16px!important}.ma-xl-n5{margin:-20px!important}.ma-xl-n6{margin:-24px!important}.ma-xl-n7{margin:-28px!important}.ma-xl-n8{margin:-32px!important}.ma-xl-n9{margin:-36px!important}.ma-xl-n10{margin:-40px!important}.ma-xl-n11{margin:-44px!important}.ma-xl-n12{margin:-48px!important}.ma-xl-n13{margin:-52px!important}.ma-xl-n14{margin:-56px!important}.ma-xl-n15{margin:-60px!important}.ma-xl-n16{margin:-64px!important}.mx-xl-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-xl-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-xl-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-xl-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-xl-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-xl-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-xl-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-xl-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-xl-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-xl-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-xl-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-xl-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-xl-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-xl-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-xl-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-xl-n16{margin-right:-64px!important;margin-left:-64px!important}.my-xl-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-xl-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-xl-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-xl-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-xl-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-xl-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-xl-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-xl-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-xl-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-xl-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-xl-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-xl-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-xl-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-xl-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-xl-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-xl-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-xl-n1{margin-top:-4px!important}.mt-xl-n2{margin-top:-8px!important}.mt-xl-n3{margin-top:-12px!important}.mt-xl-n4{margin-top:-16px!important}.mt-xl-n5{margin-top:-20px!important}.mt-xl-n6{margin-top:-24px!important}.mt-xl-n7{margin-top:-28px!important}.mt-xl-n8{margin-top:-32px!important}.mt-xl-n9{margin-top:-36px!important}.mt-xl-n10{margin-top:-40px!important}.mt-xl-n11{margin-top:-44px!important}.mt-xl-n12{margin-top:-48px!important}.mt-xl-n13{margin-top:-52px!important}.mt-xl-n14{margin-top:-56px!important}.mt-xl-n15{margin-top:-60px!important}.mt-xl-n16{margin-top:-64px!important}.mr-xl-n1{margin-right:-4px!important}.mr-xl-n2{margin-right:-8px!important}.mr-xl-n3{margin-right:-12px!important}.mr-xl-n4{margin-right:-16px!important}.mr-xl-n5{margin-right:-20px!important}.mr-xl-n6{margin-right:-24px!important}.mr-xl-n7{margin-right:-28px!important}.mr-xl-n8{margin-right:-32px!important}.mr-xl-n9{margin-right:-36px!important}.mr-xl-n10{margin-right:-40px!important}.mr-xl-n11{margin-right:-44px!important}.mr-xl-n12{margin-right:-48px!important}.mr-xl-n13{margin-right:-52px!important}.mr-xl-n14{margin-right:-56px!important}.mr-xl-n15{margin-right:-60px!important}.mr-xl-n16{margin-right:-64px!important}.mb-xl-n1{margin-bottom:-4px!important}.mb-xl-n2{margin-bottom:-8px!important}.mb-xl-n3{margin-bottom:-12px!important}.mb-xl-n4{margin-bottom:-16px!important}.mb-xl-n5{margin-bottom:-20px!important}.mb-xl-n6{margin-bottom:-24px!important}.mb-xl-n7{margin-bottom:-28px!important}.mb-xl-n8{margin-bottom:-32px!important}.mb-xl-n9{margin-bottom:-36px!important}.mb-xl-n10{margin-bottom:-40px!important}.mb-xl-n11{margin-bottom:-44px!important}.mb-xl-n12{margin-bottom:-48px!important}.mb-xl-n13{margin-bottom:-52px!important}.mb-xl-n14{margin-bottom:-56px!important}.mb-xl-n15{margin-bottom:-60px!important}.mb-xl-n16{margin-bottom:-64px!important}.ml-xl-n1{margin-left:-4px!important}.ml-xl-n2{margin-left:-8px!important}.ml-xl-n3{margin-left:-12px!important}.ml-xl-n4{margin-left:-16px!important}.ml-xl-n5{margin-left:-20px!important}.ml-xl-n6{margin-left:-24px!important}.ml-xl-n7{margin-left:-28px!important}.ml-xl-n8{margin-left:-32px!important}.ml-xl-n9{margin-left:-36px!important}.ml-xl-n10{margin-left:-40px!important}.ml-xl-n11{margin-left:-44px!important}.ml-xl-n12{margin-left:-48px!important}.ml-xl-n13{margin-left:-52px!important}.ml-xl-n14{margin-left:-56px!important}.ml-xl-n15{margin-left:-60px!important}.ml-xl-n16{margin-left:-64px!important}.ms-xl-n1{margin-inline-start:-4px!important}.ms-xl-n2{margin-inline-start:-8px!important}.ms-xl-n3{margin-inline-start:-12px!important}.ms-xl-n4{margin-inline-start:-16px!important}.ms-xl-n5{margin-inline-start:-20px!important}.ms-xl-n6{margin-inline-start:-24px!important}.ms-xl-n7{margin-inline-start:-28px!important}.ms-xl-n8{margin-inline-start:-32px!important}.ms-xl-n9{margin-inline-start:-36px!important}.ms-xl-n10{margin-inline-start:-40px!important}.ms-xl-n11{margin-inline-start:-44px!important}.ms-xl-n12{margin-inline-start:-48px!important}.ms-xl-n13{margin-inline-start:-52px!important}.ms-xl-n14{margin-inline-start:-56px!important}.ms-xl-n15{margin-inline-start:-60px!important}.ms-xl-n16{margin-inline-start:-64px!important}.me-xl-n1{margin-inline-end:-4px!important}.me-xl-n2{margin-inline-end:-8px!important}.me-xl-n3{margin-inline-end:-12px!important}.me-xl-n4{margin-inline-end:-16px!important}.me-xl-n5{margin-inline-end:-20px!important}.me-xl-n6{margin-inline-end:-24px!important}.me-xl-n7{margin-inline-end:-28px!important}.me-xl-n8{margin-inline-end:-32px!important}.me-xl-n9{margin-inline-end:-36px!important}.me-xl-n10{margin-inline-end:-40px!important}.me-xl-n11{margin-inline-end:-44px!important}.me-xl-n12{margin-inline-end:-48px!important}.me-xl-n13{margin-inline-end:-52px!important}.me-xl-n14{margin-inline-end:-56px!important}.me-xl-n15{margin-inline-end:-60px!important}.me-xl-n16{margin-inline-end:-64px!important}.pa-xl-0{padding:0!important}.pa-xl-1{padding:4px!important}.pa-xl-2{padding:8px!important}.pa-xl-3{padding:12px!important}.pa-xl-4{padding:16px!important}.pa-xl-5{padding:20px!important}.pa-xl-6{padding:24px!important}.pa-xl-7{padding:28px!important}.pa-xl-8{padding:32px!important}.pa-xl-9{padding:36px!important}.pa-xl-10{padding:40px!important}.pa-xl-11{padding:44px!important}.pa-xl-12{padding:48px!important}.pa-xl-13{padding:52px!important}.pa-xl-14{padding:56px!important}.pa-xl-15{padding:60px!important}.pa-xl-16{padding:64px!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:4px!important;padding-left:4px!important}.px-xl-2{padding-right:8px!important;padding-left:8px!important}.px-xl-3{padding-right:12px!important;padding-left:12px!important}.px-xl-4{padding-right:16px!important;padding-left:16px!important}.px-xl-5{padding-right:20px!important;padding-left:20px!important}.px-xl-6{padding-right:24px!important;padding-left:24px!important}.px-xl-7{padding-right:28px!important;padding-left:28px!important}.px-xl-8{padding-right:32px!important;padding-left:32px!important}.px-xl-9{padding-right:36px!important;padding-left:36px!important}.px-xl-10{padding-right:40px!important;padding-left:40px!important}.px-xl-11{padding-right:44px!important;padding-left:44px!important}.px-xl-12{padding-right:48px!important;padding-left:48px!important}.px-xl-13{padding-right:52px!important;padding-left:52px!important}.px-xl-14{padding-right:56px!important;padding-left:56px!important}.px-xl-15{padding-right:60px!important;padding-left:60px!important}.px-xl-16{padding-right:64px!important;padding-left:64px!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:4px!important;padding-bottom:4px!important}.py-xl-2{padding-top:8px!important;padding-bottom:8px!important}.py-xl-3{padding-top:12px!important;padding-bottom:12px!important}.py-xl-4{padding-top:16px!important;padding-bottom:16px!important}.py-xl-5{padding-top:20px!important;padding-bottom:20px!important}.py-xl-6{padding-top:24px!important;padding-bottom:24px!important}.py-xl-7{padding-top:28px!important;padding-bottom:28px!important}.py-xl-8{padding-top:32px!important;padding-bottom:32px!important}.py-xl-9{padding-top:36px!important;padding-bottom:36px!important}.py-xl-10{padding-top:40px!important;padding-bottom:40px!important}.py-xl-11{padding-top:44px!important;padding-bottom:44px!important}.py-xl-12{padding-top:48px!important;padding-bottom:48px!important}.py-xl-13{padding-top:52px!important;padding-bottom:52px!important}.py-xl-14{padding-top:56px!important;padding-bottom:56px!important}.py-xl-15{padding-top:60px!important;padding-bottom:60px!important}.py-xl-16{padding-top:64px!important;padding-bottom:64px!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:4px!important}.pt-xl-2{padding-top:8px!important}.pt-xl-3{padding-top:12px!important}.pt-xl-4{padding-top:16px!important}.pt-xl-5{padding-top:20px!important}.pt-xl-6{padding-top:24px!important}.pt-xl-7{padding-top:28px!important}.pt-xl-8{padding-top:32px!important}.pt-xl-9{padding-top:36px!important}.pt-xl-10{padding-top:40px!important}.pt-xl-11{padding-top:44px!important}.pt-xl-12{padding-top:48px!important}.pt-xl-13{padding-top:52px!important}.pt-xl-14{padding-top:56px!important}.pt-xl-15{padding-top:60px!important}.pt-xl-16{padding-top:64px!important}.pr-xl-0{padding-right:0!important}.pr-xl-1{padding-right:4px!important}.pr-xl-2{padding-right:8px!important}.pr-xl-3{padding-right:12px!important}.pr-xl-4{padding-right:16px!important}.pr-xl-5{padding-right:20px!important}.pr-xl-6{padding-right:24px!important}.pr-xl-7{padding-right:28px!important}.pr-xl-8{padding-right:32px!important}.pr-xl-9{padding-right:36px!important}.pr-xl-10{padding-right:40px!important}.pr-xl-11{padding-right:44px!important}.pr-xl-12{padding-right:48px!important}.pr-xl-13{padding-right:52px!important}.pr-xl-14{padding-right:56px!important}.pr-xl-15{padding-right:60px!important}.pr-xl-16{padding-right:64px!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:4px!important}.pb-xl-2{padding-bottom:8px!important}.pb-xl-3{padding-bottom:12px!important}.pb-xl-4{padding-bottom:16px!important}.pb-xl-5{padding-bottom:20px!important}.pb-xl-6{padding-bottom:24px!important}.pb-xl-7{padding-bottom:28px!important}.pb-xl-8{padding-bottom:32px!important}.pb-xl-9{padding-bottom:36px!important}.pb-xl-10{padding-bottom:40px!important}.pb-xl-11{padding-bottom:44px!important}.pb-xl-12{padding-bottom:48px!important}.pb-xl-13{padding-bottom:52px!important}.pb-xl-14{padding-bottom:56px!important}.pb-xl-15{padding-bottom:60px!important}.pb-xl-16{padding-bottom:64px!important}.pl-xl-0{padding-left:0!important}.pl-xl-1{padding-left:4px!important}.pl-xl-2{padding-left:8px!important}.pl-xl-3{padding-left:12px!important}.pl-xl-4{padding-left:16px!important}.pl-xl-5{padding-left:20px!important}.pl-xl-6{padding-left:24px!important}.pl-xl-7{padding-left:28px!important}.pl-xl-8{padding-left:32px!important}.pl-xl-9{padding-left:36px!important}.pl-xl-10{padding-left:40px!important}.pl-xl-11{padding-left:44px!important}.pl-xl-12{padding-left:48px!important}.pl-xl-13{padding-left:52px!important}.pl-xl-14{padding-left:56px!important}.pl-xl-15{padding-left:60px!important}.pl-xl-16{padding-left:64px!important}.ps-xl-0{padding-inline-start:0px!important}.ps-xl-1{padding-inline-start:4px!important}.ps-xl-2{padding-inline-start:8px!important}.ps-xl-3{padding-inline-start:12px!important}.ps-xl-4{padding-inline-start:16px!important}.ps-xl-5{padding-inline-start:20px!important}.ps-xl-6{padding-inline-start:24px!important}.ps-xl-7{padding-inline-start:28px!important}.ps-xl-8{padding-inline-start:32px!important}.ps-xl-9{padding-inline-start:36px!important}.ps-xl-10{padding-inline-start:40px!important}.ps-xl-11{padding-inline-start:44px!important}.ps-xl-12{padding-inline-start:48px!important}.ps-xl-13{padding-inline-start:52px!important}.ps-xl-14{padding-inline-start:56px!important}.ps-xl-15{padding-inline-start:60px!important}.ps-xl-16{padding-inline-start:64px!important}.pe-xl-0{padding-inline-end:0px!important}.pe-xl-1{padding-inline-end:4px!important}.pe-xl-2{padding-inline-end:8px!important}.pe-xl-3{padding-inline-end:12px!important}.pe-xl-4{padding-inline-end:16px!important}.pe-xl-5{padding-inline-end:20px!important}.pe-xl-6{padding-inline-end:24px!important}.pe-xl-7{padding-inline-end:28px!important}.pe-xl-8{padding-inline-end:32px!important}.pe-xl-9{padding-inline-end:36px!important}.pe-xl-10{padding-inline-end:40px!important}.pe-xl-11{padding-inline-end:44px!important}.pe-xl-12{padding-inline-end:48px!important}.pe-xl-13{padding-inline-end:52px!important}.pe-xl-14{padding-inline-end:56px!important}.pe-xl-15{padding-inline-end:60px!important}.pe-xl-16{padding-inline-end:64px!important}.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}.text-xl-justify{text-align:justify!important}.text-xl-start{text-align:start!important}.text-xl-end{text-align:end!important}.text-xl-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-xl-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 2560px){.d-xxl-none{display:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.float-xxl-none{float:none!important}.float-xxl-left{float:left!important}.float-xxl-right{float:right!important}.v-locale--is-rtl .float-xxl-end{float:left!important}.v-locale--is-rtl .float-xxl-start,.v-locale--is-ltr .float-xxl-end{float:right!important}.v-locale--is-ltr .float-xxl-start{float:left!important}.flex-xxl-fill,.flex-xxl-1-1{flex:1 1 auto!important}.flex-xxl-1-0{flex:1 0 auto!important}.flex-xxl-0-1{flex:0 1 auto!important}.flex-xxl-0-0{flex:0 0 auto!important}.flex-xxl-1-1-100{flex:1 1 100%!important}.flex-xxl-1-0-100{flex:1 0 100%!important}.flex-xxl-0-1-100{flex:0 1 100%!important}.flex-xxl-0-0-100{flex:0 0 100%!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-xxl-start{justify-content:flex-start!important}.justify-xxl-end{justify-content:flex-end!important}.justify-xxl-center{justify-content:center!important}.justify-xxl-space-between{justify-content:space-between!important}.justify-xxl-space-around{justify-content:space-around!important}.justify-xxl-space-evenly{justify-content:space-evenly!important}.align-xxl-start{align-items:flex-start!important}.align-xxl-end{align-items:flex-end!important}.align-xxl-center{align-items:center!important}.align-xxl-baseline{align-items:baseline!important}.align-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-space-between{align-content:space-between!important}.align-content-xxl-space-around{align-content:space-around!important}.align-content-xxl-space-evenly{align-content:space-evenly!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-6{order:6!important}.order-xxl-7{order:7!important}.order-xxl-8{order:8!important}.order-xxl-9{order:9!important}.order-xxl-10{order:10!important}.order-xxl-11{order:11!important}.order-xxl-12{order:12!important}.order-xxl-last{order:13!important}.ma-xxl-0{margin:0!important}.ma-xxl-1{margin:4px!important}.ma-xxl-2{margin:8px!important}.ma-xxl-3{margin:12px!important}.ma-xxl-4{margin:16px!important}.ma-xxl-5{margin:20px!important}.ma-xxl-6{margin:24px!important}.ma-xxl-7{margin:28px!important}.ma-xxl-8{margin:32px!important}.ma-xxl-9{margin:36px!important}.ma-xxl-10{margin:40px!important}.ma-xxl-11{margin:44px!important}.ma-xxl-12{margin:48px!important}.ma-xxl-13{margin:52px!important}.ma-xxl-14{margin:56px!important}.ma-xxl-15{margin:60px!important}.ma-xxl-16{margin:64px!important}.ma-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:4px!important;margin-left:4px!important}.mx-xxl-2{margin-right:8px!important;margin-left:8px!important}.mx-xxl-3{margin-right:12px!important;margin-left:12px!important}.mx-xxl-4{margin-right:16px!important;margin-left:16px!important}.mx-xxl-5{margin-right:20px!important;margin-left:20px!important}.mx-xxl-6{margin-right:24px!important;margin-left:24px!important}.mx-xxl-7{margin-right:28px!important;margin-left:28px!important}.mx-xxl-8{margin-right:32px!important;margin-left:32px!important}.mx-xxl-9{margin-right:36px!important;margin-left:36px!important}.mx-xxl-10{margin-right:40px!important;margin-left:40px!important}.mx-xxl-11{margin-right:44px!important;margin-left:44px!important}.mx-xxl-12{margin-right:48px!important;margin-left:48px!important}.mx-xxl-13{margin-right:52px!important;margin-left:52px!important}.mx-xxl-14{margin-right:56px!important;margin-left:56px!important}.mx-xxl-15{margin-right:60px!important;margin-left:60px!important}.mx-xxl-16{margin-right:64px!important;margin-left:64px!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:4px!important;margin-bottom:4px!important}.my-xxl-2{margin-top:8px!important;margin-bottom:8px!important}.my-xxl-3{margin-top:12px!important;margin-bottom:12px!important}.my-xxl-4{margin-top:16px!important;margin-bottom:16px!important}.my-xxl-5{margin-top:20px!important;margin-bottom:20px!important}.my-xxl-6{margin-top:24px!important;margin-bottom:24px!important}.my-xxl-7{margin-top:28px!important;margin-bottom:28px!important}.my-xxl-8{margin-top:32px!important;margin-bottom:32px!important}.my-xxl-9{margin-top:36px!important;margin-bottom:36px!important}.my-xxl-10{margin-top:40px!important;margin-bottom:40px!important}.my-xxl-11{margin-top:44px!important;margin-bottom:44px!important}.my-xxl-12{margin-top:48px!important;margin-bottom:48px!important}.my-xxl-13{margin-top:52px!important;margin-bottom:52px!important}.my-xxl-14{margin-top:56px!important;margin-bottom:56px!important}.my-xxl-15{margin-top:60px!important;margin-bottom:60px!important}.my-xxl-16{margin-top:64px!important;margin-bottom:64px!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:4px!important}.mt-xxl-2{margin-top:8px!important}.mt-xxl-3{margin-top:12px!important}.mt-xxl-4{margin-top:16px!important}.mt-xxl-5{margin-top:20px!important}.mt-xxl-6{margin-top:24px!important}.mt-xxl-7{margin-top:28px!important}.mt-xxl-8{margin-top:32px!important}.mt-xxl-9{margin-top:36px!important}.mt-xxl-10{margin-top:40px!important}.mt-xxl-11{margin-top:44px!important}.mt-xxl-12{margin-top:48px!important}.mt-xxl-13{margin-top:52px!important}.mt-xxl-14{margin-top:56px!important}.mt-xxl-15{margin-top:60px!important}.mt-xxl-16{margin-top:64px!important}.mt-xxl-auto{margin-top:auto!important}.mr-xxl-0{margin-right:0!important}.mr-xxl-1{margin-right:4px!important}.mr-xxl-2{margin-right:8px!important}.mr-xxl-3{margin-right:12px!important}.mr-xxl-4{margin-right:16px!important}.mr-xxl-5{margin-right:20px!important}.mr-xxl-6{margin-right:24px!important}.mr-xxl-7{margin-right:28px!important}.mr-xxl-8{margin-right:32px!important}.mr-xxl-9{margin-right:36px!important}.mr-xxl-10{margin-right:40px!important}.mr-xxl-11{margin-right:44px!important}.mr-xxl-12{margin-right:48px!important}.mr-xxl-13{margin-right:52px!important}.mr-xxl-14{margin-right:56px!important}.mr-xxl-15{margin-right:60px!important}.mr-xxl-16{margin-right:64px!important}.mr-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:4px!important}.mb-xxl-2{margin-bottom:8px!important}.mb-xxl-3{margin-bottom:12px!important}.mb-xxl-4{margin-bottom:16px!important}.mb-xxl-5{margin-bottom:20px!important}.mb-xxl-6{margin-bottom:24px!important}.mb-xxl-7{margin-bottom:28px!important}.mb-xxl-8{margin-bottom:32px!important}.mb-xxl-9{margin-bottom:36px!important}.mb-xxl-10{margin-bottom:40px!important}.mb-xxl-11{margin-bottom:44px!important}.mb-xxl-12{margin-bottom:48px!important}.mb-xxl-13{margin-bottom:52px!important}.mb-xxl-14{margin-bottom:56px!important}.mb-xxl-15{margin-bottom:60px!important}.mb-xxl-16{margin-bottom:64px!important}.mb-xxl-auto{margin-bottom:auto!important}.ml-xxl-0{margin-left:0!important}.ml-xxl-1{margin-left:4px!important}.ml-xxl-2{margin-left:8px!important}.ml-xxl-3{margin-left:12px!important}.ml-xxl-4{margin-left:16px!important}.ml-xxl-5{margin-left:20px!important}.ml-xxl-6{margin-left:24px!important}.ml-xxl-7{margin-left:28px!important}.ml-xxl-8{margin-left:32px!important}.ml-xxl-9{margin-left:36px!important}.ml-xxl-10{margin-left:40px!important}.ml-xxl-11{margin-left:44px!important}.ml-xxl-12{margin-left:48px!important}.ml-xxl-13{margin-left:52px!important}.ml-xxl-14{margin-left:56px!important}.ml-xxl-15{margin-left:60px!important}.ml-xxl-16{margin-left:64px!important}.ml-xxl-auto{margin-left:auto!important}.ms-xxl-0{margin-inline-start:0px!important}.ms-xxl-1{margin-inline-start:4px!important}.ms-xxl-2{margin-inline-start:8px!important}.ms-xxl-3{margin-inline-start:12px!important}.ms-xxl-4{margin-inline-start:16px!important}.ms-xxl-5{margin-inline-start:20px!important}.ms-xxl-6{margin-inline-start:24px!important}.ms-xxl-7{margin-inline-start:28px!important}.ms-xxl-8{margin-inline-start:32px!important}.ms-xxl-9{margin-inline-start:36px!important}.ms-xxl-10{margin-inline-start:40px!important}.ms-xxl-11{margin-inline-start:44px!important}.ms-xxl-12{margin-inline-start:48px!important}.ms-xxl-13{margin-inline-start:52px!important}.ms-xxl-14{margin-inline-start:56px!important}.ms-xxl-15{margin-inline-start:60px!important}.ms-xxl-16{margin-inline-start:64px!important}.ms-xxl-auto{margin-inline-start:auto!important}.me-xxl-0{margin-inline-end:0px!important}.me-xxl-1{margin-inline-end:4px!important}.me-xxl-2{margin-inline-end:8px!important}.me-xxl-3{margin-inline-end:12px!important}.me-xxl-4{margin-inline-end:16px!important}.me-xxl-5{margin-inline-end:20px!important}.me-xxl-6{margin-inline-end:24px!important}.me-xxl-7{margin-inline-end:28px!important}.me-xxl-8{margin-inline-end:32px!important}.me-xxl-9{margin-inline-end:36px!important}.me-xxl-10{margin-inline-end:40px!important}.me-xxl-11{margin-inline-end:44px!important}.me-xxl-12{margin-inline-end:48px!important}.me-xxl-13{margin-inline-end:52px!important}.me-xxl-14{margin-inline-end:56px!important}.me-xxl-15{margin-inline-end:60px!important}.me-xxl-16{margin-inline-end:64px!important}.me-xxl-auto{margin-inline-end:auto!important}.ma-xxl-n1{margin:-4px!important}.ma-xxl-n2{margin:-8px!important}.ma-xxl-n3{margin:-12px!important}.ma-xxl-n4{margin:-16px!important}.ma-xxl-n5{margin:-20px!important}.ma-xxl-n6{margin:-24px!important}.ma-xxl-n7{margin:-28px!important}.ma-xxl-n8{margin:-32px!important}.ma-xxl-n9{margin:-36px!important}.ma-xxl-n10{margin:-40px!important}.ma-xxl-n11{margin:-44px!important}.ma-xxl-n12{margin:-48px!important}.ma-xxl-n13{margin:-52px!important}.ma-xxl-n14{margin:-56px!important}.ma-xxl-n15{margin:-60px!important}.ma-xxl-n16{margin:-64px!important}.mx-xxl-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-xxl-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-xxl-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-xxl-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-xxl-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-xxl-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-xxl-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-xxl-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-xxl-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-xxl-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-xxl-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-xxl-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-xxl-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-xxl-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-xxl-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-xxl-n16{margin-right:-64px!important;margin-left:-64px!important}.my-xxl-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-xxl-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-xxl-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-xxl-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-xxl-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-xxl-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-xxl-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-xxl-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-xxl-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-xxl-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-xxl-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-xxl-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-xxl-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-xxl-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-xxl-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-xxl-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-xxl-n1{margin-top:-4px!important}.mt-xxl-n2{margin-top:-8px!important}.mt-xxl-n3{margin-top:-12px!important}.mt-xxl-n4{margin-top:-16px!important}.mt-xxl-n5{margin-top:-20px!important}.mt-xxl-n6{margin-top:-24px!important}.mt-xxl-n7{margin-top:-28px!important}.mt-xxl-n8{margin-top:-32px!important}.mt-xxl-n9{margin-top:-36px!important}.mt-xxl-n10{margin-top:-40px!important}.mt-xxl-n11{margin-top:-44px!important}.mt-xxl-n12{margin-top:-48px!important}.mt-xxl-n13{margin-top:-52px!important}.mt-xxl-n14{margin-top:-56px!important}.mt-xxl-n15{margin-top:-60px!important}.mt-xxl-n16{margin-top:-64px!important}.mr-xxl-n1{margin-right:-4px!important}.mr-xxl-n2{margin-right:-8px!important}.mr-xxl-n3{margin-right:-12px!important}.mr-xxl-n4{margin-right:-16px!important}.mr-xxl-n5{margin-right:-20px!important}.mr-xxl-n6{margin-right:-24px!important}.mr-xxl-n7{margin-right:-28px!important}.mr-xxl-n8{margin-right:-32px!important}.mr-xxl-n9{margin-right:-36px!important}.mr-xxl-n10{margin-right:-40px!important}.mr-xxl-n11{margin-right:-44px!important}.mr-xxl-n12{margin-right:-48px!important}.mr-xxl-n13{margin-right:-52px!important}.mr-xxl-n14{margin-right:-56px!important}.mr-xxl-n15{margin-right:-60px!important}.mr-xxl-n16{margin-right:-64px!important}.mb-xxl-n1{margin-bottom:-4px!important}.mb-xxl-n2{margin-bottom:-8px!important}.mb-xxl-n3{margin-bottom:-12px!important}.mb-xxl-n4{margin-bottom:-16px!important}.mb-xxl-n5{margin-bottom:-20px!important}.mb-xxl-n6{margin-bottom:-24px!important}.mb-xxl-n7{margin-bottom:-28px!important}.mb-xxl-n8{margin-bottom:-32px!important}.mb-xxl-n9{margin-bottom:-36px!important}.mb-xxl-n10{margin-bottom:-40px!important}.mb-xxl-n11{margin-bottom:-44px!important}.mb-xxl-n12{margin-bottom:-48px!important}.mb-xxl-n13{margin-bottom:-52px!important}.mb-xxl-n14{margin-bottom:-56px!important}.mb-xxl-n15{margin-bottom:-60px!important}.mb-xxl-n16{margin-bottom:-64px!important}.ml-xxl-n1{margin-left:-4px!important}.ml-xxl-n2{margin-left:-8px!important}.ml-xxl-n3{margin-left:-12px!important}.ml-xxl-n4{margin-left:-16px!important}.ml-xxl-n5{margin-left:-20px!important}.ml-xxl-n6{margin-left:-24px!important}.ml-xxl-n7{margin-left:-28px!important}.ml-xxl-n8{margin-left:-32px!important}.ml-xxl-n9{margin-left:-36px!important}.ml-xxl-n10{margin-left:-40px!important}.ml-xxl-n11{margin-left:-44px!important}.ml-xxl-n12{margin-left:-48px!important}.ml-xxl-n13{margin-left:-52px!important}.ml-xxl-n14{margin-left:-56px!important}.ml-xxl-n15{margin-left:-60px!important}.ml-xxl-n16{margin-left:-64px!important}.ms-xxl-n1{margin-inline-start:-4px!important}.ms-xxl-n2{margin-inline-start:-8px!important}.ms-xxl-n3{margin-inline-start:-12px!important}.ms-xxl-n4{margin-inline-start:-16px!important}.ms-xxl-n5{margin-inline-start:-20px!important}.ms-xxl-n6{margin-inline-start:-24px!important}.ms-xxl-n7{margin-inline-start:-28px!important}.ms-xxl-n8{margin-inline-start:-32px!important}.ms-xxl-n9{margin-inline-start:-36px!important}.ms-xxl-n10{margin-inline-start:-40px!important}.ms-xxl-n11{margin-inline-start:-44px!important}.ms-xxl-n12{margin-inline-start:-48px!important}.ms-xxl-n13{margin-inline-start:-52px!important}.ms-xxl-n14{margin-inline-start:-56px!important}.ms-xxl-n15{margin-inline-start:-60px!important}.ms-xxl-n16{margin-inline-start:-64px!important}.me-xxl-n1{margin-inline-end:-4px!important}.me-xxl-n2{margin-inline-end:-8px!important}.me-xxl-n3{margin-inline-end:-12px!important}.me-xxl-n4{margin-inline-end:-16px!important}.me-xxl-n5{margin-inline-end:-20px!important}.me-xxl-n6{margin-inline-end:-24px!important}.me-xxl-n7{margin-inline-end:-28px!important}.me-xxl-n8{margin-inline-end:-32px!important}.me-xxl-n9{margin-inline-end:-36px!important}.me-xxl-n10{margin-inline-end:-40px!important}.me-xxl-n11{margin-inline-end:-44px!important}.me-xxl-n12{margin-inline-end:-48px!important}.me-xxl-n13{margin-inline-end:-52px!important}.me-xxl-n14{margin-inline-end:-56px!important}.me-xxl-n15{margin-inline-end:-60px!important}.me-xxl-n16{margin-inline-end:-64px!important}.pa-xxl-0{padding:0!important}.pa-xxl-1{padding:4px!important}.pa-xxl-2{padding:8px!important}.pa-xxl-3{padding:12px!important}.pa-xxl-4{padding:16px!important}.pa-xxl-5{padding:20px!important}.pa-xxl-6{padding:24px!important}.pa-xxl-7{padding:28px!important}.pa-xxl-8{padding:32px!important}.pa-xxl-9{padding:36px!important}.pa-xxl-10{padding:40px!important}.pa-xxl-11{padding:44px!important}.pa-xxl-12{padding:48px!important}.pa-xxl-13{padding:52px!important}.pa-xxl-14{padding:56px!important}.pa-xxl-15{padding:60px!important}.pa-xxl-16{padding:64px!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:4px!important;padding-left:4px!important}.px-xxl-2{padding-right:8px!important;padding-left:8px!important}.px-xxl-3{padding-right:12px!important;padding-left:12px!important}.px-xxl-4{padding-right:16px!important;padding-left:16px!important}.px-xxl-5{padding-right:20px!important;padding-left:20px!important}.px-xxl-6{padding-right:24px!important;padding-left:24px!important}.px-xxl-7{padding-right:28px!important;padding-left:28px!important}.px-xxl-8{padding-right:32px!important;padding-left:32px!important}.px-xxl-9{padding-right:36px!important;padding-left:36px!important}.px-xxl-10{padding-right:40px!important;padding-left:40px!important}.px-xxl-11{padding-right:44px!important;padding-left:44px!important}.px-xxl-12{padding-right:48px!important;padding-left:48px!important}.px-xxl-13{padding-right:52px!important;padding-left:52px!important}.px-xxl-14{padding-right:56px!important;padding-left:56px!important}.px-xxl-15{padding-right:60px!important;padding-left:60px!important}.px-xxl-16{padding-right:64px!important;padding-left:64px!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:4px!important;padding-bottom:4px!important}.py-xxl-2{padding-top:8px!important;padding-bottom:8px!important}.py-xxl-3{padding-top:12px!important;padding-bottom:12px!important}.py-xxl-4{padding-top:16px!important;padding-bottom:16px!important}.py-xxl-5{padding-top:20px!important;padding-bottom:20px!important}.py-xxl-6{padding-top:24px!important;padding-bottom:24px!important}.py-xxl-7{padding-top:28px!important;padding-bottom:28px!important}.py-xxl-8{padding-top:32px!important;padding-bottom:32px!important}.py-xxl-9{padding-top:36px!important;padding-bottom:36px!important}.py-xxl-10{padding-top:40px!important;padding-bottom:40px!important}.py-xxl-11{padding-top:44px!important;padding-bottom:44px!important}.py-xxl-12{padding-top:48px!important;padding-bottom:48px!important}.py-xxl-13{padding-top:52px!important;padding-bottom:52px!important}.py-xxl-14{padding-top:56px!important;padding-bottom:56px!important}.py-xxl-15{padding-top:60px!important;padding-bottom:60px!important}.py-xxl-16{padding-top:64px!important;padding-bottom:64px!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:4px!important}.pt-xxl-2{padding-top:8px!important}.pt-xxl-3{padding-top:12px!important}.pt-xxl-4{padding-top:16px!important}.pt-xxl-5{padding-top:20px!important}.pt-xxl-6{padding-top:24px!important}.pt-xxl-7{padding-top:28px!important}.pt-xxl-8{padding-top:32px!important}.pt-xxl-9{padding-top:36px!important}.pt-xxl-10{padding-top:40px!important}.pt-xxl-11{padding-top:44px!important}.pt-xxl-12{padding-top:48px!important}.pt-xxl-13{padding-top:52px!important}.pt-xxl-14{padding-top:56px!important}.pt-xxl-15{padding-top:60px!important}.pt-xxl-16{padding-top:64px!important}.pr-xxl-0{padding-right:0!important}.pr-xxl-1{padding-right:4px!important}.pr-xxl-2{padding-right:8px!important}.pr-xxl-3{padding-right:12px!important}.pr-xxl-4{padding-right:16px!important}.pr-xxl-5{padding-right:20px!important}.pr-xxl-6{padding-right:24px!important}.pr-xxl-7{padding-right:28px!important}.pr-xxl-8{padding-right:32px!important}.pr-xxl-9{padding-right:36px!important}.pr-xxl-10{padding-right:40px!important}.pr-xxl-11{padding-right:44px!important}.pr-xxl-12{padding-right:48px!important}.pr-xxl-13{padding-right:52px!important}.pr-xxl-14{padding-right:56px!important}.pr-xxl-15{padding-right:60px!important}.pr-xxl-16{padding-right:64px!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:4px!important}.pb-xxl-2{padding-bottom:8px!important}.pb-xxl-3{padding-bottom:12px!important}.pb-xxl-4{padding-bottom:16px!important}.pb-xxl-5{padding-bottom:20px!important}.pb-xxl-6{padding-bottom:24px!important}.pb-xxl-7{padding-bottom:28px!important}.pb-xxl-8{padding-bottom:32px!important}.pb-xxl-9{padding-bottom:36px!important}.pb-xxl-10{padding-bottom:40px!important}.pb-xxl-11{padding-bottom:44px!important}.pb-xxl-12{padding-bottom:48px!important}.pb-xxl-13{padding-bottom:52px!important}.pb-xxl-14{padding-bottom:56px!important}.pb-xxl-15{padding-bottom:60px!important}.pb-xxl-16{padding-bottom:64px!important}.pl-xxl-0{padding-left:0!important}.pl-xxl-1{padding-left:4px!important}.pl-xxl-2{padding-left:8px!important}.pl-xxl-3{padding-left:12px!important}.pl-xxl-4{padding-left:16px!important}.pl-xxl-5{padding-left:20px!important}.pl-xxl-6{padding-left:24px!important}.pl-xxl-7{padding-left:28px!important}.pl-xxl-8{padding-left:32px!important}.pl-xxl-9{padding-left:36px!important}.pl-xxl-10{padding-left:40px!important}.pl-xxl-11{padding-left:44px!important}.pl-xxl-12{padding-left:48px!important}.pl-xxl-13{padding-left:52px!important}.pl-xxl-14{padding-left:56px!important}.pl-xxl-15{padding-left:60px!important}.pl-xxl-16{padding-left:64px!important}.ps-xxl-0{padding-inline-start:0px!important}.ps-xxl-1{padding-inline-start:4px!important}.ps-xxl-2{padding-inline-start:8px!important}.ps-xxl-3{padding-inline-start:12px!important}.ps-xxl-4{padding-inline-start:16px!important}.ps-xxl-5{padding-inline-start:20px!important}.ps-xxl-6{padding-inline-start:24px!important}.ps-xxl-7{padding-inline-start:28px!important}.ps-xxl-8{padding-inline-start:32px!important}.ps-xxl-9{padding-inline-start:36px!important}.ps-xxl-10{padding-inline-start:40px!important}.ps-xxl-11{padding-inline-start:44px!important}.ps-xxl-12{padding-inline-start:48px!important}.ps-xxl-13{padding-inline-start:52px!important}.ps-xxl-14{padding-inline-start:56px!important}.ps-xxl-15{padding-inline-start:60px!important}.ps-xxl-16{padding-inline-start:64px!important}.pe-xxl-0{padding-inline-end:0px!important}.pe-xxl-1{padding-inline-end:4px!important}.pe-xxl-2{padding-inline-end:8px!important}.pe-xxl-3{padding-inline-end:12px!important}.pe-xxl-4{padding-inline-end:16px!important}.pe-xxl-5{padding-inline-end:20px!important}.pe-xxl-6{padding-inline-end:24px!important}.pe-xxl-7{padding-inline-end:28px!important}.pe-xxl-8{padding-inline-end:32px!important}.pe-xxl-9{padding-inline-end:36px!important}.pe-xxl-10{padding-inline-end:40px!important}.pe-xxl-11{padding-inline-end:44px!important}.pe-xxl-12{padding-inline-end:48px!important}.pe-xxl-13{padding-inline-end:52px!important}.pe-xxl-14{padding-inline-end:56px!important}.pe-xxl-15{padding-inline-end:60px!important}.pe-xxl-16{padding-inline-end:64px!important}.text-xxl-left{text-align:left!important}.text-xxl-right{text-align:right!important}.text-xxl-center{text-align:center!important}.text-xxl-justify{text-align:justify!important}.text-xxl-start{text-align:start!important}.text-xxl-end{text-align:end!important}.text-xxl-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-xxl-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.float-print-none{float:none!important}.float-print-left{float:left!important}.float-print-right{float:right!important}.v-locale--is-rtl .float-print-end{float:left!important}.v-locale--is-rtl .float-print-start,.v-locale--is-ltr .float-print-end{float:right!important}.v-locale--is-ltr .float-print-start{float:left!important}}.whmy{height:950px!important}.v-card{display:block;overflow:hidden;overflow-wrap:break-word;position:relative;padding:0;text-decoration:none;transition-duration:.28s;transition-property:box-shadow,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:0;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:4px}.v-card--border{border-width:thin;box-shadow:none}.v-card--absolute{position:absolute}.v-card--fixed{position:fixed}.v-card:hover>.v-card__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-card:focus-visible>.v-card__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-card:focus>.v-card__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-card--active>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]>.v-card__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-card--active:hover>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]:hover>.v-card__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-card--active:focus-visible>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-card__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-card--active:focus>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]:focus>.v-card__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-card--variant-plain,.v-card--variant-outlined,.v-card--variant-text,.v-card--variant-tonal{background:transparent;color:inherit}.v-card--variant-plain{opacity:.62}.v-card--variant-plain:focus,.v-card--variant-plain:hover{opacity:1}.v-card--variant-plain .v-card__overlay{display:none}.v-card--variant-elevated,.v-card--variant-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-card--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--variant-outlined{border:thin solid currentColor}.v-card--variant-text .v-card__overlay{background:currentColor}.v-card--variant-tonal .v-card__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-card--disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.v-card--disabled>:not(.v-card__loader){opacity:.6}.v-card--flat{box-shadow:none}.v-card--hover{cursor:pointer;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--hover:before,.v-card--hover:after{border-radius:inherit;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:inherit}.v-card--hover:before{opacity:1;z-index:-1;box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--hover:after{z-index:1;opacity:0;box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--hover:hover:after{opacity:1}.v-card--hover:hover:before{opacity:0}.v-card--link{cursor:pointer}.v-card-actions{align-items:center;display:flex;flex:none;min-height:52px;padding:.5rem}.v-card-item{align-items:center;display:grid;flex:none;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;padding:.625rem 1rem}.v-card-item+.v-card-text{padding-top:0}.v-card-item__prepend{grid-area:prepend;padding-inline-end:1rem}.v-card-item__append{grid-area:append;padding-inline-start:1rem}.v-card-item__content{align-self:center;grid-area:content;overflow:hidden}.v-card-title{display:block;flex:none;font-size:1.25rem;font-weight:500;-webkit-hyphens:auto;hyphens:auto;letter-spacing:.0125em;min-width:0;overflow-wrap:normal;overflow:hidden;padding:.5rem 1rem;text-overflow:ellipsis;text-transform:none;white-space:nowrap;word-break:normal;word-wrap:break-word}.v-card .v-card-title{line-height:2rem}.v-card--density-comfortable .v-card-title{line-height:1.75rem}.v-card--density-compact .v-card-title{line-height:1.55rem}.v-card-item .v-card-title{padding:0}.v-card-title+.v-card-text,.v-card-title+.v-card-actions{padding-top:0}.v-card-subtitle{display:block;flex:none;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;padding:0 1rem;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.v-card .v-card-subtitle{line-height:1.25rem}.v-card--density-comfortable .v-card-subtitle{line-height:1.125rem}.v-card--density-compact .v-card-subtitle{line-height:1rem}.v-card-item .v-card-subtitle{padding:0 0 .25rem}.v-card-text{flex:1 1 auto;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;padding:1rem;text-transform:none}.v-card .v-card-text{line-height:1.25rem}.v-card--density-comfortable .v-card-text{line-height:1.2rem}.v-card--density-compact .v-card-text{line-height:1.15rem}.v-card__image{display:flex;height:100%;flex:1 1 auto;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-card__content{border-radius:inherit;overflow:hidden;position:relative}.v-card__loader{bottom:auto;top:0;left:0;position:absolute;right:0;width:100%;z-index:1}.v-card__overlay{background-color:currentColor;border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-avatar{flex:none;align-items:center;display:inline-flex;justify-content:center;line-height:normal;overflow:hidden;position:relative;text-align:center;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:width,height;vertical-align:middle;border-radius:50%}.v-avatar.v-avatar--size-x-small{--v-avatar-height: 24px}.v-avatar.v-avatar--size-small{--v-avatar-height: 32px}.v-avatar.v-avatar--size-default{--v-avatar-height: 40px}.v-avatar.v-avatar--size-large{--v-avatar-height: 48px}.v-avatar.v-avatar--size-x-large{--v-avatar-height: 56px}.v-avatar.v-avatar--density-default{height:calc(var(--v-avatar-height) + 0px);width:calc(var(--v-avatar-height) + 0px)}.v-avatar.v-avatar--density-comfortable{height:calc(var(--v-avatar-height) + -4px);width:calc(var(--v-avatar-height) + -4px)}.v-avatar.v-avatar--density-compact{height:calc(var(--v-avatar-height) + -8px);width:calc(var(--v-avatar-height) + -8px)}.v-avatar--variant-plain,.v-avatar--variant-outlined,.v-avatar--variant-text,.v-avatar--variant-tonal{background:transparent;color:inherit}.v-avatar--variant-plain{opacity:.62}.v-avatar--variant-plain:focus,.v-avatar--variant-plain:hover{opacity:1}.v-avatar--variant-plain .v-avatar__overlay{display:none}.v-avatar--variant-elevated,.v-avatar--variant-flat{background:var(--v-theme-surface);color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-avatar--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-outlined{border:thin solid currentColor}.v-avatar--variant-text .v-avatar__overlay{background:currentColor}.v-avatar--variant-tonal .v-avatar__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-avatar--rounded{border-radius:4px}.v-avatar .v-img{height:100%;width:100%}.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1em}.v-icon--clickable{cursor:pointer}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}.v-img{--v-theme-overlay-multiplier: 3;z-index:0}.v-img--booting .v-responsive__sizer{transition:none}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%}.v-img__img--preload{filter:blur(4px)}.v-img__img--contain{object-fit:contain}.v-img__img--cover{object-fit:cover}.v-img__gradient{background-repeat:no-repeat}.v-responsive{display:flex;flex:1 0 auto;max-height:100%;max-width:100%;overflow:hidden;position:relative}.v-responsive--inline{display:inline-flex;flex:0 0 auto}.v-responsive__content{flex:1 0 0px;max-width:100%}.v-responsive__sizer~.v-responsive__content{margin-inline-start:-100%}.v-responsive__sizer{flex:1 0 0px;transition:padding-bottom .2s cubic-bezier(.4,0,.2,1);pointer-events:none}.v-progress-linear{background:transparent;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);width:100%}.v-progress-linear__background{background:currentColor;bottom:0;left:0;opacity:var(--v-border-opacity);position:absolute;top:0;transition-property:width,left,right;transition:inherit}.v-progress-linear__content{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:0;width:100%}.v-progress-linear__determinate,.v-progress-linear__indeterminate{background:currentColor}.v-progress-linear__determinate{height:inherit;left:0;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear__indeterminate .long,.v-progress-linear__indeterminate .short{animation-play-state:paused;animation-duration:2.2s;animation-iteration-count:infinite;bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right}.v-progress-linear__indeterminate .long{animation-name:indeterminate-ltr}.v-progress-linear__indeterminate .short{animation-name:indeterminate-short-ltr}.v-progress-linear__stream{animation:stream .25s infinite linear;animation-play-state:paused;bottom:0;left:auto;opacity:.3;pointer-events:none;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear--reverse .v-progress-linear__background,.v-progress-linear--reverse .v-progress-linear__determinate,.v-progress-linear--reverse .v-progress-linear__content,.v-progress-linear--reverse .v-progress-linear__indeterminate .long,.v-progress-linear--reverse .v-progress-linear__indeterminate .short{left:auto;right:0}.v-progress-linear--reverse .v-progress-linear__indeterminate .long{animation-name:indeterminate-rtl}.v-progress-linear--reverse .v-progress-linear__indeterminate .short{animation-name:indeterminate-short-rtl}.v-progress-linear--reverse .v-progress-linear__stream{right:auto}.v-progress-linear--absolute,.v-progress-linear--fixed{left:0;z-index:1}.v-progress-linear--absolute{position:absolute}.v-progress-linear--fixed{position:fixed}.v-progress-linear--rounded{border-radius:9999px}.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__indeterminate{border-radius:inherit}.v-progress-linear--striped .v-progress-linear__determinate{animation:progress-linear-stripes 1s infinite linear;background-image:linear-gradient(135deg,hsla(0,0%,100%,.25) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.25) 0,hsla(0,0%,100%,.25) 75%,transparent 0,transparent);background-repeat:repeat;background-size:var(--v-progress-linear-height)}.v-progress-linear--active .v-progress-linear__indeterminate .long,.v-progress-linear--active .v-progress-linear__indeterminate .short,.v-progress-linear--active .v-progress-linear__stream{animation-play-state:running}.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded-bar .v-progress-linear__indeterminate,.v-progress-linear--rounded-bar .v-progress-linear__stream+.v-progress-linear__background{border-radius:9999px}.v-progress-linear--rounded-bar .v-progress-linear__determinate.v-locale--is-ltr,.v-locale--is-ltr .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-left-radius:0;border-bottom-left-radius:0}.v-progress-linear--rounded-bar .v-progress-linear__determinate.v-locale--is-rtl,.v-locale--is-rtl .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-right-radius:0;border-bottom-right-radius:0}@keyframes indeterminate-ltr{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes indeterminate-rtl{0%{left:100%;right:-90%}60%{left:100%;right:-90%}to{left:-35%;right:100%}}@keyframes indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short-rtl{0%{left:100%;right:-200%}60%{left:-8%;right:107%}to{left:-8%;right:107%}}@keyframes stream{to{transform:translate(var(--v-progress-linear-stream-to))}}@keyframes progress-linear-stripes{0%{background-position-x:var(--v-progress-linear-height)}}.v-ripple__container{color:inherit;border-radius:inherit;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;z-index:0;pointer-events:none;contain:strict}.v-ripple__animation{color:inherit;position:absolute;top:0;left:0;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;overflow:hidden;will-change:transform,opacity}.v-ripple__animation--enter{transition:none;opacity:0}.v-ripple__animation--in{transition:transform .25s cubic-bezier(0,0,.2,1),opacity .1s cubic-bezier(0,0,.2,1);opacity:calc(.25 * var(--v-theme-overlay-multiplier))}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(0,0,.2,1);opacity:0}.v-container{width:100%;padding:16px;margin-right:auto;margin-left:auto}@media (min-width: 960px){.v-container{max-width:900px}}@media (min-width: 1280px){.v-container{max-width:1200px}}@media (min-width: 1920px){.v-container{max-width:1800px}}@media (min-width: 2560px){.v-container{max-width:2400px}}.v-container--fluid{max-width:100%}.v-container.fill-height{align-items:center;display:flex;flex-wrap:wrap}.v-row{display:flex;flex-wrap:wrap;flex:1 1 auto;margin:-12px}.v-row+.v-row{margin-top:12px}.v-row+.v-row--dense{margin-top:4px}.v-row--dense{margin:-4px}.v-row--dense>.v-col,.v-row--dense>[class*=v-col-]{padding:4px}.v-row.v-row--no-gutters{margin:0}.v-row.v-row--no-gutters>.v-col,.v-row.v-row--no-gutters>[class*=v-col-]{padding:0}.v-col-xxl,.v-col-xxl-auto,.v-col-xxl-12,.v-col-xxl-11,.v-col-xxl-10,.v-col-xxl-9,.v-col-xxl-8,.v-col-xxl-7,.v-col-xxl-6,.v-col-xxl-5,.v-col-xxl-4,.v-col-xxl-3,.v-col-xxl-2,.v-col-xxl-1,.v-col-xl,.v-col-xl-auto,.v-col-xl-12,.v-col-xl-11,.v-col-xl-10,.v-col-xl-9,.v-col-xl-8,.v-col-xl-7,.v-col-xl-6,.v-col-xl-5,.v-col-xl-4,.v-col-xl-3,.v-col-xl-2,.v-col-xl-1,.v-col-lg,.v-col-lg-auto,.v-col-lg-12,.v-col-lg-11,.v-col-lg-10,.v-col-lg-9,.v-col-lg-8,.v-col-lg-7,.v-col-lg-6,.v-col-lg-5,.v-col-lg-4,.v-col-lg-3,.v-col-lg-2,.v-col-lg-1,.v-col-md,.v-col-md-auto,.v-col-md-12,.v-col-md-11,.v-col-md-10,.v-col-md-9,.v-col-md-8,.v-col-md-7,.v-col-md-6,.v-col-md-5,.v-col-md-4,.v-col-md-3,.v-col-md-2,.v-col-md-1,.v-col-sm,.v-col-sm-auto,.v-col-sm-12,.v-col-sm-11,.v-col-sm-10,.v-col-sm-9,.v-col-sm-8,.v-col-sm-7,.v-col-sm-6,.v-col-sm-5,.v-col-sm-4,.v-col-sm-3,.v-col-sm-2,.v-col-sm-1,.v-col,.v-col-auto,.v-col-12,.v-col-11,.v-col-10,.v-col-9,.v-col-8,.v-col-7,.v-col-6,.v-col-5,.v-col-4,.v-col-3,.v-col-2,.v-col-1{width:100%;padding:12px}.v-col{flex-basis:0;flex-grow:1;max-width:100%}.v-col-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-3{flex:0 0 25%;max-width:25%}.v-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-6{flex:0 0 50%;max-width:50%}.v-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-9{flex:0 0 75%;max-width:75%}.v-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-12{flex:0 0 100%;max-width:100%}.offset-1.v-locale--is-ltr,.v-locale--is-ltr .offset-1{margin-left:8.3333333333%}.offset-1.v-locale--is-rtl,.v-locale--is-rtl .offset-1{margin-right:8.3333333333%}.offset-2.v-locale--is-ltr,.v-locale--is-ltr .offset-2{margin-left:16.6666666667%}.offset-2.v-locale--is-rtl,.v-locale--is-rtl .offset-2{margin-right:16.6666666667%}.offset-3.v-locale--is-ltr,.v-locale--is-ltr .offset-3{margin-left:25%}.offset-3.v-locale--is-rtl,.v-locale--is-rtl .offset-3{margin-right:25%}.offset-4.v-locale--is-ltr,.v-locale--is-ltr .offset-4{margin-left:33.3333333333%}.offset-4.v-locale--is-rtl,.v-locale--is-rtl .offset-4{margin-right:33.3333333333%}.offset-5.v-locale--is-ltr,.v-locale--is-ltr .offset-5{margin-left:41.6666666667%}.offset-5.v-locale--is-rtl,.v-locale--is-rtl .offset-5{margin-right:41.6666666667%}.offset-6.v-locale--is-ltr,.v-locale--is-ltr .offset-6{margin-left:50%}.offset-6.v-locale--is-rtl,.v-locale--is-rtl .offset-6{margin-right:50%}.offset-7.v-locale--is-ltr,.v-locale--is-ltr .offset-7{margin-left:58.3333333333%}.offset-7.v-locale--is-rtl,.v-locale--is-rtl .offset-7{margin-right:58.3333333333%}.offset-8.v-locale--is-ltr,.v-locale--is-ltr .offset-8{margin-left:66.6666666667%}.offset-8.v-locale--is-rtl,.v-locale--is-rtl .offset-8{margin-right:66.6666666667%}.offset-9.v-locale--is-ltr,.v-locale--is-ltr .offset-9{margin-left:75%}.offset-9.v-locale--is-rtl,.v-locale--is-rtl .offset-9{margin-right:75%}.offset-10.v-locale--is-ltr,.v-locale--is-ltr .offset-10{margin-left:83.3333333333%}.offset-10.v-locale--is-rtl,.v-locale--is-rtl .offset-10{margin-right:83.3333333333%}.offset-11.v-locale--is-ltr,.v-locale--is-ltr .offset-11{margin-left:91.6666666667%}.offset-11.v-locale--is-rtl,.v-locale--is-rtl .offset-11{margin-right:91.6666666667%}@media (min-width: 600px){.v-col-sm{flex-basis:0;flex-grow:1;max-width:100%}.v-col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-sm-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-sm-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-sm-3{flex:0 0 25%;max-width:25%}.v-col-sm-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-sm-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-sm-6{flex:0 0 50%;max-width:50%}.v-col-sm-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-sm-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-sm-9{flex:0 0 75%;max-width:75%}.v-col-sm-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-sm-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-sm-12{flex:0 0 100%;max-width:100%}.offset-sm-0.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-0{margin-left:0}.offset-sm-0.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-0{margin-right:0}.offset-sm-1.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-1{margin-left:8.3333333333%}.offset-sm-1.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-1{margin-right:8.3333333333%}.offset-sm-2.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-2{margin-left:16.6666666667%}.offset-sm-2.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-2{margin-right:16.6666666667%}.offset-sm-3.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-3{margin-left:25%}.offset-sm-3.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-3{margin-right:25%}.offset-sm-4.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-4{margin-left:33.3333333333%}.offset-sm-4.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-4{margin-right:33.3333333333%}.offset-sm-5.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-5{margin-left:41.6666666667%}.offset-sm-5.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-5{margin-right:41.6666666667%}.offset-sm-6.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-6{margin-left:50%}.offset-sm-6.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-6{margin-right:50%}.offset-sm-7.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-7{margin-left:58.3333333333%}.offset-sm-7.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-7{margin-right:58.3333333333%}.offset-sm-8.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-8{margin-left:66.6666666667%}.offset-sm-8.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-8{margin-right:66.6666666667%}.offset-sm-9.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-9{margin-left:75%}.offset-sm-9.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-9{margin-right:75%}.offset-sm-10.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-10{margin-left:83.3333333333%}.offset-sm-10.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-10{margin-right:83.3333333333%}.offset-sm-11.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-11{margin-left:91.6666666667%}.offset-sm-11.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-11{margin-right:91.6666666667%}}@media (min-width: 960px){.v-col-md{flex-basis:0;flex-grow:1;max-width:100%}.v-col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-md-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-md-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-md-3{flex:0 0 25%;max-width:25%}.v-col-md-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-md-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-md-6{flex:0 0 50%;max-width:50%}.v-col-md-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-md-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-md-9{flex:0 0 75%;max-width:75%}.v-col-md-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-md-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-md-12{flex:0 0 100%;max-width:100%}.offset-md-0.v-locale--is-ltr,.v-locale--is-ltr .offset-md-0{margin-left:0}.offset-md-0.v-locale--is-rtl,.v-locale--is-rtl .offset-md-0{margin-right:0}.offset-md-1.v-locale--is-ltr,.v-locale--is-ltr .offset-md-1{margin-left:8.3333333333%}.offset-md-1.v-locale--is-rtl,.v-locale--is-rtl .offset-md-1{margin-right:8.3333333333%}.offset-md-2.v-locale--is-ltr,.v-locale--is-ltr .offset-md-2{margin-left:16.6666666667%}.offset-md-2.v-locale--is-rtl,.v-locale--is-rtl .offset-md-2{margin-right:16.6666666667%}.offset-md-3.v-locale--is-ltr,.v-locale--is-ltr .offset-md-3{margin-left:25%}.offset-md-3.v-locale--is-rtl,.v-locale--is-rtl .offset-md-3{margin-right:25%}.offset-md-4.v-locale--is-ltr,.v-locale--is-ltr .offset-md-4{margin-left:33.3333333333%}.offset-md-4.v-locale--is-rtl,.v-locale--is-rtl .offset-md-4{margin-right:33.3333333333%}.offset-md-5.v-locale--is-ltr,.v-locale--is-ltr .offset-md-5{margin-left:41.6666666667%}.offset-md-5.v-locale--is-rtl,.v-locale--is-rtl .offset-md-5{margin-right:41.6666666667%}.offset-md-6.v-locale--is-ltr,.v-locale--is-ltr .offset-md-6{margin-left:50%}.offset-md-6.v-locale--is-rtl,.v-locale--is-rtl .offset-md-6{margin-right:50%}.offset-md-7.v-locale--is-ltr,.v-locale--is-ltr .offset-md-7{margin-left:58.3333333333%}.offset-md-7.v-locale--is-rtl,.v-locale--is-rtl .offset-md-7{margin-right:58.3333333333%}.offset-md-8.v-locale--is-ltr,.v-locale--is-ltr .offset-md-8{margin-left:66.6666666667%}.offset-md-8.v-locale--is-rtl,.v-locale--is-rtl .offset-md-8{margin-right:66.6666666667%}.offset-md-9.v-locale--is-ltr,.v-locale--is-ltr .offset-md-9{margin-left:75%}.offset-md-9.v-locale--is-rtl,.v-locale--is-rtl .offset-md-9{margin-right:75%}.offset-md-10.v-locale--is-ltr,.v-locale--is-ltr .offset-md-10{margin-left:83.3333333333%}.offset-md-10.v-locale--is-rtl,.v-locale--is-rtl .offset-md-10{margin-right:83.3333333333%}.offset-md-11.v-locale--is-ltr,.v-locale--is-ltr .offset-md-11{margin-left:91.6666666667%}.offset-md-11.v-locale--is-rtl,.v-locale--is-rtl .offset-md-11{margin-right:91.6666666667%}}@media (min-width: 1280px){.v-col-lg{flex-basis:0;flex-grow:1;max-width:100%}.v-col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-lg-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-lg-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-lg-3{flex:0 0 25%;max-width:25%}.v-col-lg-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-lg-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-lg-6{flex:0 0 50%;max-width:50%}.v-col-lg-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-lg-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-lg-9{flex:0 0 75%;max-width:75%}.v-col-lg-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-lg-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-lg-12{flex:0 0 100%;max-width:100%}.offset-lg-0.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-0{margin-left:0}.offset-lg-0.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-0{margin-right:0}.offset-lg-1.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-1{margin-left:8.3333333333%}.offset-lg-1.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-1{margin-right:8.3333333333%}.offset-lg-2.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-2{margin-left:16.6666666667%}.offset-lg-2.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-2{margin-right:16.6666666667%}.offset-lg-3.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-3{margin-left:25%}.offset-lg-3.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-3{margin-right:25%}.offset-lg-4.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-4{margin-left:33.3333333333%}.offset-lg-4.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-4{margin-right:33.3333333333%}.offset-lg-5.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-5{margin-left:41.6666666667%}.offset-lg-5.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-5{margin-right:41.6666666667%}.offset-lg-6.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-6{margin-left:50%}.offset-lg-6.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-6{margin-right:50%}.offset-lg-7.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-7{margin-left:58.3333333333%}.offset-lg-7.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-7{margin-right:58.3333333333%}.offset-lg-8.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-8{margin-left:66.6666666667%}.offset-lg-8.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-8{margin-right:66.6666666667%}.offset-lg-9.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-9{margin-left:75%}.offset-lg-9.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-9{margin-right:75%}.offset-lg-10.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-10{margin-left:83.3333333333%}.offset-lg-10.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-10{margin-right:83.3333333333%}.offset-lg-11.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-11{margin-left:91.6666666667%}.offset-lg-11.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-11{margin-right:91.6666666667%}}@media (min-width: 1920px){.v-col-xl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xl-3{flex:0 0 25%;max-width:25%}.v-col-xl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xl-6{flex:0 0 50%;max-width:50%}.v-col-xl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xl-9{flex:0 0 75%;max-width:75%}.v-col-xl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xl-12{flex:0 0 100%;max-width:100%}.offset-xl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-0{margin-left:0}.offset-xl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-0{margin-right:0}.offset-xl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-1{margin-left:8.3333333333%}.offset-xl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-1{margin-right:8.3333333333%}.offset-xl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-2{margin-left:16.6666666667%}.offset-xl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-2{margin-right:16.6666666667%}.offset-xl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-3{margin-left:25%}.offset-xl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-3{margin-right:25%}.offset-xl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-4{margin-left:33.3333333333%}.offset-xl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-4{margin-right:33.3333333333%}.offset-xl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-5{margin-left:41.6666666667%}.offset-xl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-5{margin-right:41.6666666667%}.offset-xl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-6{margin-left:50%}.offset-xl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-6{margin-right:50%}.offset-xl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-7{margin-left:58.3333333333%}.offset-xl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-7{margin-right:58.3333333333%}.offset-xl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-8{margin-left:66.6666666667%}.offset-xl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-8{margin-right:66.6666666667%}.offset-xl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-9{margin-left:75%}.offset-xl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-9{margin-right:75%}.offset-xl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-10{margin-left:83.3333333333%}.offset-xl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-10{margin-right:83.3333333333%}.offset-xl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-11{margin-left:91.6666666667%}.offset-xl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-11{margin-right:91.6666666667%}}@media (min-width: 2560px){.v-col-xxl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xxl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xxl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xxl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xxl-3{flex:0 0 25%;max-width:25%}.v-col-xxl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xxl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xxl-6{flex:0 0 50%;max-width:50%}.v-col-xxl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xxl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xxl-9{flex:0 0 75%;max-width:75%}.v-col-xxl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xxl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xxl-12{flex:0 0 100%;max-width:100%}.offset-xxl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-0{margin-left:0}.offset-xxl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-0{margin-right:0}.offset-xxl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-1{margin-left:8.3333333333%}.offset-xxl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-1{margin-right:8.3333333333%}.offset-xxl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-2{margin-left:16.6666666667%}.offset-xxl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-2{margin-right:16.6666666667%}.offset-xxl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-3{margin-left:25%}.offset-xxl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-3{margin-right:25%}.offset-xxl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-4{margin-left:33.3333333333%}.offset-xxl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-4{margin-right:33.3333333333%}.offset-xxl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-5{margin-left:41.6666666667%}.offset-xxl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-5{margin-right:41.6666666667%}.offset-xxl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-6{margin-left:50%}.offset-xxl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-6{margin-right:50%}.offset-xxl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-7{margin-left:58.3333333333%}.offset-xxl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-7{margin-right:58.3333333333%}.offset-xxl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-8{margin-left:66.6666666667%}.offset-xxl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-8{margin-right:66.6666666667%}.offset-xxl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-9{margin-left:75%}.offset-xxl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-9{margin-right:75%}.offset-xxl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-10{margin-left:83.3333333333%}.offset-xxl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-10{margin-right:83.3333333333%}.offset-xxl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-11{margin-left:91.6666666667%}.offset-xxl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-11{margin-right:91.6666666667%}}.v-menu>.v-overlay__content{display:flex;flex-direction:column;border-radius:4px}.v-menu>.v-overlay__content>.v-card,.v-menu>.v-overlay__content>.v-sheet,.v-menu>.v-overlay__content>.v-list{background:rgb(var(--v-theme-surface));border-radius:inherit;overflow:auto;height:100%;box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-overlay-container{contain:layout;left:0;pointer-events:none;position:absolute;top:0;display:contents}.v-overlay-scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-overlay-scroll-blocked:not(html){overflow-y:hidden!important}html.v-overlay-scroll-blocked{position:fixed;top:var(--v-body-scroll-y);left:var(--v-body-scroll-x);width:100%;height:100%}.v-overlay{border-radius:inherit;display:flex;left:0;pointer-events:none;position:fixed;top:0;bottom:0;right:0}.v-overlay__content{outline:none;position:absolute;pointer-events:auto;contain:layout}.v-overlay__scrim{pointer-events:auto;background:rgb(var(--v-theme-on-surface));border-radius:inherit;bottom:0;left:0;opacity:.32;position:fixed;right:0;top:0}.v-overlay--absolute,.v-overlay--contained .v-overlay__scrim{position:absolute}.v-overlay--scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)} diff --git a/front/dist/assets/materialdesignicons-webfont-48d3eec6.woff b/front/dist/assets/materialdesignicons-webfont-48d3eec6.woff deleted file mode 100644 index deb8ae9c9..000000000 Binary files a/front/dist/assets/materialdesignicons-webfont-48d3eec6.woff and /dev/null differ diff --git a/front/dist/assets/materialdesignicons-webfont-861aea05.eot b/front/dist/assets/materialdesignicons-webfont-861aea05.eot deleted file mode 100644 index ee030ec7a..000000000 Binary files a/front/dist/assets/materialdesignicons-webfont-861aea05.eot and /dev/null differ diff --git a/front/dist/assets/materialdesignicons-webfont-bd725a7a.ttf b/front/dist/assets/materialdesignicons-webfont-bd725a7a.ttf deleted file mode 100644 index d68551087..000000000 Binary files a/front/dist/assets/materialdesignicons-webfont-bd725a7a.ttf and /dev/null differ diff --git a/front/dist/assets/materialdesignicons-webfont-e52d60f6.woff2 b/front/dist/assets/materialdesignicons-webfont-e52d60f6.woff2 deleted file mode 100644 index c8cadcfdb..000000000 Binary files a/front/dist/assets/materialdesignicons-webfont-e52d60f6.woff2 and /dev/null differ diff --git a/front/dist/assets/ssrBoot-14a68332.css b/front/dist/assets/ssrBoot-14a68332.css deleted file mode 100644 index e6a33d300..000000000 --- a/front/dist/assets/ssrBoot-14a68332.css +++ /dev/null @@ -1 +0,0 @@ -.v-btn{align-items:center;border-radius:4px;display:inline-grid;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;font-weight:500;justify-content:center;letter-spacing:.0892857143em;line-height:normal;max-width:100%;outline:none;position:relative;text-decoration:none;text-indent:.0892857143em;text-transform:uppercase;transition-property:box-shadow,transform,opacity,background;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none;vertical-align:middle;flex-shrink:0;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 20px;font-size:var(--v-btn-size);min-width:36px;padding:0 8px}.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 28px;font-size:var(--v-btn-size);min-width:50px;padding:0 12px}.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 36px;font-size:var(--v-btn-size);min-width:64px;padding:0 16px}.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 44px;font-size:var(--v-btn-size);min-width:78px;padding:0 20px}.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 52px;font-size:var(--v-btn-size);min-width:92px;padding:0 24px}.v-btn.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -8px)}.v-btn.v-btn--density-compact{height:calc(var(--v-btn-height) + -12px)}.v-btn--border{border-width:thin;box-shadow:none}.v-btn--absolute{position:absolute}.v-btn--fixed{position:fixed}.v-btn:hover>.v-btn__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-btn:focus-visible>.v-btn__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn:focus>.v-btn__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-btn--active>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]>.v-btn__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-btn--active:hover>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:hover>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-btn--active:focus-visible>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn--active:focus>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:focus>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-btn--variant-plain,.v-btn--variant-outlined,.v-btn--variant-text,.v-btn--variant-tonal{background:transparent;color:inherit}.v-btn--variant-plain{opacity:.62}.v-btn--variant-plain:focus,.v-btn--variant-plain:hover{opacity:1}.v-btn--variant-plain .v-btn__overlay{display:none}.v-btn--variant-elevated,.v-btn--variant-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn--variant-elevated{box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--variant-outlined{border:thin solid currentColor}.v-btn--variant-text .v-btn__overlay{background:currentColor}.v-btn--variant-tonal .v-btn__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}@supports selector(:focus-visible){.v-btn:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border:2px solid currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn:focus-visible:after{opacity:calc(.25 * var(--v-theme-overlay-multiplier))}}.v-btn--icon{border-radius:50%;min-width:0;padding:0}.v-btn--icon.v-btn--size-default{--v-btn-size: 1rem}.v-btn--icon.v-btn--density-default{width:calc(var(--v-btn-height) + 12px);height:calc(var(--v-btn-height) + 12px)}.v-btn--icon.v-btn--density-comfortable{width:calc(var(--v-btn-height) + 0px);height:calc(var(--v-btn-height) + 0px)}.v-btn--icon.v-btn--density-compact{width:calc(var(--v-btn-height) + -8px);height:calc(var(--v-btn-height) + -8px)}.v-btn--elevated:hover,.v-btn--elevated:focus{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--elevated:active{box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--flat{box-shadow:none}.v-btn--block{display:flex;flex:1 0 auto;min-width:100%}.v-btn--disabled{pointer-events:none;opacity:.26}.v-btn--disabled.v-btn--variant-elevated,.v-btn--disabled.v-btn--variant-flat{box-shadow:none;opacity:1;color:rgba(var(--v-theme-on-surface),.26);background:rgb(var(--v-theme-surface))}.v-btn--disabled.v-btn--variant-elevated .v-btn__overlay,.v-btn--disabled.v-btn--variant-flat .v-btn__overlay{opacity:.4615384615}.v-btn--loading{pointer-events:none}.v-btn--loading .v-btn__content,.v-btn--loading .v-btn__prepend,.v-btn--loading .v-btn__append{opacity:0}.v-btn--stacked{grid-template-areas:"prepend" "content" "append";grid-template-columns:auto;grid-template-rows:max-content max-content max-content;justify-items:center;align-content:center}.v-btn--stacked .v-btn__content{flex-direction:column;line-height:1.25}.v-btn--stacked .v-btn__prepend,.v-btn--stacked .v-btn__append,.v-btn--stacked .v-btn__content>.v-icon--start,.v-btn--stacked .v-btn__content>.v-icon--end{margin-inline-start:0;margin-inline-end:0}.v-btn--stacked .v-btn__prepend,.v-btn--stacked .v-btn__content>.v-icon--start{margin-bottom:4px}.v-btn--stacked .v-btn__append,.v-btn--stacked .v-btn__content>.v-icon--end{margin-top:4px}.v-btn--stacked.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 56px;font-size:var(--v-btn-size);min-width:56px;padding:0 12px}.v-btn--stacked.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 64px;font-size:var(--v-btn-size);min-width:64px;padding:0 14px}.v-btn--stacked.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 72px;font-size:var(--v-btn-size);min-width:72px;padding:0 16px}.v-btn--stacked.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 80px;font-size:var(--v-btn-size);min-width:80px;padding:0 18px}.v-btn--stacked.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 88px;font-size:var(--v-btn-size);min-width:88px;padding:0 20px}.v-btn--stacked.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn--stacked.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -16px)}.v-btn--stacked.v-btn--density-compact{height:calc(var(--v-btn-height) + -24px)}.v-btn--rounded{border-radius:24px}.v-btn .v-icon{--v-icon-size-multiplier: .8571428571}.v-btn--icon .v-icon{--v-icon-size-multiplier: 1}.v-btn--stacked .v-icon{--v-icon-size-multiplier: 1.1428571429}.v-btn__loader{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.v-btn__content,.v-btn__prepend,.v-btn__append{align-items:center;display:flex;transition:transform,opacity .2s cubic-bezier(.4,0,.2,1)}.v-btn__prepend{grid-area:prepend;margin-inline-start:calc(var(--v-btn-height) / -9);margin-inline-end:calc(var(--v-btn-height) / 4.5)}.v-btn__append{grid-area:append;margin-inline-start:calc(var(--v-btn-height) / 4.5);margin-inline-end:calc(var(--v-btn-height) / -9)}.v-btn__content{grid-area:content;justify-content:center;white-space:nowrap}.v-btn__content>.v-icon--start{margin-inline-start:calc(var(--v-btn-height) / -9);margin-inline-end:calc(var(--v-btn-height) / 4.5)}.v-btn__content>.v-icon--end{margin-inline-start:calc(var(--v-btn-height) / 4.5);margin-inline-end:calc(var(--v-btn-height) / -9)}.v-btn--stacked .v-btn__content{white-space:normal}.v-btn__overlay{background-color:currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn__overlay,.v-btn__underlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.v-card-actions .v-btn{padding:0 8px}.v-card-actions .v-btn~.v-btn:not(.v-btn-toggle .v-btn){margin-inline-start:.5rem}.v-banner-actions .v-btn{padding:0 8px}.v-pagination .v-btn{border-radius:4px}.v-btn__overlay{transition:none}.v-pagination__item--is-active .v-btn__overlay{opacity:var(--v-border-opacity)}.v-snackbar-actions .v-btn{padding:0 8px}.v-btn-toggle .v-btn.v-btn--selected:not(.v-btn--disabled) .v-btn__overlay{opacity:var(--v-activated-opacity)}.v-btn-group{display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;overflow:hidden;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px;background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn-group--border{border-width:thin;box-shadow:none}.v-btn-group--density-default.v-btn-group{height:48px}.v-btn-group--density-comfortable.v-btn-group{height:40px}.v-btn-group--density-compact.v-btn-group{height:36px}.v-btn-group .v-btn{border-radius:0;border-color:inherit}.v-btn-group .v-btn:not(:last-child){border-inline-end:none}.v-btn-group .v-btn:not(:first-child){border-inline-start:none}.v-btn-group .v-btn:first-child{border-start-start-radius:inherit;border-end-start-radius:inherit}.v-btn-group .v-btn:last-child{border-start-end-radius:inherit;border-end-end-radius:inherit}.v-btn-group--divided .v-btn:not(:last-child){border-inline-end-width:thin;border-inline-end-style:solid;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))}.v-btn-group--tile{border-radius:0}.v-progress-circular{align-items:center;display:inline-flex;justify-content:center;position:relative;vertical-align:middle}.v-progress-circular>svg{width:100%;height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.v-progress-circular__content{align-items:center;display:flex;justify-content:center}.v-progress-circular__underlay{color:rgba(var(--v-border-color),var(--v-border-opacity));stroke:currentColor;z-index:1}.v-progress-circular__overlay{stroke:currentColor;transition:all .2s ease-in-out,stroke-width 0s;z-index:2}.v-progress-circular--size-x-small{height:16px;width:16px}.v-progress-circular--size-small{height:24px;width:24px}.v-progress-circular--size-default{height:32px;width:32px}.v-progress-circular--size-large{height:48px;width:48px}.v-progress-circular--size-x-large{height:64px;width:64px}.v-progress-circular--indeterminate>svg{animation:progress-circular-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out}.v-progress-circular--indeterminate .v-progress-circular__overlay{animation:progress-circular-dash 1.4s ease-in-out infinite,progress-circular-rotate 1.4s linear infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round;transform-origin:center center;transform:rotate(-90deg)}.v-progress-circular--disable-shrink>svg{animation-duration:.7s}.v-progress-circular--disable-shrink .v-progress-circular__overlay{animation:none}.v-progress-circular--indeterminate:not(.v-progress-circular--visible)>svg,.v-progress-circular--indeterminate:not(.v-progress-circular--visible) .v-progress-circular__overlay{animation-play-state:paused!important}@keyframes progress-circular-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0px}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circular-rotate{to{transform:rotate(270deg)}}.v-divider{display:block;flex:1 1 100%;height:0px;max-height:0px;opacity:var(--v-border-opacity);transition:inherit;border-style:solid;border-width:thin 0 0 0}.v-divider--vertical{align-self:stretch;border-width:0 thin 0 0;display:inline-flex;height:inherit;margin-left:-1px;max-height:100%;max-width:0px;vertical-align:text-bottom;width:0px}.v-divider--inset:not(.v-divider--vertical){max-width:calc(100% - 72px);margin-inline-start:72px}.v-divider--inset.v-divider--vertical{margin-bottom:8px;margin-top:8px;max-height:calc(100% - 16px)} diff --git a/front/dist/assets/ssrBoot-d4b2bdea.js b/front/dist/assets/ssrBoot-d4b2bdea.js deleted file mode 100644 index 3a6636368..000000000 --- a/front/dist/assets/ssrBoot-d4b2bdea.js +++ /dev/null @@ -1 +0,0 @@ -import{r as L,I as fe,l as me,w as Q,bt as H,bu as X,aD as be,p as k,aE as Y,M as P,ae as Z,aG as p,Z as ee,aC as M,R as I,aI as te,B as C,_ as R,af as ae,aL as ne,aO as se,a0 as le,aS as ge,a3 as g,F as S,H as l,E as ye,b1 as ie,bv as oe,a4 as A,bw as he,c,b as E,b4 as ke,z as Ce,X as J,aF as Se,Y as Ve,bo as Be,bp as Pe,aH as Ie,aJ as Re,aM as xe,aN as we,$ as _e,bq as De,br as ze,aK as Te,O as Ne,ai as Oe,aQ as Ge,T as O,J as G,s as Le,o as Ae}from"./index-32269281.js";import{e as Ee,u as Me,m as $e,d as Fe}from"./group-185db83d.js";function We(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const a=L(),t=L();if(fe){const i=new ResizeObserver(s=>{e==null||e(s,i),s.length&&(o==="content"?t.value=s[0].contentRect:t.value=s[0].target.getBoundingClientRect())});me(()=>{i.disconnect()}),Q(a,(s,u)=>{u&&(i.unobserve(H(u)),t.value=void 0),s&&i.observe(H(s))},{flush:"post"})}return{resizeRef:a,contentRect:X(t)}}const Ye=be("flex-grow-1","div","VSpacer");const re=k({divided:Boolean,...Y(),...P(),...Z(),...p(),...ee(),...M(),...I(),...te()},"VBtnGroup"),q=C()({name:"VBtnGroup",props:re(),setup(e,o){let{slots:a}=o;const{themeClasses:t}=R(e),{densityClasses:i}=ae(e),{borderClasses:s}=ne(e),{elevationClasses:u}=se(e),{roundedClasses:d}=le(e);ge({VBtn:{height:"auto",color:g(e,"color"),density:g(e,"density"),flat:!0,variant:g(e,"variant")}}),S(()=>l(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},t.value,s.value,i.value,u.value,d.value,e.class],style:e.style},a))}}),ue=Symbol.for("vuetify:v-btn-toggle"),Ke=k({...re(),...Ee()},"VBtnToggle");C()({name:"VBtnToggle",props:Ke(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:a}=o;const{isSelected:t,next:i,prev:s,select:u,selected:d}=Me(e,ue);return S(()=>{const[m]=q.filterProps(e);return l(q,ye({class:["v-btn-toggle",e.class]},m,{style:e.style}),{default:()=>{var b;return[(b=a.default)==null?void 0:b.call(a,{isSelected:t,next:i,prev:s,select:u,selected:d})]}})}),{next:i,prev:s,select:u}}});const Ue=k({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...P(),...ie(),...M({tag:"div"}),...I()},"VProgressCircular"),je=C()({name:"VProgressCircular",props:Ue(),setup(e,o){let{slots:a}=o;const t=20,i=2*Math.PI*t,s=L(),{themeClasses:u}=R(e),{sizeClasses:d,sizeStyles:m}=oe(e),{textColorClasses:b,textColorStyles:x}=A(g(e,"color")),{textColorClasses:w,textColorStyles:_}=A(g(e,"bgColor")),{intersectionRef:D,isIntersecting:z}=he(),{resizeRef:T,contentRect:V}=We(),y=c(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),n=c(()=>Number(e.width)),r=c(()=>m.value?Number(e.size):V.value?V.value.width:Math.max(n.value,32)),h=c(()=>t/(1-n.value/r.value)*2),f=c(()=>n.value/r.value*h.value),N=c(()=>E((100-y.value)/100*i));return ke(()=>{D.value=s.value,T.value=s.value}),S(()=>l(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":z.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},u.value,d.value,b.value,e.class],style:[m.value,x.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:y.value},{default:()=>[l("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${h.value} ${h.value}`},[l("circle",{class:["v-progress-circular__underlay",w.value],style:_.value,fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":f.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),l("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:t,"stroke-width":f.value,"stroke-dasharray":i,"stroke-dashoffset":N.value},null)]),a.default&&l("div",{class:"v-progress-circular__content"},[a.default({value:y.value})])]})),{}}});function He(e,o){Q(()=>{var a;return(a=e.isActive)==null?void 0:a.value},a=>{e.isLink.value&&a&&o&&Ce(()=>{o(!0)})},{immediate:!0})}const Je=k({active:{type:Boolean,default:void 0},symbol:{type:null,default:ue},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:J,appendIcon:J,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Y(),...P(),...Z(),...Se(),...p(),...$e(),...Ve(),...Be(),...Pe(),...ee(),...Ie(),...ie(),...M({tag:"button"}),...I(),...te({variant:"elevated"})},"VBtn"),Ze=C()({name:"VBtn",directives:{Ripple:Re},props:Je(),emits:{"group:selected":e=>!0},setup(e,o){let{attrs:a,slots:t}=o;const{themeClasses:i}=R(e),{borderClasses:s}=ne(e),{colorClasses:u,colorStyles:d,variantClasses:m}=xe(e),{densityClasses:b}=ae(e),{dimensionStyles:x}=we(e),{elevationClasses:w}=se(e),{loaderClasses:_}=_e(e),{locationStyles:D}=De(e),{positionClasses:z}=ze(e),{roundedClasses:T}=le(e),{sizeClasses:V,sizeStyles:y}=oe(e),n=Fe(e,e.symbol,!1),r=Te(e,a),h=c(()=>{var v;return e.active!==void 0?e.active:r.isLink.value?(v=r.isActive)==null?void 0:v.value:n==null?void 0:n.isSelected.value}),f=c(()=>(n==null?void 0:n.disabled.value)||e.disabled),N=c(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),ce=c(()=>{if(e.value!==void 0)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function de(v){var B;f.value||r.isLink.value&&(v.metaKey||v.ctrlKey||v.shiftKey||v.button!==0||a.target==="_blank")||((B=r.navigate)==null||B.call(r,v),n==null||n.toggle())}return He(r,n==null?void 0:n.select),S(()=>{var W,K;const v=r.isLink.value?"a":e.tag,B=!!(e.prependIcon||t.prepend),ve=!!(e.appendIcon||t.append),$=!!(e.icon&&e.icon!==!0),F=(n==null?void 0:n.isSelected.value)&&(!r.isLink.value||((W=r.isActive)==null?void 0:W.value))||!n||((K=r.isActive)==null?void 0:K.value);return Ne(l(v,{type:v==="a"?void 0:"button",class:["v-btn",n==null?void 0:n.selectedClass.value,{"v-btn--active":h.value,"v-btn--block":e.block,"v-btn--disabled":f.value,"v-btn--elevated":N.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},i.value,s.value,F?u.value:void 0,b.value,w.value,_.value,z.value,T.value,V.value,m.value,e.class],style:[F?d.value:void 0,x.value,D.value,y.value,e.style],disabled:f.value||void 0,href:r.href.value,onClick:de,value:ce.value},{default:()=>{var U;return[Ge(!0,"v-btn"),!e.icon&&B&&l("span",{key:"prepend",class:"v-btn__prepend"},[t.prepend?l(G,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},t.prepend):l(O,{key:"prepend-icon",icon:e.prependIcon},null)]),l("span",{class:"v-btn__content","data-no-activator":""},[!t.default&&$?l(O,{key:"content-icon",icon:e.icon},null):l(G,{key:"content-defaults",disabled:!$,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var j;return[((j=t.default)==null?void 0:j.call(t))??e.text]}})]),!e.icon&&ve&&l("span",{key:"append",class:"v-btn__append"},[t.append?l(G,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},t.append):l(O,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&l("span",{key:"loader",class:"v-btn__loader"},[((U=t.loader)==null?void 0:U.call(t))??l(je,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Oe("ripple"),!f.value&&e.ripple,null]])}),{}}});const qe=k({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...P(),...I()},"VDivider"),pe=C()({name:"VDivider",props:qe(),setup(e,o){let{attrs:a}=o;const{themeClasses:t}=R(e),{textColorClasses:i,textColorStyles:s}=A(g(e,"color")),u=c(()=>{const d={};return e.length&&(d[e.vertical?"maxHeight":"maxWidth"]=E(e.length)),e.thickness&&(d[e.vertical?"borderRightWidth":"borderTopWidth"]=E(e.thickness)),d});return S(()=>l("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},t.value,i.value,e.class],style:[u.value,s.value,e.style],"aria-orientation":!a.role||a.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${a.role||"separator"}`},null)),{}}});function et(){const e=Le(!1);return Ae(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:c(()=>e.value?void 0:{transition:"none !important"}),isBooted:X(e)}}export{Ze as V,Ye as a,et as b,pe as c,Je as m,We as u}; diff --git a/front/dist/assets/webfontloader-f4a64c41.js b/front/dist/assets/webfontloader-f4a64c41.js deleted file mode 100644 index d728d3ce0..000000000 --- a/front/dist/assets/webfontloader-f4a64c41.js +++ /dev/null @@ -1 +0,0 @@ -import{g as Ft}from"./index-32269281.js";function Pt(w,S){for(var _=0;_h[m]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var at={exports:{}};(function(w){(function(){function S(t,n,e){return t.call.apply(t.bind,arguments)}function _(t,n,e){if(!t)throw Error();if(2=n.f?a():t.fonts.load(ht(n.a),n.h).then(function(c){1<=c.length?r():setTimeout(f,25)},function(){a()})}f()}),o=null,s=new Promise(function(r,a){o=setTimeout(a,n.f)});Promise.race([s,i]).then(function(){o&&(clearTimeout(o),o=null),n.g(n.a)},function(){n.j(n.a)})};function V(t,n,e,i,o,s,r){this.v=t,this.B=n,this.c=e,this.a=i,this.s=r||"BESbswy",this.f={},this.w=o||3e3,this.u=s||null,this.m=this.j=this.h=this.g=null,this.g=new A(this.c,this.s),this.h=new A(this.c,this.s),this.j=new A(this.c,this.s),this.m=new A(this.c,this.s),t=new g(this.a.c+",serif",p(this.a)),t=b(t),this.g.a.style.cssText=t,t=new g(this.a.c+",sans-serif",p(this.a)),t=b(t),this.h.a.style.cssText=t,t=new g("serif",p(this.a)),t=b(t),this.j.a.style.cssText=t,t=new g("sans-serif",p(this.a)),t=b(t),this.m.a.style.cssText=t,C(this.g),C(this.h),C(this.j),C(this.m)}var N={D:"serif",C:"sans-serif"},W=null;function X(){if(W===null){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);W=!!t&&(536>parseInt(t[1],10)||parseInt(t[1],10)===536&&11>=parseInt(t[2],10))}return W}V.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=m(),Q(this)};function J(t,n,e){for(var i in N)if(N.hasOwnProperty(i)&&n===t.f[N[i]]&&e===t.f[N[i]])return!0;return!1}function Q(t){var n=t.g.a.offsetWidth,e=t.h.a.offsetWidth,i;(i=n===t.f.serif&&e===t.f["sans-serif"])||(i=X()&&J(t,n,e)),i?m()-t.A>=t.w?X()&&J(t,n,e)&&(t.u===null||t.u.hasOwnProperty(t.a.c))?I(t,t.v):I(t,t.B):dt(t):I(t,t.v)}function dt(t){setTimeout(h(function(){Q(this)},t),50)}function I(t,n){setTimeout(h(function(){E(this.g.a),E(this.h.a),E(this.j.a),E(this.m.a),n(this.a)},t),0)}function k(t,n,e){this.c=t,this.a=n,this.f=0,this.m=this.j=!1,this.s=e}var O=null;k.prototype.g=function(t){var n=this.a;n.g&&y(n.f,[n.a.c("wf",t.c,p(t).toString(),"active")],[n.a.c("wf",t.c,p(t).toString(),"loading"),n.a.c("wf",t.c,p(t).toString(),"inactive")]),j(n,"fontactive",t),this.m=!0,Y(this)},k.prototype.h=function(t){var n=this.a;if(n.g){var e=D(n.f,n.a.c("wf",t.c,p(t).toString(),"active")),i=[],o=[n.a.c("wf",t.c,p(t).toString(),"loading")];e||i.push(n.a.c("wf",t.c,p(t).toString(),"inactive")),y(n.f,i,o)}j(n,"fontinactive",t),Y(this)};function Y(t){--t.f==0&&t.j&&(t.m?(t=t.a,t.g&&y(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),j(t,"active")):R(t.a))}function Z(t){this.j=t,this.a=new vt,this.h=0,this.f=this.g=!0}Z.prototype.load=function(t){this.c=new T(this.j,t.context||this.j),this.g=t.events!==!1,this.f=t.classes!==!1,yt(this,new pt(this.c,t),t)};function wt(t,n,e,i,o){var s=--t.h==0;(t.f||t.g)&&setTimeout(function(){var r=o||null,a=i||null||{};if(e.length===0&&s)R(n.a);else{n.f+=e.length,s&&(n.j=s);var f,c=[];for(f=0;f - - - - - - - Портал - - - - - -
- - - - diff --git a/front/src/views/HomePage.vue b/front/src/views/HomePage.vue index d42d71576..c824b2f80 100644 --- a/front/src/views/HomePage.vue +++ b/front/src/views/HomePage.vue @@ -14,6 +14,10 @@ :digitalData="stat"/> + + @@ -23,13 +27,13 @@ - + - + + +## License + +[MIT © Sasha Koss](https://kossnocorp.mit-license.org/) diff --git a/node_modules/date-fns/_lib/addLeadingZeros/index.js b/node_modules/date-fns/_lib/addLeadingZeros/index.js new file mode 100644 index 000000000..ead95373b --- /dev/null +++ b/node_modules/date-fns/_lib/addLeadingZeros/index.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addLeadingZeros; +function addLeadingZeros(number, targetLength) { + var sign = number < 0 ? '-' : ''; + var output = Math.abs(number).toString(); + while (output.length < targetLength) { + output = '0' + output; + } + return sign + output; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/assign/index.js b/node_modules/date-fns/_lib/assign/index.js new file mode 100644 index 000000000..d3bdaa709 --- /dev/null +++ b/node_modules/date-fns/_lib/assign/index.js @@ -0,0 +1,19 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = assign; +function assign(target, object) { + if (target == null) { + throw new TypeError('assign requires that input parameter not be null or undefined'); + } + for (var property in object) { + if (Object.prototype.hasOwnProperty.call(object, property)) { + ; + target[property] = object[property]; + } + } + return target; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/cloneObject/index.js b/node_modules/date-fns/_lib/cloneObject/index.js new file mode 100644 index 000000000..49c9e21b5 --- /dev/null +++ b/node_modules/date-fns/_lib/cloneObject/index.js @@ -0,0 +1,12 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cloneObject; +var _index = _interopRequireDefault(require("../assign/index.js")); +function cloneObject(object) { + return (0, _index.default)({}, object); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/defaultLocale/index.js b/node_modules/date-fns/_lib/defaultLocale/index.js new file mode 100644 index 000000000..a5f190c53 --- /dev/null +++ b/node_modules/date-fns/_lib/defaultLocale/index.js @@ -0,0 +1,11 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../locale/en-US/index.js")); +var _default = _index.default; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/defaultOptions/index.js b/node_modules/date-fns/_lib/defaultOptions/index.js new file mode 100644 index 000000000..fc24b0daa --- /dev/null +++ b/node_modules/date-fns/_lib/defaultOptions/index.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getDefaultOptions = getDefaultOptions; +exports.setDefaultOptions = setDefaultOptions; +var defaultOptions = {}; +function getDefaultOptions() { + return defaultOptions; +} +function setDefaultOptions(newOptions) { + defaultOptions = newOptions; +} \ No newline at end of file diff --git a/node_modules/date-fns/_lib/format/formatters/index.js b/node_modules/date-fns/_lib/format/formatters/index.js new file mode 100644 index 000000000..6b68efda0 --- /dev/null +++ b/node_modules/date-fns/_lib/format/formatters/index.js @@ -0,0 +1,781 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/getUTCDayOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/getUTCISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../../../_lib/getUTCISOWeekYear/index.js")); +var _index4 = _interopRequireDefault(require("../../../_lib/getUTCWeek/index.js")); +var _index5 = _interopRequireDefault(require("../../../_lib/getUTCWeekYear/index.js")); +var _index6 = _interopRequireDefault(require("../../addLeadingZeros/index.js")); +var _index7 = _interopRequireDefault(require("../lightFormatters/index.js")); +var dayPeriodEnum = { + am: 'am', + pm: 'pm', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' +}; +/* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | Milliseconds in day | + * | b | AM, PM, noon, midnight | B | Flexible day period | + * | c | Stand-alone local day of week | C* | Localized hour w/ day period | + * | d | Day of month | D | Day of year | + * | e | Local day of week | E | Day of week | + * | f | | F* | Day of week in month | + * | g* | Modified Julian day | G | Era | + * | h | Hour [1-12] | H | Hour [0-23] | + * | i! | ISO day of week | I! | ISO week of year | + * | j* | Localized hour w/ day period | J* | Localized hour w/o day period | + * | k | Hour [1-24] | K | Hour [0-11] | + * | l* | (deprecated) | L | Stand-alone month | + * | m | Minute | M | Month | + * | n | | N | | + * | o! | Ordinal number modifier | O | Timezone (GMT) | + * | p! | Long localized time | P! | Long localized date | + * | q | Stand-alone quarter | Q | Quarter | + * | r* | Related Gregorian year | R! | ISO week-numbering year | + * | s | Second | S | Fraction of second | + * | t! | Seconds timestamp | T! | Milliseconds timestamp | + * | u | Extended year | U* | Cyclic year | + * | v* | Timezone (generic non-locat.) | V* | Timezone (location) | + * | w | Local week of year | W* | Week of month | + * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) | + * | y | Year (abs) | Y | Local week-numbering year | + * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + * + * Letters marked by ! are non-standard, but implemented by date-fns: + * - `o` modifies the previous token to turn it into an ordinal (see `format` docs) + * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days, + * i.e. 7 for Sunday, 1 for Monday, etc. + * - `I` is ISO week of year, as opposed to `w` which is local week of year. + * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year. + * `R` is supposed to be used in conjunction with `I` and `i` + * for universal ISO week-numbering date, whereas + * `Y` is supposed to be used in conjunction with `w` and `e` + * for week-numbering date specific to the locale. + * - `P` is long localized date format + * - `p` is long localized time format + */ + +var formatters = { + // Era + G: function G(date, token, localize) { + var era = date.getUTCFullYear() > 0 ? 1 : 0; + switch (token) { + // AD, BC + case 'G': + case 'GG': + case 'GGG': + return localize.era(era, { + width: 'abbreviated' + }); + // A, B + case 'GGGGG': + return localize.era(era, { + width: 'narrow' + }); + // Anno Domini, Before Christ + case 'GGGG': + default: + return localize.era(era, { + width: 'wide' + }); + } + }, + // Year + y: function y(date, token, localize) { + // Ordinal number + if (token === 'yo') { + var signedYear = date.getUTCFullYear(); + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var year = signedYear > 0 ? signedYear : 1 - signedYear; + return localize.ordinalNumber(year, { + unit: 'year' + }); + } + return _index7.default.y(date, token); + }, + // Local week-numbering year + Y: function Y(date, token, localize, options) { + var signedWeekYear = (0, _index5.default)(date, options); + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; + + // Two digit year + if (token === 'YY') { + var twoDigitYear = weekYear % 100; + return (0, _index6.default)(twoDigitYear, 2); + } + + // Ordinal number + if (token === 'Yo') { + return localize.ordinalNumber(weekYear, { + unit: 'year' + }); + } + + // Padding + return (0, _index6.default)(weekYear, token.length); + }, + // ISO week-numbering year + R: function R(date, token) { + var isoWeekYear = (0, _index3.default)(date); + + // Padding + return (0, _index6.default)(isoWeekYear, token.length); + }, + // Extended year. This is a single number designating the year of this calendar system. + // The main difference between `y` and `u` localizers are B.C. years: + // | Year | `y` | `u` | + // |------|-----|-----| + // | AC 1 | 1 | 1 | + // | BC 1 | 1 | 0 | + // | BC 2 | 2 | -1 | + // Also `yy` always returns the last two digits of a year, + // while `uu` pads single digit years to 2 characters and returns other years unchanged. + u: function u(date, token) { + var year = date.getUTCFullYear(); + return (0, _index6.default)(year, token.length); + }, + // Quarter + Q: function Q(date, token, localize) { + var quarter = Math.ceil((date.getUTCMonth() + 1) / 3); + switch (token) { + // 1, 2, 3, 4 + case 'Q': + return String(quarter); + // 01, 02, 03, 04 + case 'QQ': + return (0, _index6.default)(quarter, 2); + // 1st, 2nd, 3rd, 4th + case 'Qo': + return localize.ordinalNumber(quarter, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'QQQ': + return localize.quarter(quarter, { + width: 'abbreviated', + context: 'formatting' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'QQQQQ': + return localize.quarter(quarter, { + width: 'narrow', + context: 'formatting' + }); + // 1st quarter, 2nd quarter, ... + case 'QQQQ': + default: + return localize.quarter(quarter, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Stand-alone quarter + q: function q(date, token, localize) { + var quarter = Math.ceil((date.getUTCMonth() + 1) / 3); + switch (token) { + // 1, 2, 3, 4 + case 'q': + return String(quarter); + // 01, 02, 03, 04 + case 'qq': + return (0, _index6.default)(quarter, 2); + // 1st, 2nd, 3rd, 4th + case 'qo': + return localize.ordinalNumber(quarter, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'qqq': + return localize.quarter(quarter, { + width: 'abbreviated', + context: 'standalone' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'qqqqq': + return localize.quarter(quarter, { + width: 'narrow', + context: 'standalone' + }); + // 1st quarter, 2nd quarter, ... + case 'qqqq': + default: + return localize.quarter(quarter, { + width: 'wide', + context: 'standalone' + }); + } + }, + // Month + M: function M(date, token, localize) { + var month = date.getUTCMonth(); + switch (token) { + case 'M': + case 'MM': + return _index7.default.M(date, token); + // 1st, 2nd, ..., 12th + case 'Mo': + return localize.ordinalNumber(month + 1, { + unit: 'month' + }); + // Jan, Feb, ..., Dec + case 'MMM': + return localize.month(month, { + width: 'abbreviated', + context: 'formatting' + }); + // J, F, ..., D + case 'MMMMM': + return localize.month(month, { + width: 'narrow', + context: 'formatting' + }); + // January, February, ..., December + case 'MMMM': + default: + return localize.month(month, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Stand-alone month + L: function L(date, token, localize) { + var month = date.getUTCMonth(); + switch (token) { + // 1, 2, ..., 12 + case 'L': + return String(month + 1); + // 01, 02, ..., 12 + case 'LL': + return (0, _index6.default)(month + 1, 2); + // 1st, 2nd, ..., 12th + case 'Lo': + return localize.ordinalNumber(month + 1, { + unit: 'month' + }); + // Jan, Feb, ..., Dec + case 'LLL': + return localize.month(month, { + width: 'abbreviated', + context: 'standalone' + }); + // J, F, ..., D + case 'LLLLL': + return localize.month(month, { + width: 'narrow', + context: 'standalone' + }); + // January, February, ..., December + case 'LLLL': + default: + return localize.month(month, { + width: 'wide', + context: 'standalone' + }); + } + }, + // Local week of year + w: function w(date, token, localize, options) { + var week = (0, _index4.default)(date, options); + if (token === 'wo') { + return localize.ordinalNumber(week, { + unit: 'week' + }); + } + return (0, _index6.default)(week, token.length); + }, + // ISO week of year + I: function I(date, token, localize) { + var isoWeek = (0, _index2.default)(date); + if (token === 'Io') { + return localize.ordinalNumber(isoWeek, { + unit: 'week' + }); + } + return (0, _index6.default)(isoWeek, token.length); + }, + // Day of the month + d: function d(date, token, localize) { + if (token === 'do') { + return localize.ordinalNumber(date.getUTCDate(), { + unit: 'date' + }); + } + return _index7.default.d(date, token); + }, + // Day of year + D: function D(date, token, localize) { + var dayOfYear = (0, _index.default)(date); + if (token === 'Do') { + return localize.ordinalNumber(dayOfYear, { + unit: 'dayOfYear' + }); + } + return (0, _index6.default)(dayOfYear, token.length); + }, + // Day of week + E: function E(date, token, localize) { + var dayOfWeek = date.getUTCDay(); + switch (token) { + // Tue + case 'E': + case 'EE': + case 'EEE': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'EEEEE': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'EEEEEE': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'EEEE': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Local day of week + e: function e(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7; + switch (token) { + // Numerical value (Nth day of week with current locale or weekStartsOn) + case 'e': + return String(localDayOfWeek); + // Padded numerical value + case 'ee': + return (0, _index6.default)(localDayOfWeek, 2); + // 1st, 2nd, ..., 7th + case 'eo': + return localize.ordinalNumber(localDayOfWeek, { + unit: 'day' + }); + case 'eee': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'eeeee': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'eeeeee': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'eeee': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Stand-alone local day of week + c: function c(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7; + switch (token) { + // Numerical value (same as in `e`) + case 'c': + return String(localDayOfWeek); + // Padded numerical value + case 'cc': + return (0, _index6.default)(localDayOfWeek, token.length); + // 1st, 2nd, ..., 7th + case 'co': + return localize.ordinalNumber(localDayOfWeek, { + unit: 'day' + }); + case 'ccc': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'standalone' + }); + // T + case 'ccccc': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'standalone' + }); + // Tu + case 'cccccc': + return localize.day(dayOfWeek, { + width: 'short', + context: 'standalone' + }); + // Tuesday + case 'cccc': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'standalone' + }); + } + }, + // ISO day of week + i: function i(date, token, localize) { + var dayOfWeek = date.getUTCDay(); + var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek; + switch (token) { + // 2 + case 'i': + return String(isoDayOfWeek); + // 02 + case 'ii': + return (0, _index6.default)(isoDayOfWeek, token.length); + // 2nd + case 'io': + return localize.ordinalNumber(isoDayOfWeek, { + unit: 'day' + }); + // Tue + case 'iii': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'iiiii': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'iiiiii': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'iiii': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, + // AM or PM + a: function a(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am'; + switch (token) { + case 'a': + case 'aa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'aaa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }).toLowerCase(); + case 'aaaaa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaa': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, + // AM, PM, midnight, noon + b: function b(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue; + if (hours === 12) { + dayPeriodEnumValue = dayPeriodEnum.noon; + } else if (hours === 0) { + dayPeriodEnumValue = dayPeriodEnum.midnight; + } else { + dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am'; + } + switch (token) { + case 'b': + case 'bb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'bbb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }).toLowerCase(); + case 'bbbbb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbb': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, + // in the morning, in the afternoon, in the evening, at night + B: function B(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue; + if (hours >= 17) { + dayPeriodEnumValue = dayPeriodEnum.evening; + } else if (hours >= 12) { + dayPeriodEnumValue = dayPeriodEnum.afternoon; + } else if (hours >= 4) { + dayPeriodEnumValue = dayPeriodEnum.morning; + } else { + dayPeriodEnumValue = dayPeriodEnum.night; + } + switch (token) { + case 'B': + case 'BB': + case 'BBB': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'BBBBB': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBB': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Hour [1-12] + h: function h(date, token, localize) { + if (token === 'ho') { + var hours = date.getUTCHours() % 12; + if (hours === 0) hours = 12; + return localize.ordinalNumber(hours, { + unit: 'hour' + }); + } + return _index7.default.h(date, token); + }, + // Hour [0-23] + H: function H(date, token, localize) { + if (token === 'Ho') { + return localize.ordinalNumber(date.getUTCHours(), { + unit: 'hour' + }); + } + return _index7.default.H(date, token); + }, + // Hour [0-11] + K: function K(date, token, localize) { + var hours = date.getUTCHours() % 12; + if (token === 'Ko') { + return localize.ordinalNumber(hours, { + unit: 'hour' + }); + } + return (0, _index6.default)(hours, token.length); + }, + // Hour [1-24] + k: function k(date, token, localize) { + var hours = date.getUTCHours(); + if (hours === 0) hours = 24; + if (token === 'ko') { + return localize.ordinalNumber(hours, { + unit: 'hour' + }); + } + return (0, _index6.default)(hours, token.length); + }, + // Minute + m: function m(date, token, localize) { + if (token === 'mo') { + return localize.ordinalNumber(date.getUTCMinutes(), { + unit: 'minute' + }); + } + return _index7.default.m(date, token); + }, + // Second + s: function s(date, token, localize) { + if (token === 'so') { + return localize.ordinalNumber(date.getUTCSeconds(), { + unit: 'second' + }); + } + return _index7.default.s(date, token); + }, + // Fraction of second + S: function S(date, token) { + return _index7.default.S(date, token); + }, + // Timezone (ISO-8601. If offset is 0, output is always `'Z'`) + X: function X(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + if (timezoneOffset === 0) { + return 'Z'; + } + switch (token) { + // Hours and optional minutes + case 'X': + return formatTimezoneWithOptionalMinutes(timezoneOffset); + + // Hours, minutes and optional seconds without `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `XX` + case 'XXXX': + case 'XX': + // Hours and minutes without `:` delimiter + return formatTimezone(timezoneOffset); + + // Hours, minutes and optional seconds with `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `XXX` + case 'XXXXX': + case 'XXX': // Hours and minutes with `:` delimiter + default: + return formatTimezone(timezoneOffset, ':'); + } + }, + // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent) + x: function x(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + switch (token) { + // Hours and optional minutes + case 'x': + return formatTimezoneWithOptionalMinutes(timezoneOffset); + + // Hours, minutes and optional seconds without `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `xx` + case 'xxxx': + case 'xx': + // Hours and minutes without `:` delimiter + return formatTimezone(timezoneOffset); + + // Hours, minutes and optional seconds with `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `xxx` + case 'xxxxx': + case 'xxx': // Hours and minutes with `:` delimiter + default: + return formatTimezone(timezoneOffset, ':'); + } + }, + // Timezone (GMT) + O: function O(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + switch (token) { + // Short + case 'O': + case 'OO': + case 'OOO': + return 'GMT' + formatTimezoneShort(timezoneOffset, ':'); + // Long + case 'OOOO': + default: + return 'GMT' + formatTimezone(timezoneOffset, ':'); + } + }, + // Timezone (specific non-location) + z: function z(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + switch (token) { + // Short + case 'z': + case 'zz': + case 'zzz': + return 'GMT' + formatTimezoneShort(timezoneOffset, ':'); + // Long + case 'zzzz': + default: + return 'GMT' + formatTimezone(timezoneOffset, ':'); + } + }, + // Seconds timestamp + t: function t(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timestamp = Math.floor(originalDate.getTime() / 1000); + return (0, _index6.default)(timestamp, token.length); + }, + // Milliseconds timestamp + T: function T(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timestamp = originalDate.getTime(); + return (0, _index6.default)(timestamp, token.length); + } +}; +function formatTimezoneShort(offset, dirtyDelimiter) { + var sign = offset > 0 ? '-' : '+'; + var absOffset = Math.abs(offset); + var hours = Math.floor(absOffset / 60); + var minutes = absOffset % 60; + if (minutes === 0) { + return sign + String(hours); + } + var delimiter = dirtyDelimiter || ''; + return sign + String(hours) + delimiter + (0, _index6.default)(minutes, 2); +} +function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) { + if (offset % 60 === 0) { + var sign = offset > 0 ? '-' : '+'; + return sign + (0, _index6.default)(Math.abs(offset) / 60, 2); + } + return formatTimezone(offset, dirtyDelimiter); +} +function formatTimezone(offset, dirtyDelimiter) { + var delimiter = dirtyDelimiter || ''; + var sign = offset > 0 ? '-' : '+'; + var absOffset = Math.abs(offset); + var hours = (0, _index6.default)(Math.floor(absOffset / 60), 2); + var minutes = (0, _index6.default)(absOffset % 60, 2); + return sign + hours + delimiter + minutes; +} +var _default = formatters; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/format/lightFormatters/index.js b/node_modules/date-fns/_lib/format/lightFormatters/index.js new file mode 100644 index 000000000..21a262184 --- /dev/null +++ b/node_modules/date-fns/_lib/format/lightFormatters/index.js @@ -0,0 +1,90 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addLeadingZeros/index.js")); +/* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | | + * | d | Day of month | D | | + * | h | Hour [1-12] | H | Hour [0-23] | + * | m | Minute | M | Month | + * | s | Second | S | Fraction of second | + * | y | Year (abs) | Y | | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + */ + +var formatters = { + // Year + y: function y(date, token) { + // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens + // | Year | y | yy | yyy | yyyy | yyyyy | + // |----------|-------|----|-------|-------|-------| + // | AD 1 | 1 | 01 | 001 | 0001 | 00001 | + // | AD 12 | 12 | 12 | 012 | 0012 | 00012 | + // | AD 123 | 123 | 23 | 123 | 0123 | 00123 | + // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 | + // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 | + + var signedYear = date.getUTCFullYear(); + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var year = signedYear > 0 ? signedYear : 1 - signedYear; + return (0, _index.default)(token === 'yy' ? year % 100 : year, token.length); + }, + // Month + M: function M(date, token) { + var month = date.getUTCMonth(); + return token === 'M' ? String(month + 1) : (0, _index.default)(month + 1, 2); + }, + // Day of the month + d: function d(date, token) { + return (0, _index.default)(date.getUTCDate(), token.length); + }, + // AM or PM + a: function a(date, token) { + var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am'; + switch (token) { + case 'a': + case 'aa': + return dayPeriodEnumValue.toUpperCase(); + case 'aaa': + return dayPeriodEnumValue; + case 'aaaaa': + return dayPeriodEnumValue[0]; + case 'aaaa': + default: + return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.'; + } + }, + // Hour [1-12] + h: function h(date, token) { + return (0, _index.default)(date.getUTCHours() % 12 || 12, token.length); + }, + // Hour [0-23] + H: function H(date, token) { + return (0, _index.default)(date.getUTCHours(), token.length); + }, + // Minute + m: function m(date, token) { + return (0, _index.default)(date.getUTCMinutes(), token.length); + }, + // Second + s: function s(date, token) { + return (0, _index.default)(date.getUTCSeconds(), token.length); + }, + // Fraction of second + S: function S(date, token) { + var numberOfDigits = token.length; + var milliseconds = date.getUTCMilliseconds(); + var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3)); + return (0, _index.default)(fractionalSeconds, token.length); + } +}; +var _default = formatters; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/format/longFormatters/index.js b/node_modules/date-fns/_lib/format/longFormatters/index.js new file mode 100644 index 000000000..5b65efece --- /dev/null +++ b/node_modules/date-fns/_lib/format/longFormatters/index.js @@ -0,0 +1,88 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var dateLongFormatter = function dateLongFormatter(pattern, formatLong) { + switch (pattern) { + case 'P': + return formatLong.date({ + width: 'short' + }); + case 'PP': + return formatLong.date({ + width: 'medium' + }); + case 'PPP': + return formatLong.date({ + width: 'long' + }); + case 'PPPP': + default: + return formatLong.date({ + width: 'full' + }); + } +}; +var timeLongFormatter = function timeLongFormatter(pattern, formatLong) { + switch (pattern) { + case 'p': + return formatLong.time({ + width: 'short' + }); + case 'pp': + return formatLong.time({ + width: 'medium' + }); + case 'ppp': + return formatLong.time({ + width: 'long' + }); + case 'pppp': + default: + return formatLong.time({ + width: 'full' + }); + } +}; +var dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) { + var matchResult = pattern.match(/(P+)(p+)?/) || []; + var datePattern = matchResult[1]; + var timePattern = matchResult[2]; + if (!timePattern) { + return dateLongFormatter(pattern, formatLong); + } + var dateTimeFormat; + switch (datePattern) { + case 'P': + dateTimeFormat = formatLong.dateTime({ + width: 'short' + }); + break; + case 'PP': + dateTimeFormat = formatLong.dateTime({ + width: 'medium' + }); + break; + case 'PPP': + dateTimeFormat = formatLong.dateTime({ + width: 'long' + }); + break; + case 'PPPP': + default: + dateTimeFormat = formatLong.dateTime({ + width: 'full' + }); + break; + } + return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong)); +}; +var longFormatters = { + p: timeLongFormatter, + P: dateTimeLongFormatter +}; +var _default = longFormatters; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js b/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js new file mode 100644 index 000000000..ca0655905 --- /dev/null +++ b/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js @@ -0,0 +1,23 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getTimezoneOffsetInMilliseconds; +/** + * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds. + * They usually appear for dates that denote time before the timezones were introduced + * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891 + * and GMT+01:00:00 after that date) + * + * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above, + * which would lead to incorrect calculations. + * + * This function returns the timezone offset in milliseconds that takes seconds in account. + */ +function getTimezoneOffsetInMilliseconds(date) { + var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds())); + utcDate.setUTCFullYear(date.getFullYear()); + return date.getTime() - utcDate.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/getUTCDayOfYear/index.js b/node_modules/date-fns/_lib/getUTCDayOfYear/index.js new file mode 100644 index 000000000..3b1af2c65 --- /dev/null +++ b/node_modules/date-fns/_lib/getUTCDayOfYear/index.js @@ -0,0 +1,21 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getUTCDayOfYear; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var MILLISECONDS_IN_DAY = 86400000; +function getUTCDayOfYear(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var timestamp = date.getTime(); + date.setUTCMonth(0, 1); + date.setUTCHours(0, 0, 0, 0); + var startOfYearTimestamp = date.getTime(); + var difference = timestamp - startOfYearTimestamp; + return Math.floor(difference / MILLISECONDS_IN_DAY) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/getUTCISOWeek/index.js b/node_modules/date-fns/_lib/getUTCISOWeek/index.js new file mode 100644 index 000000000..a21a412cd --- /dev/null +++ b/node_modules/date-fns/_lib/getUTCISOWeek/index.js @@ -0,0 +1,23 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getUTCISOWeek; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../startOfUTCISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../startOfUTCISOWeekYear/index.js")); +var _index4 = _interopRequireDefault(require("../requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; +function getUTCISOWeek(dirtyDate) { + (0, _index4.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var diff = (0, _index2.default)(date).getTime() - (0, _index3.default)(date).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/getUTCISOWeekYear/index.js b/node_modules/date-fns/_lib/getUTCISOWeekYear/index.js new file mode 100644 index 000000000..fb65e3c07 --- /dev/null +++ b/node_modules/date-fns/_lib/getUTCISOWeekYear/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getUTCISOWeekYear; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../startOfUTCISOWeek/index.js")); +function getUTCISOWeekYear(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getUTCFullYear(); + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0); + var startOfNextYear = (0, _index3.default)(fourthOfJanuaryOfNextYear); + var fourthOfJanuaryOfThisYear = new Date(0); + fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0); + var startOfThisYear = (0, _index3.default)(fourthOfJanuaryOfThisYear); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/getUTCWeek/index.js b/node_modules/date-fns/_lib/getUTCWeek/index.js new file mode 100644 index 000000000..63dbdc33f --- /dev/null +++ b/node_modules/date-fns/_lib/getUTCWeek/index.js @@ -0,0 +1,23 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getUTCWeek; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../startOfUTCWeek/index.js")); +var _index3 = _interopRequireDefault(require("../startOfUTCWeekYear/index.js")); +var _index4 = _interopRequireDefault(require("../requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; +function getUTCWeek(dirtyDate, options) { + (0, _index4.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var diff = (0, _index2.default)(date, options).getTime() - (0, _index3.default)(date, options).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/getUTCWeekYear/index.js b/node_modules/date-fns/_lib/getUTCWeekYear/index.js new file mode 100644 index 000000000..b0707ebe4 --- /dev/null +++ b/node_modules/date-fns/_lib/getUTCWeekYear/index.js @@ -0,0 +1,41 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getUTCWeekYear; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../startOfUTCWeek/index.js")); +var _index4 = _interopRequireDefault(require("../toInteger/index.js")); +var _index5 = require("../defaultOptions/index.js"); +function getUTCWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getUTCFullYear(); + var defaultOptions = (0, _index5.getDefaultOptions)(); + var firstWeekContainsDate = (0, _index4.default)((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var firstWeekOfNextYear = new Date(0); + firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setUTCHours(0, 0, 0, 0); + var startOfNextYear = (0, _index3.default)(firstWeekOfNextYear, options); + var firstWeekOfThisYear = new Date(0); + firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setUTCHours(0, 0, 0, 0); + var startOfThisYear = (0, _index3.default)(firstWeekOfThisYear, options); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/isSameUTCWeek/index.js b/node_modules/date-fns/_lib/isSameUTCWeek/index.js new file mode 100644 index 000000000..dda29ed07 --- /dev/null +++ b/node_modules/date-fns/_lib/isSameUTCWeek/index.js @@ -0,0 +1,16 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameUTCWeek; +var _index = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../startOfUTCWeek/index.js")); +function isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) { + (0, _index.default)(2, arguments); + var dateLeftStartOfWeek = (0, _index2.default)(dirtyDateLeft, options); + var dateRightStartOfWeek = (0, _index2.default)(dirtyDateRight, options); + return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/protectedTokens/index.js b/node_modules/date-fns/_lib/protectedTokens/index.js new file mode 100644 index 000000000..29186b1eb --- /dev/null +++ b/node_modules/date-fns/_lib/protectedTokens/index.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isProtectedDayOfYearToken = isProtectedDayOfYearToken; +exports.isProtectedWeekYearToken = isProtectedWeekYearToken; +exports.throwProtectedError = throwProtectedError; +var protectedDayOfYearTokens = ['D', 'DD']; +var protectedWeekYearTokens = ['YY', 'YYYY']; +function isProtectedDayOfYearToken(token) { + return protectedDayOfYearTokens.indexOf(token) !== -1; +} +function isProtectedWeekYearToken(token) { + return protectedWeekYearTokens.indexOf(token) !== -1; +} +function throwProtectedError(token, format, input) { + if (token === 'YYYY') { + throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } else if (token === 'YY') { + throw new RangeError("Use `yy` instead of `YY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } else if (token === 'D') { + throw new RangeError("Use `d` instead of `D` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } else if (token === 'DD') { + throw new RangeError("Use `dd` instead of `DD` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } +} \ No newline at end of file diff --git a/node_modules/date-fns/_lib/requiredArgs/index.js b/node_modules/date-fns/_lib/requiredArgs/index.js new file mode 100644 index 000000000..49f0b17ab --- /dev/null +++ b/node_modules/date-fns/_lib/requiredArgs/index.js @@ -0,0 +1,12 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = requiredArgs; +function requiredArgs(required, args) { + if (args.length < required) { + throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present'); + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/roundingMethods/index.js b/node_modules/date-fns/_lib/roundingMethods/index.js new file mode 100644 index 000000000..53863a50d --- /dev/null +++ b/node_modules/date-fns/_lib/roundingMethods/index.js @@ -0,0 +1,19 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getRoundingMethod = getRoundingMethod; +var roundingMap = { + ceil: Math.ceil, + round: Math.round, + floor: Math.floor, + trunc: function trunc(value) { + return value < 0 ? Math.ceil(value) : Math.floor(value); + } // Math.trunc is not supported by IE +}; + +var defaultRoundingMethod = 'trunc'; +function getRoundingMethod(method) { + return method ? roundingMap[method] : roundingMap[defaultRoundingMethod]; +} \ No newline at end of file diff --git a/node_modules/date-fns/_lib/setUTCDay/index.js b/node_modules/date-fns/_lib/setUTCDay/index.js new file mode 100644 index 000000000..43714fe94 --- /dev/null +++ b/node_modules/date-fns/_lib/setUTCDay/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setUTCDay; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../toInteger/index.js")); +var _index4 = require("../defaultOptions/index.js"); +function setUTCDay(dirtyDate, dirtyDay, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index2.default)(2, arguments); + var defaultOptions = (0, _index4.getDefaultOptions)(); + var weekStartsOn = (0, _index3.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = (0, _index.default)(dirtyDate); + var day = (0, _index3.default)(dirtyDay); + var currentDay = date.getUTCDay(); + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/setUTCISODay/index.js b/node_modules/date-fns/_lib/setUTCISODay/index.js new file mode 100644 index 000000000..55c0f4e95 --- /dev/null +++ b/node_modules/date-fns/_lib/setUTCISODay/index.js @@ -0,0 +1,26 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setUTCISODay; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../toInteger/index.js")); +function setUTCISODay(dirtyDate, dirtyDay) { + (0, _index2.default)(2, arguments); + var day = (0, _index3.default)(dirtyDay); + if (day % 7 === 0) { + day = day - 7; + } + var weekStartsOn = 1; + var date = (0, _index.default)(dirtyDate); + var currentDay = date.getUTCDay(); + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/setUTCISOWeek/index.js b/node_modules/date-fns/_lib/setUTCISOWeek/index.js new file mode 100644 index 000000000..8b7364151 --- /dev/null +++ b/node_modules/date-fns/_lib/setUTCISOWeek/index.js @@ -0,0 +1,20 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setUTCISOWeek; +var _index = _interopRequireDefault(require("../toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../getUTCISOWeek/index.js")); +var _index4 = _interopRequireDefault(require("../requiredArgs/index.js")); +function setUTCISOWeek(dirtyDate, dirtyISOWeek) { + (0, _index4.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var isoWeek = (0, _index.default)(dirtyISOWeek); + var diff = (0, _index3.default)(date) - isoWeek; + date.setUTCDate(date.getUTCDate() - diff * 7); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/setUTCWeek/index.js b/node_modules/date-fns/_lib/setUTCWeek/index.js new file mode 100644 index 000000000..dc98d49c5 --- /dev/null +++ b/node_modules/date-fns/_lib/setUTCWeek/index.js @@ -0,0 +1,20 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setUTCWeek; +var _index = _interopRequireDefault(require("../toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../getUTCWeek/index.js")); +var _index4 = _interopRequireDefault(require("../requiredArgs/index.js")); +function setUTCWeek(dirtyDate, dirtyWeek, options) { + (0, _index4.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var week = (0, _index.default)(dirtyWeek); + var diff = (0, _index3.default)(date, options) - week; + date.setUTCDate(date.getUTCDate() - diff * 7); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/startOfUTCISOWeek/index.js b/node_modules/date-fns/_lib/startOfUTCISOWeek/index.js new file mode 100644 index 000000000..5bdf242d6 --- /dev/null +++ b/node_modules/date-fns/_lib/startOfUTCISOWeek/index.js @@ -0,0 +1,20 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfUTCISOWeek; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +function startOfUTCISOWeek(dirtyDate) { + (0, _index2.default)(1, arguments); + var weekStartsOn = 1; + var date = (0, _index.default)(dirtyDate); + var day = date.getUTCDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; + date.setUTCDate(date.getUTCDate() - diff); + date.setUTCHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/startOfUTCISOWeekYear/index.js b/node_modules/date-fns/_lib/startOfUTCISOWeekYear/index.js new file mode 100644 index 000000000..e836651dc --- /dev/null +++ b/node_modules/date-fns/_lib/startOfUTCISOWeekYear/index.js @@ -0,0 +1,20 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfUTCISOWeekYear; +var _index = _interopRequireDefault(require("../getUTCISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../startOfUTCISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../requiredArgs/index.js")); +function startOfUTCISOWeekYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var year = (0, _index.default)(dirtyDate); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setUTCFullYear(year, 0, 4); + fourthOfJanuary.setUTCHours(0, 0, 0, 0); + var date = (0, _index2.default)(fourthOfJanuary); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/startOfUTCWeek/index.js b/node_modules/date-fns/_lib/startOfUTCWeek/index.js new file mode 100644 index 000000000..c31743743 --- /dev/null +++ b/node_modules/date-fns/_lib/startOfUTCWeek/index.js @@ -0,0 +1,29 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfUTCWeek; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../toInteger/index.js")); +var _index4 = require("../defaultOptions/index.js"); +function startOfUTCWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index2.default)(1, arguments); + var defaultOptions = (0, _index4.getDefaultOptions)(); + var weekStartsOn = (0, _index3.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = (0, _index.default)(dirtyDate); + var day = date.getUTCDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; + date.setUTCDate(date.getUTCDate() - diff); + date.setUTCHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/startOfUTCWeekYear/index.js b/node_modules/date-fns/_lib/startOfUTCWeekYear/index.js new file mode 100644 index 000000000..9e23785d4 --- /dev/null +++ b/node_modules/date-fns/_lib/startOfUTCWeekYear/index.js @@ -0,0 +1,25 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfUTCWeekYear; +var _index = _interopRequireDefault(require("../getUTCWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../startOfUTCWeek/index.js")); +var _index4 = _interopRequireDefault(require("../toInteger/index.js")); +var _index5 = require("../defaultOptions/index.js"); +function startOfUTCWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index2.default)(1, arguments); + var defaultOptions = (0, _index5.getDefaultOptions)(); + var firstWeekContainsDate = (0, _index4.default)((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + var year = (0, _index.default)(dirtyDate, options); + var firstWeek = new Date(0); + firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate); + firstWeek.setUTCHours(0, 0, 0, 0); + var date = (0, _index3.default)(firstWeek, options); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/_lib/test/index.js b/node_modules/date-fns/_lib/test/index.js new file mode 100644 index 000000000..78c3deeac --- /dev/null +++ b/node_modules/date-fns/_lib/test/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.assertType = assertType; +exports.generateOffset = generateOffset; +exports.resetDefaultOptions = resetDefaultOptions; +var _index = _interopRequireDefault(require("../addLeadingZeros/index.js")); +var _index2 = require("../defaultOptions/index.js"); +function assertType(_) {} +function resetDefaultOptions() { + (0, _index2.setDefaultOptions)({}); +} + +// This makes sure we create the consistent offsets across timezones, no matter where these tests are ran. +function generateOffset(originalDate) { + // Add the timezone. + var offset = ''; + var tzOffset = originalDate.getTimezoneOffset(); + if (tzOffset !== 0) { + var absoluteOffset = Math.abs(tzOffset); + var hourOffset = (0, _index.default)(Math.floor(absoluteOffset / 60), 2); + var minuteOffset = (0, _index.default)(absoluteOffset % 60, 2); + // If less than 0, the sign is +, because it is ahead of time. + var sign = tzOffset < 0 ? '+' : '-'; + offset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); + } else { + offset = 'Z'; + } + return offset; +} \ No newline at end of file diff --git a/node_modules/date-fns/_lib/toInteger/index.js b/node_modules/date-fns/_lib/toInteger/index.js new file mode 100644 index 000000000..5a6198d1b --- /dev/null +++ b/node_modules/date-fns/_lib/toInteger/index.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toInteger; +function toInteger(dirtyNumber) { + if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) { + return NaN; + } + var number = Number(dirtyNumber); + if (isNaN(number)) { + return number; + } + return number < 0 ? Math.ceil(number) : Math.floor(number); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/add/index.d.ts b/node_modules/date-fns/add/index.d.ts new file mode 100644 index 000000000..f620aa05e --- /dev/null +++ b/node_modules/date-fns/add/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { add } from 'date-fns' +export default add diff --git a/node_modules/date-fns/add/index.js b/node_modules/date-fns/add/index.js new file mode 100644 index 000000000..0133baec2 --- /dev/null +++ b/node_modules/date-fns/add/index.js @@ -0,0 +1,78 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = add; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../addMonths/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name add + * @category Common Helpers + * @summary Add the specified years, months, weeks, days, hours, minutes and seconds to the given date. + * + * @description + * Add the specified years, months, weeks, days, hours, minutes and seconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * + * | Key | Description | + * |----------------|------------------------------------| + * | years | Amount of years to be added | + * | months | Amount of months to be added | + * | weeks | Amount of weeks to be added | + * | days | Amount of days to be added | + * | hours | Amount of hours to be added | + * | minutes | Amount of minutes to be added | + * | seconds | Amount of seconds to be added | + * + * All values default to 0 + * + * @returns {Date} the new date with the seconds added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add the following duration to 1 September 2014, 10:19:50 + * const result = add(new Date(2014, 8, 1, 10, 19, 50), { + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30, + * }) + * //=> Thu Jun 15 2017 15:29:20 + */ +function add(dirtyDate, duration) { + (0, _index4.default)(2, arguments); + if (!duration || (0, _typeof2.default)(duration) !== 'object') return new Date(NaN); + var years = duration.years ? (0, _index5.default)(duration.years) : 0; + var months = duration.months ? (0, _index5.default)(duration.months) : 0; + var weeks = duration.weeks ? (0, _index5.default)(duration.weeks) : 0; + var days = duration.days ? (0, _index5.default)(duration.days) : 0; + var hours = duration.hours ? (0, _index5.default)(duration.hours) : 0; + var minutes = duration.minutes ? (0, _index5.default)(duration.minutes) : 0; + var seconds = duration.seconds ? (0, _index5.default)(duration.seconds) : 0; + + // Add years and months + var date = (0, _index3.default)(dirtyDate); + var dateWithMonths = months || years ? (0, _index2.default)(date, months + years * 12) : date; + + // Add weeks and days + var dateWithDays = days || weeks ? (0, _index.default)(dateWithMonths, days + weeks * 7) : dateWithMonths; + + // Add days, hours, minutes and seconds + var minutesToAdd = minutes + hours * 60; + var secondsToAdd = seconds + minutesToAdd * 60; + var msToAdd = secondsToAdd * 1000; + var finalDate = new Date(dateWithDays.getTime() + msToAdd); + return finalDate; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/add/index.js.flow b/node_modules/date-fns/add/index.js.flow new file mode 100644 index 000000000..e79df7ca1 --- /dev/null +++ b/node_modules/date-fns/add/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, duration: Duration) => Date diff --git a/node_modules/date-fns/add/package.json b/node_modules/date-fns/add/package.json new file mode 100644 index 000000000..f7b2d0b9b --- /dev/null +++ b/node_modules/date-fns/add/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/add/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addBusinessDays/index.d.ts b/node_modules/date-fns/addBusinessDays/index.d.ts new file mode 100644 index 000000000..b1c084e3c --- /dev/null +++ b/node_modules/date-fns/addBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addBusinessDays } from 'date-fns' +export default addBusinessDays diff --git a/node_modules/date-fns/addBusinessDays/index.js b/node_modules/date-fns/addBusinessDays/index.js new file mode 100644 index 000000000..8f88d179f --- /dev/null +++ b/node_modules/date-fns/addBusinessDays/index.js @@ -0,0 +1,66 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addBusinessDays; +var _index = _interopRequireDefault(require("../isWeekend/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index5 = _interopRequireDefault(require("../isSunday/index.js")); +var _index6 = _interopRequireDefault(require("../isSaturday/index.js")); +/** + * @name addBusinessDays + * @category Day Helpers + * @summary Add the specified number of business days (mon - fri) to the given date. + * + * @description + * Add the specified number of business days (mon - fri) to the given date, ignoring weekends. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of business days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the business days added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 10 business days to 1 September 2014: + * const result = addBusinessDays(new Date(2014, 8, 1), 10) + * //=> Mon Sep 15 2014 00:00:00 (skipped weekend days) + */ +function addBusinessDays(dirtyDate, dirtyAmount) { + (0, _index4.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var startedOnWeekend = (0, _index.default)(date); + var amount = (0, _index3.default)(dirtyAmount); + if (isNaN(amount)) return new Date(NaN); + var hours = date.getHours(); + var sign = amount < 0 ? -1 : 1; + var fullWeeks = (0, _index3.default)(amount / 5); + date.setDate(date.getDate() + fullWeeks * 7); + + // Get remaining days not part of a full week + var restDays = Math.abs(amount % 5); + + // Loops over remaining days + while (restDays > 0) { + date.setDate(date.getDate() + sign); + if (!(0, _index.default)(date)) restDays -= 1; + } + + // If the date is a weekend day and we reduce a dividable of + // 5 from it, we land on a weekend date. + // To counter this, we add days accordingly to land on the next business day + if (startedOnWeekend && (0, _index.default)(date) && amount !== 0) { + // If we're reducing days, we want to add days until we land on a weekday + // If we're adding days we want to reduce days until we land on a weekday + if ((0, _index6.default)(date)) date.setDate(date.getDate() + (sign < 0 ? 2 : -1)); + if ((0, _index5.default)(date)) date.setDate(date.getDate() + (sign < 0 ? 1 : -2)); + } + + // Restore hours to avoid DST lag + date.setHours(hours); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addBusinessDays/index.js.flow b/node_modules/date-fns/addBusinessDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addBusinessDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addBusinessDays/package.json b/node_modules/date-fns/addBusinessDays/package.json new file mode 100644 index 000000000..fd0f7c655 --- /dev/null +++ b/node_modules/date-fns/addBusinessDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addBusinessDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addDays/index.d.ts b/node_modules/date-fns/addDays/index.d.ts new file mode 100644 index 000000000..fd7fb3dbf --- /dev/null +++ b/node_modules/date-fns/addDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addDays } from 'date-fns' +export default addDays diff --git a/node_modules/date-fns/addDays/index.js b/node_modules/date-fns/addDays/index.js new file mode 100644 index 000000000..1d3a9855a --- /dev/null +++ b/node_modules/date-fns/addDays/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addDays; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addDays + * @category Day Helpers + * @summary Add the specified number of days to the given date. + * + * @description + * Add the specified number of days to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} - the new date with the days added + * @throws {TypeError} - 2 arguments required + * + * @example + * // Add 10 days to 1 September 2014: + * const result = addDays(new Date(2014, 8, 1), 10) + * //=> Thu Sep 11 2014 00:00:00 + */ +function addDays(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var amount = (0, _index.default)(dirtyAmount); + if (isNaN(amount)) { + return new Date(NaN); + } + if (!amount) { + // If 0 days, no-op to avoid changing times in the hour before end of DST + return date; + } + date.setDate(date.getDate() + amount); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addDays/index.js.flow b/node_modules/date-fns/addDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addDays/package.json b/node_modules/date-fns/addDays/package.json new file mode 100644 index 000000000..0e7b7489a --- /dev/null +++ b/node_modules/date-fns/addDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addHours/index.d.ts b/node_modules/date-fns/addHours/index.d.ts new file mode 100644 index 000000000..b3b606669 --- /dev/null +++ b/node_modules/date-fns/addHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addHours } from 'date-fns' +export default addHours diff --git a/node_modules/date-fns/addHours/index.js b/node_modules/date-fns/addHours/index.js new file mode 100644 index 000000000..4091b2a0f --- /dev/null +++ b/node_modules/date-fns/addHours/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addHours; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_HOUR = 3600000; + +/** + * @name addHours + * @category Hour Helpers + * @summary Add the specified number of hours to the given date. + * + * @description + * Add the specified number of hours to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of hours to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the hours added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 2 hours to 10 July 2014 23:00:00: + * const result = addHours(new Date(2014, 6, 10, 23, 0), 2) + * //=> Fri Jul 11 2014 01:00:00 + */ +function addHours(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, amount * MILLISECONDS_IN_HOUR); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addHours/index.js.flow b/node_modules/date-fns/addHours/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addHours/package.json b/node_modules/date-fns/addHours/package.json new file mode 100644 index 000000000..07211368d --- /dev/null +++ b/node_modules/date-fns/addHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addISOWeekYears/index.d.ts b/node_modules/date-fns/addISOWeekYears/index.d.ts new file mode 100644 index 000000000..e1e6e0904 --- /dev/null +++ b/node_modules/date-fns/addISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addISOWeekYears } from 'date-fns' +export default addISOWeekYears diff --git a/node_modules/date-fns/addISOWeekYears/index.js b/node_modules/date-fns/addISOWeekYears/index.js new file mode 100644 index 000000000..094076e17 --- /dev/null +++ b/node_modules/date-fns/addISOWeekYears/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addISOWeekYears; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../getISOWeekYear/index.js")); +var _index3 = _interopRequireDefault(require("../setISOWeekYear/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Add the specified number of ISO week-numbering years to the given date. + * + * @description + * Add the specified number of ISO week-numbering years to the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of ISO week-numbering years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the ISO week-numbering years added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 5 ISO week-numbering years to 2 July 2010: + * const result = addISOWeekYears(new Date(2010, 6, 2), 5) + * //=> Fri Jun 26 2015 00:00:00 + */ +function addISOWeekYears(dirtyDate, dirtyAmount) { + (0, _index4.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index3.default)(dirtyDate, (0, _index2.default)(dirtyDate) + amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addISOWeekYears/index.js.flow b/node_modules/date-fns/addISOWeekYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addISOWeekYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addISOWeekYears/package.json b/node_modules/date-fns/addISOWeekYears/package.json new file mode 100644 index 000000000..5ee3aea4a --- /dev/null +++ b/node_modules/date-fns/addISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addISOWeekYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addMilliseconds/index.d.ts b/node_modules/date-fns/addMilliseconds/index.d.ts new file mode 100644 index 000000000..1afb95655 --- /dev/null +++ b/node_modules/date-fns/addMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMilliseconds } from 'date-fns' +export default addMilliseconds diff --git a/node_modules/date-fns/addMilliseconds/index.js b/node_modules/date-fns/addMilliseconds/index.js new file mode 100644 index 000000000..2866c3973 --- /dev/null +++ b/node_modules/date-fns/addMilliseconds/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addMilliseconds; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addMilliseconds + * @category Millisecond Helpers + * @summary Add the specified number of milliseconds to the given date. + * + * @description + * Add the specified number of milliseconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the milliseconds added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 750 milliseconds to 10 July 2014 12:45:30.000: + * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750) + * //=> Thu Jul 10 2014 12:45:30.750 + */ +function addMilliseconds(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var timestamp = (0, _index2.default)(dirtyDate).getTime(); + var amount = (0, _index.default)(dirtyAmount); + return new Date(timestamp + amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addMilliseconds/index.js.flow b/node_modules/date-fns/addMilliseconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addMilliseconds/package.json b/node_modules/date-fns/addMilliseconds/package.json new file mode 100644 index 000000000..3d1aebcba --- /dev/null +++ b/node_modules/date-fns/addMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addMinutes/index.d.ts b/node_modules/date-fns/addMinutes/index.d.ts new file mode 100644 index 000000000..fcf15e560 --- /dev/null +++ b/node_modules/date-fns/addMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMinutes } from 'date-fns' +export default addMinutes diff --git a/node_modules/date-fns/addMinutes/index.js b/node_modules/date-fns/addMinutes/index.js new file mode 100644 index 000000000..0325a7a04 --- /dev/null +++ b/node_modules/date-fns/addMinutes/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addMinutes; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_MINUTE = 60000; + +/** + * @name addMinutes + * @category Minute Helpers + * @summary Add the specified number of minutes to the given date. + * + * @description + * Add the specified number of minutes to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of minutes to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the minutes added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 30 minutes to 10 July 2014 12:00:00: + * const result = addMinutes(new Date(2014, 6, 10, 12, 0), 30) + * //=> Thu Jul 10 2014 12:30:00 + */ +function addMinutes(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, amount * MILLISECONDS_IN_MINUTE); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addMinutes/index.js.flow b/node_modules/date-fns/addMinutes/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addMinutes/package.json b/node_modules/date-fns/addMinutes/package.json new file mode 100644 index 000000000..6a02923c1 --- /dev/null +++ b/node_modules/date-fns/addMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addMonths/index.d.ts b/node_modules/date-fns/addMonths/index.d.ts new file mode 100644 index 000000000..1308e13ff --- /dev/null +++ b/node_modules/date-fns/addMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMonths } from 'date-fns' +export default addMonths diff --git a/node_modules/date-fns/addMonths/index.js b/node_modules/date-fns/addMonths/index.js new file mode 100644 index 000000000..6bb9c8c50 --- /dev/null +++ b/node_modules/date-fns/addMonths/index.js @@ -0,0 +1,69 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addMonths; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addMonths + * @category Month Helpers + * @summary Add the specified number of months to the given date. + * + * @description + * Add the specified number of months to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the months added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 5 months to 1 September 2014: + * const result = addMonths(new Date(2014, 8, 1), 5) + * //=> Sun Feb 01 2015 00:00:00 + */ +function addMonths(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var amount = (0, _index.default)(dirtyAmount); + if (isNaN(amount)) { + return new Date(NaN); + } + if (!amount) { + // If 0 months, no-op to avoid changing times in the hour before end of DST + return date; + } + var dayOfMonth = date.getDate(); + + // The JS Date object supports date math by accepting out-of-bounds values for + // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and + // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we + // want except that dates will wrap around the end of a month, meaning that + // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So + // we'll default to the end of the desired month by adding 1 to the desired + // month and using a date of 0 to back up one day to the end of the desired + // month. + var endOfDesiredMonth = new Date(date.getTime()); + endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0); + var daysInMonth = endOfDesiredMonth.getDate(); + if (dayOfMonth >= daysInMonth) { + // If we're already at the end of the month, then this is the correct date + // and we're done. + return endOfDesiredMonth; + } else { + // Otherwise, we now know that setting the original day-of-month value won't + // cause an overflow, so set the desired day-of-month. Note that we can't + // just set the date of `endOfDesiredMonth` because that object may have had + // its time changed in the unusual case where where a DST transition was on + // the last day of the month and its local time was in the hour skipped or + // repeated next to a DST transition. So we use `date` instead which is + // guaranteed to still have the original time. + date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth); + return date; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addMonths/index.js.flow b/node_modules/date-fns/addMonths/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addMonths/package.json b/node_modules/date-fns/addMonths/package.json new file mode 100644 index 000000000..f3c9c79d9 --- /dev/null +++ b/node_modules/date-fns/addMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addMonths/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addQuarters/index.d.ts b/node_modules/date-fns/addQuarters/index.d.ts new file mode 100644 index 000000000..a046e678e --- /dev/null +++ b/node_modules/date-fns/addQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addQuarters } from 'date-fns' +export default addQuarters diff --git a/node_modules/date-fns/addQuarters/index.js b/node_modules/date-fns/addQuarters/index.js new file mode 100644 index 000000000..adab7103a --- /dev/null +++ b/node_modules/date-fns/addQuarters/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addQuarters; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addMonths/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addQuarters + * @category Quarter Helpers + * @summary Add the specified number of year quarters to the given date. + * + * @description + * Add the specified number of year quarters to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of quarters to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the quarters added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 1 quarter to 1 September 2014: + * const result = addQuarters(new Date(2014, 8, 1), 1) + * //=> Mon Dec 01 2014 00:00:00 + */ +function addQuarters(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + var months = amount * 3; + return (0, _index2.default)(dirtyDate, months); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addQuarters/index.js.flow b/node_modules/date-fns/addQuarters/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addQuarters/package.json b/node_modules/date-fns/addQuarters/package.json new file mode 100644 index 000000000..0f61194e1 --- /dev/null +++ b/node_modules/date-fns/addQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addQuarters/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addSeconds/index.d.ts b/node_modules/date-fns/addSeconds/index.d.ts new file mode 100644 index 000000000..9b1e669ef --- /dev/null +++ b/node_modules/date-fns/addSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addSeconds } from 'date-fns' +export default addSeconds diff --git a/node_modules/date-fns/addSeconds/index.js b/node_modules/date-fns/addSeconds/index.js new file mode 100644 index 000000000..7a8e99cae --- /dev/null +++ b/node_modules/date-fns/addSeconds/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addSeconds; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addSeconds + * @category Second Helpers + * @summary Add the specified number of seconds to the given date. + * + * @description + * Add the specified number of seconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the seconds added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 30 seconds to 10 July 2014 12:45:00: + * const result = addSeconds(new Date(2014, 6, 10, 12, 45, 0), 30) + * //=> Thu Jul 10 2014 12:45:30 + */ +function addSeconds(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, amount * 1000); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addSeconds/index.js.flow b/node_modules/date-fns/addSeconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addSeconds/package.json b/node_modules/date-fns/addSeconds/package.json new file mode 100644 index 000000000..18653e7e0 --- /dev/null +++ b/node_modules/date-fns/addSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addWeeks/index.d.ts b/node_modules/date-fns/addWeeks/index.d.ts new file mode 100644 index 000000000..25bb83abf --- /dev/null +++ b/node_modules/date-fns/addWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addWeeks } from 'date-fns' +export default addWeeks diff --git a/node_modules/date-fns/addWeeks/index.js b/node_modules/date-fns/addWeeks/index.js new file mode 100644 index 000000000..9b7bf4e72 --- /dev/null +++ b/node_modules/date-fns/addWeeks/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addWeeks; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addDays/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addWeeks + * @category Week Helpers + * @summary Add the specified number of weeks to the given date. + * + * @description + * Add the specified number of week to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of weeks to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the weeks added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 4 weeks to 1 September 2014: + * const result = addWeeks(new Date(2014, 8, 1), 4) + * //=> Mon Sep 29 2014 00:00:00 + */ +function addWeeks(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + var days = amount * 7; + return (0, _index2.default)(dirtyDate, days); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addWeeks/index.js.flow b/node_modules/date-fns/addWeeks/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addWeeks/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addWeeks/package.json b/node_modules/date-fns/addWeeks/package.json new file mode 100644 index 000000000..9e596d66d --- /dev/null +++ b/node_modules/date-fns/addWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addWeeks/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/addYears/index.d.ts b/node_modules/date-fns/addYears/index.d.ts new file mode 100644 index 000000000..df7255f74 --- /dev/null +++ b/node_modules/date-fns/addYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addYears } from 'date-fns' +export default addYears diff --git a/node_modules/date-fns/addYears/index.js b/node_modules/date-fns/addYears/index.js new file mode 100644 index 000000000..f1a766190 --- /dev/null +++ b/node_modules/date-fns/addYears/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addYears; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addMonths/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name addYears + * @category Year Helpers + * @summary Add the specified number of years to the given date. + * + * @description + * Add the specified number of years to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the years added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 5 years to 1 September 2014: + * const result = addYears(new Date(2014, 8, 1), 5) + * //=> Sun Sep 01 2019 00:00:00 + */ +function addYears(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, amount * 12); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/addYears/index.js.flow b/node_modules/date-fns/addYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/addYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/addYears/package.json b/node_modules/date-fns/addYears/package.json new file mode 100644 index 000000000..19529032e --- /dev/null +++ b/node_modules/date-fns/addYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/addYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/areIntervalsOverlapping/index.d.ts b/node_modules/date-fns/areIntervalsOverlapping/index.d.ts new file mode 100644 index 000000000..8cc0fd1ae --- /dev/null +++ b/node_modules/date-fns/areIntervalsOverlapping/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { areIntervalsOverlapping } from 'date-fns' +export default areIntervalsOverlapping diff --git a/node_modules/date-fns/areIntervalsOverlapping/index.js b/node_modules/date-fns/areIntervalsOverlapping/index.js new file mode 100644 index 000000000..6102d5785 --- /dev/null +++ b/node_modules/date-fns/areIntervalsOverlapping/index.js @@ -0,0 +1,81 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = areIntervalsOverlapping; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name areIntervalsOverlapping + * @category Interval Helpers + * @summary Is the given time interval overlapping with another time interval? + * + * @description + * Is the given time interval overlapping with another time interval? Adjacent intervals do not count as overlapping. + * + * @param {Interval} intervalLeft - the first interval to compare. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Interval} intervalRight - the second interval to compare. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - the object with options + * @param {Boolean} [options.inclusive=false] - whether the comparison is inclusive or not + * @returns {Boolean} whether the time intervals are overlapping + * @throws {TypeError} 2 arguments required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For overlapping time intervals: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> true + * + * @example + * // For non-overlapping time intervals: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> false + * + * @example + * // For adjacent time intervals: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 30) } + * ) + * //=> false + * + * @example + * // Using the inclusive option: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) } + * ) + * //=> false + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) }, + * { inclusive: true } + * ) + * //=> true + */ +function areIntervalsOverlapping(intervalLeft, intervalRight, options) { + (0, _index2.default)(2, arguments); + var leftStartTime = (0, _index.default)(intervalLeft === null || intervalLeft === void 0 ? void 0 : intervalLeft.start).getTime(); + var leftEndTime = (0, _index.default)(intervalLeft === null || intervalLeft === void 0 ? void 0 : intervalLeft.end).getTime(); + var rightStartTime = (0, _index.default)(intervalRight === null || intervalRight === void 0 ? void 0 : intervalRight.start).getTime(); + var rightEndTime = (0, _index.default)(intervalRight === null || intervalRight === void 0 ? void 0 : intervalRight.end).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(leftStartTime <= leftEndTime && rightStartTime <= rightEndTime)) { + throw new RangeError('Invalid interval'); + } + if (options !== null && options !== void 0 && options.inclusive) { + return leftStartTime <= rightEndTime && rightStartTime <= leftEndTime; + } + return leftStartTime < rightEndTime && rightStartTime < leftEndTime; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/areIntervalsOverlapping/index.js.flow b/node_modules/date-fns/areIntervalsOverlapping/index.js.flow new file mode 100644 index 000000000..9cab45d5a --- /dev/null +++ b/node_modules/date-fns/areIntervalsOverlapping/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean, + } +) => boolean diff --git a/node_modules/date-fns/areIntervalsOverlapping/package.json b/node_modules/date-fns/areIntervalsOverlapping/package.json new file mode 100644 index 000000000..50dfe35f2 --- /dev/null +++ b/node_modules/date-fns/areIntervalsOverlapping/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/areIntervalsOverlapping/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/clamp/index.d.ts b/node_modules/date-fns/clamp/index.d.ts new file mode 100644 index 000000000..957fb1f2b --- /dev/null +++ b/node_modules/date-fns/clamp/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { clamp } from 'date-fns' +export default clamp diff --git a/node_modules/date-fns/clamp/index.js b/node_modules/date-fns/clamp/index.js new file mode 100644 index 000000000..8a004f15c --- /dev/null +++ b/node_modules/date-fns/clamp/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = clamp; +var _index = _interopRequireDefault(require("../max/index.js")); +var _index2 = _interopRequireDefault(require("../min/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name clamp + * @category Interval Helpers + * @summary Return a date bounded by the start and the end of the given interval + * + * @description + * Clamps a date to the lower bound with the start of the interval and the upper + * bound with the end of the interval. + * + * - When the date is less than the start of the interval, the start is returned. + * - When the date is greater than the end of the interval, the end is returned. + * - Otherwise the date is returned. + * + * @example + * // What is Mar, 21, 2021 bounded to an interval starting at Mar, 22, 2021 and ending at Apr, 01, 2021 + * const result = clamp(new Date(2021, 2, 21), { + * start: new Date(2021, 2, 22), + * end: new Date(2021, 3, 1), + * }) + * //=> Mon Mar 22 2021 00:00:00 + * + * @param {Date | Number} date - the date to be bounded + * @param {Interval} interval - the interval to bound to + * @returns {Date} the date bounded by the start and the end of the interval + * @throws {TypeError} 2 arguments required + */ +function clamp(date, _ref) { + var start = _ref.start, + end = _ref.end; + (0, _index3.default)(2, arguments); + return (0, _index2.default)([(0, _index.default)([date, start]), end]); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/clamp/index.js.flow b/node_modules/date-fns/clamp/index.js.flow new file mode 100644 index 000000000..d59223097 --- /dev/null +++ b/node_modules/date-fns/clamp/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, interval: Interval) => Date diff --git a/node_modules/date-fns/clamp/package.json b/node_modules/date-fns/clamp/package.json new file mode 100644 index 000000000..c29ec1804 --- /dev/null +++ b/node_modules/date-fns/clamp/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/clamp/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/closestIndexTo/index.d.ts b/node_modules/date-fns/closestIndexTo/index.d.ts new file mode 100644 index 000000000..672d132c8 --- /dev/null +++ b/node_modules/date-fns/closestIndexTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestIndexTo } from 'date-fns' +export default closestIndexTo diff --git a/node_modules/date-fns/closestIndexTo/index.js b/node_modules/date-fns/closestIndexTo/index.js new file mode 100644 index 000000000..a25ec32ce --- /dev/null +++ b/node_modules/date-fns/closestIndexTo/index.js @@ -0,0 +1,69 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = closestIndexTo; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name closestIndexTo + * @category Common Helpers + * @summary Return an index of the closest date from the array comparing to the given date. + * + * @description + * Return an index of the closest date from the array comparing to the given date. + * + * @param {Date | Number} dateToCompare - the date to compare with + * @param {Array | Array} datesArray - the array to search + * @returns {Number | undefined} an index of the date closest to the given date or undefined if no valid value is given + * @throws {TypeError} 2 arguments required + * + * @example + * // Which date is closer to 6 September 2015? + * const dateToCompare = new Date(2015, 8, 6) + * const datesArray = [ + * new Date(2015, 0, 1), + * new Date(2016, 0, 1), + * new Date(2017, 0, 1) + * ] + * const result = closestIndexTo(dateToCompare, datesArray) + * //=> 1 + */ +function closestIndexTo(dirtyDateToCompare, dirtyDatesArray) { + (0, _index2.default)(2, arguments); + var dateToCompare = (0, _index.default)(dirtyDateToCompare); + if (isNaN(Number(dateToCompare))) return NaN; + var timeToCompare = dateToCompare.getTime(); + var datesArray; + // `dirtyDatesArray` is undefined or null + if (dirtyDatesArray == null) { + datesArray = []; + + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + } else if (typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. Otherwise, make it empty Array + } else { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } + var result; + var minDistance; + datesArray.forEach(function (dirtyDate, index) { + var currentDate = (0, _index.default)(dirtyDate); + if (isNaN(Number(currentDate))) { + result = NaN; + minDistance = NaN; + return; + } + var distance = Math.abs(timeToCompare - currentDate.getTime()); + if (result == null || distance < Number(minDistance)) { + result = index; + minDistance = distance; + } + }); + return result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/closestIndexTo/index.js.flow b/node_modules/date-fns/closestIndexTo/index.js.flow new file mode 100644 index 000000000..a8dadb4ee --- /dev/null +++ b/node_modules/date-fns/closestIndexTo/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] +) => ?number diff --git a/node_modules/date-fns/closestIndexTo/package.json b/node_modules/date-fns/closestIndexTo/package.json new file mode 100644 index 000000000..422b4ed81 --- /dev/null +++ b/node_modules/date-fns/closestIndexTo/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/closestIndexTo/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/closestTo/index.d.ts b/node_modules/date-fns/closestTo/index.d.ts new file mode 100644 index 000000000..d4e084e3a --- /dev/null +++ b/node_modules/date-fns/closestTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestTo } from 'date-fns' +export default closestTo diff --git a/node_modules/date-fns/closestTo/index.js b/node_modules/date-fns/closestTo/index.js new file mode 100644 index 000000000..e3a3ccaf4 --- /dev/null +++ b/node_modules/date-fns/closestTo/index.js @@ -0,0 +1,67 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = closestTo; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name closestTo + * @category Common Helpers + * @summary Return a date from the array closest to the given date. + * + * @description + * Return a date from the array closest to the given date. + * + * @param {Date | Number} dateToCompare - the date to compare with + * @param {Array | Array} datesArray - the array to search + * @returns {Date | undefined} the date from the array closest to the given date or undefined if no valid value is given + * @throws {TypeError} 2 arguments required + * + * @example + * // Which date is closer to 6 September 2015: 1 January 2000 or 1 January 2030? + * const dateToCompare = new Date(2015, 8, 6) + * const result = closestTo(dateToCompare, [ + * new Date(2000, 0, 1), + * new Date(2030, 0, 1) + * ]) + * //=> Tue Jan 01 2030 00:00:00 + */ +function closestTo(dirtyDateToCompare, dirtyDatesArray) { + (0, _index2.default)(2, arguments); + var dateToCompare = (0, _index.default)(dirtyDateToCompare); + if (isNaN(Number(dateToCompare))) return new Date(NaN); + var timeToCompare = dateToCompare.getTime(); + var datesArray; + // `dirtyDatesArray` is undefined or null + if (dirtyDatesArray == null) { + datesArray = []; + + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + } else if (typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. Otherwise, make it empty Array + } else { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } + var result; + var minDistance; + datesArray.forEach(function (dirtyDate) { + var currentDate = (0, _index.default)(dirtyDate); + if (isNaN(Number(currentDate))) { + result = new Date(NaN); + minDistance = NaN; + return; + } + var distance = Math.abs(timeToCompare - currentDate.getTime()); + if (result == null || distance < Number(minDistance)) { + result = currentDate; + minDistance = distance; + } + }); + return result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/closestTo/index.js.flow b/node_modules/date-fns/closestTo/index.js.flow new file mode 100644 index 000000000..2a03edcfe --- /dev/null +++ b/node_modules/date-fns/closestTo/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] +) => ?Date diff --git a/node_modules/date-fns/closestTo/package.json b/node_modules/date-fns/closestTo/package.json new file mode 100644 index 000000000..a3a1028a3 --- /dev/null +++ b/node_modules/date-fns/closestTo/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/closestTo/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/compareAsc/index.d.ts b/node_modules/date-fns/compareAsc/index.d.ts new file mode 100644 index 000000000..ff920e66e --- /dev/null +++ b/node_modules/date-fns/compareAsc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareAsc } from 'date-fns' +export default compareAsc diff --git a/node_modules/date-fns/compareAsc/index.js b/node_modules/date-fns/compareAsc/index.js new file mode 100644 index 000000000..3117b4f8a --- /dev/null +++ b/node_modules/date-fns/compareAsc/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = compareAsc; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name compareAsc + * @category Common Helpers + * @summary Compare the two dates and return -1, 0 or 1. + * + * @description + * Compare the two dates and return 1 if the first date is after the second, + * -1 if the first date is before the second or 0 if dates are equal. + * + * @param {Date|Number} dateLeft - the first date to compare + * @param {Date|Number} dateRight - the second date to compare + * @returns {Number} the result of the comparison + * @throws {TypeError} 2 arguments required + * + * @example + * // Compare 11 February 1987 and 10 July 1989: + * const result = compareAsc(new Date(1987, 1, 11), new Date(1989, 6, 10)) + * //=> -1 + * + * @example + * // Sort the array of dates: + * const result = [ + * new Date(1995, 6, 2), + * new Date(1987, 1, 11), + * new Date(1989, 6, 10) + * ].sort(compareAsc) + * //=> [ + * // Wed Feb 11 1987 00:00:00, + * // Mon Jul 10 1989 00:00:00, + * // Sun Jul 02 1995 00:00:00 + * // ] + */ +function compareAsc(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var diff = dateLeft.getTime() - dateRight.getTime(); + if (diff < 0) { + return -1; + } else if (diff > 0) { + return 1; + // Return 0 if diff is 0; return NaN if diff is NaN + } else { + return diff; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/compareAsc/index.js.flow b/node_modules/date-fns/compareAsc/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/compareAsc/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/compareAsc/package.json b/node_modules/date-fns/compareAsc/package.json new file mode 100644 index 000000000..844082c5b --- /dev/null +++ b/node_modules/date-fns/compareAsc/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/compareAsc/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/compareDesc/index.d.ts b/node_modules/date-fns/compareDesc/index.d.ts new file mode 100644 index 000000000..673fab56b --- /dev/null +++ b/node_modules/date-fns/compareDesc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareDesc } from 'date-fns' +export default compareDesc diff --git a/node_modules/date-fns/compareDesc/index.js b/node_modules/date-fns/compareDesc/index.js new file mode 100644 index 000000000..3c15348da --- /dev/null +++ b/node_modules/date-fns/compareDesc/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = compareDesc; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name compareDesc + * @category Common Helpers + * @summary Compare the two dates reverse chronologically and return -1, 0 or 1. + * + * @description + * Compare the two dates and return -1 if the first date is after the second, + * 1 if the first date is before the second or 0 if dates are equal. + * + * @param {Date|Number} dateLeft - the first date to compare + * @param {Date|Number} dateRight - the second date to compare + * @returns {Number} the result of the comparison + * @throws {TypeError} 2 arguments required + * + * @example + * // Compare 11 February 1987 and 10 July 1989 reverse chronologically: + * const result = compareDesc(new Date(1987, 1, 11), new Date(1989, 6, 10)) + * //=> 1 + * + * @example + * // Sort the array of dates in reverse chronological order: + * const result = [ + * new Date(1995, 6, 2), + * new Date(1987, 1, 11), + * new Date(1989, 6, 10) + * ].sort(compareDesc) + * //=> [ + * // Sun Jul 02 1995 00:00:00, + * // Mon Jul 10 1989 00:00:00, + * // Wed Feb 11 1987 00:00:00 + * // ] + */ +function compareDesc(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var diff = dateLeft.getTime() - dateRight.getTime(); + if (diff > 0) { + return -1; + } else if (diff < 0) { + return 1; + // Return 0 if diff is 0; return NaN if diff is NaN + } else { + return diff; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/compareDesc/index.js.flow b/node_modules/date-fns/compareDesc/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/compareDesc/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/compareDesc/package.json b/node_modules/date-fns/compareDesc/package.json new file mode 100644 index 000000000..937ba9408 --- /dev/null +++ b/node_modules/date-fns/compareDesc/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/compareDesc/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/constants/index.d.ts b/node_modules/date-fns/constants/index.d.ts new file mode 100644 index 000000000..60a24ae94 --- /dev/null +++ b/node_modules/date-fns/constants/index.d.ts @@ -0,0 +1,20 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export const daysInWeek: number +export const daysInYear: number +export const maxTime: number +export const millisecondsInMinute: number +export const millisecondsInHour: number +export const millisecondsInSecond: number +export const minTime: number +export const minutesInHour: number +export const monthsInQuarter: number +export const monthsInYear: number +export const quartersInYear: number +export const secondsInHour: number +export const secondsInMinute: number +export const secondsInDay: number +export const secondsInWeek: number +export const secondsInYear: number +export const secondsInMonth: number +export const secondsInQuarter: number diff --git a/node_modules/date-fns/constants/index.js b/node_modules/date-fns/constants/index.js new file mode 100644 index 000000000..08ef6eb93 --- /dev/null +++ b/node_modules/date-fns/constants/index.js @@ -0,0 +1,207 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.secondsInYear = exports.secondsInWeek = exports.secondsInQuarter = exports.secondsInMonth = exports.secondsInMinute = exports.secondsInHour = exports.secondsInDay = exports.quartersInYear = exports.monthsInYear = exports.monthsInQuarter = exports.minutesInHour = exports.minTime = exports.millisecondsInSecond = exports.millisecondsInMinute = exports.millisecondsInHour = exports.maxTime = exports.daysInYear = exports.daysInWeek = void 0; +/** + * Days in 1 week. + * + * @name daysInWeek + * @constant + * @type {number} + * @default + */ +var daysInWeek = 7; + +/** + * Days in 1 year + * One years equals 365.2425 days according to the formula: + * + * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400. + * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days + * + * @name daysInYear + * @constant + * @type {number} + * @default + */ +exports.daysInWeek = daysInWeek; +var daysInYear = 365.2425; + +/** + * Maximum allowed time. + * + * @name maxTime + * @constant + * @type {number} + * @default + */ +exports.daysInYear = daysInYear; +var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000; + +/** + * Milliseconds in 1 minute + * + * @name millisecondsInMinute + * @constant + * @type {number} + * @default + */ +exports.maxTime = maxTime; +var millisecondsInMinute = 60000; + +/** + * Milliseconds in 1 hour + * + * @name millisecondsInHour + * @constant + * @type {number} + * @default + */ +exports.millisecondsInMinute = millisecondsInMinute; +var millisecondsInHour = 3600000; + +/** + * Milliseconds in 1 second + * + * @name millisecondsInSecond + * @constant + * @type {number} + * @default + */ +exports.millisecondsInHour = millisecondsInHour; +var millisecondsInSecond = 1000; + +/** + * Minimum allowed time. + * + * @name minTime + * @constant + * @type {number} + * @default + */ +exports.millisecondsInSecond = millisecondsInSecond; +var minTime = -maxTime; + +/** + * Minutes in 1 hour + * + * @name minutesInHour + * @constant + * @type {number} + * @default + */ +exports.minTime = minTime; +var minutesInHour = 60; + +/** + * Months in 1 quarter + * + * @name monthsInQuarter + * @constant + * @type {number} + * @default + */ +exports.minutesInHour = minutesInHour; +var monthsInQuarter = 3; + +/** + * Months in 1 year + * + * @name monthsInYear + * @constant + * @type {number} + * @default + */ +exports.monthsInQuarter = monthsInQuarter; +var monthsInYear = 12; + +/** + * Quarters in 1 year + * + * @name quartersInYear + * @constant + * @type {number} + * @default + */ +exports.monthsInYear = monthsInYear; +var quartersInYear = 4; + +/** + * Seconds in 1 hour + * + * @name secondsInHour + * @constant + * @type {number} + * @default + */ +exports.quartersInYear = quartersInYear; +var secondsInHour = 3600; + +/** + * Seconds in 1 minute + * + * @name secondsInMinute + * @constant + * @type {number} + * @default + */ +exports.secondsInHour = secondsInHour; +var secondsInMinute = 60; + +/** + * Seconds in 1 day + * + * @name secondsInDay + * @constant + * @type {number} + * @default + */ +exports.secondsInMinute = secondsInMinute; +var secondsInDay = secondsInHour * 24; + +/** + * Seconds in 1 week + * + * @name secondsInWeek + * @constant + * @type {number} + * @default + */ +exports.secondsInDay = secondsInDay; +var secondsInWeek = secondsInDay * 7; + +/** + * Seconds in 1 year + * + * @name secondsInYear + * @constant + * @type {number} + * @default + */ +exports.secondsInWeek = secondsInWeek; +var secondsInYear = secondsInDay * daysInYear; + +/** + * Seconds in 1 month + * + * @name secondsInMonth + * @constant + * @type {number} + * @default + */ +exports.secondsInYear = secondsInYear; +var secondsInMonth = secondsInYear / 12; + +/** + * Seconds in 1 quarter + * + * @name secondsInQuarter + * @constant + * @type {number} + * @default + */ +exports.secondsInMonth = secondsInMonth; +var secondsInQuarter = secondsInMonth * 3; +exports.secondsInQuarter = secondsInQuarter; \ No newline at end of file diff --git a/node_modules/date-fns/constants/index.js.flow b/node_modules/date-fns/constants/index.js.flow new file mode 100644 index 000000000..5d8379616 --- /dev/null +++ b/node_modules/date-fns/constants/index.js.flow @@ -0,0 +1,14 @@ +// @flow + +declare export var daysInWeek: number +declare export var maxTime: number +declare export var millisecondsInMinute: number +declare export var millisecondsInHour: number +declare export var millisecondsInSecond: number +declare export var minTime: number +declare export var minutesInHour: number +declare export var monthsInQuarter: number +declare export var monthsInYear: number +declare export var quartersInYear: number +declare export var secondsInHour: number +declare export var secondsInMinute: number diff --git a/node_modules/date-fns/daysToWeeks/index.d.ts b/node_modules/date-fns/daysToWeeks/index.d.ts new file mode 100644 index 000000000..666112f5c --- /dev/null +++ b/node_modules/date-fns/daysToWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { daysToWeeks } from 'date-fns' +export default daysToWeeks diff --git a/node_modules/date-fns/daysToWeeks/index.js b/node_modules/date-fns/daysToWeeks/index.js new file mode 100644 index 000000000..eb0467498 --- /dev/null +++ b/node_modules/date-fns/daysToWeeks/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = daysToWeeks; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name daysToWeeks + * @category Conversion Helpers + * @summary Convert days to weeks. + * + * @description + * Convert a number of days to a full number of weeks. + * + * @param {number} days - number of days to be converted + * + * @returns {number} the number of days converted in weeks + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 14 days to weeks: + * const result = daysToWeeks(14) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = daysToWeeks(13) + * //=> 1 + */ +function daysToWeeks(days) { + (0, _index.default)(1, arguments); + var weeks = days / _index2.daysInWeek; + return Math.floor(weeks); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/daysToWeeks/index.js.flow b/node_modules/date-fns/daysToWeeks/index.js.flow new file mode 100644 index 000000000..181aec6e6 --- /dev/null +++ b/node_modules/date-fns/daysToWeeks/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (days: number) => number diff --git a/node_modules/date-fns/daysToWeeks/package.json b/node_modules/date-fns/daysToWeeks/package.json new file mode 100644 index 000000000..8b46f5f1b --- /dev/null +++ b/node_modules/date-fns/daysToWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/daysToWeeks/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInBusinessDays/index.d.ts b/node_modules/date-fns/differenceInBusinessDays/index.d.ts new file mode 100644 index 000000000..8decd89c3 --- /dev/null +++ b/node_modules/date-fns/differenceInBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInBusinessDays } from 'date-fns' +export default differenceInBusinessDays diff --git a/node_modules/date-fns/differenceInBusinessDays/index.js b/node_modules/date-fns/differenceInBusinessDays/index.js new file mode 100644 index 000000000..0adb5515d --- /dev/null +++ b/node_modules/date-fns/differenceInBusinessDays/index.js @@ -0,0 +1,84 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInBusinessDays; +var _index = _interopRequireDefault(require("../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index3 = _interopRequireDefault(require("../isSameDay/index.js")); +var _index4 = _interopRequireDefault(require("../isValid/index.js")); +var _index5 = _interopRequireDefault(require("../isWeekend/index.js")); +var _index6 = _interopRequireDefault(require("../toDate/index.js")); +var _index7 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index8 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name differenceInBusinessDays + * @category Day Helpers + * @summary Get the number of business days between the given dates. + * + * @description + * Get the number of business day periods between the given dates. + * Business days being days that arent in the weekend. + * Like `differenceInCalendarDays`, the function removes the times from + * the dates before calculating the difference. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of business days + * @throws {TypeError} 2 arguments required + * + * @example + * // How many business days are between + * // 10 January 2014 and 20 July 2014? + * const result = differenceInBusinessDays( + * new Date(2014, 6, 20), + * new Date(2014, 0, 10) + * ) + * //=> 136 + * + * // How many business days are between + * // 30 November 2021 and 1 November 2021? + * const result = differenceInBusinessDays( + * new Date(2021, 10, 30), + * new Date(2021, 10, 1) + * ) + * //=> 21 + * + * // How many business days are between + * // 1 November 2021 and 1 December 2021? + * const result = differenceInBusinessDays( + * new Date(2021, 10, 1), + * new Date(2021, 11, 1) + * ) + * //=> -22 + * + * // How many business days are between + * // 1 November 2021 and 1 November 2021 ? + * const result = differenceInBusinessDays( + * new Date(2021, 10, 1), + * new Date(2021, 10, 1) + * ) + * //=> 0 + */ +function differenceInBusinessDays(dirtyDateLeft, dirtyDateRight) { + (0, _index7.default)(2, arguments); + var dateLeft = (0, _index6.default)(dirtyDateLeft); + var dateRight = (0, _index6.default)(dirtyDateRight); + if (!(0, _index4.default)(dateLeft) || !(0, _index4.default)(dateRight)) return NaN; + var calendarDifference = (0, _index2.default)(dateLeft, dateRight); + var sign = calendarDifference < 0 ? -1 : 1; + var weeks = (0, _index8.default)(calendarDifference / 7); + var result = weeks * 5; + dateRight = (0, _index.default)(dateRight, weeks * 7); + + // the loop below will run at most 6 times to account for the remaining days that don't makeup a full week + while (!(0, _index3.default)(dateLeft, dateRight)) { + // sign is used to account for both negative and positive differences + result += (0, _index5.default)(dateRight) ? 0 : sign; + dateRight = (0, _index.default)(dateRight, sign); + } + return result === 0 ? 0 : result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInBusinessDays/index.js.flow b/node_modules/date-fns/differenceInBusinessDays/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInBusinessDays/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInBusinessDays/package.json b/node_modules/date-fns/differenceInBusinessDays/package.json new file mode 100644 index 000000000..c70505b9e --- /dev/null +++ b/node_modules/date-fns/differenceInBusinessDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInBusinessDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarDays/index.d.ts b/node_modules/date-fns/differenceInCalendarDays/index.d.ts new file mode 100644 index 000000000..384b796ae --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarDays } from 'date-fns' +export default differenceInCalendarDays diff --git a/node_modules/date-fns/differenceInCalendarDays/index.js b/node_modules/date-fns/differenceInCalendarDays/index.js new file mode 100644 index 000000000..acb8f310f --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarDays/index.js @@ -0,0 +1,55 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarDays; +var _index = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../startOfDay/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_DAY = 86400000; + +/** + * @name differenceInCalendarDays + * @category Day Helpers + * @summary Get the number of calendar days between the given dates. + * + * @description + * Get the number of calendar days between the given dates. This means that the times are removed + * from the dates and then the difference in days is calculated. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar days + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar days are between + * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00? + * const result = differenceInCalendarDays( + * new Date(2012, 6, 2, 0, 0), + * new Date(2011, 6, 2, 23, 0) + * ) + * //=> 366 + * // How many calendar days are between + * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00? + * const result = differenceInCalendarDays( + * new Date(2011, 6, 3, 0, 1), + * new Date(2011, 6, 2, 23, 59) + * ) + * //=> 1 + */ +function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) { + (0, _index3.default)(2, arguments); + var startOfDayLeft = (0, _index2.default)(dirtyDateLeft); + var startOfDayRight = (0, _index2.default)(dirtyDateRight); + var timestampLeft = startOfDayLeft.getTime() - (0, _index.default)(startOfDayLeft); + var timestampRight = startOfDayRight.getTime() - (0, _index.default)(startOfDayRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a day is not constant + // (e.g. it's different in the day of the daylight saving time clock shift) + return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarDays/index.js.flow b/node_modules/date-fns/differenceInCalendarDays/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarDays/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInCalendarDays/package.json b/node_modules/date-fns/differenceInCalendarDays/package.json new file mode 100644 index 000000000..61de6e18f --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarISOWeekYears/index.d.ts b/node_modules/date-fns/differenceInCalendarISOWeekYears/index.d.ts new file mode 100644 index 000000000..bd8325c82 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeekYears } from 'date-fns' +export default differenceInCalendarISOWeekYears diff --git a/node_modules/date-fns/differenceInCalendarISOWeekYears/index.js b/node_modules/date-fns/differenceInCalendarISOWeekYears/index.js new file mode 100644 index 000000000..82fe1012f --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeekYears/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarISOWeekYears; +var _index = _interopRequireDefault(require("../getISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInCalendarISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of calendar ISO week-numbering years between the given dates. + * + * @description + * Get the number of calendar ISO week-numbering years between the given dates. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar ISO week-numbering years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar ISO week-numbering years are 1 January 2010 and 1 January 2012? + * const result = differenceInCalendarISOWeekYears( + * new Date(2012, 0, 1), + * new Date(2010, 0, 1) + * ) + * //=> 2 + */ +function differenceInCalendarISOWeekYears(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + return (0, _index.default)(dirtyDateLeft) - (0, _index.default)(dirtyDateRight); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarISOWeekYears/index.js.flow b/node_modules/date-fns/differenceInCalendarISOWeekYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeekYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInCalendarISOWeekYears/package.json b/node_modules/date-fns/differenceInCalendarISOWeekYears/package.json new file mode 100644 index 000000000..3941c312c --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarISOWeekYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarISOWeeks/index.d.ts b/node_modules/date-fns/differenceInCalendarISOWeeks/index.d.ts new file mode 100644 index 000000000..736422781 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeeks } from 'date-fns' +export default differenceInCalendarISOWeeks diff --git a/node_modules/date-fns/differenceInCalendarISOWeeks/index.js b/node_modules/date-fns/differenceInCalendarISOWeeks/index.js new file mode 100644 index 000000000..1ec08e7a9 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeeks/index.js @@ -0,0 +1,48 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarISOWeeks; +var _index = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../startOfISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name differenceInCalendarISOWeeks + * @category ISO Week Helpers + * @summary Get the number of calendar ISO weeks between the given dates. + * + * @description + * Get the number of calendar ISO weeks between the given dates. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar ISO weeks + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar ISO weeks are between 6 July 2014 and 21 July 2014? + * const result = differenceInCalendarISOWeeks( + * new Date(2014, 6, 21), + * new Date(2014, 6, 6) + * ) + * //=> 3 + */ +function differenceInCalendarISOWeeks(dirtyDateLeft, dirtyDateRight) { + (0, _index3.default)(2, arguments); + var startOfISOWeekLeft = (0, _index2.default)(dirtyDateLeft); + var startOfISOWeekRight = (0, _index2.default)(dirtyDateRight); + var timestampLeft = startOfISOWeekLeft.getTime() - (0, _index.default)(startOfISOWeekLeft); + var timestampRight = startOfISOWeekRight.getTime() - (0, _index.default)(startOfISOWeekRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarISOWeeks/index.js.flow b/node_modules/date-fns/differenceInCalendarISOWeeks/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeeks/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInCalendarISOWeeks/package.json b/node_modules/date-fns/differenceInCalendarISOWeeks/package.json new file mode 100644 index 000000000..5aa768be9 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarISOWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarISOWeeks/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarMonths/index.d.ts b/node_modules/date-fns/differenceInCalendarMonths/index.d.ts new file mode 100644 index 000000000..743bf763e --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarMonths } from 'date-fns' +export default differenceInCalendarMonths diff --git a/node_modules/date-fns/differenceInCalendarMonths/index.js b/node_modules/date-fns/differenceInCalendarMonths/index.js new file mode 100644 index 000000000..e01e0f6a4 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarMonths/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarMonths; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInCalendarMonths + * @category Month Helpers + * @summary Get the number of calendar months between the given dates. + * + * @description + * Get the number of calendar months between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar months + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar months are between 31 January 2014 and 1 September 2014? + * const result = differenceInCalendarMonths( + * new Date(2014, 8, 1), + * new Date(2014, 0, 31) + * ) + * //=> 8 + */ +function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear(); + var monthDiff = dateLeft.getMonth() - dateRight.getMonth(); + return yearDiff * 12 + monthDiff; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarMonths/index.js.flow b/node_modules/date-fns/differenceInCalendarMonths/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarMonths/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInCalendarMonths/package.json b/node_modules/date-fns/differenceInCalendarMonths/package.json new file mode 100644 index 000000000..d451e1cf5 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarMonths/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarQuarters/index.d.ts b/node_modules/date-fns/differenceInCalendarQuarters/index.d.ts new file mode 100644 index 000000000..177e07240 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarQuarters } from 'date-fns' +export default differenceInCalendarQuarters diff --git a/node_modules/date-fns/differenceInCalendarQuarters/index.js b/node_modules/date-fns/differenceInCalendarQuarters/index.js new file mode 100644 index 000000000..c4ca6648a --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarQuarters/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarQuarters; +var _index = _interopRequireDefault(require("../getQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInCalendarQuarters + * @category Quarter Helpers + * @summary Get the number of calendar quarters between the given dates. + * + * @description + * Get the number of calendar quarters between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar quarters + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar quarters are between 31 December 2013 and 2 July 2014? + * const result = differenceInCalendarQuarters( + * new Date(2014, 6, 2), + * new Date(2013, 11, 31) + * ) + * //=> 3 + */ +function differenceInCalendarQuarters(dirtyDateLeft, dirtyDateRight) { + (0, _index3.default)(2, arguments); + var dateLeft = (0, _index2.default)(dirtyDateLeft); + var dateRight = (0, _index2.default)(dirtyDateRight); + var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear(); + var quarterDiff = (0, _index.default)(dateLeft) - (0, _index.default)(dateRight); + return yearDiff * 4 + quarterDiff; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarQuarters/index.js.flow b/node_modules/date-fns/differenceInCalendarQuarters/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarQuarters/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInCalendarQuarters/package.json b/node_modules/date-fns/differenceInCalendarQuarters/package.json new file mode 100644 index 000000000..58a2209cd --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarQuarters/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarWeeks/index.d.ts b/node_modules/date-fns/differenceInCalendarWeeks/index.d.ts new file mode 100644 index 000000000..c370dd69e --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarWeeks } from 'date-fns' +export default differenceInCalendarWeeks diff --git a/node_modules/date-fns/differenceInCalendarWeeks/index.js b/node_modules/date-fns/differenceInCalendarWeeks/index.js new file mode 100644 index 000000000..486e895bb --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarWeeks/index.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarWeeks; +var _index = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name differenceInCalendarWeeks + * @category Week Helpers + * @summary Get the number of calendar weeks between the given dates. + * + * @description + * Get the number of calendar weeks between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Number} the number of calendar weeks + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // How many calendar weeks are between 5 July 2014 and 20 July 2014? + * const result = differenceInCalendarWeeks( + * new Date(2014, 6, 20), + * new Date(2014, 6, 5) + * ) + * //=> 3 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks are between 5 July 2014 and 20 July 2014? + * const result = differenceInCalendarWeeks( + * new Date(2014, 6, 20), + * new Date(2014, 6, 5), + * { weekStartsOn: 1 } + * ) + * //=> 2 + */ +function differenceInCalendarWeeks(dirtyDateLeft, dirtyDateRight, options) { + (0, _index3.default)(2, arguments); + var startOfWeekLeft = (0, _index.default)(dirtyDateLeft, options); + var startOfWeekRight = (0, _index.default)(dirtyDateRight, options); + var timestampLeft = startOfWeekLeft.getTime() - (0, _index2.default)(startOfWeekLeft); + var timestampRight = startOfWeekRight.getTime() - (0, _index2.default)(startOfWeekRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarWeeks/index.js.flow b/node_modules/date-fns/differenceInCalendarWeeks/index.js.flow new file mode 100644 index 000000000..e4968a99c --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarWeeks/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => number diff --git a/node_modules/date-fns/differenceInCalendarWeeks/package.json b/node_modules/date-fns/differenceInCalendarWeeks/package.json new file mode 100644 index 000000000..0bd9ee255 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarWeeks/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarYears/index.d.ts b/node_modules/date-fns/differenceInCalendarYears/index.d.ts new file mode 100644 index 000000000..3692b07ff --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarYears } from 'date-fns' +export default differenceInCalendarYears diff --git a/node_modules/date-fns/differenceInCalendarYears/index.js b/node_modules/date-fns/differenceInCalendarYears/index.js new file mode 100644 index 000000000..682473212 --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarYears/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInCalendarYears; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInCalendarYears + * @category Year Helpers + * @summary Get the number of calendar years between the given dates. + * + * @description + * Get the number of calendar years between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar years are between 31 December 2013 and 11 February 2015? + * const result = differenceInCalendarYears( + * new Date(2015, 1, 11), + * new Date(2013, 11, 31) + * ) + * //=> 2 + */ +function differenceInCalendarYears(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + return dateLeft.getFullYear() - dateRight.getFullYear(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInCalendarYears/index.js.flow b/node_modules/date-fns/differenceInCalendarYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInCalendarYears/package.json b/node_modules/date-fns/differenceInCalendarYears/package.json new file mode 100644 index 000000000..49dcb58ca --- /dev/null +++ b/node_modules/date-fns/differenceInCalendarYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInCalendarYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInDays/index.d.ts b/node_modules/date-fns/differenceInDays/index.d.ts new file mode 100644 index 000000000..de04cde25 --- /dev/null +++ b/node_modules/date-fns/differenceInDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInDays } from 'date-fns' +export default differenceInDays diff --git a/node_modules/date-fns/differenceInDays/index.js b/node_modules/date-fns/differenceInDays/index.js new file mode 100644 index 000000000..66f6eb170 --- /dev/null +++ b/node_modules/date-fns/differenceInDays/index.js @@ -0,0 +1,91 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInDays; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +// Like `compareAsc` but uses local time not UTC, which is needed +// for accurate equality comparisons of UTC timestamps that end up +// having the same representation in local time, e.g. one hour before +// DST ends vs. the instant that DST ends. +function compareLocalAsc(dateLeft, dateRight) { + var diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds(); + if (diff < 0) { + return -1; + } else if (diff > 0) { + return 1; + // Return 0 if diff is 0; return NaN if diff is NaN + } else { + return diff; + } +} + +/** + * @name differenceInDays + * @category Day Helpers + * @summary Get the number of full days between the given dates. + * + * @description + * Get the number of full day periods between two dates. Fractional days are + * truncated towards zero. + * + * One "full day" is the distance between a local time in one day to the same + * local time on the next or previous day. A full day can sometimes be less than + * or more than 24 hours if a daylight savings change happens between two dates. + * + * To ignore DST and only measure exact 24-hour periods, use this instead: + * `Math.floor(differenceInHours(dateLeft, dateRight)/24)|0`. + * + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full days according to the local timezone + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full days are between + * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00? + * const result = differenceInDays( + * new Date(2012, 6, 2, 0, 0), + * new Date(2011, 6, 2, 23, 0) + * ) + * //=> 365 + * // How many full days are between + * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00? + * const result = differenceInDays( + * new Date(2011, 6, 3, 0, 1), + * new Date(2011, 6, 2, 23, 59) + * ) + * //=> 0 + * // How many full days are between + * // 1 March 2020 0:00 and 1 June 2020 0:00 ? + * // Note: because local time is used, the + * // result will always be 92 days, even in + * // time zones where DST starts and the + * // period has only 92*24-1 hours. + * const result = differenceInDays( + * new Date(2020, 5, 1), + * new Date(2020, 2, 1) + * ) +//=> 92 + */ +function differenceInDays(dirtyDateLeft, dirtyDateRight) { + (0, _index3.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var sign = compareLocalAsc(dateLeft, dateRight); + var difference = Math.abs((0, _index2.default)(dateLeft, dateRight)); + dateLeft.setDate(dateLeft.getDate() - sign * difference); + + // Math.abs(diff in full days - diff in calendar days) === 1 if last calendar day is not full + // If so, result must be decreased by 1 in absolute value + var isLastDayNotFull = Number(compareLocalAsc(dateLeft, dateRight) === -sign); + var result = sign * (difference - isLastDayNotFull); + // Prevent negative zero + return result === 0 ? 0 : result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInDays/index.js.flow b/node_modules/date-fns/differenceInDays/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInDays/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInDays/package.json b/node_modules/date-fns/differenceInDays/package.json new file mode 100644 index 000000000..3380ef7c9 --- /dev/null +++ b/node_modules/date-fns/differenceInDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInHours/index.d.ts b/node_modules/date-fns/differenceInHours/index.d.ts new file mode 100644 index 000000000..4559ab98b --- /dev/null +++ b/node_modules/date-fns/differenceInHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInHours } from 'date-fns' +export default differenceInHours diff --git a/node_modules/date-fns/differenceInHours/index.js b/node_modules/date-fns/differenceInHours/index.js new file mode 100644 index 000000000..fe36f0f85 --- /dev/null +++ b/node_modules/date-fns/differenceInHours/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInHours; +var _index = require("../constants/index.js"); +var _index2 = _interopRequireDefault(require("../differenceInMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index4 = require("../_lib/roundingMethods/index.js"); +/** + * @name differenceInHours + * @category Hour Helpers + * @summary Get the number of hours between the given dates. + * + * @description + * Get the number of hours between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of hours + * @throws {TypeError} 2 arguments required + * + * @example + * // How many hours are between 2 July 2014 06:50:00 and 2 July 2014 19:00:00? + * const result = differenceInHours( + * new Date(2014, 6, 2, 19, 0), + * new Date(2014, 6, 2, 6, 50) + * ) + * //=> 12 + */ +function differenceInHours(dateLeft, dateRight, options) { + (0, _index3.default)(2, arguments); + var diff = (0, _index2.default)(dateLeft, dateRight) / _index.millisecondsInHour; + return (0, _index4.getRoundingMethod)(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInHours/index.js.flow b/node_modules/date-fns/differenceInHours/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/differenceInHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/differenceInHours/package.json b/node_modules/date-fns/differenceInHours/package.json new file mode 100644 index 000000000..95ccb12da --- /dev/null +++ b/node_modules/date-fns/differenceInHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInISOWeekYears/index.d.ts b/node_modules/date-fns/differenceInISOWeekYears/index.d.ts new file mode 100644 index 000000000..ce7cb5745 --- /dev/null +++ b/node_modules/date-fns/differenceInISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInISOWeekYears } from 'date-fns' +export default differenceInISOWeekYears diff --git a/node_modules/date-fns/differenceInISOWeekYears/index.js b/node_modules/date-fns/differenceInISOWeekYears/index.js new file mode 100644 index 000000000..e8b753e96 --- /dev/null +++ b/node_modules/date-fns/differenceInISOWeekYears/index.js @@ -0,0 +1,52 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInISOWeekYears; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../differenceInCalendarISOWeekYears/index.js")); +var _index3 = _interopRequireDefault(require("../compareAsc/index.js")); +var _index4 = _interopRequireDefault(require("../subISOWeekYears/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of full ISO week-numbering years between the given dates. + * + * @description + * Get the number of full ISO week-numbering years between the given dates. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full ISO week-numbering years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full ISO week-numbering years are between 1 January 2010 and 1 January 2012? + * const result = differenceInISOWeekYears( + * new Date(2012, 0, 1), + * new Date(2010, 0, 1) + * ) + * //=> 1 + */ +function differenceInISOWeekYears(dirtyDateLeft, dirtyDateRight) { + (0, _index5.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var sign = (0, _index3.default)(dateLeft, dateRight); + var difference = Math.abs((0, _index2.default)(dateLeft, dateRight)); + dateLeft = (0, _index4.default)(dateLeft, sign * difference); + + // Math.abs(diff in full ISO years - diff in calendar ISO years) === 1 + // if last calendar ISO year is not full + // If so, result must be decreased by 1 in absolute value + var isLastISOWeekYearNotFull = Number((0, _index3.default)(dateLeft, dateRight) === -sign); + var result = sign * (difference - isLastISOWeekYearNotFull); + // Prevent negative zero + return result === 0 ? 0 : result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInISOWeekYears/index.js.flow b/node_modules/date-fns/differenceInISOWeekYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInISOWeekYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInISOWeekYears/package.json b/node_modules/date-fns/differenceInISOWeekYears/package.json new file mode 100644 index 000000000..263156ad3 --- /dev/null +++ b/node_modules/date-fns/differenceInISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInISOWeekYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInMilliseconds/index.d.ts b/node_modules/date-fns/differenceInMilliseconds/index.d.ts new file mode 100644 index 000000000..c72a3ab87 --- /dev/null +++ b/node_modules/date-fns/differenceInMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMilliseconds } from 'date-fns' +export default differenceInMilliseconds diff --git a/node_modules/date-fns/differenceInMilliseconds/index.js b/node_modules/date-fns/differenceInMilliseconds/index.js new file mode 100644 index 000000000..1232ea045 --- /dev/null +++ b/node_modules/date-fns/differenceInMilliseconds/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInMilliseconds; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInMilliseconds + * @category Millisecond Helpers + * @summary Get the number of milliseconds between the given dates. + * + * @description + * Get the number of milliseconds between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of milliseconds + * @throws {TypeError} 2 arguments required + * + * @example + * // How many milliseconds are between + * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700? + * const result = differenceInMilliseconds( + * new Date(2014, 6, 2, 12, 30, 21, 700), + * new Date(2014, 6, 2, 12, 30, 20, 600) + * ) + * //=> 1100 + */ +function differenceInMilliseconds(dateLeft, dateRight) { + (0, _index2.default)(2, arguments); + return (0, _index.default)(dateLeft).getTime() - (0, _index.default)(dateRight).getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInMilliseconds/index.js.flow b/node_modules/date-fns/differenceInMilliseconds/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInMilliseconds/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInMilliseconds/package.json b/node_modules/date-fns/differenceInMilliseconds/package.json new file mode 100644 index 000000000..8db7c63ea --- /dev/null +++ b/node_modules/date-fns/differenceInMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInMinutes/index.d.ts b/node_modules/date-fns/differenceInMinutes/index.d.ts new file mode 100644 index 000000000..28348fce3 --- /dev/null +++ b/node_modules/date-fns/differenceInMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMinutes } from 'date-fns' +export default differenceInMinutes diff --git a/node_modules/date-fns/differenceInMinutes/index.js b/node_modules/date-fns/differenceInMinutes/index.js new file mode 100644 index 000000000..46b3233cc --- /dev/null +++ b/node_modules/date-fns/differenceInMinutes/index.js @@ -0,0 +1,48 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInMinutes; +var _index = require("../constants/index.js"); +var _index2 = _interopRequireDefault(require("../differenceInMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index4 = require("../_lib/roundingMethods/index.js"); +/** + * @name differenceInMinutes + * @category Minute Helpers + * @summary Get the number of minutes between the given dates. + * + * @description + * Get the signed number of full (rounded towards 0) minutes between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of minutes + * @throws {TypeError} 2 arguments required + * + * @example + * // How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00? + * const result = differenceInMinutes( + * new Date(2014, 6, 2, 12, 20, 0), + * new Date(2014, 6, 2, 12, 7, 59) + * ) + * //=> 12 + * + * @example + * // How many minutes are between 10:01:59 and 10:00:00 + * const result = differenceInMinutes( + * new Date(2000, 0, 1, 10, 0, 0), + * new Date(2000, 0, 1, 10, 1, 59) + * ) + * //=> -1 + */ +function differenceInMinutes(dateLeft, dateRight, options) { + (0, _index3.default)(2, arguments); + var diff = (0, _index2.default)(dateLeft, dateRight) / _index.millisecondsInMinute; + return (0, _index4.getRoundingMethod)(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInMinutes/index.js.flow b/node_modules/date-fns/differenceInMinutes/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/differenceInMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/differenceInMinutes/package.json b/node_modules/date-fns/differenceInMinutes/package.json new file mode 100644 index 000000000..85c55cb8a --- /dev/null +++ b/node_modules/date-fns/differenceInMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInMonths/index.d.ts b/node_modules/date-fns/differenceInMonths/index.d.ts new file mode 100644 index 000000000..8fbe97753 --- /dev/null +++ b/node_modules/date-fns/differenceInMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMonths } from 'date-fns' +export default differenceInMonths diff --git a/node_modules/date-fns/differenceInMonths/index.js b/node_modules/date-fns/differenceInMonths/index.js new file mode 100644 index 000000000..142290041 --- /dev/null +++ b/node_modules/date-fns/differenceInMonths/index.js @@ -0,0 +1,64 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInMonths; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../differenceInCalendarMonths/index.js")); +var _index3 = _interopRequireDefault(require("../compareAsc/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index5 = _interopRequireDefault(require("../isLastDayOfMonth/index.js")); +/** + * @name differenceInMonths + * @category Month Helpers + * @summary Get the number of full months between the given dates. + * + * @description + * Get the number of full months between the given dates using trunc as a default rounding method. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full months + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full months are between 31 January 2014 and 1 September 2014? + * const result = differenceInMonths(new Date(2014, 8, 1), new Date(2014, 0, 31)) + * //=> 7 + */ +function differenceInMonths(dirtyDateLeft, dirtyDateRight) { + (0, _index4.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var sign = (0, _index3.default)(dateLeft, dateRight); + var difference = Math.abs((0, _index2.default)(dateLeft, dateRight)); + var result; + + // Check for the difference of less than month + if (difference < 1) { + result = 0; + } else { + if (dateLeft.getMonth() === 1 && dateLeft.getDate() > 27) { + // This will check if the date is end of Feb and assign a higher end of month date + // to compare it with Jan + dateLeft.setDate(30); + } + dateLeft.setMonth(dateLeft.getMonth() - sign * difference); + + // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full + // If so, result must be decreased by 1 in absolute value + var isLastMonthNotFull = (0, _index3.default)(dateLeft, dateRight) === -sign; + + // Check for cases of one full calendar month + if ((0, _index5.default)((0, _index.default)(dirtyDateLeft)) && difference === 1 && (0, _index3.default)(dirtyDateLeft, dateRight) === 1) { + isLastMonthNotFull = false; + } + result = sign * (difference - Number(isLastMonthNotFull)); + } + + // Prevent negative zero + return result === 0 ? 0 : result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInMonths/index.js.flow b/node_modules/date-fns/differenceInMonths/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInMonths/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInMonths/package.json b/node_modules/date-fns/differenceInMonths/package.json new file mode 100644 index 000000000..d682d9a94 --- /dev/null +++ b/node_modules/date-fns/differenceInMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInMonths/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInQuarters/index.d.ts b/node_modules/date-fns/differenceInQuarters/index.d.ts new file mode 100644 index 000000000..9cc693b93 --- /dev/null +++ b/node_modules/date-fns/differenceInQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInQuarters } from 'date-fns' +export default differenceInQuarters diff --git a/node_modules/date-fns/differenceInQuarters/index.js b/node_modules/date-fns/differenceInQuarters/index.js new file mode 100644 index 000000000..bfe1df898 --- /dev/null +++ b/node_modules/date-fns/differenceInQuarters/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInQuarters; +var _index = _interopRequireDefault(require("../differenceInMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = require("../_lib/roundingMethods/index.js"); +/** + * @name differenceInQuarters + * @category Quarter Helpers + * @summary Get the number of quarters between the given dates. + * + * @description + * Get the number of quarters between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of full quarters + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full quarters are between 31 December 2013 and 2 July 2014? + * const result = differenceInQuarters(new Date(2014, 6, 2), new Date(2013, 11, 31)) + * //=> 2 + */ +function differenceInQuarters(dateLeft, dateRight, options) { + (0, _index2.default)(2, arguments); + var diff = (0, _index.default)(dateLeft, dateRight) / 3; + return (0, _index3.getRoundingMethod)(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInQuarters/index.js.flow b/node_modules/date-fns/differenceInQuarters/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/differenceInQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/differenceInQuarters/package.json b/node_modules/date-fns/differenceInQuarters/package.json new file mode 100644 index 000000000..335cc0c8c --- /dev/null +++ b/node_modules/date-fns/differenceInQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInQuarters/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInSeconds/index.d.ts b/node_modules/date-fns/differenceInSeconds/index.d.ts new file mode 100644 index 000000000..e317fe275 --- /dev/null +++ b/node_modules/date-fns/differenceInSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInSeconds } from 'date-fns' +export default differenceInSeconds diff --git a/node_modules/date-fns/differenceInSeconds/index.js b/node_modules/date-fns/differenceInSeconds/index.js new file mode 100644 index 000000000..a5e0c7c52 --- /dev/null +++ b/node_modules/date-fns/differenceInSeconds/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInSeconds; +var _index = _interopRequireDefault(require("../differenceInMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = require("../_lib/roundingMethods/index.js"); +/** + * @name differenceInSeconds + * @category Second Helpers + * @summary Get the number of seconds between the given dates. + * + * @description + * Get the number of seconds between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of seconds + * @throws {TypeError} 2 arguments required + * + * @example + * // How many seconds are between + * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000? + * const result = differenceInSeconds( + * new Date(2014, 6, 2, 12, 30, 20, 0), + * new Date(2014, 6, 2, 12, 30, 7, 999) + * ) + * //=> 12 + */ +function differenceInSeconds(dateLeft, dateRight, options) { + (0, _index2.default)(2, arguments); + var diff = (0, _index.default)(dateLeft, dateRight) / 1000; + return (0, _index3.getRoundingMethod)(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInSeconds/index.js.flow b/node_modules/date-fns/differenceInSeconds/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/differenceInSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/differenceInSeconds/package.json b/node_modules/date-fns/differenceInSeconds/package.json new file mode 100644 index 000000000..66f8ba136 --- /dev/null +++ b/node_modules/date-fns/differenceInSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInWeeks/index.d.ts b/node_modules/date-fns/differenceInWeeks/index.d.ts new file mode 100644 index 000000000..a42614c91 --- /dev/null +++ b/node_modules/date-fns/differenceInWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInWeeks } from 'date-fns' +export default differenceInWeeks diff --git a/node_modules/date-fns/differenceInWeeks/index.js b/node_modules/date-fns/differenceInWeeks/index.js new file mode 100644 index 000000000..735d01db5 --- /dev/null +++ b/node_modules/date-fns/differenceInWeeks/index.js @@ -0,0 +1,57 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInWeeks; +var _index = _interopRequireDefault(require("../differenceInDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = require("../_lib/roundingMethods/index.js"); +/** + * @name differenceInWeeks + * @category Week Helpers + * @summary Get the number of full weeks between the given dates. + * + * @description + * Get the number of full weeks between two dates. Fractional weeks are + * truncated towards zero by default. + * + * One "full week" is the distance between a local time in one day to the same + * local time 7 days earlier or later. A full week can sometimes be less than + * or more than 7*24 hours if a daylight savings change happens between two dates. + * + * To ignore DST and only measure exact 7*24-hour periods, use this instead: + * `Math.floor(differenceInHours(dateLeft, dateRight)/(7*24))|0`. + * + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of full weeks + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full weeks are between 5 July 2014 and 20 July 2014? + * const result = differenceInWeeks(new Date(2014, 6, 20), new Date(2014, 6, 5)) + * //=> 2 + * + * // How many full weeks are between + * // 1 March 2020 0:00 and 6 June 2020 0:00 ? + * // Note: because local time is used, the + * // result will always be 8 weeks (54 days), + * // even if DST starts and the period has + * // only 54*24-1 hours. + * const result = differenceInWeeks( + * new Date(2020, 5, 1), + * new Date(2020, 2, 6) + * ) + * //=> 8 + */ +function differenceInWeeks(dateLeft, dateRight, options) { + (0, _index2.default)(2, arguments); + var diff = (0, _index.default)(dateLeft, dateRight) / 7; + return (0, _index3.getRoundingMethod)(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInWeeks/index.js.flow b/node_modules/date-fns/differenceInWeeks/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/differenceInWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/differenceInWeeks/package.json b/node_modules/date-fns/differenceInWeeks/package.json new file mode 100644 index 000000000..157df83ca --- /dev/null +++ b/node_modules/date-fns/differenceInWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInWeeks/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/differenceInYears/index.d.ts b/node_modules/date-fns/differenceInYears/index.d.ts new file mode 100644 index 000000000..df839f6a8 --- /dev/null +++ b/node_modules/date-fns/differenceInYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInYears } from 'date-fns' +export default differenceInYears diff --git a/node_modules/date-fns/differenceInYears/index.js b/node_modules/date-fns/differenceInYears/index.js new file mode 100644 index 000000000..bd08c5bda --- /dev/null +++ b/node_modules/date-fns/differenceInYears/index.js @@ -0,0 +1,49 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = differenceInYears; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../differenceInCalendarYears/index.js")); +var _index3 = _interopRequireDefault(require("../compareAsc/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name differenceInYears + * @category Year Helpers + * @summary Get the number of full years between the given dates. + * + * @description + * Get the number of full years between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full years are between 31 December 2013 and 11 February 2015? + * const result = differenceInYears(new Date(2015, 1, 11), new Date(2013, 11, 31)) + * //=> 1 + */ +function differenceInYears(dirtyDateLeft, dirtyDateRight) { + (0, _index4.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + var sign = (0, _index3.default)(dateLeft, dateRight); + var difference = Math.abs((0, _index2.default)(dateLeft, dateRight)); + + // Set both dates to a valid leap year for accurate comparison when dealing + // with leap days + dateLeft.setFullYear(1584); + dateRight.setFullYear(1584); + + // Math.abs(diff in full years - diff in calendar years) === 1 if last calendar year is not full + // If so, result must be decreased by 1 in absolute value + var isLastYearNotFull = (0, _index3.default)(dateLeft, dateRight) === -sign; + var result = sign * (difference - Number(isLastYearNotFull)); + // Prevent negative zero + return result === 0 ? 0 : result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/differenceInYears/index.js.flow b/node_modules/date-fns/differenceInYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/differenceInYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/differenceInYears/package.json b/node_modules/date-fns/differenceInYears/package.json new file mode 100644 index 000000000..6135ffa21 --- /dev/null +++ b/node_modules/date-fns/differenceInYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/differenceInYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/docs/.eslintrc.js b/node_modules/date-fns/docs/.eslintrc.js new file mode 100644 index 000000000..a40aaa8ca --- /dev/null +++ b/node_modules/date-fns/docs/.eslintrc.js @@ -0,0 +1,5 @@ +module.exports = { + rules: { + 'no-console': 'off' + } +} diff --git a/node_modules/date-fns/docs/Day.js b/node_modules/date-fns/docs/Day.js new file mode 100644 index 000000000..42df02d70 --- /dev/null +++ b/node_modules/date-fns/docs/Day.js @@ -0,0 +1,15 @@ +/** + * @category Types + * @summary Day type + * + * @description + * The day of the week type alias (`0 | 1 | 2 | 3 | 4 | 5 | 6`). Unlike the date + * (the number of days since the beginningof the month), which starts with 1 + * and is dynamic (can go up to 28, 30, or 31), the day starts with 0 and static + * (always ends at 6). Look at it as an index in an array where Sunday is + * the first element, and Saturday is the last. + * + * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6} Day + */ +const Day = 0 +module.exports = Day diff --git a/node_modules/date-fns/docs/Duration.js b/node_modules/date-fns/docs/Duration.js new file mode 100644 index 000000000..95702b3e8 --- /dev/null +++ b/node_modules/date-fns/docs/Duration.js @@ -0,0 +1,19 @@ +/** + * @category Types + * @summary Duration object + * + * @description + * Duration object. + * + * @typedef {Object} Duration + * + * @property {number} [years] + * @property {number} [months] + * @property {number} [weeks] + * @property {number} [days] + * @property {number} [hours] + * @property {number} [minutes] + * @property {number} [seconds] + */ +const Duration = {} +module.exports = Duration diff --git a/node_modules/date-fns/docs/Interval.js b/node_modules/date-fns/docs/Interval.js new file mode 100644 index 000000000..15347b6b1 --- /dev/null +++ b/node_modules/date-fns/docs/Interval.js @@ -0,0 +1,16 @@ +/** + * @category Types + * @summary An object that combines two dates to represent the time interval. + * + * @description + * An object that combines two dates to represent the time interval. + * + * @typedef {Object} Interval + * @property {Date|Number} start - the start of the interval + * @property {Date|Number} end - the end of the interval + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + */ +var Interval = {} + +module.exports = Interval diff --git a/node_modules/date-fns/docs/Locale.js b/node_modules/date-fns/docs/Locale.js new file mode 100644 index 000000000..9c7b4c11d --- /dev/null +++ b/node_modules/date-fns/docs/Locale.js @@ -0,0 +1,88 @@ +/** + * @category Types + * @summary A locale object. Default locale is `en-US`. + * + * @description + * A locale object. Default locale is `en-US`. + * + * If you're using any of these date-fns, consider specifying a locale in options: + * + * - `differenceInCalendarWeeks` + * - `eachWeekOfInterval` + * - `endOfWeek` + * - `format` + * - `formatDistance` + * - `formatDistanceStrict` + * - `formatRelative` + * - `getWeek` + * - `getWeekOfMonth` + * - `getWeeksInMonth` + * - `getWeekYear` + * - `isMatch` + * - `isSameWeek` + * - `isThisWeek` + * - `lastDayOfWeek` + * - `parse` + * - `setDay` + * - `setWeek` + * - `setWeekYear` + * - `startOfWeek` + * - `startOfWeekYear` + * + * Read the Properties section below for more details. + * + * @typedef {Object} Locale + * + * @property {string} [code] - the locale code (ISO 639-1 + optional country code) + * @property {Function} [formatDistance] - the function that takes a token + * passed by `formatDistance` or `formatDistanceStrict` and payload, + * and returns localized distance in words. + * Required by `formatDistance` and `formatDistanceStrict` + * + * @property {Function} [formatRelative] - the function that takes a token + * passed by `formatRelative` and two dates and returns the localized relative date format. + * Required by `formatRelative` + * + * @property {Object} [localize] - the object with functions used to localize various values. + * Required by `format` and `formatRelative` + * @property {Function} localize.ordinalNumber - the function that localizes an ordinal number + * @property {Function} localize.era - the function that takes 0 or 1 and returns localized era + * @property {Function} localize.quarter - the function that localizes a quarter + * @property {Function} localize.month - the function that localizes a month + * @property {Function} localize.day - the function that localizes a day of the week + * @property {Function} localize.dayPeriod - the function that takes one of the strings + * 'am', 'pm', 'midnight', 'noon', 'morning', 'afternoon', 'evening' or 'night' + * and returns localized time of the day + * + * @property {Object} [formatLong] - the object with functions that return localized formats + * @property {Function} formatLong.date - the function that returns a localized long date format + * @property {Function} formatLong.time - the function that returns a localized long time format + * @property {Function} formatLong.dateTime - the function that returns a localized format of date and time combined + * + * @property {Object} [match] — the object with functions used to match and parse various localized values. + * Required by `parse` + * @property {Function} match.ordinalNumber - the function that parses a localized ordinal number + * @property {Function} match.era - the function that parses a localized era + * @property {Function} match.quarter - the function that parses a localized quarter + * @property {Function} match.month - the function that parses a localized month + * @property {Function} match.day - the function that parses a localized day of the week + * @property {Function} match.dayPeriod - the function that parses a localized time of the day + * + * @property {Object} [options] - an object with locale options. + * @property {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday). + * Used by `differenceInCalendarWeeks`, `eachWeekOfInterval`, `endOfWeek`, `format`, `formatRelative`, `getWeek`, `getWeekOfMonth`, + * `getWeeksInMonth`, `getWeekYear`, `isMatch`, `isSameWeek`, `isThisWeek`, `lastDayOfWeek`, `parse`, `setDay`, + * `setWeek`, `setWeekYear`, `startOfWeek` and `startOfWeekYear` + * @property {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, + * which is always in the first week of the year. + * Used by `format`, `getWeek`, `getWeekYear`, `isMatch`, `parse`, `setWeek`, `setWeekYear` and `startOfWeekYear`. + * + * @throws {RangeError} `locale` must contain `localize` property. Thrown by `format` and `formatRelative` + * @throws {RangeError} `locale` must contain `formatLong` property. Thrown by `format` and `formatRelative` + * @throws {RangeError} `locale` must contain `formatRelative` property. Thrown by `formatRelative` + * @throws {RangeError} `locale` must contain `formatDistance` property. Thrown by `formatDistance` and `formatDistanceStrict` + * @throws {RangeError} `locale` must contain `match` property. Thrown by `parse` + */ +var Locale = {} + +module.exports = Locale diff --git a/node_modules/date-fns/docs/constants.md b/node_modules/date-fns/docs/constants.md new file mode 100644 index 000000000..b792fd772 --- /dev/null +++ b/node_modules/date-fns/docs/constants.md @@ -0,0 +1,47 @@ +# Constants + +date-fns provides with a number of useful constants. + +## Usage + +The constants could be imported from `date-fns/constants` or directly +from `date-fns`: + +```js +import { maxTime } from 'date-fns/constants' +import { minTime } from 'date-fns' + +function isAllowedTime(time) { + return time <= maxTime && time >= minTime +} +``` + +## Constants + +### `maxTime` + +Maximum allowed time: + +```js +import { maxTime } from 'date-fns' + +const isValid = 8640000000000001 <= maxTime +//=> false + +new Date(8640000000000001) +//=> Invalid Date +``` + +### `minTime` + +Minimum allowed time: + +```js +import { minTime } from 'date-fns' + +const isValid = -8640000000000001 >= minTime +//=> false + +new Date(-8640000000000001) +//=> Invalid Date +``` diff --git a/node_modules/date-fns/docs/esm.md b/node_modules/date-fns/docs/esm.md new file mode 100644 index 000000000..a3fcfa889 --- /dev/null +++ b/node_modules/date-fns/docs/esm.md @@ -0,0 +1,24 @@ +# ECMAScript Modules + +**date-fns** v2.x provides support for +[ECMAScript Modules](http://www.ecma-international.org/ecma-262/6.0/#sec-modules) +that enables tree-shaking for bundlers, like [rollup.js](http://rollupjs.org) +and [webpack](https://webpack.js.org). + +If you have tree-shaking enabled in your bundler, just import functions normally: + +```javascript +import { format, parse } from 'date-fns' +import { enUS, eo } from 'date-fns/locale' +import { addDays, addHours } from 'date-fns/fp' +``` + +In TypeScript, now you can import individual functions in more idiomatic way: + +```typescript +// Before +import * as format from 'date-fns/format' + +// Now +import format from 'date-fns/format' +``` diff --git a/node_modules/date-fns/docs/fp.md b/node_modules/date-fns/docs/fp.md new file mode 100644 index 000000000..fc7ca5605 --- /dev/null +++ b/node_modules/date-fns/docs/fp.md @@ -0,0 +1,70 @@ +# FP Guide + +**date-fns** v2.x provides [functional programming](https://en.wikipedia.org/wiki/Functional_programming) (FP) +friendly functions, like those in [lodash](https://github.com/lodash/lodash/wiki/FP-Guide), +that support [currying](https://en.wikipedia.org/wiki/Currying). + +## Table of Contents + +- [Usage](#usage) + +- [Using Function Composition](#using-function-composition) + +## Usage + +FP functions are provided via `'date-fns/fp'` submodule. + +Functions with options (`format`, `parse`, etc.) have two FP counterparts: +one that has the options object as its first argument and one that hasn't. +The name of the former has `WithOptions` added to the end of its name. + +In **date-fns'** FP functions, the order of arguments is reversed. + +```javascript +import { addYears, formatWithOptions } from 'date-fns/fp' +import { eo } from 'date-fns/locale' +import toUpper from 'lodash/fp/toUpper' // 'date-fns/fp' is compatible with 'lodash/fp'! + +// If FP function has not received enough arguments, it returns another function +const addFiveYears = addYears(5) + +// Several arguments can be curried at once +const dateToString = formatWithOptions({ locale: eo }, 'd MMMM yyyy') + +const dates = [ + new Date(2017, 0 /* Jan */, 1), + new Date(2017, 1 /* Feb */, 11), + new Date(2017, 6 /* Jul */, 2) +] + +const formattedDates = dates.map(addFiveYears).map(dateToString).map(toUpper) +//=> ['1 JANUARO 2022', '11 FEBRUARO 2022', '2 JULIO 2022'] +``` + +## Using Function Composition + +The main advantage of FP functions is support of functional-style +[function composing](https://medium.com/making-internets/why-using-chain-is-a-mistake-9bc1f80d51ba). + +In the example above, you can compose `addFiveYears`, `dateToString` and `toUpper` into a single function: + +```javascript +const formattedDates = dates.map((date) => toUpper(dateToString(addFiveYears(date)))) +``` + +Or you can use `compose` function provided by [lodash](https://lodash.com) to do the same in more idiomatic way: + +```javascript +import compose from 'lodash/fp/compose' + +const formattedDates = dates.map(compose(toUpper, dateToString, addFiveYears)) +``` + +Or if you prefer natural direction of composing (as opposed to the computationally correct order), +you can use lodash' `flow` instead: + +```javascript +import flow from 'lodash/fp/flow' + +const formattedDates = dates.map(flow(addFiveYears, dateToString, toUpper)) +``` \ No newline at end of file diff --git a/node_modules/date-fns/docs/gettingStarted.md b/node_modules/date-fns/docs/gettingStarted.md new file mode 100644 index 000000000..6d8bb3566 --- /dev/null +++ b/node_modules/date-fns/docs/gettingStarted.md @@ -0,0 +1,87 @@ +# Getting Started + +## Table of Contents + +- [Introduction](#introduction) + +- [Submodules](#submodules) + +- [Installation](#installation) + +## Introduction + +**date-fns** provides the most comprehensive, yet simple and consistent toolset +for manipulating **JavaScript dates** in **a browser** & **Node.js**. + +**date-fns** is like [lodash](https://lodash.com) for dates. It has +[**200+ functions** for all occasions](https://date-fns.org/docs/). + +```js +import { format, compareAsc } from 'date-fns' + +format(new Date(2014, 1, 11), 'MM/dd/yyyy') +//=> '02/11/2014' + +const dates = [ + new Date(1995, 6, 2), + new Date(1987, 1, 11), + new Date(1989, 6, 10), +] +dates.sort(compareAsc) +//=> [ +// Wed Feb 11 1987 00:00:00, +// Mon Jul 10 1989 00:00:00, +// Sun Jul 02 1995 00:00:00 +// ] +``` + +## Submodules + +**date-fns** includes some optional features as submodules in the npm package. +Here is the list of them, in order of nesting: + +- FP — functional programming-friendly variations of the functions. See [FP Guide](https://date-fns.org/docs/FP-Guide); + +- UTC (in development) — variations of the functions which calculate dates in UTC±00:00 timezone. + +The later submodules are also included inside the former if you want to use multiple features from the list. + +To use submodule features, [install the npm package](#npm) and then import a function from a submodule: + +```js +// The main submodule: +import addDays from 'date-fns/addDays' + +// FP variation: +import addDays from 'date-fns/fp/addDays' + +// UTC variation: +import addDays from 'date-fns/utc/addDays' + +// Both FP and UTC: +import addDays from 'date-fns/fp/utc/addDays' + +// With tree-shaking enabled: +import { addDays, format } from 'date-fns/fp' +``` + +## Installation + +The library is available as an [npm package](https://www.npmjs.com/package/date-fns). + +To install the package, run: + +```bash +npm install date-fns --save +# or +yarn add date-fns +``` + +Start using: + +```js +import { formatDistance, subDays } from 'date-fns' + +formatDistance(subDays(new Date(), 3), new Date(), { addSuffix: true }) +//=> "3 days ago" +``` diff --git a/node_modules/date-fns/docs/i18n.md b/node_modules/date-fns/docs/i18n.md new file mode 100644 index 000000000..4986e62ce --- /dev/null +++ b/node_modules/date-fns/docs/i18n.md @@ -0,0 +1,92 @@ +# Internationalization + +## Table of Contents + +- [Usage](#usage) + +- [Adding New Language](#adding-new-language) + +## Usage + +There are just a few functions that support I18n: + +- [`format`](https://date-fns.org/docs/format) +- [`formatDistance`](https://date-fns.org/docs/formatDistance) +- [`formatDistanceStrict`](https://date-fns.org/docs/formatDistanceStrict) +- [`formatRelative`](https://date-fns.org/docs/formatRelative) + +To use a locale, you need to require it and then pass +as an option to a function: + +```js +import { formatDistance } from 'date-fns' +// Require Esperanto locale +import { eo } from 'date-fns/locale' + +const result = formatDistance( + new Date(2016, 7, 1), + new Date(2015, 0, 1), + {locale: eo} // Pass the locale as an option +) +//=> 'pli ol 1 jaro' +``` + +It might seem complicated to require and pass locales as options, +but unlike Moment.js which bloats your build with all the locales +by default date-fns forces developer to manually require locales when needed. +To make API simple, we encourage you to write tiny wrappers and use those +instead of original functions: + +```js +// app/_lib/format.js + +import { format } from 'date-fns' +import { enGB, eo, ru } from 'date-fns/locale' + +const locales = {enGB, eo, ru} + +// by providing a default string of 'PP' or any of its variants for `formatStr` +// it will format dates in whichever way is appropriate to the locale +export default function (date, formatStr = 'PP') { + return format(date, formatStr, { + locale: locales[window.__localeId__] // or global.__localeId__ + }) +} + +// Later: + +import format from 'app/_lib/format' + +window.__localeId__ = 'enGB' +format(friday13, 'EEEE d') +//=> 'Friday 13' + +window.__localeId__ = 'eo' +format(friday13, 'EEEE d') +//=> 'vendredo 13' + +// If the format string is omitted, it will take the default for the locale. +window.__localeId__ = 'enGB' +format(friday13) +//=> Jul 13, 2019 + +window.__localeId__ = 'eo' +format(friday13) +//=> 2019-jul-13 + +``` + +## Adding New Language + +At the moment there is no definitive guide, so if you feel brave enough, +use this quick guide: + +- First of all, [create an issue](https://github.com/date-fns/date-fns/issues/new?title=XXX%20language%20support) + so you won't overlap with others. +- A detailed explanation of how to [add a new locale](https://github.com/date-fns/date-fns/blob/master/docs/i18nContributionGuide.md#adding-a-new-locale). +- Use [English locale](https://github.com/date-fns/date-fns/tree/master/src/locale/en-US) + as the basis and then incrementally adjust the tests and the code. +- Directions on [adding a locale with the same language as another locale](https://github.com/date-fns/date-fns/blob/master/docs/i18nContributionGuide.md#creating-a-locale-with-the-same-language-as-another-locale). +- If you have questions or need guidance, leave a comment in the issue. + +Thank you for your support! diff --git a/node_modules/date-fns/docs/i18nContributionGuide.md b/node_modules/date-fns/docs/i18nContributionGuide.md new file mode 100644 index 000000000..ac520a7ee --- /dev/null +++ b/node_modules/date-fns/docs/i18nContributionGuide.md @@ -0,0 +1,921 @@ +# I18n Contribution Guide + +## Table of Contents + +- [Adding a new locale](#adding-a-new-locale) + + - [Choosing a directory name for a locale](#choosing-a-directory-name-for-a-locale) + + - [index.js](#index.js) + + - [localize](#localize) + + - [localize.ordinalNumber](#localize.ordinalnumber) + + - [localize.era and using buildLocalizeFn function](#localize.era-and-using-buildlocalizefn-function) + + - [Formatting localizers](#formatting-localizers) + + - [localize.quarter](#localize.quarter) + + - [localize.month](#localize.month) + + - [localize.day](#localize.day) + + - [localize.dayPeriod](#localize.dayperiod) + + - [formatLong](#formatlong) + + - [formatLong.dateFormats](#formatlong.dateformats) + + - [formatLong.timeFormats](#formatlong.timeformats) + + - [formatLong.dateTimeFormats](#formatlong.datetimeformats) + + - [formatRelative](#formatrelative) + + - [match](#match) + + - [formatDistance](#formatdistance) + + - [Tests](#tests) + +- [Creating a locale with the same language as another locale](#creating-a-locale-with-the-same-language-as-another-locale) + +## Adding a new locale + +To add a new locale: + +- [Choose a directory name for it](#choosing-a-directory-name-for-a-locale). + +- Copy the content of an existing locale (e.g. `en-US`) into the newly created directory. + +- Replace the values in the content with yours file-by-file. + Use [CLDR data](https://www.unicode.org/cldr/charts/32/summary/root.html) + as a point of reference which values to choose. + +All locales contain a number of properties: + +- [`formatDistance`](#formatdistance) — distance localizer function used by `formatDistance` and `formatDistanceStrict`. +- [`formatLong`](#formatlong) — contains long date localizer functions used by `format` and `formatRelative`. +- [`formatRelative`](#formatrelative) — relative date localizer function used by `formatRelative`. +- [`localize`](#localize) — contains functions, which localize the various date values. Required by `format` and `formatRelative`. +- [`match`](#match) — contains functions to parse date values. Required by `parse`. +- [`options`](#indexjs) — contains the index of the first day of the week for functions such as `startOfWeek`, + and the value which determines the first week of the year + for functions like `setWeek`. + +### Choosing a directory name for a locale + +Use the four letter code for the directory name (e.g. `en-GB`), + +Use the two/three letter code: + +- if the language code and the country code are the same (e.g. `pt` instead of `pt-PT`). + +- if the language is used in only one country (e.g. `fil` instead of `fil-PH`). + +- if all countries who use the language +also use the same regional standards: the first day of the week, +the week numbering (see: https://en.wikipedia.org/wiki/Week#Week_numbering), +calendar date format (see: https://en.wikipedia.org/wiki/Calendar_date) +and date representation (see: https://en.wikipedia.org/wiki/Date_and_time_representation_by_country +and: https://en.wikipedia.org/wiki/Date_format_by_country) +(e.g. `ca` instead of `ca-ES` and `ca-AD`). + +### index.js + +Locale's `index.js` is where all the properties of the locale are combined in a single file, +documented in JSDoc format. + +```javascript +import formatDistance from './_lib/formatDistance/index.js' +import formatLong from './_lib/formatLong/index.js' +import formatRelative from './_lib/formatRelative/index.js' +import localize from './_lib/localize/index.js' +import match from './_lib/match/index.js' + +/** + * @type {Locale} + * @category Locales + * + * // Name of the locale. + * // Inside the parentheses - name of the country - if the locale uses the four letter code, e.g. en-US, fr-CA or pt-BR. + * @summary English locale (United States). + * + * // Name of the language (used by https://date-fns.org/ website) + * @language English + * + * // ISO 639-2 code. See the list here: + * // https://www.loc.gov/standards/iso639-2/php/code_list.php + * // Used by https://date-fns.org/ to detect the list of the countries that uses the language. + * @iso-639-2 eng + * + * // Authors of the locale (including anyone who corrected or fixed the locale) + * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp} + * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss} + */ +var locale = { + code: 'en', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + // Index of the first day of the week. + // Sunday is 0, Monday is 1, Saturday is 6. + weekStartsOn: 0, + + // Nth of January which is always in the first week of the year. See: + // https://en.wikipedia.org/wiki/Week#Week_numbering + // http://www.pjh2.de/datetime/weeknumber/wnd.php?l=en + firstWeekContainsDate: 1 + } +} + +export default locale +``` + +### localize + +Put this object in `_lib/localize/index.js` inside your locale directory. +Contains a number of functions for used by `format`: + +```js +var localize = { + ordinalNumber, + era, + quarter, + month, + day, + dayPeriod +} + +export default localize +``` + +#### localize.ordinalNumber + +Function that takes a numeric argument and returns a string with ordinal number: + +```js +// In `en-US` locale: +function ordinalNumber (dirtyNumber, dirtyOptions) { + var number = Number(dirtyNumber) + + var rem100 = number % 100 + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'st' + case 2: + return number + 'nd' + case 3: + return number + 'rd' + } + } + return number + 'th' +} + +var localize = { + ordinalNumber: ordinalNumber, + // ... +} +``` + +If the form of the ordinal number depends on the grammatical case (or other grammatical structures), +use `options.unit` argument which could be one of the values 'year', 'quarter', 'month', 'week', +'date', 'dayOfYear', 'day', 'hour', 'minute' or 'second': + +```js +// In `ru` locale: +function ordinalNumber (dirtyNumber, dirtyOptions) { + var options = dirtyOptions || {} + var unit = String(options.unit) + var suffix + + if (unit === 'date') { + suffix = '-е' + } else if (unit === 'week' || unit === 'minute' || unit === 'second') { + suffix = '-я' + } else { + suffix = '-й' + } + + return dirtyNumber + suffix +} +``` + +#### localize.era and using buildLocalizeFn function + +Localizes a numeric era. Takes either 0 or 1 as the first argument. +As with many of the `localize` functions, they can be generated by built-in +`buildLocalizeFn` function. + +From the CLDR chart, use ['Date & Time'/'Gregorian'/'Eras'](https://www.unicode.org/cldr/charts/32/summary/en.html#1771) values. + +```js +// In `en-US` locale: +import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js' + +var eraValues = { + narrow: ['B', 'A'], + abbreviated: ['BC', 'AD'], + wide: ['Before Christ', 'Anno Domini'] +} + +var localize = { + // ... + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + // ... +} + +export default localize +``` + +General usage of the function: + +```js +var result = locale.localize.era(1, {width: 'abbreviated'}) +//=> 'AD' +``` + +If `width` is not provided or the `values` object does not contain values for the provided width, +`defaultWidth` will be used. `defaultWidth` should indicate the longest form of the localized value. +The same is true for all other `localize` functions. +`width` for `localize.era` function could be either 'narrow', 'abbreviated' or 'wide'. + +```js +var result = locale.localize.era(1, {width: 'foobar'}) +//=> 'Anno Domini' +``` + +#### Formatting localizers + +For some languages, there is a difference between "stand-alone" localizers and "formatting" localizers. +"Stand-alone" means that the resulting value should make grammatical sense without context. +"Formatting" means that the resulting value should be declined using the grammar rules of the language +as if the value was a part of a date. +For example, for languages with grammatical cases, the stand-alone month could be in the nominative case ("January"), +and the formatting month could decline as a part of the phrase "1st of January". +In this case, use parameters `formattingValues` and `defaultFormattingWidth` of `buildLocalizeFn` function. + +Any localizer could be stand-alone and formatting. +Check the CLDR chart for the unit to see if stand-alone and formatting values are different for a certain unit. +If there's no difference (usually it happens in languages without grammatical cases), +parameters `formattingValues` and `defaultFormattingWidth` are not needed. + +In this example, in Russian language a stand-alone month is in the nominative case ("январь"), +and formatting month is in the genitive case ("января" as in "1-е января"). Notice the different endings: + +```js +// In `ru` locale: +var monthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв.', 'фев.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'], + wide: ['январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', 'декабрь'] +} +var formattingMonthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв.', 'фев.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'], + wide: ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'] +} + +var localize = { + // ... + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + // ... +} + +export default localize +``` + +#### localize.quarter + +Localizes a quarter. Takes 1, 2, 3 or 4 as the first argument. +`width` could be either 'narrow', 'abbreviated' or 'wide'. +From the CLDR chart, use ['Date & Time'/'Gregorian'/'Quarters'](https://www.unicode.org/cldr/charts/32/summary/en.html#1781) values. + +```js +// In `en-US` locale: +import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js' + +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] +} + +var localize = { + // ... + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function (quarter) { + return Number(quarter) - 1 + } + }), + // ... +} + +export default localize +``` + +Note the usage of `argumentCallback` here. It converts the value passed into `localize.quarter` function +(one of 1, 2, 3 or 4) into the index of the values array inside `quarterValues` (one of 0, 1, 2 or 3). + +#### localize.month + +Localizes a month. Takes numbers between 0 (for January) and 11 (for December). +`width` could be either 'narrow', 'abbreviated' or 'wide'. +From the CLDR chart, use ['Date & Time'/'Gregorian'/'Months'](https://www.unicode.org/cldr/charts/32/summary/en.html#1793) values. + +```js +// In `en-US` locale: +import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js' + +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] +} + +var localize = { + // ... + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + // ... +} + +export default localize +``` + +**NOTE**: in English, the names of days of the week and months are capitalized. +Check if the same is true for the language you're working on. +Generally, formatted dates should look like they are in the middle of a sentence, +e.g. in Spanish language the weekdays and months should be in the lowercase: + +```js +// In `es` locale: +var monthValues = { + narrow: ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.'], + wide: ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'] +} +``` + +`monthValues.narrow` are usually capitalized in every language. Check the CLDR chart for your language. + +#### localize.day + +Localizes a week day. Takes numbers between 0 (for Sunday) and 6 (for Saturday). +`width` could be either 'narrow', 'short', 'abbreviated' or 'wide'. +From the CLDR chart, use ['Date & Time'/'Gregorian'/'Days'](https://www.unicode.org/cldr/charts/32/summary/en.html#1829) values. + +```js +// In `en-US` locale: +import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js' + +var dayValues = { + narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] +} + +var localize = { + // ... + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + // ... +} + +export default localize +``` + +**NOTE**: the rules of capitalization from `localize.month` are also true for `localize.day`. + +#### localize.dayPeriod + +Localizes a certain day period. +Could take one of these strings as the argument: 'am', 'pm', 'midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'. +`width` could be either 'narrow', 'abbreviated' or 'wide'. +From the CLDR chart, use ['Date & Time'/'Gregorian'/'Day periods'](https://www.unicode.org/cldr/charts/32/summary/en.html#1857) values. + +```js +// In `en-US` locale: +import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js' + +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + } +} + +var localize = { + // ... + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +} + +export default localize +``` + +### formatLong + +Put this object in `_lib/formatLong/index.js` inside your locale directory. +Locale date formats written in `format` token string format. +See the list of tokens: https://date-fns.org/docs/format +Use https://en.wikipedia.org/wiki/Date_format_by_country and CLDR chart as the reference. + +#### formatLong.dateFormats + +Use ['Date & Time'/'Gregorian'/'Formats - Standard - Date Formats'](https://www.unicode.org/cldr/charts/32/summary/en.html#1901) values +from the CLDR chart as a reference. + +```js +// In `en-US` locale +import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js' + +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +} + +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + // ... +} + +export default formatLong +``` + +`dateFormats.long` usually contains the longest form of writing the year, the month, and the day of the month. +Use ordinal day of the month ('do' token) where applicable (date-fns, unlike CLDR supports ordinal numbers). + +`dateFormats.full` contains the same but with the day of the week. + +`dateFormats.medium` contains the same values as `dateFormats.long`, but with short form of month and non-ordinal day. + +`dateFormats.short` usually contains a strictly numerical form of the date. +Pay attention to the order of units (big-, little- or middle-endian) + +#### formatLong.timeFormats + +Use ['Date & Time'/'Gregorian'/'Formats - Standard - Time Formats'](https://www.unicode.org/cldr/charts/32/summary/en.html#1906) values +from the CLDR chart as a reference. + +Use some variation of 'h:mm aa' for 12-hour clock locales or 'H:mm' for 24-hour clock locales. Use the local time separator. + +```js +// In `en-US` locale +import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js' + +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +} + +var formatLong = { + // ... + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + // ... +} + +export default formatLong +``` + +#### formatLong.dateTimeFormats + +Use +['Date & Time'/'Gregorian'/'Formats - Standard - Date & Time Combination Formats'](https://www.unicode.org/cldr/charts/32/summary/en.html#1910) +values from the CLDR chart. + +```js +// In `en-US` locale +import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js' + +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +} + +var formatLong = { + // ... + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +} + +export default formatLong +``` + +'{{date}}' and '{{time}}' from the strings will be replaced with the date and time respectively. + +### formatRelative + +Put this function in `_lib/formatRelative/index.js` inside your locale directory. +Relative date formats written in `format` token string format. +See the list of tokens: https://date-fns.org/docs/format. +Has to process `lastWeek`, `yesterday`, `today`, `tomorrow`, `nextWeek` and `other` tokens. + +```javascript +// In `en-US` locale +var formatRelativeLocale = { + lastWeek: "'last' eeee 'at' p", + yesterday: "'yesterday at' p", + today: "'today at' p", + tomorrow: "'tomorrow at' p", + nextWeek: "eeee 'at' p", + other: 'P' +} + +export default function formatRelative (token, date, baseDate, options) { + return formatRelativeLocale[token] +} +``` + +You can use `date` and `baseDate` supplied to the function for the difficult situations +(e.g. grammatical genders and cases of the days of the week) +Both `date` and `baseDate` are converted to UTC timezone, which means +that you should use UTC methods to take the date values (i.e. `date.getUTCDay()` instead of `date.getDay()`). +You can use UTC functions from `src/_lib` in date-fns root directory if they are available. +Don't forget to pass `options` object to them! +Example is below. Note the different grammatical case for weekdays (accusative instead of nominative) +and declension of word "прошлый" which depends on the grammatical gender of the weekday: + +```javascript +// In `ru` locale +import isSameUTCWeek from '../../../../_lib/isSameUTCWeek/index.js' + +var accusativeWeekdays = ['воскресенье', 'понедельник', 'вторник', 'среду', 'четверг', 'пятницу', 'субботу'] + +function lastWeek (day) { + var weekday = accusativeWeekdays[day] + + switch (day) { + case 0: + return "'в прошлое " + weekday + " в' p" + case 1: + case 2: + case 4: + return "'в прошлый " + weekday + " в' p" + case 3: + case 5: + case 6: + return "'в прошлую " + weekday + " в' p" + } +} + +function thisWeek (day) { + // ... +} + +function nextWeek (day) { + // ... +} + +var formatRelativeLocale = { + lastWeek: function (date, baseDate, options) { + var day = date.getUTCDay() + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day) + } else { + return lastWeek(day) + } + }, + yesterday: "'вчера в' p", + today: "'сегодня в' p", + tomorrow: "'завтра в' p", + nextWeek: function (date, baseDate, options) { + var day = date.getUTCDay() + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day) + } else { + return nextWeek(day) + } + }, + other: 'P' +} + +export default function formatRelative (token, date, baseDate, options) { + var format = formatRelativeLocale[token] + + if (typeof format === 'function') { + return format(date, baseDate, options) + } + + return format +} +``` + +### match + +Put this object in `_lib/match/index.js` inside your locale directory. +Contains the functions used by `parse` to parse a localized value: + +```js +// In `en-US` locale: +import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js' +import buildMatchFn from '../../../_lib/buildMatchFn/index.js' + +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i +var parseOrdinalNumberPattern = /\d+/i + +var matchEraPatterns = { + narrow: /^(b|a)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(before christ|before common era|anno domini|common era)/i +} +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +} + +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](th|st|nd|rd)? quarter/i +} +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +} + +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, + wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i +} +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +} + +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(su|mo|tu|we|th|fr|sa)/i, + abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, + wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i +} +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +} + +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +} +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +} + +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function (value) { + return parseInt(value, 10) + } + }), + + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function (index) { + return index + 1 + } + }), + + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +} + +export default match +``` + +These functions mirror those in `localize`. + +For `matchPatterns` the patterns should match the whole meaningful word for the parsed value +(which will be cut from the string in the process of parsing). +`parsePatterns` contains patterns to detect one of the values from the result of `matchPatterns` +Note that the patterns for `parsePatterns` don't necessary contain the whole word: + +```javascript +// In `en-US` locale: +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +} +``` + +but only the bare minimum to parse the value. + +Also note that all patterns have "case-insensitive" flags +to match as much arbitrary user input as possible. For the same reason, try to match +any variation of diacritical marks: + +```javascript +// In `eo` locale: +var matchDayPatterns = { + narrow: /^[dlmĵjvs]/i, + short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i, + abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i, + wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i +} +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i] +} +``` + +Here, for the word "dimanĉo" the functions will match also "dimancxo", "dimancho" +and even grammatically incorrect "dimanco". + +Try to match any possible way of writing the word. Don't forget the grammatical cases: + +```javascript +// In `ru` locale: +var matchMonthPatterns = { + narrow: /^[яфмаисонд]/i, + abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)/i, + wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i +} +``` + +and variations of short weekdays and months: + +```javascript +// In `ru` locale: +var matchDayPatterns = { + narrow: /^[впсч]/i, + short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i, + abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i, + wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i +} +``` + +(here, the `abbreviated` pattern will match both `вск` and `вос` as the short of `воскресенье` {Sunday}) + +In `match.ordinalNumber` match ordinal numbers as well as non-ordinal numbers: + +```javascript +// In `en-US` locale: +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i +``` + +Don't forget the grammatical genders: + +```javascript +// In `ru` locale: +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i +``` + +### formatDistance + +`formatDistance` property of locale is a function which takes three arguments: +token passed by date-fns' `formatDistance` function (e.g. 'lessThanXMinutes'), +a number of units to be displayed by the function +(e.g. `locale.formatDistance('lessThanXMinutes', 5)` would display localized 'less than 5 minutes') +and object with options. + +Your best guess is to copy `formatDistance` property from another locale and change the values. + +### Tests + +To test locales we use snapshots. See [`en-US` snapshot](https://github.com/date-fns/date-fns/blob/master/src/locale/en-US/snapshot.md) for an example. + +To generate snapshots, run `yarn locale-snapshots`. The snapshot for the locale +you're working on will appear in the root locale directory (e.g. `src/locales/ru/snapshot.md`). + +Once you are done with the locale, generate the snapshot and review the output values. + +## Creating a locale with the same language as another locale + +Import the locale properties already implemented for the language, +but replace unique properties. + +```javascript +// Same as en-US +import formatDistance from '../en-US/_lib/formatDistance/index.js' +import formatRelative from '../en-US/_lib/formatRelative/index.js' +import localize from '../en-US/_lib/localize/index.js' +import match from '../en-US/_lib/match/index.js' + +// Unique for en-GB +import formatLong from './_lib/formatLong/index.js' + +/** + * @type {Locale} + * @category Locales + * @summary English locale (United Kingdom). + * @language English + * @iso-639-2 eng + * @author John Doe [@example]{@link https://github.com/example} + */ +var locale = { + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + + // Unique for en-GB + options: { + weekStartsOn: 1, + firstWeekContainsDate: 4 + } +} + +export default locale +``` diff --git a/node_modules/date-fns/docs/index.js b/node_modules/date-fns/docs/index.js new file mode 100644 index 000000000..bd8ee265c --- /dev/null +++ b/node_modules/date-fns/docs/index.js @@ -0,0 +1,147 @@ +const path = require('path') + +module.exports = { + groups: [ + 'General', + 'Types', + 'Common Helpers', + 'Conversion Helpers', + 'Interval Helpers', + 'Timestamp Helpers', + 'Millisecond Helpers', + 'Second Helpers', + 'Minute Helpers', + 'Hour Helpers', + 'Day Helpers', + 'Weekday Helpers', + 'Week Helpers', + 'ISO Week Helpers', + 'Month Helpers', + 'Quarter Helpers', + 'Year Helpers', + 'ISO Week-Numbering Year Helpers', + 'Decade Helpers', + ], + + staticDocs: [ + { + type: 'markdown', + urlId: 'Getting-Started', + category: 'General', + title: 'Getting Started', + description: 'Introduction & installation instructions', + path: path.join(__dirname, 'gettingStarted.md'), + }, + { + type: 'markdown', + urlId: 'Change-Log', + category: 'General', + title: 'Change Log', + description: 'Changes for each version of the library', + path: path.join(__dirname, '..', 'CHANGELOG.md'), + }, + { + type: 'markdown', + urlId: 'Contributing', + category: 'General', + title: 'Contributing', + description: 'Contribution manual', + path: path.join(__dirname, '..', 'CONTRIBUTING.md'), + }, + { + type: 'markdown', + urlId: 'Constants', + category: 'General', + title: 'Constants', + description: 'Useful constants', + path: path.join(__dirname, 'constants.md'), + }, + { + type: 'markdown', + urlId: 'I18n', + category: 'General', + title: 'I18n', + description: 'Internationalization', + path: path.join(__dirname, 'i18n.md'), + }, + { + type: 'markdown', + urlId: 'I18n-Contribution-Guide', + category: 'General', + title: 'I18n Contribution Guide', + description: 'Locales manual', + path: path.join(__dirname, 'i18nContributionGuide.md'), + }, + { + type: 'markdown', + urlId: 'Time-Zones', + category: 'General', + title: 'Time Zones', + description: 'Time zone functions', + path: path.join(__dirname, 'timeZones.md'), + }, + { + type: 'markdown', + urlId: 'ECMAScript-Modules', + category: 'General', + title: 'ECMAScript Modules', + description: 'Tree-shaking guide', + path: path.join(__dirname, 'esm.md'), + }, + { + type: 'markdown', + urlId: 'webpack', + category: 'General', + title: 'webpack', + description: 'Using date-fns with webpack', + path: path.join(__dirname, 'webpack.md'), + }, + { + type: 'markdown', + urlId: 'FP-Guide', + category: 'General', + title: 'FP Guide', + description: 'Curried functions', + path: path.join(__dirname, 'fp.md'), + }, + { + type: 'markdown', + urlId: 'Unicode-Tokens', + category: 'General', + title: 'Unicode Tokens', + description: 'Usage of the Unicode tokens in parse and format', + path: path.join(__dirname, 'unicodeTokens.md'), + }, + { + type: 'markdown', + urlId: 'Upgrade-Guide', + category: 'General', + title: 'Upgrade guide', + description: 'Changes from v1 to v2', + path: path.join(__dirname, 'upgradeGuide.md'), + }, + { + type: 'markdown', + urlId: 'License', + category: 'General', + title: 'License', + description: 'MIT © Sasha Koss', + path: path.join(__dirname, '..', 'LICENSE.md'), + }, + ], + + sharedDocs: [ + { + fullPath: path.join(__dirname, 'Interval.js'), + }, + { + fullPath: path.join(__dirname, 'Locale.js'), + }, + { + fullPath: path.join(__dirname, 'Duration.js'), + }, + { + fullPath: path.join(__dirname, 'Day.js'), + }, + ], +} diff --git a/node_modules/date-fns/docs/logo.svg b/node_modules/date-fns/docs/logo.svg new file mode 100644 index 000000000..212e227be --- /dev/null +++ b/node_modules/date-fns/docs/logo.svg @@ -0,0 +1,26 @@ + + + + Slice 1 + Created with Sketch. + + + + + \ No newline at end of file diff --git a/node_modules/date-fns/docs/logotype.svg b/node_modules/date-fns/docs/logotype.svg new file mode 100644 index 000000000..8b2a3a464 --- /dev/null +++ b/node_modules/date-fns/docs/logotype.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/date-fns/docs/release.md b/node_modules/date-fns/docs/release.md new file mode 100644 index 000000000..e0639fb37 --- /dev/null +++ b/node_modules/date-fns/docs/release.md @@ -0,0 +1,19 @@ +# Releasing date-fns + +1. First, make sure that the library is built by running `./scripts/build/build.sh` and committing and pushing any change you would have. + +2. Then add the changelog entry generated by `yarn ts-node scripts/release/buildChangelog.ts` to [CHANGELOG.md](../CHANGELOG.md). Make sure that the output is valid Markdown and fix if there're any errors. Commit and push the file. + +3. Using the version that the changelog script generated, run the command: + + ```bash + env VERSION="vX.XX.X" APP_ENV="production" GOOGLE_APPLICATION_CREDENTIALS="secrets/production/key.json" ./scripts/release/release.sh + ``` + + The script will change `package.json`. **Do not commit the change, and reset it instead**. + +4. Now when the package is published, go to [GitHub Releases](https://github.com/date-fns/date-fns/releases) and draft a new version using the changelog entry you generated earlier. + +5. Finally, write an announce tweet using the created GitHub release as the tweet link. + +You're done, great job! diff --git a/node_modules/date-fns/docs/timeZones.md b/node_modules/date-fns/docs/timeZones.md new file mode 100644 index 000000000..54eb90b66 --- /dev/null +++ b/node_modules/date-fns/docs/timeZones.md @@ -0,0 +1,63 @@ +# Time Zones + +## Table of Contents + +- [Overview](#overview) + +- [`date-fns-tz`](#date-fns-tz) + +## Overview + +Working with UTC or ISO date strings is easy, and so is working with JS dates when all times +are displayed in a user's local time in the browser. The difficulty comes when working with another +time zone's local time, other than the current system's, like showing the local time of an event in LA +at 8pm PST on a Node server in Europe or a user's machine set to EST. + +In this case there are two relevant pieces of information: + +- a fixed moment in time in the form of a timestamp, UTC or ISO date string, and +- the time zone descriptor, usually an offset or IANA time zone name (e.g. `America/Los_Angeles`). + +Libraries like Moment and Luxon, which provide their own date time classes, manage these timestamp and time +zone values internally. Since `date-fns` always returns a plain JS Date, which implicitly has the current +system's time zone, helper functions are needed for handling common time zone related use cases. + +## [`date-fns-tz`](https://www.npmjs.com/package/date-fns-tz) + +Dependency free IANA time zone support is implemented via the +[Intl API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) to keep +actual time zone data out of code bundles. Modern browsers all support the +[necessary features](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Browser_compatibility), +and for those that don't a [polyfill](https://github.com/yahoo/date-time-format-timezone) can be used. + +Functions are provided for converting to and from a Date instance which will have the internal UTC time +adjusted so it prints to the correct time value in the associated time zone, regardless of the current +system time zone. The `date-fns` `format` function is extended with support for the `z...zzzz` tokens to +format long and short time zone names. + +Compatible with `date-fns` version 2 + +License: MIT + +### Synopsis + +```js +const { zonedTimeToUtc, utcToZonedTime, format } = require('date-fns-tz') + +// Set the date to "2018-09-01T16:01:36.386Z" +const utcDate = zonedTimeToUtc('2018-09-01 18:01:36.386', 'Europe/Berlin') + +// Obtain a Date instance that will render the equivalent Berlin time for the UTC date +const date = new Date('2018-09-01T16:01:36.386Z') +const timeZone = 'Europe/Berlin' +const zonedDate = utcToZonedTime(date, timeZone) +// zonedDate could be used to initialize a date picker or display the formatted local date/time + +// Set the output to "1.9.2018 18:01:36.386 GMT+02:00 (CEST)" +const pattern = 'd.M.yyyy HH:mm:ss.SSS \'GMT\' XXX (z)' +const output = format(zonedDate, pattern, { timeZone: 'Europe/Berlin' }) +``` + +### Links + +- [API / Usage Scenarios](https://github.com/marnusw/date-fns-tz#time-zone-helpers) diff --git a/node_modules/date-fns/docs/unicodeTokens.md b/node_modules/date-fns/docs/unicodeTokens.md new file mode 100644 index 000000000..5daf2829b --- /dev/null +++ b/node_modules/date-fns/docs/unicodeTokens.md @@ -0,0 +1,54 @@ +# Unicode Tokens + +Starting with v2, `format` and `parse` use [Unicode tokens]. + +The tokens are different from Moment.js and other libraries that opted to use +custom formatting rules. While usage of a standard ensures compatibility and +the future of the library, it causes confusion that this document intends +to resolve. + +## Popular mistakes + +There are 4 tokens that cause most of the confusion: + +- `D` and `DD` that represent the day of a year (1, 2, ..., 365, 366) + are often confused with `d` and `dd` that represent the day of a month + (1, 2, ..., 31). + +- `YY` and `YYYY` that represent the local week-numbering year (44, 01, 00, 17) + are often confused with `yy` and `yyyy` that represent the calendar year. + +```js +// ❌ Wrong! +format(new Date(), 'YYYY-MM-DD') +//=> 2018-10-283 + +// ✅ Correct +format(new Date(), 'yyyy-MM-dd') +//=> 2018-10-10 + +// ❌ Wrong! +parse('11.02.87', 'D.MM.YY', new Date()).toString() +//=> 'Sat Jan 11 1986 00:00:00 GMT+0200 (EET)' + +// ✅ Correct +parse('11.02.87', 'd.MM.yy', new Date()).toString() +//=> 'Wed Feb 11 1987 00:00:00 GMT+0200 (EET)' +``` + +To help with the issue, `format` and `parse` functions won't accept +these tokens without `useAdditionalDayOfYearTokens` option for `D` and `DD` and +`useAdditionalWeekYearTokens` options for `YY` and `YYYY`: + +```js +format(new Date(), 'D', { useAdditionalDayOfYearTokens: true }) +//=> '283' + +parse('365+1987', 'DD+YYYY', new Date(), { + useAdditionalDayOfYearTokens: true, + useAdditionalWeekYearTokens: true +}).toString() +//=> 'Wed Dec 31 1986 00:00:00 GMT+0200 (EET)' +``` + +[Unicode tokens]: https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table diff --git a/node_modules/date-fns/docs/upgradeGuide.md b/node_modules/date-fns/docs/upgradeGuide.md new file mode 100644 index 000000000..08e0337c9 --- /dev/null +++ b/node_modules/date-fns/docs/upgradeGuide.md @@ -0,0 +1,118 @@ +# v2 Upgrade Guide + +## Common changes + +This page covers a few of the most common problems people face when updating from v1 to v2. For a more detailed list of changes, look at the [change log for version 2.0.0](https://date-fns.org/docs/Change-Log). + +### Camel case naming schema + +Function submodules now use camelCase naming schema: + +```javascript +// Before v2.0.0 +import differenceInCalendarISOYears from 'date-fns/difference_in_calendar_iso_years' + +// v2.0.0 onward +import differenceInCalendarISOYears from 'date-fns/differenceInCalendarISOYears' +``` + +### New formatting tokens + +Starting with v2 `format` and `parse` uses [Unicode tokens]. + +See [Unicode Tokens doc](https://date-fns.org/docs/Unicode-Tokens) for more details. + +### String arguments + +Functions now don't accept strings as date arguments. Strings should +be parsed using `parseISO` (ISO 8601) or `parse`. + +See [this post](https://blog.date-fns.org/post/we-cut-date-fns-v2-minimal-build-size-down-to-300-bytes-and-now-its-the-smallest-date-library-18f2nvh2z0yal) for more details. + +```javascript +// Before v2.0.0 +addDays('2016-01-01', 1) + +// v2.0.0 onward +addDays(parseISO('2016-01-01'), 1) +``` + +### Arguments conversion + +All functions now implicitly convert arguments by following rules: + +| | date | number | string | boolean | +| --------- | ------------ | ------ | ----------- | ------- | +| 0 | new Date(0) | 0 | '0' | false | +| '0' | Invalid Date | 0 | '0' | false | +| 1 | new Date(1) | 1 | '1' | true | +| '1' | Invalid Date | 1 | '1' | true | +| true | Invalid Date | NaN | 'true' | true | +| false | Invalid Date | NaN | 'false' | false | +| null | Invalid Date | NaN | 'null' | false | +| undefined | Invalid Date | NaN | 'undefined' | false | +| NaN | Invalid Date | NaN | 'NaN' | false | + +Notes: + +- as before, arguments expected to be `Date` are converted to `Date` using _date-fns'_ `toDate` function; +- arguments expected to be numbers are converted to integer numbers using our custom `toInteger` implementation + (see [#765](https://github.com/date-fns/date-fns/pull/765)); +- arguments expected to be strings are converted to strings using JavaScript's `String` function; +- arguments expected to be booleans are converted to boolean using JavaScript's `Boolean` function. + +`null` and `undefined` passed to optional arguments (i.e. properties of `options` argument) +are ignored as if no argument was passed. + +If any argument is invalid (i.e. `NaN` for numbers and `Invalid Date` for dates), +an invalid value will be returned: + +- `false` for functions that return booleans (expect `isValid`); +- `Invalid Date` for functions that return dates; +- `NaN` for functions that return numbers; +- and `String('Invalid Date')` for functions that return strings. + +See tests and PRs [#460](https://github.com/date-fns/date-fns/pull/460) and +[#765](https://github.com/date-fns/date-fns/pull/765) for exact behavior. + +### `null` + +`null` now is not a valid date. `isValid(null)` returns `false`; +`toDate(null)` returns an invalid date. Since `toDate` is used internally +by all the functions, operations over `null` will also return an invalid date. +[See #537](https://github.com/date-fns/date-fns/issues/537) for the reasoning. + +### `RangeError` + +Functions now throw `RangeError` if optional values passed to `options` +are not `undefined` or have expected values. +This change is introduced for consistency with ECMAScript standard library which does the same. + +### `TypeError` + +All functions now check if the passed number of arguments is less +than the number of required arguments and throw `TypeError` exception if so. + +### UMD/CDN + +The Bower & UMD/CDN package versions are no longer supported. + +### New locale format + +See [docs/Locale](https://date-fns.org/docs/Locale). + +Locales renamed: + +- `en` → `en-US` +- `zh_cn` → `zh-CN` +- `zh_tw` → `zh-TW` + +```javascript +// Before v2.0.0 +import locale from 'date-fns/locale/zh_cn' + +// v2.0.0 onward +import locale from 'date-fns/locale/zh-CN' +``` + +[unicode tokens]: https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table diff --git a/node_modules/date-fns/docs/webpack.md b/node_modules/date-fns/docs/webpack.md new file mode 100644 index 000000000..37b043dea --- /dev/null +++ b/node_modules/date-fns/docs/webpack.md @@ -0,0 +1,48 @@ +# webpack + +## Removing unused languages from dynamic import + +If a locale is imported dynamically, then all locales from date-fns are loaded by webpack into a bundle (~160kb) or split across the chunks. This prolongs the build process and increases the amount of space taken. However, it is possible to use webpack to trim down languages using [ContextReplacementPlugin]. + +Let's assume that we have a single point in which supported locales are present: + +`config.js`: + +```js +// `see date-fns/src/locale` for available locales +export const supportedLocales = ['en-US', 'de', 'pl', 'it'] +``` + +We could also have a function that formats the date: + +```js +const getLocale = (locale) => import(`date-fns/locale/${locale}/index.js`) // or require() if using CommonJS + +const formatDate = (date, formatStyle, locale) => { + return format(date, formatStyle, { + locale: getLocale(locale), + }) +} +``` + +In order to exclude unused languages we can use webpacks [ContextReplacementPlugin]. + +`webpack.config.js`: + +```js +import webpack from 'webpack' +import { supportedLocales } from './config.js' + +export default const config = { + plugins: [ + new webpack.ContextReplacementPlugin( + /^date-fns[/\\]locale$/, + new RegExp(`\\.[/\\\\](${supportedLocales.join('|')})[/\\\\]index\\.js$`) + ) + ] +} +``` + +This results in a language bundle of ~23kb . + +[contextreplacementplugin]: https://webpack.js.org/plugins/context-replacement-plugin/ diff --git a/node_modules/date-fns/eachDayOfInterval/index.d.ts b/node_modules/date-fns/eachDayOfInterval/index.d.ts new file mode 100644 index 000000000..80fc0dc7a --- /dev/null +++ b/node_modules/date-fns/eachDayOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachDayOfInterval } from 'date-fns' +export default eachDayOfInterval diff --git a/node_modules/date-fns/eachDayOfInterval/index.js b/node_modules/date-fns/eachDayOfInterval/index.js new file mode 100644 index 000000000..729d2c430 --- /dev/null +++ b/node_modules/date-fns/eachDayOfInterval/index.js @@ -0,0 +1,65 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachDayOfInterval; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachDayOfInterval + * @category Interval Helpers + * @summary Return the array of dates within the specified time interval. + * + * @description + * Return the array of dates within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Number} [options.step=1] - the step to increment by. The value should be more than 1. + * @returns {Date[]} the array with starts of days from the day of the interval start to the day of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.step` must be a number greater than 1 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each day between 6 October 2014 and 10 October 2014: + * const result = eachDayOfInterval({ + * start: new Date(2014, 9, 6), + * end: new Date(2014, 9, 10) + * }) + * //=> [ + * // Mon Oct 06 2014 00:00:00, + * // Tue Oct 07 2014 00:00:00, + * // Wed Oct 08 2014 00:00:00, + * // Thu Oct 09 2014 00:00:00, + * // Fri Oct 10 2014 00:00:00 + * // ] + */ +function eachDayOfInterval(dirtyInterval, options) { + var _options$step; + (0, _index2.default)(1, arguments); + var interval = dirtyInterval || {}; + var startDate = (0, _index.default)(interval.start); + var endDate = (0, _index.default)(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + currentDate.setHours(0, 0, 0, 0); + var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1); + if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number greater than 1'); + while (currentDate.getTime() <= endTime) { + dates.push((0, _index.default)(currentDate)); + currentDate.setDate(currentDate.getDate() + step); + currentDate.setHours(0, 0, 0, 0); + } + return dates; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachDayOfInterval/index.js.flow b/node_modules/date-fns/eachDayOfInterval/index.js.flow new file mode 100644 index 000000000..5a9b8e456 --- /dev/null +++ b/node_modules/date-fns/eachDayOfInterval/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + step?: number, + } +) => Date[] diff --git a/node_modules/date-fns/eachDayOfInterval/package.json b/node_modules/date-fns/eachDayOfInterval/package.json new file mode 100644 index 000000000..e519978aa --- /dev/null +++ b/node_modules/date-fns/eachDayOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachDayOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachHourOfInterval/index.d.ts b/node_modules/date-fns/eachHourOfInterval/index.d.ts new file mode 100644 index 000000000..4c3addd3f --- /dev/null +++ b/node_modules/date-fns/eachHourOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachHourOfInterval } from 'date-fns' +export default eachHourOfInterval diff --git a/node_modules/date-fns/eachHourOfInterval/index.js b/node_modules/date-fns/eachHourOfInterval/index.js new file mode 100644 index 000000000..09048bae4 --- /dev/null +++ b/node_modules/date-fns/eachHourOfInterval/index.js @@ -0,0 +1,65 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachHourOfInterval; +var _index = _interopRequireDefault(require("../addHours/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachHourOfInterval + * @category Interval Helpers + * @summary Return the array of hours within the specified time interval. + * + * @description + * Return the array of hours within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Number} [options.step=1] - the step to increment by. The value should be more than 1. + * @returns {Date[]} the array with starts of hours from the hour of the interval start to the hour of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.step` must be a number greater than 1 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each hour between 6 October 2014, 12:00 and 6 October 2014, 15:00 + * const result = eachHourOfInterval({ + * start: new Date(2014, 9, 6, 12), + * end: new Date(2014, 9, 6, 15) + * }) + * //=> [ + * // Mon Oct 06 2014 12:00:00, + * // Mon Oct 06 2014 13:00:00, + * // Mon Oct 06 2014 14:00:00, + * // Mon Oct 06 2014 15:00:00 + * // ] + */ +function eachHourOfInterval(dirtyInterval, options) { + var _options$step; + (0, _index3.default)(1, arguments); + var interval = dirtyInterval || {}; + var startDate = (0, _index2.default)(interval.start); + var endDate = (0, _index2.default)(interval.end); + var startTime = startDate.getTime(); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startTime <= endTime)) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + currentDate.setMinutes(0, 0, 0); + var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1); + if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number greater than 1'); + while (currentDate.getTime() <= endTime) { + dates.push((0, _index2.default)(currentDate)); + currentDate = (0, _index.default)(currentDate, step); + } + return dates; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachHourOfInterval/index.js.flow b/node_modules/date-fns/eachHourOfInterval/index.js.flow new file mode 100644 index 000000000..5a9b8e456 --- /dev/null +++ b/node_modules/date-fns/eachHourOfInterval/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + step?: number, + } +) => Date[] diff --git a/node_modules/date-fns/eachHourOfInterval/package.json b/node_modules/date-fns/eachHourOfInterval/package.json new file mode 100644 index 000000000..4e804cba5 --- /dev/null +++ b/node_modules/date-fns/eachHourOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachHourOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachMinuteOfInterval/index.d.ts b/node_modules/date-fns/eachMinuteOfInterval/index.d.ts new file mode 100644 index 000000000..f96a5e9ab --- /dev/null +++ b/node_modules/date-fns/eachMinuteOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMinuteOfInterval } from 'date-fns' +export default eachMinuteOfInterval diff --git a/node_modules/date-fns/eachMinuteOfInterval/index.js b/node_modules/date-fns/eachMinuteOfInterval/index.js new file mode 100644 index 000000000..db7bd0824 --- /dev/null +++ b/node_modules/date-fns/eachMinuteOfInterval/index.js @@ -0,0 +1,62 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachMinuteOfInterval; +var _index = _interopRequireDefault(require("../addMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../startOfMinute/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachMinuteOfInterval + * @category Interval Helpers + * @summary Return the array of minutes within the specified time interval. + * + * @description + * Returns the array of minutes within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Number} [options.step=1] - the step to increment by. The step must be equal to or greater than 1 + * @throws {TypeError} 1 argument required + * @returns {Date[]} the array with starts of minutes from the minute of the interval start to the minute of the interval end + * @throws {RangeError} `options.step` must be a number equal to or greater than 1 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each minute between 14 October 2020, 13:00 and 14 October 2020, 13:03 + * const result = eachMinuteOfInterval({ + * start: new Date(2014, 9, 14, 13), + * end: new Date(2014, 9, 14, 13, 3) + * }) + * //=> [ + * // Wed Oct 14 2014 13:00:00, + * // Wed Oct 14 2014 13:01:00, + * // Wed Oct 14 2014 13:02:00, + * // Wed Oct 14 2014 13:03:00 + * // ] + */ +function eachMinuteOfInterval(interval, options) { + var _options$step; + (0, _index4.default)(1, arguments); + var startDate = (0, _index3.default)((0, _index2.default)(interval.start)); + var endDate = (0, _index2.default)(interval.end); + var startTime = startDate.getTime(); + var endTime = endDate.getTime(); + if (startTime >= endTime) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1); + if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number equal to or greater than 1'); + while (currentDate.getTime() <= endTime) { + dates.push((0, _index2.default)(currentDate)); + currentDate = (0, _index.default)(currentDate, step); + } + return dates; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachMinuteOfInterval/index.js.flow b/node_modules/date-fns/eachMinuteOfInterval/index.js.flow new file mode 100644 index 000000000..5a9b8e456 --- /dev/null +++ b/node_modules/date-fns/eachMinuteOfInterval/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + step?: number, + } +) => Date[] diff --git a/node_modules/date-fns/eachMinuteOfInterval/package.json b/node_modules/date-fns/eachMinuteOfInterval/package.json new file mode 100644 index 000000000..5dde444a7 --- /dev/null +++ b/node_modules/date-fns/eachMinuteOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachMinuteOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachMonthOfInterval/index.d.ts b/node_modules/date-fns/eachMonthOfInterval/index.d.ts new file mode 100644 index 000000000..bda4a1868 --- /dev/null +++ b/node_modules/date-fns/eachMonthOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMonthOfInterval } from 'date-fns' +export default eachMonthOfInterval diff --git a/node_modules/date-fns/eachMonthOfInterval/index.js b/node_modules/date-fns/eachMonthOfInterval/index.js new file mode 100644 index 000000000..065c04e89 --- /dev/null +++ b/node_modules/date-fns/eachMonthOfInterval/index.js @@ -0,0 +1,61 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachMonthOfInterval; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachMonthOfInterval + * @category Interval Helpers + * @summary Return the array of months within the specified time interval. + * + * @description + * Return the array of months within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} the array with starts of months from the month of the interval start to the month of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each month between 6 February 2014 and 10 August 2014: + * const result = eachMonthOfInterval({ + * start: new Date(2014, 1, 6), + * end: new Date(2014, 7, 10) + * }) + * //=> [ + * // Sat Feb 01 2014 00:00:00, + * // Sat Mar 01 2014 00:00:00, + * // Tue Apr 01 2014 00:00:00, + * // Thu May 01 2014 00:00:00, + * // Sun Jun 01 2014 00:00:00, + * // Tue Jul 01 2014 00:00:00, + * // Fri Aug 01 2014 00:00:00 + * // ] + */ +function eachMonthOfInterval(dirtyInterval) { + (0, _index2.default)(1, arguments); + var interval = dirtyInterval || {}; + var startDate = (0, _index.default)(interval.start); + var endDate = (0, _index.default)(interval.end); + var endTime = endDate.getTime(); + var dates = []; + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var currentDate = startDate; + currentDate.setHours(0, 0, 0, 0); + currentDate.setDate(1); + while (currentDate.getTime() <= endTime) { + dates.push((0, _index.default)(currentDate)); + currentDate.setMonth(currentDate.getMonth() + 1); + } + return dates; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachMonthOfInterval/index.js.flow b/node_modules/date-fns/eachMonthOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/eachMonthOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/eachMonthOfInterval/package.json b/node_modules/date-fns/eachMonthOfInterval/package.json new file mode 100644 index 000000000..69504bf26 --- /dev/null +++ b/node_modules/date-fns/eachMonthOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachMonthOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachQuarterOfInterval/index.d.ts b/node_modules/date-fns/eachQuarterOfInterval/index.d.ts new file mode 100644 index 000000000..879b5485f --- /dev/null +++ b/node_modules/date-fns/eachQuarterOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachQuarterOfInterval } from 'date-fns' +export default eachQuarterOfInterval diff --git a/node_modules/date-fns/eachQuarterOfInterval/index.js b/node_modules/date-fns/eachQuarterOfInterval/index.js new file mode 100644 index 000000000..c588c9b51 --- /dev/null +++ b/node_modules/date-fns/eachQuarterOfInterval/index.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachQuarterOfInterval; +var _index = _interopRequireDefault(require("../addQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../startOfQuarter/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachQuarterOfInterval + * @category Interval Helpers + * @summary Return the array of quarters within the specified time interval. + * + * @description + * Return the array of quarters within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} the array with starts of quarters from the quarter of the interval start to the quarter of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each quarter within interval 6 February 2014 - 10 August 2014: + * const result = eachQuarterOfInterval({ + * start: new Date(2014, 1, 6), + * end: new Date(2014, 7, 10) + * }) + * //=> [ + * // Wed Jan 01 2014 00:00:00, + * // Tue Apr 01 2014 00:00:00, + * // Tue Jul 01 2014 00:00:00, + * // ] + */ +function eachQuarterOfInterval(dirtyInterval) { + (0, _index4.default)(1, arguments); + var interval = dirtyInterval || {}; + var startDate = (0, _index3.default)(interval.start); + var endDate = (0, _index3.default)(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var startDateQuarter = (0, _index2.default)(startDate); + var endDateQuarter = (0, _index2.default)(endDate); + endTime = endDateQuarter.getTime(); + var quarters = []; + var currentQuarter = startDateQuarter; + while (currentQuarter.getTime() <= endTime) { + quarters.push((0, _index3.default)(currentQuarter)); + currentQuarter = (0, _index.default)(currentQuarter, 1); + } + return quarters; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachQuarterOfInterval/index.js.flow b/node_modules/date-fns/eachQuarterOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/eachQuarterOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/eachQuarterOfInterval/package.json b/node_modules/date-fns/eachQuarterOfInterval/package.json new file mode 100644 index 000000000..73d61da1c --- /dev/null +++ b/node_modules/date-fns/eachQuarterOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachQuarterOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekOfInterval/index.d.ts b/node_modules/date-fns/eachWeekOfInterval/index.d.ts new file mode 100644 index 000000000..24d1a8aef --- /dev/null +++ b/node_modules/date-fns/eachWeekOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekOfInterval } from 'date-fns' +export default eachWeekOfInterval diff --git a/node_modules/date-fns/eachWeekOfInterval/index.js b/node_modules/date-fns/eachWeekOfInterval/index.js new file mode 100644 index 000000000..11000c933 --- /dev/null +++ b/node_modules/date-fns/eachWeekOfInterval/index.js @@ -0,0 +1,75 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachWeekOfInterval; +var _index = _interopRequireDefault(require("../addWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachWeekOfInterval + * @category Interval Helpers + * @summary Return the array of weeks within the specified time interval. + * + * @description + * Return the array of weeks within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date[]} the array with starts of weeks from the week of the interval start to the week of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be 0, 1, ..., 6 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each week within interval 6 October 2014 - 23 November 2014: + * const result = eachWeekOfInterval({ + * start: new Date(2014, 9, 6), + * end: new Date(2014, 10, 23) + * }) + * //=> [ + * // Sun Oct 05 2014 00:00:00, + * // Sun Oct 12 2014 00:00:00, + * // Sun Oct 19 2014 00:00:00, + * // Sun Oct 26 2014 00:00:00, + * // Sun Nov 02 2014 00:00:00, + * // Sun Nov 09 2014 00:00:00, + * // Sun Nov 16 2014 00:00:00, + * // Sun Nov 23 2014 00:00:00 + * // ] + */ +function eachWeekOfInterval(dirtyInterval, options) { + (0, _index4.default)(1, arguments); + var interval = dirtyInterval || {}; + var startDate = (0, _index3.default)(interval.start); + var endDate = (0, _index3.default)(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var startDateWeek = (0, _index2.default)(startDate, options); + var endDateWeek = (0, _index2.default)(endDate, options); + + // Some timezones switch DST at midnight, making start of day unreliable in these timezones, 3pm is a safe bet + startDateWeek.setHours(15); + endDateWeek.setHours(15); + endTime = endDateWeek.getTime(); + var weeks = []; + var currentWeek = startDateWeek; + while (currentWeek.getTime() <= endTime) { + currentWeek.setHours(0); + weeks.push((0, _index3.default)(currentWeek)); + currentWeek = (0, _index.default)(currentWeek, 1); + currentWeek.setHours(15); + } + return weeks; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekOfInterval/index.js.flow b/node_modules/date-fns/eachWeekOfInterval/index.js.flow new file mode 100644 index 000000000..bc8cd5a0c --- /dev/null +++ b/node_modules/date-fns/eachWeekOfInterval/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date[] diff --git a/node_modules/date-fns/eachWeekOfInterval/package.json b/node_modules/date-fns/eachWeekOfInterval/package.json new file mode 100644 index 000000000..eac3c5430 --- /dev/null +++ b/node_modules/date-fns/eachWeekOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachWeekOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekendOfInterval/index.d.ts b/node_modules/date-fns/eachWeekendOfInterval/index.d.ts new file mode 100644 index 000000000..c0b3fea21 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfInterval } from 'date-fns' +export default eachWeekendOfInterval diff --git a/node_modules/date-fns/eachWeekendOfInterval/index.js b/node_modules/date-fns/eachWeekendOfInterval/index.js new file mode 100644 index 000000000..46e526571 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfInterval/index.js @@ -0,0 +1,53 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachWeekendOfInterval; +var _index = _interopRequireDefault(require("../eachDayOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../isSunday/index.js")); +var _index3 = _interopRequireDefault(require("../isWeekend/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachWeekendOfInterval + * @category Interval Helpers + * @summary List all the Saturdays and Sundays in the given date interval. + * + * @description + * Get all the Saturdays and Sundays in the given date interval. + * + * @param {Interval} interval - the given interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} an array containing all the Saturdays and Sundays + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Lists all Saturdays and Sundays in the given date interval + * const result = eachWeekendOfInterval({ + * start: new Date(2018, 8, 17), + * end: new Date(2018, 8, 30) + * }) + * //=> [ + * // Sat Sep 22 2018 00:00:00, + * // Sun Sep 23 2018 00:00:00, + * // Sat Sep 29 2018 00:00:00, + * // Sun Sep 30 2018 00:00:00 + * // ] + */ +function eachWeekendOfInterval(interval) { + (0, _index4.default)(1, arguments); + var dateInterval = (0, _index.default)(interval); + var weekends = []; + var index = 0; + while (index < dateInterval.length) { + var date = dateInterval[index++]; + if ((0, _index3.default)(date)) { + weekends.push(date); + if ((0, _index2.default)(date)) index = index + 5; + } + } + return weekends; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekendOfInterval/index.js.flow b/node_modules/date-fns/eachWeekendOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/eachWeekendOfInterval/package.json b/node_modules/date-fns/eachWeekendOfInterval/package.json new file mode 100644 index 000000000..66648a9ed --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachWeekendOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekendOfMonth/index.d.ts b/node_modules/date-fns/eachWeekendOfMonth/index.d.ts new file mode 100644 index 000000000..cb01c45e9 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfMonth } from 'date-fns' +export default eachWeekendOfMonth diff --git a/node_modules/date-fns/eachWeekendOfMonth/index.js b/node_modules/date-fns/eachWeekendOfMonth/index.js new file mode 100644 index 000000000..671dcaa6a --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfMonth/index.js @@ -0,0 +1,49 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachWeekendOfMonth; +var _index = _interopRequireDefault(require("../eachWeekendOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../startOfMonth/index.js")); +var _index3 = _interopRequireDefault(require("../endOfMonth/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachWeekendOfMonth + * @category Month Helpers + * @summary List all the Saturdays and Sundays in the given month. + * + * @description + * Get all the Saturdays and Sundays in the given month. + * + * @param {Date|Number} date - the given month + * @returns {Date[]} an array containing all the Saturdays and Sundays + * @throws {TypeError} 1 argument required + * @throws {RangeError} The passed date is invalid + * + * @example + * // Lists all Saturdays and Sundays in the given month + * const result = eachWeekendOfMonth(new Date(2022, 1, 1)) + * //=> [ + * // Sat Feb 05 2022 00:00:00, + * // Sun Feb 06 2022 00:00:00, + * // Sat Feb 12 2022 00:00:00, + * // Sun Feb 13 2022 00:00:00, + * // Sat Feb 19 2022 00:00:00, + * // Sun Feb 20 2022 00:00:00, + * // Sat Feb 26 2022 00:00:00, + * // Sun Feb 27 2022 00:00:00 + * // ] + */ +function eachWeekendOfMonth(dirtyDate) { + (0, _index4.default)(1, arguments); + var startDate = (0, _index2.default)(dirtyDate); + if (isNaN(startDate.getTime())) throw new RangeError('The passed date is invalid'); + var endDate = (0, _index3.default)(dirtyDate); + return (0, _index.default)({ + start: startDate, + end: endDate + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekendOfMonth/index.js.flow b/node_modules/date-fns/eachWeekendOfMonth/index.js.flow new file mode 100644 index 000000000..7073332eb --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date[] diff --git a/node_modules/date-fns/eachWeekendOfMonth/package.json b/node_modules/date-fns/eachWeekendOfMonth/package.json new file mode 100644 index 000000000..44b44a058 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachWeekendOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekendOfYear/index.d.ts b/node_modules/date-fns/eachWeekendOfYear/index.d.ts new file mode 100644 index 000000000..7cda9d16c --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfYear } from 'date-fns' +export default eachWeekendOfYear diff --git a/node_modules/date-fns/eachWeekendOfYear/index.js b/node_modules/date-fns/eachWeekendOfYear/index.js new file mode 100644 index 000000000..b4a7d1d05 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfYear/index.js @@ -0,0 +1,45 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachWeekendOfYear; +var _index = _interopRequireDefault(require("../eachWeekendOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../endOfYear/index.js")); +var _index3 = _interopRequireDefault(require("../startOfYear/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachWeekendOfYear + * @category Year Helpers + * @summary List all the Saturdays and Sundays in the year. + * + * @description + * Get all the Saturdays and Sundays in the year. + * + * @param {Date|Number} date - the given year + * @returns {Date[]} an array containing all the Saturdays and Sundays + * @throws {TypeError} 1 argument required + * @throws {RangeError} The passed date is invalid + * + * @example + * // Lists all Saturdays and Sundays in the year + * const result = eachWeekendOfYear(new Date(2020, 1, 1)) + * //=> [ + * // Sat Jan 03 2020 00:00:00, + * // Sun Jan 04 2020 00:00:00, + * // ... + * // Sun Dec 27 2020 00:00:00 + * // ] + * ] + */ +function eachWeekendOfYear(dirtyDate) { + (0, _index4.default)(1, arguments); + var startDate = (0, _index3.default)(dirtyDate); + var endDate = (0, _index2.default)(dirtyDate); + return (0, _index.default)({ + start: startDate, + end: endDate + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachWeekendOfYear/index.js.flow b/node_modules/date-fns/eachWeekendOfYear/index.js.flow new file mode 100644 index 000000000..7073332eb --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date[] diff --git a/node_modules/date-fns/eachWeekendOfYear/package.json b/node_modules/date-fns/eachWeekendOfYear/package.json new file mode 100644 index 000000000..0811f25e8 --- /dev/null +++ b/node_modules/date-fns/eachWeekendOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachWeekendOfYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/eachYearOfInterval/index.d.ts b/node_modules/date-fns/eachYearOfInterval/index.d.ts new file mode 100644 index 000000000..d6d5d5d26 --- /dev/null +++ b/node_modules/date-fns/eachYearOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachYearOfInterval } from 'date-fns' +export default eachYearOfInterval diff --git a/node_modules/date-fns/eachYearOfInterval/index.js b/node_modules/date-fns/eachYearOfInterval/index.js new file mode 100644 index 000000000..28ed0feba --- /dev/null +++ b/node_modules/date-fns/eachYearOfInterval/index.js @@ -0,0 +1,58 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = eachYearOfInterval; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name eachYearOfInterval + * @category Interval Helpers + * @summary Return the array of yearly timestamps within the specified time interval. + * + * @description + * Return the array of yearly timestamps within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} the array with starts of yearly timestamps from the month of the interval start to the month of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each year between 6 February 2014 and 10 August 2017: + * const result = eachYearOfInterval({ + * start: new Date(2014, 1, 6), + * end: new Date(2017, 7, 10) + * }) + * //=> [ + * // Wed Jan 01 2014 00:00:00, + * // Thu Jan 01 2015 00:00:00, + * // Fri Jan 01 2016 00:00:00, + * // Sun Jan 01 2017 00:00:00 + * // ] + */ +function eachYearOfInterval(dirtyInterval) { + (0, _index2.default)(1, arguments); + var interval = dirtyInterval || {}; + var startDate = (0, _index.default)(interval.start); + var endDate = (0, _index.default)(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + currentDate.setHours(0, 0, 0, 0); + currentDate.setMonth(0, 1); + while (currentDate.getTime() <= endTime) { + dates.push((0, _index.default)(currentDate)); + currentDate.setFullYear(currentDate.getFullYear() + 1); + } + return dates; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/eachYearOfInterval/index.js.flow b/node_modules/date-fns/eachYearOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/eachYearOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/eachYearOfInterval/package.json b/node_modules/date-fns/eachYearOfInterval/package.json new file mode 100644 index 000000000..e0b941e35 --- /dev/null +++ b/node_modules/date-fns/eachYearOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/eachYearOfInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfDay/index.d.ts b/node_modules/date-fns/endOfDay/index.d.ts new file mode 100644 index 000000000..2ce617264 --- /dev/null +++ b/node_modules/date-fns/endOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDay } from 'date-fns' +export default endOfDay diff --git a/node_modules/date-fns/endOfDay/index.js b/node_modules/date-fns/endOfDay/index.js new file mode 100644 index 000000000..e3d39ecb3 --- /dev/null +++ b/node_modules/date-fns/endOfDay/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfDay; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfDay + * @category Day Helpers + * @summary Return the end of a day for the given date. + * + * @description + * Return the end of a day for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a day + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a day for 2 September 2014 11:55:00: + * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 02 2014 23:59:59.999 + */ +function endOfDay(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfDay/index.js.flow b/node_modules/date-fns/endOfDay/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfDay/package.json b/node_modules/date-fns/endOfDay/package.json new file mode 100644 index 000000000..afc048599 --- /dev/null +++ b/node_modules/date-fns/endOfDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfDecade/index.d.ts b/node_modules/date-fns/endOfDecade/index.d.ts new file mode 100644 index 000000000..c723f1386 --- /dev/null +++ b/node_modules/date-fns/endOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDecade } from 'date-fns' +export default endOfDecade diff --git a/node_modules/date-fns/endOfDecade/index.js b/node_modules/date-fns/endOfDecade/index.js new file mode 100644 index 000000000..e3f575b1c --- /dev/null +++ b/node_modules/date-fns/endOfDecade/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfDecade; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfDecade + * @category Decade Helpers + * @summary Return the end of a decade for the given date. + * + * @description + * Return the end of a decade for the given date. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a decade + * @param {Object} [options] - an object with options. + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The end of a decade for 12 May 1984 00:00:00: + * const result = endOfDecade(new Date(1984, 4, 12, 00, 00, 00)) + * //=> Dec 31 1989 23:59:59.999 + */ +function endOfDecade(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + var decade = 9 + Math.floor(year / 10) * 10; + date.setFullYear(decade, 11, 31); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfDecade/index.js.flow b/node_modules/date-fns/endOfDecade/index.js.flow new file mode 100644 index 000000000..364a3bb2f --- /dev/null +++ b/node_modules/date-fns/endOfDecade/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } +) => Date diff --git a/node_modules/date-fns/endOfDecade/package.json b/node_modules/date-fns/endOfDecade/package.json new file mode 100644 index 000000000..527d92ad7 --- /dev/null +++ b/node_modules/date-fns/endOfDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfDecade/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfHour/index.d.ts b/node_modules/date-fns/endOfHour/index.d.ts new file mode 100644 index 000000000..10ab321c5 --- /dev/null +++ b/node_modules/date-fns/endOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfHour } from 'date-fns' +export default endOfHour diff --git a/node_modules/date-fns/endOfHour/index.js b/node_modules/date-fns/endOfHour/index.js new file mode 100644 index 000000000..cc61879c9 --- /dev/null +++ b/node_modules/date-fns/endOfHour/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfHour; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfHour + * @category Hour Helpers + * @summary Return the end of an hour for the given date. + * + * @description + * Return the end of an hour for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an hour + * @throws {TypeError} 1 argument required + * + * @example + * // The end of an hour for 2 September 2014 11:55:00: + * const result = endOfHour(new Date(2014, 8, 2, 11, 55)) + * //=> Tue Sep 02 2014 11:59:59.999 + */ +function endOfHour(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setMinutes(59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfHour/index.js.flow b/node_modules/date-fns/endOfHour/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfHour/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfHour/package.json b/node_modules/date-fns/endOfHour/package.json new file mode 100644 index 000000000..4270453ec --- /dev/null +++ b/node_modules/date-fns/endOfHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfHour/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfISOWeek/index.d.ts b/node_modules/date-fns/endOfISOWeek/index.d.ts new file mode 100644 index 000000000..10c33653e --- /dev/null +++ b/node_modules/date-fns/endOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeek } from 'date-fns' +export default endOfISOWeek diff --git a/node_modules/date-fns/endOfISOWeek/index.js b/node_modules/date-fns/endOfISOWeek/index.js new file mode 100644 index 000000000..6f23bdd06 --- /dev/null +++ b/node_modules/date-fns/endOfISOWeek/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfISOWeek; +var _index = _interopRequireDefault(require("../endOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfISOWeek + * @category ISO Week Helpers + * @summary Return the end of an ISO week for the given date. + * + * @description + * Return the end of an ISO week for the given date. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // The end of an ISO week for 2 September 2014 11:55:00: + * const result = endOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Sep 07 2014 23:59:59.999 + */ +function endOfISOWeek(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, { + weekStartsOn: 1 + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfISOWeek/index.js.flow b/node_modules/date-fns/endOfISOWeek/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfISOWeek/package.json b/node_modules/date-fns/endOfISOWeek/package.json new file mode 100644 index 000000000..cb1248564 --- /dev/null +++ b/node_modules/date-fns/endOfISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfISOWeekYear/index.d.ts b/node_modules/date-fns/endOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..18783085b --- /dev/null +++ b/node_modules/date-fns/endOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeekYear } from 'date-fns' +export default endOfISOWeekYear diff --git a/node_modules/date-fns/endOfISOWeekYear/index.js b/node_modules/date-fns/endOfISOWeekYear/index.js new file mode 100644 index 000000000..a9aaa0714 --- /dev/null +++ b/node_modules/date-fns/endOfISOWeekYear/index.js @@ -0,0 +1,42 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfISOWeekYear; +var _index = _interopRequireDefault(require("../getISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../startOfISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Return the end of an ISO week-numbering year for the given date. + * + * @description + * Return the end of an ISO week-numbering year, + * which always starts 3 days before the year's first Thursday. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // The end of an ISO week-numbering year for 2 July 2005: + * const result = endOfISOWeekYear(new Date(2005, 6, 2)) + * //=> Sun Jan 01 2006 23:59:59.999 + */ +function endOfISOWeekYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var year = (0, _index.default)(dirtyDate); + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0); + var date = (0, _index2.default)(fourthOfJanuaryOfNextYear); + date.setMilliseconds(date.getMilliseconds() - 1); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfISOWeekYear/index.js.flow b/node_modules/date-fns/endOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfISOWeekYear/package.json b/node_modules/date-fns/endOfISOWeekYear/package.json new file mode 100644 index 000000000..6603f57d0 --- /dev/null +++ b/node_modules/date-fns/endOfISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfISOWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfMinute/index.d.ts b/node_modules/date-fns/endOfMinute/index.d.ts new file mode 100644 index 000000000..82d1b5d56 --- /dev/null +++ b/node_modules/date-fns/endOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMinute } from 'date-fns' +export default endOfMinute diff --git a/node_modules/date-fns/endOfMinute/index.js b/node_modules/date-fns/endOfMinute/index.js new file mode 100644 index 000000000..6b3bee069 --- /dev/null +++ b/node_modules/date-fns/endOfMinute/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfMinute; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfMinute + * @category Minute Helpers + * @summary Return the end of a minute for the given date. + * + * @description + * Return the end of a minute for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a minute + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a minute for 1 December 2014 22:15:45.400: + * const result = endOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:59.999 + */ +function endOfMinute(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setSeconds(59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfMinute/index.js.flow b/node_modules/date-fns/endOfMinute/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfMinute/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfMinute/package.json b/node_modules/date-fns/endOfMinute/package.json new file mode 100644 index 000000000..9807b60f4 --- /dev/null +++ b/node_modules/date-fns/endOfMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfMinute/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfMonth/index.d.ts b/node_modules/date-fns/endOfMonth/index.d.ts new file mode 100644 index 000000000..59e735415 --- /dev/null +++ b/node_modules/date-fns/endOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMonth } from 'date-fns' +export default endOfMonth diff --git a/node_modules/date-fns/endOfMonth/index.js b/node_modules/date-fns/endOfMonth/index.js new file mode 100644 index 000000000..3faf7630f --- /dev/null +++ b/node_modules/date-fns/endOfMonth/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfMonth + * @category Month Helpers + * @summary Return the end of a month for the given date. + * + * @description + * Return the end of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a month + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a month for 2 September 2014 11:55:00: + * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 23:59:59.999 + */ +function endOfMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var month = date.getMonth(); + date.setFullYear(date.getFullYear(), month + 1, 0); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfMonth/index.js.flow b/node_modules/date-fns/endOfMonth/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfMonth/package.json b/node_modules/date-fns/endOfMonth/package.json new file mode 100644 index 000000000..7d100731f --- /dev/null +++ b/node_modules/date-fns/endOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfQuarter/index.d.ts b/node_modules/date-fns/endOfQuarter/index.d.ts new file mode 100644 index 000000000..c91ac76fd --- /dev/null +++ b/node_modules/date-fns/endOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfQuarter } from 'date-fns' +export default endOfQuarter diff --git a/node_modules/date-fns/endOfQuarter/index.js b/node_modules/date-fns/endOfQuarter/index.js new file mode 100644 index 000000000..d7b124b7d --- /dev/null +++ b/node_modules/date-fns/endOfQuarter/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfQuarter; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfQuarter + * @category Quarter Helpers + * @summary Return the end of a year quarter for the given date. + * + * @description + * Return the end of a year quarter for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a quarter + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a quarter for 2 September 2014 11:55:00: + * const result = endOfQuarter(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 23:59:59.999 + */ +function endOfQuarter(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var currentMonth = date.getMonth(); + var month = currentMonth - currentMonth % 3 + 3; + date.setMonth(month, 0); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfQuarter/index.js.flow b/node_modules/date-fns/endOfQuarter/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfQuarter/package.json b/node_modules/date-fns/endOfQuarter/package.json new file mode 100644 index 000000000..2f5439171 --- /dev/null +++ b/node_modules/date-fns/endOfQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfSecond/index.d.ts b/node_modules/date-fns/endOfSecond/index.d.ts new file mode 100644 index 000000000..3af9fbd97 --- /dev/null +++ b/node_modules/date-fns/endOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfSecond } from 'date-fns' +export default endOfSecond diff --git a/node_modules/date-fns/endOfSecond/index.js b/node_modules/date-fns/endOfSecond/index.js new file mode 100644 index 000000000..38bb28014 --- /dev/null +++ b/node_modules/date-fns/endOfSecond/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfSecond; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfSecond + * @category Second Helpers + * @summary Return the end of a second for the given date. + * + * @description + * Return the end of a second for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a second + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a second for 1 December 2014 22:15:45.400: + * const result = endOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:45.999 + */ +function endOfSecond(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setMilliseconds(999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfSecond/index.js.flow b/node_modules/date-fns/endOfSecond/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfSecond/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfSecond/package.json b/node_modules/date-fns/endOfSecond/package.json new file mode 100644 index 000000000..4ebec2a44 --- /dev/null +++ b/node_modules/date-fns/endOfSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfSecond/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfToday/index.d.ts b/node_modules/date-fns/endOfToday/index.d.ts new file mode 100644 index 000000000..30de09814 --- /dev/null +++ b/node_modules/date-fns/endOfToday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfToday } from 'date-fns' +export default endOfToday diff --git a/node_modules/date-fns/endOfToday/index.js b/node_modules/date-fns/endOfToday/index.js new file mode 100644 index 000000000..75987a9a7 --- /dev/null +++ b/node_modules/date-fns/endOfToday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfToday; +var _index = _interopRequireDefault(require("../endOfDay/index.js")); +/** + * @name endOfToday + * @category Day Helpers + * @summary Return the end of today. + * @pure false + * + * @description + * Return the end of today. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @returns {Date} the end of today + * + * @example + * // If today is 6 October 2014: + * const result = endOfToday() + * //=> Mon Oct 6 2014 23:59:59.999 + */ +function endOfToday() { + return (0, _index.default)(Date.now()); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfToday/index.js.flow b/node_modules/date-fns/endOfToday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/endOfToday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/endOfToday/package.json b/node_modules/date-fns/endOfToday/package.json new file mode 100644 index 000000000..efef3cc95 --- /dev/null +++ b/node_modules/date-fns/endOfToday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfToday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfTomorrow/index.d.ts b/node_modules/date-fns/endOfTomorrow/index.d.ts new file mode 100644 index 000000000..df5619e35 --- /dev/null +++ b/node_modules/date-fns/endOfTomorrow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfTomorrow } from 'date-fns' +export default endOfTomorrow diff --git a/node_modules/date-fns/endOfTomorrow/index.js b/node_modules/date-fns/endOfTomorrow/index.js new file mode 100644 index 000000000..396b32461 --- /dev/null +++ b/node_modules/date-fns/endOfTomorrow/index.js @@ -0,0 +1,36 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfTomorrow; +/** + * @name endOfTomorrow + * @category Day Helpers + * @summary Return the end of tomorrow. + * @pure false + * + * @description + * Return the end of tomorrow. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the end of tomorrow + * + * @example + * // If today is 6 October 2014: + * const result = endOfTomorrow() + * //=> Tue Oct 7 2014 23:59:59.999 + */ +function endOfTomorrow() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day + 1); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfTomorrow/index.js.flow b/node_modules/date-fns/endOfTomorrow/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/endOfTomorrow/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/endOfTomorrow/package.json b/node_modules/date-fns/endOfTomorrow/package.json new file mode 100644 index 000000000..d49373213 --- /dev/null +++ b/node_modules/date-fns/endOfTomorrow/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfTomorrow/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfWeek/index.d.ts b/node_modules/date-fns/endOfWeek/index.d.ts new file mode 100644 index 000000000..50a77a3fd --- /dev/null +++ b/node_modules/date-fns/endOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfWeek } from 'date-fns' +export default endOfWeek diff --git a/node_modules/date-fns/endOfWeek/index.js b/node_modules/date-fns/endOfWeek/index.js new file mode 100644 index 000000000..e92328f83 --- /dev/null +++ b/node_modules/date-fns/endOfWeek/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfWeek; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfWeek + * @category Week Helpers + * @summary Return the end of a week for the given date. + * + * @description + * Return the end of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the end of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The end of a week for 2 September 2014 11:55:00: + * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sat Sep 06 2014 23:59:59.999 + * + * @example + * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00: + * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 }) + * //=> Sun Sep 07 2014 23:59:59.999 + */ +function endOfWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index4.default)(1, arguments); + var defaultOptions = (0, _index.getDefaultOptions)(); + var weekStartsOn = (0, _index3.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = (0, _index2.default)(dirtyDate); + var day = date.getDay(); + var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn); + date.setDate(date.getDate() + diff); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfWeek/index.js.flow b/node_modules/date-fns/endOfWeek/index.js.flow new file mode 100644 index 000000000..9285b6736 --- /dev/null +++ b/node_modules/date-fns/endOfWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/endOfWeek/package.json b/node_modules/date-fns/endOfWeek/package.json new file mode 100644 index 000000000..508e6799c --- /dev/null +++ b/node_modules/date-fns/endOfWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfYear/index.d.ts b/node_modules/date-fns/endOfYear/index.d.ts new file mode 100644 index 000000000..63d5191a8 --- /dev/null +++ b/node_modules/date-fns/endOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfYear } from 'date-fns' +export default endOfYear diff --git a/node_modules/date-fns/endOfYear/index.js b/node_modules/date-fns/endOfYear/index.js new file mode 100644 index 000000000..7cd688d88 --- /dev/null +++ b/node_modules/date-fns/endOfYear/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name endOfYear + * @category Year Helpers + * @summary Return the end of a year for the given date. + * + * @description + * Return the end of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a year + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a year for 2 September 2014 11:55:00: + * const result = endOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Dec 31 2014 23:59:59.999 + */ +function endOfYear(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + date.setFullYear(year + 1, 0, 0); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfYear/index.js.flow b/node_modules/date-fns/endOfYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/endOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/endOfYear/package.json b/node_modules/date-fns/endOfYear/package.json new file mode 100644 index 000000000..47c676a1d --- /dev/null +++ b/node_modules/date-fns/endOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/endOfYesterday/index.d.ts b/node_modules/date-fns/endOfYesterday/index.d.ts new file mode 100644 index 000000000..b06935b6f --- /dev/null +++ b/node_modules/date-fns/endOfYesterday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfYesterday } from 'date-fns' +export default endOfYesterday diff --git a/node_modules/date-fns/endOfYesterday/index.js b/node_modules/date-fns/endOfYesterday/index.js new file mode 100644 index 000000000..07b2e429a --- /dev/null +++ b/node_modules/date-fns/endOfYesterday/index.js @@ -0,0 +1,36 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = endOfYesterday; +/** + * @name endOfYesterday + * @category Day Helpers + * @summary Return the end of yesterday. + * @pure false + * + * @description + * Return the end of yesterday. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the end of yesterday + * + * @example + * // If today is 6 October 2014: + * const result = endOfYesterday() + * //=> Sun Oct 5 2014 23:59:59.999 + */ +function endOfYesterday() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day - 1); + date.setHours(23, 59, 59, 999); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/endOfYesterday/index.js.flow b/node_modules/date-fns/endOfYesterday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/endOfYesterday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/endOfYesterday/package.json b/node_modules/date-fns/endOfYesterday/package.json new file mode 100644 index 000000000..9e10e15e0 --- /dev/null +++ b/node_modules/date-fns/endOfYesterday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/endOfYesterday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js b/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js new file mode 100644 index 000000000..e16dacbe3 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js @@ -0,0 +1,8 @@ +export default function addLeadingZeros(number, targetLength) { + var sign = number < 0 ? '-' : ''; + var output = Math.abs(number).toString(); + while (output.length < targetLength) { + output = '0' + output; + } + return sign + output; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/assign/index.js b/node_modules/date-fns/esm/_lib/assign/index.js new file mode 100644 index 000000000..227bd88b5 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/assign/index.js @@ -0,0 +1,12 @@ +export default function assign(target, object) { + if (target == null) { + throw new TypeError('assign requires that input parameter not be null or undefined'); + } + for (var property in object) { + if (Object.prototype.hasOwnProperty.call(object, property)) { + ; + target[property] = object[property]; + } + } + return target; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/cloneObject/index.js b/node_modules/date-fns/esm/_lib/cloneObject/index.js new file mode 100644 index 000000000..632e94edb --- /dev/null +++ b/node_modules/date-fns/esm/_lib/cloneObject/index.js @@ -0,0 +1,4 @@ +import assign from "../assign/index.js"; +export default function cloneObject(object) { + return assign({}, object); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/defaultLocale/index.js b/node_modules/date-fns/esm/_lib/defaultLocale/index.js new file mode 100644 index 000000000..0e30a13e7 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/defaultLocale/index.js @@ -0,0 +1,2 @@ +import defaultLocale from "../../locale/en-US/index.js"; +export default defaultLocale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/defaultOptions/index.js b/node_modules/date-fns/esm/_lib/defaultOptions/index.js new file mode 100644 index 000000000..4489fa65e --- /dev/null +++ b/node_modules/date-fns/esm/_lib/defaultOptions/index.js @@ -0,0 +1,7 @@ +var defaultOptions = {}; +export function getDefaultOptions() { + return defaultOptions; +} +export function setDefaultOptions(newOptions) { + defaultOptions = newOptions; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/format/formatters/index.js b/node_modules/date-fns/esm/_lib/format/formatters/index.js new file mode 100644 index 000000000..dda74bf23 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/format/formatters/index.js @@ -0,0 +1,772 @@ +import getUTCDayOfYear from "../../../_lib/getUTCDayOfYear/index.js"; +import getUTCISOWeek from "../../../_lib/getUTCISOWeek/index.js"; +import getUTCISOWeekYear from "../../../_lib/getUTCISOWeekYear/index.js"; +import getUTCWeek from "../../../_lib/getUTCWeek/index.js"; +import getUTCWeekYear from "../../../_lib/getUTCWeekYear/index.js"; +import addLeadingZeros from "../../addLeadingZeros/index.js"; +import lightFormatters from "../lightFormatters/index.js"; +var dayPeriodEnum = { + am: 'am', + pm: 'pm', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' +}; +/* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | Milliseconds in day | + * | b | AM, PM, noon, midnight | B | Flexible day period | + * | c | Stand-alone local day of week | C* | Localized hour w/ day period | + * | d | Day of month | D | Day of year | + * | e | Local day of week | E | Day of week | + * | f | | F* | Day of week in month | + * | g* | Modified Julian day | G | Era | + * | h | Hour [1-12] | H | Hour [0-23] | + * | i! | ISO day of week | I! | ISO week of year | + * | j* | Localized hour w/ day period | J* | Localized hour w/o day period | + * | k | Hour [1-24] | K | Hour [0-11] | + * | l* | (deprecated) | L | Stand-alone month | + * | m | Minute | M | Month | + * | n | | N | | + * | o! | Ordinal number modifier | O | Timezone (GMT) | + * | p! | Long localized time | P! | Long localized date | + * | q | Stand-alone quarter | Q | Quarter | + * | r* | Related Gregorian year | R! | ISO week-numbering year | + * | s | Second | S | Fraction of second | + * | t! | Seconds timestamp | T! | Milliseconds timestamp | + * | u | Extended year | U* | Cyclic year | + * | v* | Timezone (generic non-locat.) | V* | Timezone (location) | + * | w | Local week of year | W* | Week of month | + * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) | + * | y | Year (abs) | Y | Local week-numbering year | + * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + * + * Letters marked by ! are non-standard, but implemented by date-fns: + * - `o` modifies the previous token to turn it into an ordinal (see `format` docs) + * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days, + * i.e. 7 for Sunday, 1 for Monday, etc. + * - `I` is ISO week of year, as opposed to `w` which is local week of year. + * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year. + * `R` is supposed to be used in conjunction with `I` and `i` + * for universal ISO week-numbering date, whereas + * `Y` is supposed to be used in conjunction with `w` and `e` + * for week-numbering date specific to the locale. + * - `P` is long localized date format + * - `p` is long localized time format + */ + +var formatters = { + // Era + G: function G(date, token, localize) { + var era = date.getUTCFullYear() > 0 ? 1 : 0; + switch (token) { + // AD, BC + case 'G': + case 'GG': + case 'GGG': + return localize.era(era, { + width: 'abbreviated' + }); + // A, B + case 'GGGGG': + return localize.era(era, { + width: 'narrow' + }); + // Anno Domini, Before Christ + case 'GGGG': + default: + return localize.era(era, { + width: 'wide' + }); + } + }, + // Year + y: function y(date, token, localize) { + // Ordinal number + if (token === 'yo') { + var signedYear = date.getUTCFullYear(); + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var year = signedYear > 0 ? signedYear : 1 - signedYear; + return localize.ordinalNumber(year, { + unit: 'year' + }); + } + return lightFormatters.y(date, token); + }, + // Local week-numbering year + Y: function Y(date, token, localize, options) { + var signedWeekYear = getUTCWeekYear(date, options); + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; + + // Two digit year + if (token === 'YY') { + var twoDigitYear = weekYear % 100; + return addLeadingZeros(twoDigitYear, 2); + } + + // Ordinal number + if (token === 'Yo') { + return localize.ordinalNumber(weekYear, { + unit: 'year' + }); + } + + // Padding + return addLeadingZeros(weekYear, token.length); + }, + // ISO week-numbering year + R: function R(date, token) { + var isoWeekYear = getUTCISOWeekYear(date); + + // Padding + return addLeadingZeros(isoWeekYear, token.length); + }, + // Extended year. This is a single number designating the year of this calendar system. + // The main difference between `y` and `u` localizers are B.C. years: + // | Year | `y` | `u` | + // |------|-----|-----| + // | AC 1 | 1 | 1 | + // | BC 1 | 1 | 0 | + // | BC 2 | 2 | -1 | + // Also `yy` always returns the last two digits of a year, + // while `uu` pads single digit years to 2 characters and returns other years unchanged. + u: function u(date, token) { + var year = date.getUTCFullYear(); + return addLeadingZeros(year, token.length); + }, + // Quarter + Q: function Q(date, token, localize) { + var quarter = Math.ceil((date.getUTCMonth() + 1) / 3); + switch (token) { + // 1, 2, 3, 4 + case 'Q': + return String(quarter); + // 01, 02, 03, 04 + case 'QQ': + return addLeadingZeros(quarter, 2); + // 1st, 2nd, 3rd, 4th + case 'Qo': + return localize.ordinalNumber(quarter, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'QQQ': + return localize.quarter(quarter, { + width: 'abbreviated', + context: 'formatting' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'QQQQQ': + return localize.quarter(quarter, { + width: 'narrow', + context: 'formatting' + }); + // 1st quarter, 2nd quarter, ... + case 'QQQQ': + default: + return localize.quarter(quarter, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Stand-alone quarter + q: function q(date, token, localize) { + var quarter = Math.ceil((date.getUTCMonth() + 1) / 3); + switch (token) { + // 1, 2, 3, 4 + case 'q': + return String(quarter); + // 01, 02, 03, 04 + case 'qq': + return addLeadingZeros(quarter, 2); + // 1st, 2nd, 3rd, 4th + case 'qo': + return localize.ordinalNumber(quarter, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'qqq': + return localize.quarter(quarter, { + width: 'abbreviated', + context: 'standalone' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'qqqqq': + return localize.quarter(quarter, { + width: 'narrow', + context: 'standalone' + }); + // 1st quarter, 2nd quarter, ... + case 'qqqq': + default: + return localize.quarter(quarter, { + width: 'wide', + context: 'standalone' + }); + } + }, + // Month + M: function M(date, token, localize) { + var month = date.getUTCMonth(); + switch (token) { + case 'M': + case 'MM': + return lightFormatters.M(date, token); + // 1st, 2nd, ..., 12th + case 'Mo': + return localize.ordinalNumber(month + 1, { + unit: 'month' + }); + // Jan, Feb, ..., Dec + case 'MMM': + return localize.month(month, { + width: 'abbreviated', + context: 'formatting' + }); + // J, F, ..., D + case 'MMMMM': + return localize.month(month, { + width: 'narrow', + context: 'formatting' + }); + // January, February, ..., December + case 'MMMM': + default: + return localize.month(month, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Stand-alone month + L: function L(date, token, localize) { + var month = date.getUTCMonth(); + switch (token) { + // 1, 2, ..., 12 + case 'L': + return String(month + 1); + // 01, 02, ..., 12 + case 'LL': + return addLeadingZeros(month + 1, 2); + // 1st, 2nd, ..., 12th + case 'Lo': + return localize.ordinalNumber(month + 1, { + unit: 'month' + }); + // Jan, Feb, ..., Dec + case 'LLL': + return localize.month(month, { + width: 'abbreviated', + context: 'standalone' + }); + // J, F, ..., D + case 'LLLLL': + return localize.month(month, { + width: 'narrow', + context: 'standalone' + }); + // January, February, ..., December + case 'LLLL': + default: + return localize.month(month, { + width: 'wide', + context: 'standalone' + }); + } + }, + // Local week of year + w: function w(date, token, localize, options) { + var week = getUTCWeek(date, options); + if (token === 'wo') { + return localize.ordinalNumber(week, { + unit: 'week' + }); + } + return addLeadingZeros(week, token.length); + }, + // ISO week of year + I: function I(date, token, localize) { + var isoWeek = getUTCISOWeek(date); + if (token === 'Io') { + return localize.ordinalNumber(isoWeek, { + unit: 'week' + }); + } + return addLeadingZeros(isoWeek, token.length); + }, + // Day of the month + d: function d(date, token, localize) { + if (token === 'do') { + return localize.ordinalNumber(date.getUTCDate(), { + unit: 'date' + }); + } + return lightFormatters.d(date, token); + }, + // Day of year + D: function D(date, token, localize) { + var dayOfYear = getUTCDayOfYear(date); + if (token === 'Do') { + return localize.ordinalNumber(dayOfYear, { + unit: 'dayOfYear' + }); + } + return addLeadingZeros(dayOfYear, token.length); + }, + // Day of week + E: function E(date, token, localize) { + var dayOfWeek = date.getUTCDay(); + switch (token) { + // Tue + case 'E': + case 'EE': + case 'EEE': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'EEEEE': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'EEEEEE': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'EEEE': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Local day of week + e: function e(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7; + switch (token) { + // Numerical value (Nth day of week with current locale or weekStartsOn) + case 'e': + return String(localDayOfWeek); + // Padded numerical value + case 'ee': + return addLeadingZeros(localDayOfWeek, 2); + // 1st, 2nd, ..., 7th + case 'eo': + return localize.ordinalNumber(localDayOfWeek, { + unit: 'day' + }); + case 'eee': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'eeeee': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'eeeeee': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'eeee': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Stand-alone local day of week + c: function c(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7; + switch (token) { + // Numerical value (same as in `e`) + case 'c': + return String(localDayOfWeek); + // Padded numerical value + case 'cc': + return addLeadingZeros(localDayOfWeek, token.length); + // 1st, 2nd, ..., 7th + case 'co': + return localize.ordinalNumber(localDayOfWeek, { + unit: 'day' + }); + case 'ccc': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'standalone' + }); + // T + case 'ccccc': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'standalone' + }); + // Tu + case 'cccccc': + return localize.day(dayOfWeek, { + width: 'short', + context: 'standalone' + }); + // Tuesday + case 'cccc': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'standalone' + }); + } + }, + // ISO day of week + i: function i(date, token, localize) { + var dayOfWeek = date.getUTCDay(); + var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek; + switch (token) { + // 2 + case 'i': + return String(isoDayOfWeek); + // 02 + case 'ii': + return addLeadingZeros(isoDayOfWeek, token.length); + // 2nd + case 'io': + return localize.ordinalNumber(isoDayOfWeek, { + unit: 'day' + }); + // Tue + case 'iii': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'iiiii': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'iiiiii': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'iiii': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, + // AM or PM + a: function a(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am'; + switch (token) { + case 'a': + case 'aa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'aaa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }).toLowerCase(); + case 'aaaaa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaa': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, + // AM, PM, midnight, noon + b: function b(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue; + if (hours === 12) { + dayPeriodEnumValue = dayPeriodEnum.noon; + } else if (hours === 0) { + dayPeriodEnumValue = dayPeriodEnum.midnight; + } else { + dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am'; + } + switch (token) { + case 'b': + case 'bb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'bbb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }).toLowerCase(); + case 'bbbbb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbb': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, + // in the morning, in the afternoon, in the evening, at night + B: function B(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue; + if (hours >= 17) { + dayPeriodEnumValue = dayPeriodEnum.evening; + } else if (hours >= 12) { + dayPeriodEnumValue = dayPeriodEnum.afternoon; + } else if (hours >= 4) { + dayPeriodEnumValue = dayPeriodEnum.morning; + } else { + dayPeriodEnumValue = dayPeriodEnum.night; + } + switch (token) { + case 'B': + case 'BB': + case 'BBB': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'BBBBB': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBB': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, + // Hour [1-12] + h: function h(date, token, localize) { + if (token === 'ho') { + var hours = date.getUTCHours() % 12; + if (hours === 0) hours = 12; + return localize.ordinalNumber(hours, { + unit: 'hour' + }); + } + return lightFormatters.h(date, token); + }, + // Hour [0-23] + H: function H(date, token, localize) { + if (token === 'Ho') { + return localize.ordinalNumber(date.getUTCHours(), { + unit: 'hour' + }); + } + return lightFormatters.H(date, token); + }, + // Hour [0-11] + K: function K(date, token, localize) { + var hours = date.getUTCHours() % 12; + if (token === 'Ko') { + return localize.ordinalNumber(hours, { + unit: 'hour' + }); + } + return addLeadingZeros(hours, token.length); + }, + // Hour [1-24] + k: function k(date, token, localize) { + var hours = date.getUTCHours(); + if (hours === 0) hours = 24; + if (token === 'ko') { + return localize.ordinalNumber(hours, { + unit: 'hour' + }); + } + return addLeadingZeros(hours, token.length); + }, + // Minute + m: function m(date, token, localize) { + if (token === 'mo') { + return localize.ordinalNumber(date.getUTCMinutes(), { + unit: 'minute' + }); + } + return lightFormatters.m(date, token); + }, + // Second + s: function s(date, token, localize) { + if (token === 'so') { + return localize.ordinalNumber(date.getUTCSeconds(), { + unit: 'second' + }); + } + return lightFormatters.s(date, token); + }, + // Fraction of second + S: function S(date, token) { + return lightFormatters.S(date, token); + }, + // Timezone (ISO-8601. If offset is 0, output is always `'Z'`) + X: function X(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + if (timezoneOffset === 0) { + return 'Z'; + } + switch (token) { + // Hours and optional minutes + case 'X': + return formatTimezoneWithOptionalMinutes(timezoneOffset); + + // Hours, minutes and optional seconds without `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `XX` + case 'XXXX': + case 'XX': + // Hours and minutes without `:` delimiter + return formatTimezone(timezoneOffset); + + // Hours, minutes and optional seconds with `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `XXX` + case 'XXXXX': + case 'XXX': // Hours and minutes with `:` delimiter + default: + return formatTimezone(timezoneOffset, ':'); + } + }, + // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent) + x: function x(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + switch (token) { + // Hours and optional minutes + case 'x': + return formatTimezoneWithOptionalMinutes(timezoneOffset); + + // Hours, minutes and optional seconds without `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `xx` + case 'xxxx': + case 'xx': + // Hours and minutes without `:` delimiter + return formatTimezone(timezoneOffset); + + // Hours, minutes and optional seconds with `:` delimiter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `xxx` + case 'xxxxx': + case 'xxx': // Hours and minutes with `:` delimiter + default: + return formatTimezone(timezoneOffset, ':'); + } + }, + // Timezone (GMT) + O: function O(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + switch (token) { + // Short + case 'O': + case 'OO': + case 'OOO': + return 'GMT' + formatTimezoneShort(timezoneOffset, ':'); + // Long + case 'OOOO': + default: + return 'GMT' + formatTimezone(timezoneOffset, ':'); + } + }, + // Timezone (specific non-location) + z: function z(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + switch (token) { + // Short + case 'z': + case 'zz': + case 'zzz': + return 'GMT' + formatTimezoneShort(timezoneOffset, ':'); + // Long + case 'zzzz': + default: + return 'GMT' + formatTimezone(timezoneOffset, ':'); + } + }, + // Seconds timestamp + t: function t(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timestamp = Math.floor(originalDate.getTime() / 1000); + return addLeadingZeros(timestamp, token.length); + }, + // Milliseconds timestamp + T: function T(date, token, _localize, options) { + var originalDate = options._originalDate || date; + var timestamp = originalDate.getTime(); + return addLeadingZeros(timestamp, token.length); + } +}; +function formatTimezoneShort(offset, dirtyDelimiter) { + var sign = offset > 0 ? '-' : '+'; + var absOffset = Math.abs(offset); + var hours = Math.floor(absOffset / 60); + var minutes = absOffset % 60; + if (minutes === 0) { + return sign + String(hours); + } + var delimiter = dirtyDelimiter || ''; + return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2); +} +function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) { + if (offset % 60 === 0) { + var sign = offset > 0 ? '-' : '+'; + return sign + addLeadingZeros(Math.abs(offset) / 60, 2); + } + return formatTimezone(offset, dirtyDelimiter); +} +function formatTimezone(offset, dirtyDelimiter) { + var delimiter = dirtyDelimiter || ''; + var sign = offset > 0 ? '-' : '+'; + var absOffset = Math.abs(offset); + var hours = addLeadingZeros(Math.floor(absOffset / 60), 2); + var minutes = addLeadingZeros(absOffset % 60, 2); + return sign + hours + delimiter + minutes; +} +export default formatters; \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js b/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js new file mode 100644 index 000000000..98c9308aa --- /dev/null +++ b/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js @@ -0,0 +1,80 @@ +import addLeadingZeros from "../../addLeadingZeros/index.js"; +/* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | | + * | d | Day of month | D | | + * | h | Hour [1-12] | H | Hour [0-23] | + * | m | Minute | M | Month | + * | s | Second | S | Fraction of second | + * | y | Year (abs) | Y | | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + */ +var formatters = { + // Year + y: function y(date, token) { + // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens + // | Year | y | yy | yyy | yyyy | yyyyy | + // |----------|-------|----|-------|-------|-------| + // | AD 1 | 1 | 01 | 001 | 0001 | 00001 | + // | AD 12 | 12 | 12 | 012 | 0012 | 00012 | + // | AD 123 | 123 | 23 | 123 | 0123 | 00123 | + // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 | + // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 | + + var signedYear = date.getUTCFullYear(); + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var year = signedYear > 0 ? signedYear : 1 - signedYear; + return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length); + }, + // Month + M: function M(date, token) { + var month = date.getUTCMonth(); + return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2); + }, + // Day of the month + d: function d(date, token) { + return addLeadingZeros(date.getUTCDate(), token.length); + }, + // AM or PM + a: function a(date, token) { + var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am'; + switch (token) { + case 'a': + case 'aa': + return dayPeriodEnumValue.toUpperCase(); + case 'aaa': + return dayPeriodEnumValue; + case 'aaaaa': + return dayPeriodEnumValue[0]; + case 'aaaa': + default: + return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.'; + } + }, + // Hour [1-12] + h: function h(date, token) { + return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length); + }, + // Hour [0-23] + H: function H(date, token) { + return addLeadingZeros(date.getUTCHours(), token.length); + }, + // Minute + m: function m(date, token) { + return addLeadingZeros(date.getUTCMinutes(), token.length); + }, + // Second + s: function s(date, token) { + return addLeadingZeros(date.getUTCSeconds(), token.length); + }, + // Fraction of second + S: function S(date, token) { + var numberOfDigits = token.length; + var milliseconds = date.getUTCMilliseconds(); + var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3)); + return addLeadingZeros(fractionalSeconds, token.length); + } +}; +export default formatters; \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/format/longFormatters/index.js b/node_modules/date-fns/esm/_lib/format/longFormatters/index.js new file mode 100644 index 000000000..43aa5d692 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/format/longFormatters/index.js @@ -0,0 +1,80 @@ +var dateLongFormatter = function dateLongFormatter(pattern, formatLong) { + switch (pattern) { + case 'P': + return formatLong.date({ + width: 'short' + }); + case 'PP': + return formatLong.date({ + width: 'medium' + }); + case 'PPP': + return formatLong.date({ + width: 'long' + }); + case 'PPPP': + default: + return formatLong.date({ + width: 'full' + }); + } +}; +var timeLongFormatter = function timeLongFormatter(pattern, formatLong) { + switch (pattern) { + case 'p': + return formatLong.time({ + width: 'short' + }); + case 'pp': + return formatLong.time({ + width: 'medium' + }); + case 'ppp': + return formatLong.time({ + width: 'long' + }); + case 'pppp': + default: + return formatLong.time({ + width: 'full' + }); + } +}; +var dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) { + var matchResult = pattern.match(/(P+)(p+)?/) || []; + var datePattern = matchResult[1]; + var timePattern = matchResult[2]; + if (!timePattern) { + return dateLongFormatter(pattern, formatLong); + } + var dateTimeFormat; + switch (datePattern) { + case 'P': + dateTimeFormat = formatLong.dateTime({ + width: 'short' + }); + break; + case 'PP': + dateTimeFormat = formatLong.dateTime({ + width: 'medium' + }); + break; + case 'PPP': + dateTimeFormat = formatLong.dateTime({ + width: 'long' + }); + break; + case 'PPPP': + default: + dateTimeFormat = formatLong.dateTime({ + width: 'full' + }); + break; + } + return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong)); +}; +var longFormatters = { + p: timeLongFormatter, + P: dateTimeLongFormatter +}; +export default longFormatters; \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js b/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js new file mode 100644 index 000000000..65b6e1b90 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js @@ -0,0 +1,16 @@ +/** + * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds. + * They usually appear for dates that denote time before the timezones were introduced + * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891 + * and GMT+01:00:00 after that date) + * + * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above, + * which would lead to incorrect calculations. + * + * This function returns the timezone offset in milliseconds that takes seconds in account. + */ +export default function getTimezoneOffsetInMilliseconds(date) { + var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds())); + utcDate.setUTCFullYear(date.getFullYear()); + return date.getTime() - utcDate.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js b/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js new file mode 100644 index 000000000..39ea54dba --- /dev/null +++ b/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js @@ -0,0 +1,13 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +var MILLISECONDS_IN_DAY = 86400000; +export default function getUTCDayOfYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var timestamp = date.getTime(); + date.setUTCMonth(0, 1); + date.setUTCHours(0, 0, 0, 0); + var startOfYearTimestamp = date.getTime(); + var difference = timestamp - startOfYearTimestamp; + return Math.floor(difference / MILLISECONDS_IN_DAY) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js b/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js new file mode 100644 index 000000000..048844a5d --- /dev/null +++ b/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js @@ -0,0 +1,15 @@ +import toDate from "../../toDate/index.js"; +import startOfUTCISOWeek from "../startOfUTCISOWeek/index.js"; +import startOfUTCISOWeekYear from "../startOfUTCISOWeekYear/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; +export default function getUTCISOWeek(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js b/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js new file mode 100644 index 000000000..f99746321 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js @@ -0,0 +1,23 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +import startOfUTCISOWeek from "../startOfUTCISOWeek/index.js"; +export default function getUTCISOWeekYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getUTCFullYear(); + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0); + var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear); + var fourthOfJanuaryOfThisYear = new Date(0); + fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0); + var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/getUTCWeek/index.js b/node_modules/date-fns/esm/_lib/getUTCWeek/index.js new file mode 100644 index 000000000..8cfbc10af --- /dev/null +++ b/node_modules/date-fns/esm/_lib/getUTCWeek/index.js @@ -0,0 +1,15 @@ +import toDate from "../../toDate/index.js"; +import startOfUTCWeek from "../startOfUTCWeek/index.js"; +import startOfUTCWeekYear from "../startOfUTCWeekYear/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; +export default function getUTCWeek(dirtyDate, options) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js b/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js new file mode 100644 index 000000000..7c70a4724 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js @@ -0,0 +1,33 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +import startOfUTCWeek from "../startOfUTCWeek/index.js"; +import toInteger from "../toInteger/index.js"; +import { getDefaultOptions } from "../defaultOptions/index.js"; +export default function getUTCWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getUTCFullYear(); + var defaultOptions = getDefaultOptions(); + var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var firstWeekOfNextYear = new Date(0); + firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setUTCHours(0, 0, 0, 0); + var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options); + var firstWeekOfThisYear = new Date(0); + firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setUTCHours(0, 0, 0, 0); + var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/isSameUTCWeek/index.js b/node_modules/date-fns/esm/_lib/isSameUTCWeek/index.js new file mode 100644 index 000000000..21a6ba369 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/isSameUTCWeek/index.js @@ -0,0 +1,8 @@ +import requiredArgs from "../requiredArgs/index.js"; +import startOfUTCWeek from "../startOfUTCWeek/index.js"; +export default function isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) { + requiredArgs(2, arguments); + var dateLeftStartOfWeek = startOfUTCWeek(dirtyDateLeft, options); + var dateRightStartOfWeek = startOfUTCWeek(dirtyDateRight, options); + return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/protectedTokens/index.js b/node_modules/date-fns/esm/_lib/protectedTokens/index.js new file mode 100644 index 000000000..e241fce63 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/protectedTokens/index.js @@ -0,0 +1,19 @@ +var protectedDayOfYearTokens = ['D', 'DD']; +var protectedWeekYearTokens = ['YY', 'YYYY']; +export function isProtectedDayOfYearToken(token) { + return protectedDayOfYearTokens.indexOf(token) !== -1; +} +export function isProtectedWeekYearToken(token) { + return protectedWeekYearTokens.indexOf(token) !== -1; +} +export function throwProtectedError(token, format, input) { + if (token === 'YYYY') { + throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } else if (token === 'YY') { + throw new RangeError("Use `yy` instead of `YY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } else if (token === 'D') { + throw new RangeError("Use `d` instead of `D` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } else if (token === 'DD') { + throw new RangeError("Use `dd` instead of `DD` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")); + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/requiredArgs/index.js b/node_modules/date-fns/esm/_lib/requiredArgs/index.js new file mode 100644 index 000000000..46d9179c1 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/requiredArgs/index.js @@ -0,0 +1,5 @@ +export default function requiredArgs(required, args) { + if (args.length < required) { + throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present'); + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/roundingMethods/index.js b/node_modules/date-fns/esm/_lib/roundingMethods/index.js new file mode 100644 index 000000000..27912675f --- /dev/null +++ b/node_modules/date-fns/esm/_lib/roundingMethods/index.js @@ -0,0 +1,13 @@ +var roundingMap = { + ceil: Math.ceil, + round: Math.round, + floor: Math.floor, + trunc: function trunc(value) { + return value < 0 ? Math.ceil(value) : Math.floor(value); + } // Math.trunc is not supported by IE +}; + +var defaultRoundingMethod = 'trunc'; +export function getRoundingMethod(method) { + return method ? roundingMap[method] : roundingMap[defaultRoundingMethod]; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/setUTCDay/index.js b/node_modules/date-fns/esm/_lib/setUTCDay/index.js new file mode 100644 index 000000000..3af620905 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/setUTCDay/index.js @@ -0,0 +1,23 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +import toInteger from "../toInteger/index.js"; +import { getDefaultOptions } from "../defaultOptions/index.js"; +export default function setUTCDay(dirtyDate, dirtyDay, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(2, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = toDate(dirtyDate); + var day = toInteger(dirtyDay); + var currentDay = date.getUTCDay(); + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/setUTCISODay/index.js b/node_modules/date-fns/esm/_lib/setUTCISODay/index.js new file mode 100644 index 000000000..36f856878 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/setUTCISODay/index.js @@ -0,0 +1,18 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +import toInteger from "../toInteger/index.js"; +export default function setUTCISODay(dirtyDate, dirtyDay) { + requiredArgs(2, arguments); + var day = toInteger(dirtyDay); + if (day % 7 === 0) { + day = day - 7; + } + var weekStartsOn = 1; + var date = toDate(dirtyDate); + var currentDay = date.getUTCDay(); + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js b/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js new file mode 100644 index 000000000..a54ae3419 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js @@ -0,0 +1,12 @@ +import toInteger from "../toInteger/index.js"; +import toDate from "../../toDate/index.js"; +import getUTCISOWeek from "../getUTCISOWeek/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +export default function setUTCISOWeek(dirtyDate, dirtyISOWeek) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var isoWeek = toInteger(dirtyISOWeek); + var diff = getUTCISOWeek(date) - isoWeek; + date.setUTCDate(date.getUTCDate() - diff * 7); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/setUTCWeek/index.js b/node_modules/date-fns/esm/_lib/setUTCWeek/index.js new file mode 100644 index 000000000..a3a430d74 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/setUTCWeek/index.js @@ -0,0 +1,12 @@ +import toInteger from "../toInteger/index.js"; +import toDate from "../../toDate/index.js"; +import getUTCWeek from "../getUTCWeek/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +export default function setUTCWeek(dirtyDate, dirtyWeek, options) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var week = toInteger(dirtyWeek); + var diff = getUTCWeek(date, options) - week; + date.setUTCDate(date.getUTCDate() - diff * 7); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js b/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js new file mode 100644 index 000000000..ecd39d9bd --- /dev/null +++ b/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js @@ -0,0 +1,12 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +export default function startOfUTCISOWeek(dirtyDate) { + requiredArgs(1, arguments); + var weekStartsOn = 1; + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; + date.setUTCDate(date.getUTCDate() - diff); + date.setUTCHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js b/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js new file mode 100644 index 000000000..66d6fae79 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js @@ -0,0 +1,12 @@ +import getUTCISOWeekYear from "../getUTCISOWeekYear/index.js"; +import startOfUTCISOWeek from "../startOfUTCISOWeek/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +export default function startOfUTCISOWeekYear(dirtyDate) { + requiredArgs(1, arguments); + var year = getUTCISOWeekYear(dirtyDate); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setUTCFullYear(year, 0, 4); + fourthOfJanuary.setUTCHours(0, 0, 0, 0); + var date = startOfUTCISOWeek(fourthOfJanuary); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js b/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js new file mode 100644 index 000000000..31404c229 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js @@ -0,0 +1,21 @@ +import toDate from "../../toDate/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +import toInteger from "../toInteger/index.js"; +import { getDefaultOptions } from "../defaultOptions/index.js"; +export default function startOfUTCWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; + date.setUTCDate(date.getUTCDate() - diff); + date.setUTCHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js b/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js new file mode 100644 index 000000000..3dd7160cd --- /dev/null +++ b/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js @@ -0,0 +1,17 @@ +import getUTCWeekYear from "../getUTCWeekYear/index.js"; +import requiredArgs from "../requiredArgs/index.js"; +import startOfUTCWeek from "../startOfUTCWeek/index.js"; +import toInteger from "../toInteger/index.js"; +import { getDefaultOptions } from "../defaultOptions/index.js"; +export default function startOfUTCWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + var year = getUTCWeekYear(dirtyDate, options); + var firstWeek = new Date(0); + firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate); + firstWeek.setUTCHours(0, 0, 0, 0); + var date = startOfUTCWeek(firstWeek, options); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/test/index.js b/node_modules/date-fns/esm/_lib/test/index.js new file mode 100644 index 000000000..61936847f --- /dev/null +++ b/node_modules/date-fns/esm/_lib/test/index.js @@ -0,0 +1,24 @@ +import addLeadingZeros from "../addLeadingZeros/index.js"; +import { setDefaultOptions } from "../defaultOptions/index.js"; +export function assertType(_) {} +export function resetDefaultOptions() { + setDefaultOptions({}); +} + +// This makes sure we create the consistent offsets across timezones, no matter where these tests are ran. +export function generateOffset(originalDate) { + // Add the timezone. + var offset = ''; + var tzOffset = originalDate.getTimezoneOffset(); + if (tzOffset !== 0) { + var absoluteOffset = Math.abs(tzOffset); + var hourOffset = addLeadingZeros(Math.floor(absoluteOffset / 60), 2); + var minuteOffset = addLeadingZeros(absoluteOffset % 60, 2); + // If less than 0, the sign is +, because it is ahead of time. + var sign = tzOffset < 0 ? '+' : '-'; + offset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); + } else { + offset = 'Z'; + } + return offset; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/_lib/toInteger/index.js b/node_modules/date-fns/esm/_lib/toInteger/index.js new file mode 100644 index 000000000..7809a8708 --- /dev/null +++ b/node_modules/date-fns/esm/_lib/toInteger/index.js @@ -0,0 +1,10 @@ +export default function toInteger(dirtyNumber) { + if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) { + return NaN; + } + var number = Number(dirtyNumber); + if (isNaN(number)) { + return number; + } + return number < 0 ? Math.ceil(number) : Math.floor(number); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/add/index.d.ts b/node_modules/date-fns/esm/add/index.d.ts new file mode 100644 index 000000000..f620aa05e --- /dev/null +++ b/node_modules/date-fns/esm/add/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { add } from 'date-fns' +export default add diff --git a/node_modules/date-fns/esm/add/index.js b/node_modules/date-fns/esm/add/index.js new file mode 100644 index 000000000..abd311a05 --- /dev/null +++ b/node_modules/date-fns/esm/add/index.js @@ -0,0 +1,70 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import addDays from "../addDays/index.js"; +import addMonths from "../addMonths/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name add + * @category Common Helpers + * @summary Add the specified years, months, weeks, days, hours, minutes and seconds to the given date. + * + * @description + * Add the specified years, months, weeks, days, hours, minutes and seconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * + * | Key | Description | + * |----------------|------------------------------------| + * | years | Amount of years to be added | + * | months | Amount of months to be added | + * | weeks | Amount of weeks to be added | + * | days | Amount of days to be added | + * | hours | Amount of hours to be added | + * | minutes | Amount of minutes to be added | + * | seconds | Amount of seconds to be added | + * + * All values default to 0 + * + * @returns {Date} the new date with the seconds added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add the following duration to 1 September 2014, 10:19:50 + * const result = add(new Date(2014, 8, 1, 10, 19, 50), { + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30, + * }) + * //=> Thu Jun 15 2017 15:29:20 + */ +export default function add(dirtyDate, duration) { + requiredArgs(2, arguments); + if (!duration || _typeof(duration) !== 'object') return new Date(NaN); + var years = duration.years ? toInteger(duration.years) : 0; + var months = duration.months ? toInteger(duration.months) : 0; + var weeks = duration.weeks ? toInteger(duration.weeks) : 0; + var days = duration.days ? toInteger(duration.days) : 0; + var hours = duration.hours ? toInteger(duration.hours) : 0; + var minutes = duration.minutes ? toInteger(duration.minutes) : 0; + var seconds = duration.seconds ? toInteger(duration.seconds) : 0; + + // Add years and months + var date = toDate(dirtyDate); + var dateWithMonths = months || years ? addMonths(date, months + years * 12) : date; + + // Add weeks and days + var dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths; + + // Add days, hours, minutes and seconds + var minutesToAdd = minutes + hours * 60; + var secondsToAdd = seconds + minutesToAdd * 60; + var msToAdd = secondsToAdd * 1000; + var finalDate = new Date(dateWithDays.getTime() + msToAdd); + return finalDate; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/add/index.js.flow b/node_modules/date-fns/esm/add/index.js.flow new file mode 100644 index 000000000..e79df7ca1 --- /dev/null +++ b/node_modules/date-fns/esm/add/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, duration: Duration) => Date diff --git a/node_modules/date-fns/esm/add/package.json b/node_modules/date-fns/esm/add/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/add/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addBusinessDays/index.d.ts b/node_modules/date-fns/esm/addBusinessDays/index.d.ts new file mode 100644 index 000000000..b1c084e3c --- /dev/null +++ b/node_modules/date-fns/esm/addBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addBusinessDays } from 'date-fns' +export default addBusinessDays diff --git a/node_modules/date-fns/esm/addBusinessDays/index.js b/node_modules/date-fns/esm/addBusinessDays/index.js new file mode 100644 index 000000000..cf59e9689 --- /dev/null +++ b/node_modules/date-fns/esm/addBusinessDays/index.js @@ -0,0 +1,58 @@ +import isWeekend from "../isWeekend/index.js"; +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import isSunday from "../isSunday/index.js"; +import isSaturday from "../isSaturday/index.js"; +/** + * @name addBusinessDays + * @category Day Helpers + * @summary Add the specified number of business days (mon - fri) to the given date. + * + * @description + * Add the specified number of business days (mon - fri) to the given date, ignoring weekends. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of business days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the business days added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 10 business days to 1 September 2014: + * const result = addBusinessDays(new Date(2014, 8, 1), 10) + * //=> Mon Sep 15 2014 00:00:00 (skipped weekend days) + */ +export default function addBusinessDays(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var startedOnWeekend = isWeekend(date); + var amount = toInteger(dirtyAmount); + if (isNaN(amount)) return new Date(NaN); + var hours = date.getHours(); + var sign = amount < 0 ? -1 : 1; + var fullWeeks = toInteger(amount / 5); + date.setDate(date.getDate() + fullWeeks * 7); + + // Get remaining days not part of a full week + var restDays = Math.abs(amount % 5); + + // Loops over remaining days + while (restDays > 0) { + date.setDate(date.getDate() + sign); + if (!isWeekend(date)) restDays -= 1; + } + + // If the date is a weekend day and we reduce a dividable of + // 5 from it, we land on a weekend date. + // To counter this, we add days accordingly to land on the next business day + if (startedOnWeekend && isWeekend(date) && amount !== 0) { + // If we're reducing days, we want to add days until we land on a weekday + // If we're adding days we want to reduce days until we land on a weekday + if (isSaturday(date)) date.setDate(date.getDate() + (sign < 0 ? 2 : -1)); + if (isSunday(date)) date.setDate(date.getDate() + (sign < 0 ? 1 : -2)); + } + + // Restore hours to avoid DST lag + date.setHours(hours); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addBusinessDays/index.js.flow b/node_modules/date-fns/esm/addBusinessDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addBusinessDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addBusinessDays/package.json b/node_modules/date-fns/esm/addBusinessDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addBusinessDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addDays/index.d.ts b/node_modules/date-fns/esm/addDays/index.d.ts new file mode 100644 index 000000000..fd7fb3dbf --- /dev/null +++ b/node_modules/date-fns/esm/addDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addDays } from 'date-fns' +export default addDays diff --git a/node_modules/date-fns/esm/addDays/index.js b/node_modules/date-fns/esm/addDays/index.js new file mode 100644 index 000000000..4ea448095 --- /dev/null +++ b/node_modules/date-fns/esm/addDays/index.js @@ -0,0 +1,35 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addDays + * @category Day Helpers + * @summary Add the specified number of days to the given date. + * + * @description + * Add the specified number of days to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} - the new date with the days added + * @throws {TypeError} - 2 arguments required + * + * @example + * // Add 10 days to 1 September 2014: + * const result = addDays(new Date(2014, 8, 1), 10) + * //=> Thu Sep 11 2014 00:00:00 + */ +export default function addDays(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var amount = toInteger(dirtyAmount); + if (isNaN(amount)) { + return new Date(NaN); + } + if (!amount) { + // If 0 days, no-op to avoid changing times in the hour before end of DST + return date; + } + date.setDate(date.getDate() + amount); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addDays/index.js.flow b/node_modules/date-fns/esm/addDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addDays/package.json b/node_modules/date-fns/esm/addDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addHours/index.d.ts b/node_modules/date-fns/esm/addHours/index.d.ts new file mode 100644 index 000000000..b3b606669 --- /dev/null +++ b/node_modules/date-fns/esm/addHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addHours } from 'date-fns' +export default addHours diff --git a/node_modules/date-fns/esm/addHours/index.js b/node_modules/date-fns/esm/addHours/index.js new file mode 100644 index 000000000..7dccf0a0e --- /dev/null +++ b/node_modules/date-fns/esm/addHours/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addMilliseconds from "../addMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_HOUR = 3600000; + +/** + * @name addHours + * @category Hour Helpers + * @summary Add the specified number of hours to the given date. + * + * @description + * Add the specified number of hours to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of hours to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the hours added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 2 hours to 10 July 2014 23:00:00: + * const result = addHours(new Date(2014, 6, 10, 23, 0), 2) + * //=> Fri Jul 11 2014 01:00:00 + */ +export default function addHours(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_HOUR); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addHours/index.js.flow b/node_modules/date-fns/esm/addHours/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addHours/package.json b/node_modules/date-fns/esm/addHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addISOWeekYears/index.d.ts b/node_modules/date-fns/esm/addISOWeekYears/index.d.ts new file mode 100644 index 000000000..e1e6e0904 --- /dev/null +++ b/node_modules/date-fns/esm/addISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addISOWeekYears } from 'date-fns' +export default addISOWeekYears diff --git a/node_modules/date-fns/esm/addISOWeekYears/index.js b/node_modules/date-fns/esm/addISOWeekYears/index.js new file mode 100644 index 000000000..238499f8e --- /dev/null +++ b/node_modules/date-fns/esm/addISOWeekYears/index.js @@ -0,0 +1,29 @@ +import toInteger from "../_lib/toInteger/index.js"; +import getISOWeekYear from "../getISOWeekYear/index.js"; +import setISOWeekYear from "../setISOWeekYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Add the specified number of ISO week-numbering years to the given date. + * + * @description + * Add the specified number of ISO week-numbering years to the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of ISO week-numbering years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the ISO week-numbering years added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 5 ISO week-numbering years to 2 July 2010: + * const result = addISOWeekYears(new Date(2010, 6, 2), 5) + * //=> Fri Jun 26 2015 00:00:00 + */ +export default function addISOWeekYears(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return setISOWeekYear(dirtyDate, getISOWeekYear(dirtyDate) + amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addISOWeekYears/index.js.flow b/node_modules/date-fns/esm/addISOWeekYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addISOWeekYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addISOWeekYears/package.json b/node_modules/date-fns/esm/addISOWeekYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addMilliseconds/index.d.ts b/node_modules/date-fns/esm/addMilliseconds/index.d.ts new file mode 100644 index 000000000..1afb95655 --- /dev/null +++ b/node_modules/date-fns/esm/addMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMilliseconds } from 'date-fns' +export default addMilliseconds diff --git a/node_modules/date-fns/esm/addMilliseconds/index.js b/node_modules/date-fns/esm/addMilliseconds/index.js new file mode 100644 index 000000000..9ed4071f4 --- /dev/null +++ b/node_modules/date-fns/esm/addMilliseconds/index.js @@ -0,0 +1,27 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addMilliseconds + * @category Millisecond Helpers + * @summary Add the specified number of milliseconds to the given date. + * + * @description + * Add the specified number of milliseconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the milliseconds added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 750 milliseconds to 10 July 2014 12:45:30.000: + * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750) + * //=> Thu Jul 10 2014 12:45:30.750 + */ +export default function addMilliseconds(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var timestamp = toDate(dirtyDate).getTime(); + var amount = toInteger(dirtyAmount); + return new Date(timestamp + amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addMilliseconds/index.js.flow b/node_modules/date-fns/esm/addMilliseconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addMilliseconds/package.json b/node_modules/date-fns/esm/addMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addMinutes/index.d.ts b/node_modules/date-fns/esm/addMinutes/index.d.ts new file mode 100644 index 000000000..fcf15e560 --- /dev/null +++ b/node_modules/date-fns/esm/addMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMinutes } from 'date-fns' +export default addMinutes diff --git a/node_modules/date-fns/esm/addMinutes/index.js b/node_modules/date-fns/esm/addMinutes/index.js new file mode 100644 index 000000000..7ace77ef2 --- /dev/null +++ b/node_modules/date-fns/esm/addMinutes/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addMilliseconds from "../addMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_MINUTE = 60000; + +/** + * @name addMinutes + * @category Minute Helpers + * @summary Add the specified number of minutes to the given date. + * + * @description + * Add the specified number of minutes to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of minutes to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the minutes added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 30 minutes to 10 July 2014 12:00:00: + * const result = addMinutes(new Date(2014, 6, 10, 12, 0), 30) + * //=> Thu Jul 10 2014 12:30:00 + */ +export default function addMinutes(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_MINUTE); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addMinutes/index.js.flow b/node_modules/date-fns/esm/addMinutes/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addMinutes/package.json b/node_modules/date-fns/esm/addMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addMonths/index.d.ts b/node_modules/date-fns/esm/addMonths/index.d.ts new file mode 100644 index 000000000..1308e13ff --- /dev/null +++ b/node_modules/date-fns/esm/addMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMonths } from 'date-fns' +export default addMonths diff --git a/node_modules/date-fns/esm/addMonths/index.js b/node_modules/date-fns/esm/addMonths/index.js new file mode 100644 index 000000000..f5c0eb150 --- /dev/null +++ b/node_modules/date-fns/esm/addMonths/index.js @@ -0,0 +1,61 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addMonths + * @category Month Helpers + * @summary Add the specified number of months to the given date. + * + * @description + * Add the specified number of months to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the months added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 5 months to 1 September 2014: + * const result = addMonths(new Date(2014, 8, 1), 5) + * //=> Sun Feb 01 2015 00:00:00 + */ +export default function addMonths(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var amount = toInteger(dirtyAmount); + if (isNaN(amount)) { + return new Date(NaN); + } + if (!amount) { + // If 0 months, no-op to avoid changing times in the hour before end of DST + return date; + } + var dayOfMonth = date.getDate(); + + // The JS Date object supports date math by accepting out-of-bounds values for + // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and + // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we + // want except that dates will wrap around the end of a month, meaning that + // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So + // we'll default to the end of the desired month by adding 1 to the desired + // month and using a date of 0 to back up one day to the end of the desired + // month. + var endOfDesiredMonth = new Date(date.getTime()); + endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0); + var daysInMonth = endOfDesiredMonth.getDate(); + if (dayOfMonth >= daysInMonth) { + // If we're already at the end of the month, then this is the correct date + // and we're done. + return endOfDesiredMonth; + } else { + // Otherwise, we now know that setting the original day-of-month value won't + // cause an overflow, so set the desired day-of-month. Note that we can't + // just set the date of `endOfDesiredMonth` because that object may have had + // its time changed in the unusual case where where a DST transition was on + // the last day of the month and its local time was in the hour skipped or + // repeated next to a DST transition. So we use `date` instead which is + // guaranteed to still have the original time. + date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth); + return date; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addMonths/index.js.flow b/node_modules/date-fns/esm/addMonths/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addMonths/package.json b/node_modules/date-fns/esm/addMonths/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addQuarters/index.d.ts b/node_modules/date-fns/esm/addQuarters/index.d.ts new file mode 100644 index 000000000..a046e678e --- /dev/null +++ b/node_modules/date-fns/esm/addQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addQuarters } from 'date-fns' +export default addQuarters diff --git a/node_modules/date-fns/esm/addQuarters/index.js b/node_modules/date-fns/esm/addQuarters/index.js new file mode 100644 index 000000000..c86810733 --- /dev/null +++ b/node_modules/date-fns/esm/addQuarters/index.js @@ -0,0 +1,27 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addMonths from "../addMonths/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addQuarters + * @category Quarter Helpers + * @summary Add the specified number of year quarters to the given date. + * + * @description + * Add the specified number of year quarters to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of quarters to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the quarters added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 1 quarter to 1 September 2014: + * const result = addQuarters(new Date(2014, 8, 1), 1) + * //=> Mon Dec 01 2014 00:00:00 + */ +export default function addQuarters(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + var months = amount * 3; + return addMonths(dirtyDate, months); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addQuarters/index.js.flow b/node_modules/date-fns/esm/addQuarters/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addQuarters/package.json b/node_modules/date-fns/esm/addQuarters/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addSeconds/index.d.ts b/node_modules/date-fns/esm/addSeconds/index.d.ts new file mode 100644 index 000000000..9b1e669ef --- /dev/null +++ b/node_modules/date-fns/esm/addSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addSeconds } from 'date-fns' +export default addSeconds diff --git a/node_modules/date-fns/esm/addSeconds/index.js b/node_modules/date-fns/esm/addSeconds/index.js new file mode 100644 index 000000000..6e4e15567 --- /dev/null +++ b/node_modules/date-fns/esm/addSeconds/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addMilliseconds from "../addMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addSeconds + * @category Second Helpers + * @summary Add the specified number of seconds to the given date. + * + * @description + * Add the specified number of seconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the seconds added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 30 seconds to 10 July 2014 12:45:00: + * const result = addSeconds(new Date(2014, 6, 10, 12, 45, 0), 30) + * //=> Thu Jul 10 2014 12:45:30 + */ +export default function addSeconds(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMilliseconds(dirtyDate, amount * 1000); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addSeconds/index.js.flow b/node_modules/date-fns/esm/addSeconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addSeconds/package.json b/node_modules/date-fns/esm/addSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addWeeks/index.d.ts b/node_modules/date-fns/esm/addWeeks/index.d.ts new file mode 100644 index 000000000..25bb83abf --- /dev/null +++ b/node_modules/date-fns/esm/addWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addWeeks } from 'date-fns' +export default addWeeks diff --git a/node_modules/date-fns/esm/addWeeks/index.js b/node_modules/date-fns/esm/addWeeks/index.js new file mode 100644 index 000000000..b68020073 --- /dev/null +++ b/node_modules/date-fns/esm/addWeeks/index.js @@ -0,0 +1,27 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addDays from "../addDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addWeeks + * @category Week Helpers + * @summary Add the specified number of weeks to the given date. + * + * @description + * Add the specified number of week to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of weeks to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the weeks added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 4 weeks to 1 September 2014: + * const result = addWeeks(new Date(2014, 8, 1), 4) + * //=> Mon Sep 29 2014 00:00:00 + */ +export default function addWeeks(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + var days = amount * 7; + return addDays(dirtyDate, days); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addWeeks/index.js.flow b/node_modules/date-fns/esm/addWeeks/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addWeeks/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addWeeks/package.json b/node_modules/date-fns/esm/addWeeks/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addYears/index.d.ts b/node_modules/date-fns/esm/addYears/index.d.ts new file mode 100644 index 000000000..df7255f74 --- /dev/null +++ b/node_modules/date-fns/esm/addYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addYears } from 'date-fns' +export default addYears diff --git a/node_modules/date-fns/esm/addYears/index.js b/node_modules/date-fns/esm/addYears/index.js new file mode 100644 index 000000000..21e71caf9 --- /dev/null +++ b/node_modules/date-fns/esm/addYears/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addMonths from "../addMonths/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name addYears + * @category Year Helpers + * @summary Add the specified number of years to the given date. + * + * @description + * Add the specified number of years to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the years added + * @throws {TypeError} 2 arguments required + * + * @example + * // Add 5 years to 1 September 2014: + * const result = addYears(new Date(2014, 8, 1), 5) + * //=> Sun Sep 01 2019 00:00:00 + */ +export default function addYears(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMonths(dirtyDate, amount * 12); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/addYears/index.js.flow b/node_modules/date-fns/esm/addYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/addYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/addYears/package.json b/node_modules/date-fns/esm/addYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/addYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/areIntervalsOverlapping/index.d.ts b/node_modules/date-fns/esm/areIntervalsOverlapping/index.d.ts new file mode 100644 index 000000000..8cc0fd1ae --- /dev/null +++ b/node_modules/date-fns/esm/areIntervalsOverlapping/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { areIntervalsOverlapping } from 'date-fns' +export default areIntervalsOverlapping diff --git a/node_modules/date-fns/esm/areIntervalsOverlapping/index.js b/node_modules/date-fns/esm/areIntervalsOverlapping/index.js new file mode 100644 index 000000000..eddbdc7cf --- /dev/null +++ b/node_modules/date-fns/esm/areIntervalsOverlapping/index.js @@ -0,0 +1,73 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name areIntervalsOverlapping + * @category Interval Helpers + * @summary Is the given time interval overlapping with another time interval? + * + * @description + * Is the given time interval overlapping with another time interval? Adjacent intervals do not count as overlapping. + * + * @param {Interval} intervalLeft - the first interval to compare. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Interval} intervalRight - the second interval to compare. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - the object with options + * @param {Boolean} [options.inclusive=false] - whether the comparison is inclusive or not + * @returns {Boolean} whether the time intervals are overlapping + * @throws {TypeError} 2 arguments required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For overlapping time intervals: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> true + * + * @example + * // For non-overlapping time intervals: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> false + * + * @example + * // For adjacent time intervals: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 30) } + * ) + * //=> false + * + * @example + * // Using the inclusive option: + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) } + * ) + * //=> false + * areIntervalsOverlapping( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) }, + * { inclusive: true } + * ) + * //=> true + */ +export default function areIntervalsOverlapping(intervalLeft, intervalRight, options) { + requiredArgs(2, arguments); + var leftStartTime = toDate(intervalLeft === null || intervalLeft === void 0 ? void 0 : intervalLeft.start).getTime(); + var leftEndTime = toDate(intervalLeft === null || intervalLeft === void 0 ? void 0 : intervalLeft.end).getTime(); + var rightStartTime = toDate(intervalRight === null || intervalRight === void 0 ? void 0 : intervalRight.start).getTime(); + var rightEndTime = toDate(intervalRight === null || intervalRight === void 0 ? void 0 : intervalRight.end).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(leftStartTime <= leftEndTime && rightStartTime <= rightEndTime)) { + throw new RangeError('Invalid interval'); + } + if (options !== null && options !== void 0 && options.inclusive) { + return leftStartTime <= rightEndTime && rightStartTime <= leftEndTime; + } + return leftStartTime < rightEndTime && rightStartTime < leftEndTime; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/areIntervalsOverlapping/index.js.flow b/node_modules/date-fns/esm/areIntervalsOverlapping/index.js.flow new file mode 100644 index 000000000..9cab45d5a --- /dev/null +++ b/node_modules/date-fns/esm/areIntervalsOverlapping/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean, + } +) => boolean diff --git a/node_modules/date-fns/esm/areIntervalsOverlapping/package.json b/node_modules/date-fns/esm/areIntervalsOverlapping/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/areIntervalsOverlapping/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/clamp/index.d.ts b/node_modules/date-fns/esm/clamp/index.d.ts new file mode 100644 index 000000000..957fb1f2b --- /dev/null +++ b/node_modules/date-fns/esm/clamp/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { clamp } from 'date-fns' +export default clamp diff --git a/node_modules/date-fns/esm/clamp/index.js b/node_modules/date-fns/esm/clamp/index.js new file mode 100644 index 000000000..4e32b011d --- /dev/null +++ b/node_modules/date-fns/esm/clamp/index.js @@ -0,0 +1,35 @@ +import max from "../max/index.js"; +import min from "../min/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name clamp + * @category Interval Helpers + * @summary Return a date bounded by the start and the end of the given interval + * + * @description + * Clamps a date to the lower bound with the start of the interval and the upper + * bound with the end of the interval. + * + * - When the date is less than the start of the interval, the start is returned. + * - When the date is greater than the end of the interval, the end is returned. + * - Otherwise the date is returned. + * + * @example + * // What is Mar, 21, 2021 bounded to an interval starting at Mar, 22, 2021 and ending at Apr, 01, 2021 + * const result = clamp(new Date(2021, 2, 21), { + * start: new Date(2021, 2, 22), + * end: new Date(2021, 3, 1), + * }) + * //=> Mon Mar 22 2021 00:00:00 + * + * @param {Date | Number} date - the date to be bounded + * @param {Interval} interval - the interval to bound to + * @returns {Date} the date bounded by the start and the end of the interval + * @throws {TypeError} 2 arguments required + */ +export default function clamp(date, _ref) { + var start = _ref.start, + end = _ref.end; + requiredArgs(2, arguments); + return min([max([date, start]), end]); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/clamp/index.js.flow b/node_modules/date-fns/esm/clamp/index.js.flow new file mode 100644 index 000000000..d59223097 --- /dev/null +++ b/node_modules/date-fns/esm/clamp/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, interval: Interval) => Date diff --git a/node_modules/date-fns/esm/clamp/package.json b/node_modules/date-fns/esm/clamp/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/clamp/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/closestIndexTo/index.d.ts b/node_modules/date-fns/esm/closestIndexTo/index.d.ts new file mode 100644 index 000000000..672d132c8 --- /dev/null +++ b/node_modules/date-fns/esm/closestIndexTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestIndexTo } from 'date-fns' +export default closestIndexTo diff --git a/node_modules/date-fns/esm/closestIndexTo/index.js b/node_modules/date-fns/esm/closestIndexTo/index.js new file mode 100644 index 000000000..a7c3a8fcf --- /dev/null +++ b/node_modules/date-fns/esm/closestIndexTo/index.js @@ -0,0 +1,61 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name closestIndexTo + * @category Common Helpers + * @summary Return an index of the closest date from the array comparing to the given date. + * + * @description + * Return an index of the closest date from the array comparing to the given date. + * + * @param {Date | Number} dateToCompare - the date to compare with + * @param {Array | Array} datesArray - the array to search + * @returns {Number | undefined} an index of the date closest to the given date or undefined if no valid value is given + * @throws {TypeError} 2 arguments required + * + * @example + * // Which date is closer to 6 September 2015? + * const dateToCompare = new Date(2015, 8, 6) + * const datesArray = [ + * new Date(2015, 0, 1), + * new Date(2016, 0, 1), + * new Date(2017, 0, 1) + * ] + * const result = closestIndexTo(dateToCompare, datesArray) + * //=> 1 + */ +export default function closestIndexTo(dirtyDateToCompare, dirtyDatesArray) { + requiredArgs(2, arguments); + var dateToCompare = toDate(dirtyDateToCompare); + if (isNaN(Number(dateToCompare))) return NaN; + var timeToCompare = dateToCompare.getTime(); + var datesArray; + // `dirtyDatesArray` is undefined or null + if (dirtyDatesArray == null) { + datesArray = []; + + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + } else if (typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. Otherwise, make it empty Array + } else { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } + var result; + var minDistance; + datesArray.forEach(function (dirtyDate, index) { + var currentDate = toDate(dirtyDate); + if (isNaN(Number(currentDate))) { + result = NaN; + minDistance = NaN; + return; + } + var distance = Math.abs(timeToCompare - currentDate.getTime()); + if (result == null || distance < Number(minDistance)) { + result = index; + minDistance = distance; + } + }); + return result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/closestIndexTo/index.js.flow b/node_modules/date-fns/esm/closestIndexTo/index.js.flow new file mode 100644 index 000000000..a8dadb4ee --- /dev/null +++ b/node_modules/date-fns/esm/closestIndexTo/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] +) => ?number diff --git a/node_modules/date-fns/esm/closestIndexTo/package.json b/node_modules/date-fns/esm/closestIndexTo/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/closestIndexTo/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/closestTo/index.d.ts b/node_modules/date-fns/esm/closestTo/index.d.ts new file mode 100644 index 000000000..d4e084e3a --- /dev/null +++ b/node_modules/date-fns/esm/closestTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestTo } from 'date-fns' +export default closestTo diff --git a/node_modules/date-fns/esm/closestTo/index.js b/node_modules/date-fns/esm/closestTo/index.js new file mode 100644 index 000000000..c29e40ddb --- /dev/null +++ b/node_modules/date-fns/esm/closestTo/index.js @@ -0,0 +1,59 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name closestTo + * @category Common Helpers + * @summary Return a date from the array closest to the given date. + * + * @description + * Return a date from the array closest to the given date. + * + * @param {Date | Number} dateToCompare - the date to compare with + * @param {Array | Array} datesArray - the array to search + * @returns {Date | undefined} the date from the array closest to the given date or undefined if no valid value is given + * @throws {TypeError} 2 arguments required + * + * @example + * // Which date is closer to 6 September 2015: 1 January 2000 or 1 January 2030? + * const dateToCompare = new Date(2015, 8, 6) + * const result = closestTo(dateToCompare, [ + * new Date(2000, 0, 1), + * new Date(2030, 0, 1) + * ]) + * //=> Tue Jan 01 2030 00:00:00 + */ +export default function closestTo(dirtyDateToCompare, dirtyDatesArray) { + requiredArgs(2, arguments); + var dateToCompare = toDate(dirtyDateToCompare); + if (isNaN(Number(dateToCompare))) return new Date(NaN); + var timeToCompare = dateToCompare.getTime(); + var datesArray; + // `dirtyDatesArray` is undefined or null + if (dirtyDatesArray == null) { + datesArray = []; + + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + } else if (typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. Otherwise, make it empty Array + } else { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } + var result; + var minDistance; + datesArray.forEach(function (dirtyDate) { + var currentDate = toDate(dirtyDate); + if (isNaN(Number(currentDate))) { + result = new Date(NaN); + minDistance = NaN; + return; + } + var distance = Math.abs(timeToCompare - currentDate.getTime()); + if (result == null || distance < Number(minDistance)) { + result = currentDate; + minDistance = distance; + } + }); + return result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/closestTo/index.js.flow b/node_modules/date-fns/esm/closestTo/index.js.flow new file mode 100644 index 000000000..2a03edcfe --- /dev/null +++ b/node_modules/date-fns/esm/closestTo/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] +) => ?Date diff --git a/node_modules/date-fns/esm/closestTo/package.json b/node_modules/date-fns/esm/closestTo/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/closestTo/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/compareAsc/index.d.ts b/node_modules/date-fns/esm/compareAsc/index.d.ts new file mode 100644 index 000000000..ff920e66e --- /dev/null +++ b/node_modules/date-fns/esm/compareAsc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareAsc } from 'date-fns' +export default compareAsc diff --git a/node_modules/date-fns/esm/compareAsc/index.js b/node_modules/date-fns/esm/compareAsc/index.js new file mode 100644 index 000000000..60d057e72 --- /dev/null +++ b/node_modules/date-fns/esm/compareAsc/index.js @@ -0,0 +1,48 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name compareAsc + * @category Common Helpers + * @summary Compare the two dates and return -1, 0 or 1. + * + * @description + * Compare the two dates and return 1 if the first date is after the second, + * -1 if the first date is before the second or 0 if dates are equal. + * + * @param {Date|Number} dateLeft - the first date to compare + * @param {Date|Number} dateRight - the second date to compare + * @returns {Number} the result of the comparison + * @throws {TypeError} 2 arguments required + * + * @example + * // Compare 11 February 1987 and 10 July 1989: + * const result = compareAsc(new Date(1987, 1, 11), new Date(1989, 6, 10)) + * //=> -1 + * + * @example + * // Sort the array of dates: + * const result = [ + * new Date(1995, 6, 2), + * new Date(1987, 1, 11), + * new Date(1989, 6, 10) + * ].sort(compareAsc) + * //=> [ + * // Wed Feb 11 1987 00:00:00, + * // Mon Jul 10 1989 00:00:00, + * // Sun Jul 02 1995 00:00:00 + * // ] + */ +export default function compareAsc(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var diff = dateLeft.getTime() - dateRight.getTime(); + if (diff < 0) { + return -1; + } else if (diff > 0) { + return 1; + // Return 0 if diff is 0; return NaN if diff is NaN + } else { + return diff; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/compareAsc/index.js.flow b/node_modules/date-fns/esm/compareAsc/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/compareAsc/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/compareAsc/package.json b/node_modules/date-fns/esm/compareAsc/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/compareAsc/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/compareDesc/index.d.ts b/node_modules/date-fns/esm/compareDesc/index.d.ts new file mode 100644 index 000000000..673fab56b --- /dev/null +++ b/node_modules/date-fns/esm/compareDesc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareDesc } from 'date-fns' +export default compareDesc diff --git a/node_modules/date-fns/esm/compareDesc/index.js b/node_modules/date-fns/esm/compareDesc/index.js new file mode 100644 index 000000000..6b2b24989 --- /dev/null +++ b/node_modules/date-fns/esm/compareDesc/index.js @@ -0,0 +1,48 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name compareDesc + * @category Common Helpers + * @summary Compare the two dates reverse chronologically and return -1, 0 or 1. + * + * @description + * Compare the two dates and return -1 if the first date is after the second, + * 1 if the first date is before the second or 0 if dates are equal. + * + * @param {Date|Number} dateLeft - the first date to compare + * @param {Date|Number} dateRight - the second date to compare + * @returns {Number} the result of the comparison + * @throws {TypeError} 2 arguments required + * + * @example + * // Compare 11 February 1987 and 10 July 1989 reverse chronologically: + * const result = compareDesc(new Date(1987, 1, 11), new Date(1989, 6, 10)) + * //=> 1 + * + * @example + * // Sort the array of dates in reverse chronological order: + * const result = [ + * new Date(1995, 6, 2), + * new Date(1987, 1, 11), + * new Date(1989, 6, 10) + * ].sort(compareDesc) + * //=> [ + * // Sun Jul 02 1995 00:00:00, + * // Mon Jul 10 1989 00:00:00, + * // Wed Feb 11 1987 00:00:00 + * // ] + */ +export default function compareDesc(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var diff = dateLeft.getTime() - dateRight.getTime(); + if (diff > 0) { + return -1; + } else if (diff < 0) { + return 1; + // Return 0 if diff is 0; return NaN if diff is NaN + } else { + return diff; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/compareDesc/index.js.flow b/node_modules/date-fns/esm/compareDesc/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/compareDesc/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/compareDesc/package.json b/node_modules/date-fns/esm/compareDesc/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/compareDesc/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/constants/index.d.ts b/node_modules/date-fns/esm/constants/index.d.ts new file mode 100644 index 000000000..60a24ae94 --- /dev/null +++ b/node_modules/date-fns/esm/constants/index.d.ts @@ -0,0 +1,20 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export const daysInWeek: number +export const daysInYear: number +export const maxTime: number +export const millisecondsInMinute: number +export const millisecondsInHour: number +export const millisecondsInSecond: number +export const minTime: number +export const minutesInHour: number +export const monthsInQuarter: number +export const monthsInYear: number +export const quartersInYear: number +export const secondsInHour: number +export const secondsInMinute: number +export const secondsInDay: number +export const secondsInWeek: number +export const secondsInYear: number +export const secondsInMonth: number +export const secondsInQuarter: number diff --git a/node_modules/date-fns/esm/constants/index.js b/node_modules/date-fns/esm/constants/index.js new file mode 100644 index 000000000..74a6f2590 --- /dev/null +++ b/node_modules/date-fns/esm/constants/index.js @@ -0,0 +1,183 @@ +/** + * Days in 1 week. + * + * @name daysInWeek + * @constant + * @type {number} + * @default + */ +export var daysInWeek = 7; + +/** + * Days in 1 year + * One years equals 365.2425 days according to the formula: + * + * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400. + * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days + * + * @name daysInYear + * @constant + * @type {number} + * @default + */ +export var daysInYear = 365.2425; + +/** + * Maximum allowed time. + * + * @name maxTime + * @constant + * @type {number} + * @default + */ +export var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000; + +/** + * Milliseconds in 1 minute + * + * @name millisecondsInMinute + * @constant + * @type {number} + * @default + */ +export var millisecondsInMinute = 60000; + +/** + * Milliseconds in 1 hour + * + * @name millisecondsInHour + * @constant + * @type {number} + * @default + */ +export var millisecondsInHour = 3600000; + +/** + * Milliseconds in 1 second + * + * @name millisecondsInSecond + * @constant + * @type {number} + * @default + */ +export var millisecondsInSecond = 1000; + +/** + * Minimum allowed time. + * + * @name minTime + * @constant + * @type {number} + * @default + */ +export var minTime = -maxTime; + +/** + * Minutes in 1 hour + * + * @name minutesInHour + * @constant + * @type {number} + * @default + */ +export var minutesInHour = 60; + +/** + * Months in 1 quarter + * + * @name monthsInQuarter + * @constant + * @type {number} + * @default + */ +export var monthsInQuarter = 3; + +/** + * Months in 1 year + * + * @name monthsInYear + * @constant + * @type {number} + * @default + */ +export var monthsInYear = 12; + +/** + * Quarters in 1 year + * + * @name quartersInYear + * @constant + * @type {number} + * @default + */ +export var quartersInYear = 4; + +/** + * Seconds in 1 hour + * + * @name secondsInHour + * @constant + * @type {number} + * @default + */ +export var secondsInHour = 3600; + +/** + * Seconds in 1 minute + * + * @name secondsInMinute + * @constant + * @type {number} + * @default + */ +export var secondsInMinute = 60; + +/** + * Seconds in 1 day + * + * @name secondsInDay + * @constant + * @type {number} + * @default + */ +export var secondsInDay = secondsInHour * 24; + +/** + * Seconds in 1 week + * + * @name secondsInWeek + * @constant + * @type {number} + * @default + */ +export var secondsInWeek = secondsInDay * 7; + +/** + * Seconds in 1 year + * + * @name secondsInYear + * @constant + * @type {number} + * @default + */ +export var secondsInYear = secondsInDay * daysInYear; + +/** + * Seconds in 1 month + * + * @name secondsInMonth + * @constant + * @type {number} + * @default + */ +export var secondsInMonth = secondsInYear / 12; + +/** + * Seconds in 1 quarter + * + * @name secondsInQuarter + * @constant + * @type {number} + * @default + */ +export var secondsInQuarter = secondsInMonth * 3; \ No newline at end of file diff --git a/node_modules/date-fns/esm/constants/index.js.flow b/node_modules/date-fns/esm/constants/index.js.flow new file mode 100644 index 000000000..5d8379616 --- /dev/null +++ b/node_modules/date-fns/esm/constants/index.js.flow @@ -0,0 +1,14 @@ +// @flow + +declare export var daysInWeek: number +declare export var maxTime: number +declare export var millisecondsInMinute: number +declare export var millisecondsInHour: number +declare export var millisecondsInSecond: number +declare export var minTime: number +declare export var minutesInHour: number +declare export var monthsInQuarter: number +declare export var monthsInYear: number +declare export var quartersInYear: number +declare export var secondsInHour: number +declare export var secondsInMinute: number diff --git a/node_modules/date-fns/esm/daysToWeeks/index.d.ts b/node_modules/date-fns/esm/daysToWeeks/index.d.ts new file mode 100644 index 000000000..666112f5c --- /dev/null +++ b/node_modules/date-fns/esm/daysToWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { daysToWeeks } from 'date-fns' +export default daysToWeeks diff --git a/node_modules/date-fns/esm/daysToWeeks/index.js b/node_modules/date-fns/esm/daysToWeeks/index.js new file mode 100644 index 000000000..abc891dd1 --- /dev/null +++ b/node_modules/date-fns/esm/daysToWeeks/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { daysInWeek } from "../constants/index.js"; +/** + * @name daysToWeeks + * @category Conversion Helpers + * @summary Convert days to weeks. + * + * @description + * Convert a number of days to a full number of weeks. + * + * @param {number} days - number of days to be converted + * + * @returns {number} the number of days converted in weeks + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 14 days to weeks: + * const result = daysToWeeks(14) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = daysToWeeks(13) + * //=> 1 + */ +export default function daysToWeeks(days) { + requiredArgs(1, arguments); + var weeks = days / daysInWeek; + return Math.floor(weeks); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/daysToWeeks/index.js.flow b/node_modules/date-fns/esm/daysToWeeks/index.js.flow new file mode 100644 index 000000000..181aec6e6 --- /dev/null +++ b/node_modules/date-fns/esm/daysToWeeks/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (days: number) => number diff --git a/node_modules/date-fns/esm/daysToWeeks/package.json b/node_modules/date-fns/esm/daysToWeeks/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/daysToWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInBusinessDays/index.d.ts b/node_modules/date-fns/esm/differenceInBusinessDays/index.d.ts new file mode 100644 index 000000000..8decd89c3 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInBusinessDays } from 'date-fns' +export default differenceInBusinessDays diff --git a/node_modules/date-fns/esm/differenceInBusinessDays/index.js b/node_modules/date-fns/esm/differenceInBusinessDays/index.js new file mode 100644 index 000000000..ae601cb53 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInBusinessDays/index.js @@ -0,0 +1,76 @@ +import addDays from "../addDays/index.js"; +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import isSameDay from "../isSameDay/index.js"; +import isValid from "../isValid/index.js"; +import isWeekend from "../isWeekend/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name differenceInBusinessDays + * @category Day Helpers + * @summary Get the number of business days between the given dates. + * + * @description + * Get the number of business day periods between the given dates. + * Business days being days that arent in the weekend. + * Like `differenceInCalendarDays`, the function removes the times from + * the dates before calculating the difference. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of business days + * @throws {TypeError} 2 arguments required + * + * @example + * // How many business days are between + * // 10 January 2014 and 20 July 2014? + * const result = differenceInBusinessDays( + * new Date(2014, 6, 20), + * new Date(2014, 0, 10) + * ) + * //=> 136 + * + * // How many business days are between + * // 30 November 2021 and 1 November 2021? + * const result = differenceInBusinessDays( + * new Date(2021, 10, 30), + * new Date(2021, 10, 1) + * ) + * //=> 21 + * + * // How many business days are between + * // 1 November 2021 and 1 December 2021? + * const result = differenceInBusinessDays( + * new Date(2021, 10, 1), + * new Date(2021, 11, 1) + * ) + * //=> -22 + * + * // How many business days are between + * // 1 November 2021 and 1 November 2021 ? + * const result = differenceInBusinessDays( + * new Date(2021, 10, 1), + * new Date(2021, 10, 1) + * ) + * //=> 0 + */ +export default function differenceInBusinessDays(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + if (!isValid(dateLeft) || !isValid(dateRight)) return NaN; + var calendarDifference = differenceInCalendarDays(dateLeft, dateRight); + var sign = calendarDifference < 0 ? -1 : 1; + var weeks = toInteger(calendarDifference / 7); + var result = weeks * 5; + dateRight = addDays(dateRight, weeks * 7); + + // the loop below will run at most 6 times to account for the remaining days that don't makeup a full week + while (!isSameDay(dateLeft, dateRight)) { + // sign is used to account for both negative and positive differences + result += isWeekend(dateRight) ? 0 : sign; + dateRight = addDays(dateRight, sign); + } + return result === 0 ? 0 : result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInBusinessDays/index.js.flow b/node_modules/date-fns/esm/differenceInBusinessDays/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInBusinessDays/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInBusinessDays/package.json b/node_modules/date-fns/esm/differenceInBusinessDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInBusinessDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarDays/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarDays/index.d.ts new file mode 100644 index 000000000..384b796ae --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarDays } from 'date-fns' +export default differenceInCalendarDays diff --git a/node_modules/date-fns/esm/differenceInCalendarDays/index.js b/node_modules/date-fns/esm/differenceInCalendarDays/index.js new file mode 100644 index 000000000..428933d55 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarDays/index.js @@ -0,0 +1,47 @@ +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import startOfDay from "../startOfDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_DAY = 86400000; + +/** + * @name differenceInCalendarDays + * @category Day Helpers + * @summary Get the number of calendar days between the given dates. + * + * @description + * Get the number of calendar days between the given dates. This means that the times are removed + * from the dates and then the difference in days is calculated. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar days + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar days are between + * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00? + * const result = differenceInCalendarDays( + * new Date(2012, 6, 2, 0, 0), + * new Date(2011, 6, 2, 23, 0) + * ) + * //=> 366 + * // How many calendar days are between + * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00? + * const result = differenceInCalendarDays( + * new Date(2011, 6, 3, 0, 1), + * new Date(2011, 6, 2, 23, 59) + * ) + * //=> 1 + */ +export default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var startOfDayLeft = startOfDay(dirtyDateLeft); + var startOfDayRight = startOfDay(dirtyDateRight); + var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft); + var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a day is not constant + // (e.g. it's different in the day of the daylight saving time clock shift) + return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarDays/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarDays/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarDays/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarDays/package.json b/node_modules/date-fns/esm/differenceInCalendarDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.d.ts new file mode 100644 index 000000000..bd8325c82 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeekYears } from 'date-fns' +export default differenceInCalendarISOWeekYears diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js new file mode 100644 index 000000000..475ff3c8d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js @@ -0,0 +1,29 @@ +import getISOWeekYear from "../getISOWeekYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInCalendarISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of calendar ISO week-numbering years between the given dates. + * + * @description + * Get the number of calendar ISO week-numbering years between the given dates. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar ISO week-numbering years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar ISO week-numbering years are 1 January 2010 and 1 January 2012? + * const result = differenceInCalendarISOWeekYears( + * new Date(2012, 0, 1), + * new Date(2010, 0, 1) + * ) + * //=> 2 + */ +export default function differenceInCalendarISOWeekYears(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + return getISOWeekYear(dirtyDateLeft) - getISOWeekYear(dirtyDateRight); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/package.json b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.d.ts new file mode 100644 index 000000000..736422781 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeeks } from 'date-fns' +export default differenceInCalendarISOWeeks diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js new file mode 100644 index 000000000..bad56b812 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js @@ -0,0 +1,40 @@ +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import startOfISOWeek from "../startOfISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name differenceInCalendarISOWeeks + * @category ISO Week Helpers + * @summary Get the number of calendar ISO weeks between the given dates. + * + * @description + * Get the number of calendar ISO weeks between the given dates. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar ISO weeks + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar ISO weeks are between 6 July 2014 and 21 July 2014? + * const result = differenceInCalendarISOWeeks( + * new Date(2014, 6, 21), + * new Date(2014, 6, 6) + * ) + * //=> 3 + */ +export default function differenceInCalendarISOWeeks(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var startOfISOWeekLeft = startOfISOWeek(dirtyDateLeft); + var startOfISOWeekRight = startOfISOWeek(dirtyDateRight); + var timestampLeft = startOfISOWeekLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfISOWeekLeft); + var timestampRight = startOfISOWeekRight.getTime() - getTimezoneOffsetInMilliseconds(startOfISOWeekRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarISOWeeks/package.json b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarISOWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarMonths/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarMonths/index.d.ts new file mode 100644 index 000000000..743bf763e --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarMonths } from 'date-fns' +export default differenceInCalendarMonths diff --git a/node_modules/date-fns/esm/differenceInCalendarMonths/index.js b/node_modules/date-fns/esm/differenceInCalendarMonths/index.js new file mode 100644 index 000000000..9bca8edd2 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarMonths/index.js @@ -0,0 +1,31 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInCalendarMonths + * @category Month Helpers + * @summary Get the number of calendar months between the given dates. + * + * @description + * Get the number of calendar months between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar months + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar months are between 31 January 2014 and 1 September 2014? + * const result = differenceInCalendarMonths( + * new Date(2014, 8, 1), + * new Date(2014, 0, 31) + * ) + * //=> 8 + */ +export default function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear(); + var monthDiff = dateLeft.getMonth() - dateRight.getMonth(); + return yearDiff * 12 + monthDiff; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarMonths/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarMonths/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarMonths/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarMonths/package.json b/node_modules/date-fns/esm/differenceInCalendarMonths/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarQuarters/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarQuarters/index.d.ts new file mode 100644 index 000000000..177e07240 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarQuarters } from 'date-fns' +export default differenceInCalendarQuarters diff --git a/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js b/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js new file mode 100644 index 000000000..a7bc58b1a --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js @@ -0,0 +1,32 @@ +import getQuarter from "../getQuarter/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInCalendarQuarters + * @category Quarter Helpers + * @summary Get the number of calendar quarters between the given dates. + * + * @description + * Get the number of calendar quarters between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar quarters + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar quarters are between 31 December 2013 and 2 July 2014? + * const result = differenceInCalendarQuarters( + * new Date(2014, 6, 2), + * new Date(2013, 11, 31) + * ) + * //=> 3 + */ +export default function differenceInCalendarQuarters(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear(); + var quarterDiff = getQuarter(dateLeft) - getQuarter(dateRight); + return yearDiff * 4 + quarterDiff; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarQuarters/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarQuarters/package.json b/node_modules/date-fns/esm/differenceInCalendarQuarters/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarWeeks/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarWeeks/index.d.ts new file mode 100644 index 000000000..c370dd69e --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarWeeks } from 'date-fns' +export default differenceInCalendarWeeks diff --git a/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js b/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js new file mode 100644 index 000000000..f941e3173 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js @@ -0,0 +1,52 @@ +import startOfWeek from "../startOfWeek/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name differenceInCalendarWeeks + * @category Week Helpers + * @summary Get the number of calendar weeks between the given dates. + * + * @description + * Get the number of calendar weeks between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Number} the number of calendar weeks + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // How many calendar weeks are between 5 July 2014 and 20 July 2014? + * const result = differenceInCalendarWeeks( + * new Date(2014, 6, 20), + * new Date(2014, 6, 5) + * ) + * //=> 3 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks are between 5 July 2014 and 20 July 2014? + * const result = differenceInCalendarWeeks( + * new Date(2014, 6, 20), + * new Date(2014, 6, 5), + * { weekStartsOn: 1 } + * ) + * //=> 2 + */ +export default function differenceInCalendarWeeks(dirtyDateLeft, dirtyDateRight, options) { + requiredArgs(2, arguments); + var startOfWeekLeft = startOfWeek(dirtyDateLeft, options); + var startOfWeekRight = startOfWeek(dirtyDateRight, options); + var timestampLeft = startOfWeekLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfWeekLeft); + var timestampRight = startOfWeekRight.getTime() - getTimezoneOffsetInMilliseconds(startOfWeekRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js.flow new file mode 100644 index 000000000..e4968a99c --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarWeeks/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarWeeks/package.json b/node_modules/date-fns/esm/differenceInCalendarWeeks/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarYears/index.d.ts b/node_modules/date-fns/esm/differenceInCalendarYears/index.d.ts new file mode 100644 index 000000000..3692b07ff --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarYears } from 'date-fns' +export default differenceInCalendarYears diff --git a/node_modules/date-fns/esm/differenceInCalendarYears/index.js b/node_modules/date-fns/esm/differenceInCalendarYears/index.js new file mode 100644 index 000000000..0192d3025 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarYears/index.js @@ -0,0 +1,29 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInCalendarYears + * @category Year Helpers + * @summary Get the number of calendar years between the given dates. + * + * @description + * Get the number of calendar years between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of calendar years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many calendar years are between 31 December 2013 and 11 February 2015? + * const result = differenceInCalendarYears( + * new Date(2015, 1, 11), + * new Date(2013, 11, 31) + * ) + * //=> 2 + */ +export default function differenceInCalendarYears(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + return dateLeft.getFullYear() - dateRight.getFullYear(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInCalendarYears/index.js.flow b/node_modules/date-fns/esm/differenceInCalendarYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInCalendarYears/package.json b/node_modules/date-fns/esm/differenceInCalendarYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInCalendarYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInDays/index.d.ts b/node_modules/date-fns/esm/differenceInDays/index.d.ts new file mode 100644 index 000000000..de04cde25 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInDays } from 'date-fns' +export default differenceInDays diff --git a/node_modules/date-fns/esm/differenceInDays/index.js b/node_modules/date-fns/esm/differenceInDays/index.js new file mode 100644 index 000000000..0450cb54c --- /dev/null +++ b/node_modules/date-fns/esm/differenceInDays/index.js @@ -0,0 +1,82 @@ +import toDate from "../toDate/index.js"; +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; // Like `compareAsc` but uses local time not UTC, which is needed +// for accurate equality comparisons of UTC timestamps that end up +// having the same representation in local time, e.g. one hour before +// DST ends vs. the instant that DST ends. +function compareLocalAsc(dateLeft, dateRight) { + var diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds(); + if (diff < 0) { + return -1; + } else if (diff > 0) { + return 1; + // Return 0 if diff is 0; return NaN if diff is NaN + } else { + return diff; + } +} + +/** + * @name differenceInDays + * @category Day Helpers + * @summary Get the number of full days between the given dates. + * + * @description + * Get the number of full day periods between two dates. Fractional days are + * truncated towards zero. + * + * One "full day" is the distance between a local time in one day to the same + * local time on the next or previous day. A full day can sometimes be less than + * or more than 24 hours if a daylight savings change happens between two dates. + * + * To ignore DST and only measure exact 24-hour periods, use this instead: + * `Math.floor(differenceInHours(dateLeft, dateRight)/24)|0`. + * + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full days according to the local timezone + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full days are between + * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00? + * const result = differenceInDays( + * new Date(2012, 6, 2, 0, 0), + * new Date(2011, 6, 2, 23, 0) + * ) + * //=> 365 + * // How many full days are between + * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00? + * const result = differenceInDays( + * new Date(2011, 6, 3, 0, 1), + * new Date(2011, 6, 2, 23, 59) + * ) + * //=> 0 + * // How many full days are between + * // 1 March 2020 0:00 and 1 June 2020 0:00 ? + * // Note: because local time is used, the + * // result will always be 92 days, even in + * // time zones where DST starts and the + * // period has only 92*24-1 hours. + * const result = differenceInDays( + * new Date(2020, 5, 1), + * new Date(2020, 2, 1) + * ) +//=> 92 + */ +export default function differenceInDays(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var sign = compareLocalAsc(dateLeft, dateRight); + var difference = Math.abs(differenceInCalendarDays(dateLeft, dateRight)); + dateLeft.setDate(dateLeft.getDate() - sign * difference); + + // Math.abs(diff in full days - diff in calendar days) === 1 if last calendar day is not full + // If so, result must be decreased by 1 in absolute value + var isLastDayNotFull = Number(compareLocalAsc(dateLeft, dateRight) === -sign); + var result = sign * (difference - isLastDayNotFull); + // Prevent negative zero + return result === 0 ? 0 : result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInDays/index.js.flow b/node_modules/date-fns/esm/differenceInDays/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInDays/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInDays/package.json b/node_modules/date-fns/esm/differenceInDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInHours/index.d.ts b/node_modules/date-fns/esm/differenceInHours/index.d.ts new file mode 100644 index 000000000..4559ab98b --- /dev/null +++ b/node_modules/date-fns/esm/differenceInHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInHours } from 'date-fns' +export default differenceInHours diff --git a/node_modules/date-fns/esm/differenceInHours/index.js b/node_modules/date-fns/esm/differenceInHours/index.js new file mode 100644 index 000000000..d2996c9cc --- /dev/null +++ b/node_modules/date-fns/esm/differenceInHours/index.js @@ -0,0 +1,32 @@ +import { millisecondsInHour } from "../constants/index.js"; +import differenceInMilliseconds from "../differenceInMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getRoundingMethod } from "../_lib/roundingMethods/index.js"; +/** + * @name differenceInHours + * @category Hour Helpers + * @summary Get the number of hours between the given dates. + * + * @description + * Get the number of hours between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of hours + * @throws {TypeError} 2 arguments required + * + * @example + * // How many hours are between 2 July 2014 06:50:00 and 2 July 2014 19:00:00? + * const result = differenceInHours( + * new Date(2014, 6, 2, 19, 0), + * new Date(2014, 6, 2, 6, 50) + * ) + * //=> 12 + */ +export default function differenceInHours(dateLeft, dateRight, options) { + requiredArgs(2, arguments); + var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInHour; + return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInHours/index.js.flow b/node_modules/date-fns/esm/differenceInHours/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/esm/differenceInHours/package.json b/node_modules/date-fns/esm/differenceInHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInISOWeekYears/index.d.ts b/node_modules/date-fns/esm/differenceInISOWeekYears/index.d.ts new file mode 100644 index 000000000..ce7cb5745 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInISOWeekYears } from 'date-fns' +export default differenceInISOWeekYears diff --git a/node_modules/date-fns/esm/differenceInISOWeekYears/index.js b/node_modules/date-fns/esm/differenceInISOWeekYears/index.js new file mode 100644 index 000000000..df974231b --- /dev/null +++ b/node_modules/date-fns/esm/differenceInISOWeekYears/index.js @@ -0,0 +1,44 @@ +import toDate from "../toDate/index.js"; +import differenceInCalendarISOWeekYears from "../differenceInCalendarISOWeekYears/index.js"; +import compareAsc from "../compareAsc/index.js"; +import subISOWeekYears from "../subISOWeekYears/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of full ISO week-numbering years between the given dates. + * + * @description + * Get the number of full ISO week-numbering years between the given dates. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full ISO week-numbering years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full ISO week-numbering years are between 1 January 2010 and 1 January 2012? + * const result = differenceInISOWeekYears( + * new Date(2012, 0, 1), + * new Date(2010, 0, 1) + * ) + * //=> 1 + */ +export default function differenceInISOWeekYears(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var sign = compareAsc(dateLeft, dateRight); + var difference = Math.abs(differenceInCalendarISOWeekYears(dateLeft, dateRight)); + dateLeft = subISOWeekYears(dateLeft, sign * difference); + + // Math.abs(diff in full ISO years - diff in calendar ISO years) === 1 + // if last calendar ISO year is not full + // If so, result must be decreased by 1 in absolute value + var isLastISOWeekYearNotFull = Number(compareAsc(dateLeft, dateRight) === -sign); + var result = sign * (difference - isLastISOWeekYearNotFull); + // Prevent negative zero + return result === 0 ? 0 : result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInISOWeekYears/index.js.flow b/node_modules/date-fns/esm/differenceInISOWeekYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInISOWeekYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInISOWeekYears/package.json b/node_modules/date-fns/esm/differenceInISOWeekYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInMilliseconds/index.d.ts b/node_modules/date-fns/esm/differenceInMilliseconds/index.d.ts new file mode 100644 index 000000000..c72a3ab87 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMilliseconds } from 'date-fns' +export default differenceInMilliseconds diff --git a/node_modules/date-fns/esm/differenceInMilliseconds/index.js b/node_modules/date-fns/esm/differenceInMilliseconds/index.js new file mode 100644 index 000000000..2edb008e9 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMilliseconds/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInMilliseconds + * @category Millisecond Helpers + * @summary Get the number of milliseconds between the given dates. + * + * @description + * Get the number of milliseconds between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of milliseconds + * @throws {TypeError} 2 arguments required + * + * @example + * // How many milliseconds are between + * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700? + * const result = differenceInMilliseconds( + * new Date(2014, 6, 2, 12, 30, 21, 700), + * new Date(2014, 6, 2, 12, 30, 20, 600) + * ) + * //=> 1100 + */ +export default function differenceInMilliseconds(dateLeft, dateRight) { + requiredArgs(2, arguments); + return toDate(dateLeft).getTime() - toDate(dateRight).getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInMilliseconds/index.js.flow b/node_modules/date-fns/esm/differenceInMilliseconds/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMilliseconds/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInMilliseconds/package.json b/node_modules/date-fns/esm/differenceInMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInMinutes/index.d.ts b/node_modules/date-fns/esm/differenceInMinutes/index.d.ts new file mode 100644 index 000000000..28348fce3 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMinutes } from 'date-fns' +export default differenceInMinutes diff --git a/node_modules/date-fns/esm/differenceInMinutes/index.js b/node_modules/date-fns/esm/differenceInMinutes/index.js new file mode 100644 index 000000000..64730e732 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMinutes/index.js @@ -0,0 +1,40 @@ +import { millisecondsInMinute } from "../constants/index.js"; +import differenceInMilliseconds from "../differenceInMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getRoundingMethod } from "../_lib/roundingMethods/index.js"; +/** + * @name differenceInMinutes + * @category Minute Helpers + * @summary Get the number of minutes between the given dates. + * + * @description + * Get the signed number of full (rounded towards 0) minutes between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of minutes + * @throws {TypeError} 2 arguments required + * + * @example + * // How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00? + * const result = differenceInMinutes( + * new Date(2014, 6, 2, 12, 20, 0), + * new Date(2014, 6, 2, 12, 7, 59) + * ) + * //=> 12 + * + * @example + * // How many minutes are between 10:01:59 and 10:00:00 + * const result = differenceInMinutes( + * new Date(2000, 0, 1, 10, 0, 0), + * new Date(2000, 0, 1, 10, 1, 59) + * ) + * //=> -1 + */ +export default function differenceInMinutes(dateLeft, dateRight, options) { + requiredArgs(2, arguments); + var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute; + return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInMinutes/index.js.flow b/node_modules/date-fns/esm/differenceInMinutes/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/esm/differenceInMinutes/package.json b/node_modules/date-fns/esm/differenceInMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInMonths/index.d.ts b/node_modules/date-fns/esm/differenceInMonths/index.d.ts new file mode 100644 index 000000000..8fbe97753 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMonths } from 'date-fns' +export default differenceInMonths diff --git a/node_modules/date-fns/esm/differenceInMonths/index.js b/node_modules/date-fns/esm/differenceInMonths/index.js new file mode 100644 index 000000000..6635d0793 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMonths/index.js @@ -0,0 +1,56 @@ +import toDate from "../toDate/index.js"; +import differenceInCalendarMonths from "../differenceInCalendarMonths/index.js"; +import compareAsc from "../compareAsc/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import isLastDayOfMonth from "../isLastDayOfMonth/index.js"; +/** + * @name differenceInMonths + * @category Month Helpers + * @summary Get the number of full months between the given dates. + * + * @description + * Get the number of full months between the given dates using trunc as a default rounding method. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full months + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full months are between 31 January 2014 and 1 September 2014? + * const result = differenceInMonths(new Date(2014, 8, 1), new Date(2014, 0, 31)) + * //=> 7 + */ +export default function differenceInMonths(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var sign = compareAsc(dateLeft, dateRight); + var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight)); + var result; + + // Check for the difference of less than month + if (difference < 1) { + result = 0; + } else { + if (dateLeft.getMonth() === 1 && dateLeft.getDate() > 27) { + // This will check if the date is end of Feb and assign a higher end of month date + // to compare it with Jan + dateLeft.setDate(30); + } + dateLeft.setMonth(dateLeft.getMonth() - sign * difference); + + // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full + // If so, result must be decreased by 1 in absolute value + var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign; + + // Check for cases of one full calendar month + if (isLastDayOfMonth(toDate(dirtyDateLeft)) && difference === 1 && compareAsc(dirtyDateLeft, dateRight) === 1) { + isLastMonthNotFull = false; + } + result = sign * (difference - Number(isLastMonthNotFull)); + } + + // Prevent negative zero + return result === 0 ? 0 : result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInMonths/index.js.flow b/node_modules/date-fns/esm/differenceInMonths/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMonths/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInMonths/package.json b/node_modules/date-fns/esm/differenceInMonths/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInQuarters/index.d.ts b/node_modules/date-fns/esm/differenceInQuarters/index.d.ts new file mode 100644 index 000000000..9cc693b93 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInQuarters } from 'date-fns' +export default differenceInQuarters diff --git a/node_modules/date-fns/esm/differenceInQuarters/index.js b/node_modules/date-fns/esm/differenceInQuarters/index.js new file mode 100644 index 000000000..3576c2bb9 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInQuarters/index.js @@ -0,0 +1,28 @@ +import differenceInMonths from "../differenceInMonths/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getRoundingMethod } from "../_lib/roundingMethods/index.js"; +/** + * @name differenceInQuarters + * @category Quarter Helpers + * @summary Get the number of quarters between the given dates. + * + * @description + * Get the number of quarters between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of full quarters + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full quarters are between 31 December 2013 and 2 July 2014? + * const result = differenceInQuarters(new Date(2014, 6, 2), new Date(2013, 11, 31)) + * //=> 2 + */ +export default function differenceInQuarters(dateLeft, dateRight, options) { + requiredArgs(2, arguments); + var diff = differenceInMonths(dateLeft, dateRight) / 3; + return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInQuarters/index.js.flow b/node_modules/date-fns/esm/differenceInQuarters/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/esm/differenceInQuarters/package.json b/node_modules/date-fns/esm/differenceInQuarters/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInSeconds/index.d.ts b/node_modules/date-fns/esm/differenceInSeconds/index.d.ts new file mode 100644 index 000000000..e317fe275 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInSeconds } from 'date-fns' +export default differenceInSeconds diff --git a/node_modules/date-fns/esm/differenceInSeconds/index.js b/node_modules/date-fns/esm/differenceInSeconds/index.js new file mode 100644 index 000000000..eaa9f95ab --- /dev/null +++ b/node_modules/date-fns/esm/differenceInSeconds/index.js @@ -0,0 +1,32 @@ +import differenceInMilliseconds from "../differenceInMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getRoundingMethod } from "../_lib/roundingMethods/index.js"; +/** + * @name differenceInSeconds + * @category Second Helpers + * @summary Get the number of seconds between the given dates. + * + * @description + * Get the number of seconds between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of seconds + * @throws {TypeError} 2 arguments required + * + * @example + * // How many seconds are between + * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000? + * const result = differenceInSeconds( + * new Date(2014, 6, 2, 12, 30, 20, 0), + * new Date(2014, 6, 2, 12, 30, 7, 999) + * ) + * //=> 12 + */ +export default function differenceInSeconds(dateLeft, dateRight, options) { + requiredArgs(2, arguments); + var diff = differenceInMilliseconds(dateLeft, dateRight) / 1000; + return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInSeconds/index.js.flow b/node_modules/date-fns/esm/differenceInSeconds/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/esm/differenceInSeconds/package.json b/node_modules/date-fns/esm/differenceInSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInWeeks/index.d.ts b/node_modules/date-fns/esm/differenceInWeeks/index.d.ts new file mode 100644 index 000000000..a42614c91 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInWeeks } from 'date-fns' +export default differenceInWeeks diff --git a/node_modules/date-fns/esm/differenceInWeeks/index.js b/node_modules/date-fns/esm/differenceInWeeks/index.js new file mode 100644 index 000000000..dc140d40d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInWeeks/index.js @@ -0,0 +1,49 @@ +import differenceInDays from "../differenceInDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getRoundingMethod } from "../_lib/roundingMethods/index.js"; +/** + * @name differenceInWeeks + * @category Week Helpers + * @summary Get the number of full weeks between the given dates. + * + * @description + * Get the number of full weeks between two dates. Fractional weeks are + * truncated towards zero by default. + * + * One "full week" is the distance between a local time in one day to the same + * local time 7 days earlier or later. A full week can sometimes be less than + * or more than 7*24 hours if a daylight savings change happens between two dates. + * + * To ignore DST and only measure exact 7*24-hour periods, use this instead: + * `Math.floor(differenceInHours(dateLeft, dateRight)/(7*24))|0`. + * + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @param {Object} [options] - an object with options. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Number} the number of full weeks + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full weeks are between 5 July 2014 and 20 July 2014? + * const result = differenceInWeeks(new Date(2014, 6, 20), new Date(2014, 6, 5)) + * //=> 2 + * + * // How many full weeks are between + * // 1 March 2020 0:00 and 6 June 2020 0:00 ? + * // Note: because local time is used, the + * // result will always be 8 weeks (54 days), + * // even if DST starts and the period has + * // only 54*24-1 hours. + * const result = differenceInWeeks( + * new Date(2020, 5, 1), + * new Date(2020, 2, 6) + * ) + * //=> 8 + */ +export default function differenceInWeeks(dateLeft, dateRight, options) { + requiredArgs(2, arguments); + var diff = differenceInDays(dateLeft, dateRight) / 7; + return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInWeeks/index.js.flow b/node_modules/date-fns/esm/differenceInWeeks/index.js.flow new file mode 100644 index 000000000..789902e39 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } +) => number diff --git a/node_modules/date-fns/esm/differenceInWeeks/package.json b/node_modules/date-fns/esm/differenceInWeeks/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInYears/index.d.ts b/node_modules/date-fns/esm/differenceInYears/index.d.ts new file mode 100644 index 000000000..df839f6a8 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInYears } from 'date-fns' +export default differenceInYears diff --git a/node_modules/date-fns/esm/differenceInYears/index.js b/node_modules/date-fns/esm/differenceInYears/index.js new file mode 100644 index 000000000..0b33b063e --- /dev/null +++ b/node_modules/date-fns/esm/differenceInYears/index.js @@ -0,0 +1,41 @@ +import toDate from "../toDate/index.js"; +import differenceInCalendarYears from "../differenceInCalendarYears/index.js"; +import compareAsc from "../compareAsc/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name differenceInYears + * @category Year Helpers + * @summary Get the number of full years between the given dates. + * + * @description + * Get the number of full years between the given dates. + * + * @param {Date|Number} dateLeft - the later date + * @param {Date|Number} dateRight - the earlier date + * @returns {Number} the number of full years + * @throws {TypeError} 2 arguments required + * + * @example + * // How many full years are between 31 December 2013 and 11 February 2015? + * const result = differenceInYears(new Date(2015, 1, 11), new Date(2013, 11, 31)) + * //=> 1 + */ +export default function differenceInYears(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + var sign = compareAsc(dateLeft, dateRight); + var difference = Math.abs(differenceInCalendarYears(dateLeft, dateRight)); + + // Set both dates to a valid leap year for accurate comparison when dealing + // with leap days + dateLeft.setFullYear(1584); + dateRight.setFullYear(1584); + + // Math.abs(diff in full years - diff in calendar years) === 1 if last calendar year is not full + // If so, result must be decreased by 1 in absolute value + var isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign; + var result = sign * (difference - Number(isLastYearNotFull)); + // Prevent negative zero + return result === 0 ? 0 : result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/differenceInYears/index.js.flow b/node_modules/date-fns/esm/differenceInYears/index.js.flow new file mode 100644 index 000000000..c7998197d --- /dev/null +++ b/node_modules/date-fns/esm/differenceInYears/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => number diff --git a/node_modules/date-fns/esm/differenceInYears/package.json b/node_modules/date-fns/esm/differenceInYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/differenceInYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachDayOfInterval/index.d.ts b/node_modules/date-fns/esm/eachDayOfInterval/index.d.ts new file mode 100644 index 000000000..80fc0dc7a --- /dev/null +++ b/node_modules/date-fns/esm/eachDayOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachDayOfInterval } from 'date-fns' +export default eachDayOfInterval diff --git a/node_modules/date-fns/esm/eachDayOfInterval/index.js b/node_modules/date-fns/esm/eachDayOfInterval/index.js new file mode 100644 index 000000000..48496271b --- /dev/null +++ b/node_modules/date-fns/esm/eachDayOfInterval/index.js @@ -0,0 +1,57 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachDayOfInterval + * @category Interval Helpers + * @summary Return the array of dates within the specified time interval. + * + * @description + * Return the array of dates within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Number} [options.step=1] - the step to increment by. The value should be more than 1. + * @returns {Date[]} the array with starts of days from the day of the interval start to the day of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.step` must be a number greater than 1 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each day between 6 October 2014 and 10 October 2014: + * const result = eachDayOfInterval({ + * start: new Date(2014, 9, 6), + * end: new Date(2014, 9, 10) + * }) + * //=> [ + * // Mon Oct 06 2014 00:00:00, + * // Tue Oct 07 2014 00:00:00, + * // Wed Oct 08 2014 00:00:00, + * // Thu Oct 09 2014 00:00:00, + * // Fri Oct 10 2014 00:00:00 + * // ] + */ +export default function eachDayOfInterval(dirtyInterval, options) { + var _options$step; + requiredArgs(1, arguments); + var interval = dirtyInterval || {}; + var startDate = toDate(interval.start); + var endDate = toDate(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + currentDate.setHours(0, 0, 0, 0); + var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1); + if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number greater than 1'); + while (currentDate.getTime() <= endTime) { + dates.push(toDate(currentDate)); + currentDate.setDate(currentDate.getDate() + step); + currentDate.setHours(0, 0, 0, 0); + } + return dates; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachDayOfInterval/index.js.flow b/node_modules/date-fns/esm/eachDayOfInterval/index.js.flow new file mode 100644 index 000000000..5a9b8e456 --- /dev/null +++ b/node_modules/date-fns/esm/eachDayOfInterval/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + step?: number, + } +) => Date[] diff --git a/node_modules/date-fns/esm/eachDayOfInterval/package.json b/node_modules/date-fns/esm/eachDayOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachDayOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachHourOfInterval/index.d.ts b/node_modules/date-fns/esm/eachHourOfInterval/index.d.ts new file mode 100644 index 000000000..4c3addd3f --- /dev/null +++ b/node_modules/date-fns/esm/eachHourOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachHourOfInterval } from 'date-fns' +export default eachHourOfInterval diff --git a/node_modules/date-fns/esm/eachHourOfInterval/index.js b/node_modules/date-fns/esm/eachHourOfInterval/index.js new file mode 100644 index 000000000..031430a9b --- /dev/null +++ b/node_modules/date-fns/esm/eachHourOfInterval/index.js @@ -0,0 +1,57 @@ +import addHours from "../addHours/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachHourOfInterval + * @category Interval Helpers + * @summary Return the array of hours within the specified time interval. + * + * @description + * Return the array of hours within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Number} [options.step=1] - the step to increment by. The value should be more than 1. + * @returns {Date[]} the array with starts of hours from the hour of the interval start to the hour of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.step` must be a number greater than 1 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each hour between 6 October 2014, 12:00 and 6 October 2014, 15:00 + * const result = eachHourOfInterval({ + * start: new Date(2014, 9, 6, 12), + * end: new Date(2014, 9, 6, 15) + * }) + * //=> [ + * // Mon Oct 06 2014 12:00:00, + * // Mon Oct 06 2014 13:00:00, + * // Mon Oct 06 2014 14:00:00, + * // Mon Oct 06 2014 15:00:00 + * // ] + */ +export default function eachHourOfInterval(dirtyInterval, options) { + var _options$step; + requiredArgs(1, arguments); + var interval = dirtyInterval || {}; + var startDate = toDate(interval.start); + var endDate = toDate(interval.end); + var startTime = startDate.getTime(); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startTime <= endTime)) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + currentDate.setMinutes(0, 0, 0); + var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1); + if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number greater than 1'); + while (currentDate.getTime() <= endTime) { + dates.push(toDate(currentDate)); + currentDate = addHours(currentDate, step); + } + return dates; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachHourOfInterval/index.js.flow b/node_modules/date-fns/esm/eachHourOfInterval/index.js.flow new file mode 100644 index 000000000..5a9b8e456 --- /dev/null +++ b/node_modules/date-fns/esm/eachHourOfInterval/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + step?: number, + } +) => Date[] diff --git a/node_modules/date-fns/esm/eachHourOfInterval/package.json b/node_modules/date-fns/esm/eachHourOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachHourOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachMinuteOfInterval/index.d.ts b/node_modules/date-fns/esm/eachMinuteOfInterval/index.d.ts new file mode 100644 index 000000000..f96a5e9ab --- /dev/null +++ b/node_modules/date-fns/esm/eachMinuteOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMinuteOfInterval } from 'date-fns' +export default eachMinuteOfInterval diff --git a/node_modules/date-fns/esm/eachMinuteOfInterval/index.js b/node_modules/date-fns/esm/eachMinuteOfInterval/index.js new file mode 100644 index 000000000..3a273c1df --- /dev/null +++ b/node_modules/date-fns/esm/eachMinuteOfInterval/index.js @@ -0,0 +1,54 @@ +import addMinutes from "../addMinutes/index.js"; +import toDate from "../toDate/index.js"; +import startOfMinute from "../startOfMinute/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachMinuteOfInterval + * @category Interval Helpers + * @summary Return the array of minutes within the specified time interval. + * + * @description + * Returns the array of minutes within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Number} [options.step=1] - the step to increment by. The step must be equal to or greater than 1 + * @throws {TypeError} 1 argument required + * @returns {Date[]} the array with starts of minutes from the minute of the interval start to the minute of the interval end + * @throws {RangeError} `options.step` must be a number equal to or greater than 1 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each minute between 14 October 2020, 13:00 and 14 October 2020, 13:03 + * const result = eachMinuteOfInterval({ + * start: new Date(2014, 9, 14, 13), + * end: new Date(2014, 9, 14, 13, 3) + * }) + * //=> [ + * // Wed Oct 14 2014 13:00:00, + * // Wed Oct 14 2014 13:01:00, + * // Wed Oct 14 2014 13:02:00, + * // Wed Oct 14 2014 13:03:00 + * // ] + */ +export default function eachMinuteOfInterval(interval, options) { + var _options$step; + requiredArgs(1, arguments); + var startDate = startOfMinute(toDate(interval.start)); + var endDate = toDate(interval.end); + var startTime = startDate.getTime(); + var endTime = endDate.getTime(); + if (startTime >= endTime) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + var step = Number((_options$step = options === null || options === void 0 ? void 0 : options.step) !== null && _options$step !== void 0 ? _options$step : 1); + if (step < 1 || isNaN(step)) throw new RangeError('`options.step` must be a number equal to or greater than 1'); + while (currentDate.getTime() <= endTime) { + dates.push(toDate(currentDate)); + currentDate = addMinutes(currentDate, step); + } + return dates; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachMinuteOfInterval/index.js.flow b/node_modules/date-fns/esm/eachMinuteOfInterval/index.js.flow new file mode 100644 index 000000000..5a9b8e456 --- /dev/null +++ b/node_modules/date-fns/esm/eachMinuteOfInterval/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + step?: number, + } +) => Date[] diff --git a/node_modules/date-fns/esm/eachMinuteOfInterval/package.json b/node_modules/date-fns/esm/eachMinuteOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachMinuteOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachMonthOfInterval/index.d.ts b/node_modules/date-fns/esm/eachMonthOfInterval/index.d.ts new file mode 100644 index 000000000..bda4a1868 --- /dev/null +++ b/node_modules/date-fns/esm/eachMonthOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMonthOfInterval } from 'date-fns' +export default eachMonthOfInterval diff --git a/node_modules/date-fns/esm/eachMonthOfInterval/index.js b/node_modules/date-fns/esm/eachMonthOfInterval/index.js new file mode 100644 index 000000000..7a2e75e5b --- /dev/null +++ b/node_modules/date-fns/esm/eachMonthOfInterval/index.js @@ -0,0 +1,53 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachMonthOfInterval + * @category Interval Helpers + * @summary Return the array of months within the specified time interval. + * + * @description + * Return the array of months within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} the array with starts of months from the month of the interval start to the month of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each month between 6 February 2014 and 10 August 2014: + * const result = eachMonthOfInterval({ + * start: new Date(2014, 1, 6), + * end: new Date(2014, 7, 10) + * }) + * //=> [ + * // Sat Feb 01 2014 00:00:00, + * // Sat Mar 01 2014 00:00:00, + * // Tue Apr 01 2014 00:00:00, + * // Thu May 01 2014 00:00:00, + * // Sun Jun 01 2014 00:00:00, + * // Tue Jul 01 2014 00:00:00, + * // Fri Aug 01 2014 00:00:00 + * // ] + */ +export default function eachMonthOfInterval(dirtyInterval) { + requiredArgs(1, arguments); + var interval = dirtyInterval || {}; + var startDate = toDate(interval.start); + var endDate = toDate(interval.end); + var endTime = endDate.getTime(); + var dates = []; + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var currentDate = startDate; + currentDate.setHours(0, 0, 0, 0); + currentDate.setDate(1); + while (currentDate.getTime() <= endTime) { + dates.push(toDate(currentDate)); + currentDate.setMonth(currentDate.getMonth() + 1); + } + return dates; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachMonthOfInterval/index.js.flow b/node_modules/date-fns/esm/eachMonthOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/esm/eachMonthOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/esm/eachMonthOfInterval/package.json b/node_modules/date-fns/esm/eachMonthOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachMonthOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachQuarterOfInterval/index.d.ts b/node_modules/date-fns/esm/eachQuarterOfInterval/index.d.ts new file mode 100644 index 000000000..879b5485f --- /dev/null +++ b/node_modules/date-fns/esm/eachQuarterOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachQuarterOfInterval } from 'date-fns' +export default eachQuarterOfInterval diff --git a/node_modules/date-fns/esm/eachQuarterOfInterval/index.js b/node_modules/date-fns/esm/eachQuarterOfInterval/index.js new file mode 100644 index 000000000..7169beaeb --- /dev/null +++ b/node_modules/date-fns/esm/eachQuarterOfInterval/index.js @@ -0,0 +1,52 @@ +import addQuarters from "../addQuarters/index.js"; +import startOfQuarter from "../startOfQuarter/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachQuarterOfInterval + * @category Interval Helpers + * @summary Return the array of quarters within the specified time interval. + * + * @description + * Return the array of quarters within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} the array with starts of quarters from the quarter of the interval start to the quarter of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each quarter within interval 6 February 2014 - 10 August 2014: + * const result = eachQuarterOfInterval({ + * start: new Date(2014, 1, 6), + * end: new Date(2014, 7, 10) + * }) + * //=> [ + * // Wed Jan 01 2014 00:00:00, + * // Tue Apr 01 2014 00:00:00, + * // Tue Jul 01 2014 00:00:00, + * // ] + */ +export default function eachQuarterOfInterval(dirtyInterval) { + requiredArgs(1, arguments); + var interval = dirtyInterval || {}; + var startDate = toDate(interval.start); + var endDate = toDate(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var startDateQuarter = startOfQuarter(startDate); + var endDateQuarter = startOfQuarter(endDate); + endTime = endDateQuarter.getTime(); + var quarters = []; + var currentQuarter = startDateQuarter; + while (currentQuarter.getTime() <= endTime) { + quarters.push(toDate(currentQuarter)); + currentQuarter = addQuarters(currentQuarter, 1); + } + return quarters; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachQuarterOfInterval/index.js.flow b/node_modules/date-fns/esm/eachQuarterOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/esm/eachQuarterOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/esm/eachQuarterOfInterval/package.json b/node_modules/date-fns/esm/eachQuarterOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachQuarterOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekOfInterval/index.d.ts b/node_modules/date-fns/esm/eachWeekOfInterval/index.d.ts new file mode 100644 index 000000000..24d1a8aef --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekOfInterval } from 'date-fns' +export default eachWeekOfInterval diff --git a/node_modules/date-fns/esm/eachWeekOfInterval/index.js b/node_modules/date-fns/esm/eachWeekOfInterval/index.js new file mode 100644 index 000000000..86359f007 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekOfInterval/index.js @@ -0,0 +1,67 @@ +import addWeeks from "../addWeeks/index.js"; +import startOfWeek from "../startOfWeek/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachWeekOfInterval + * @category Interval Helpers + * @summary Return the array of weeks within the specified time interval. + * + * @description + * Return the array of weeks within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date[]} the array with starts of weeks from the week of the interval start to the week of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be 0, 1, ..., 6 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each week within interval 6 October 2014 - 23 November 2014: + * const result = eachWeekOfInterval({ + * start: new Date(2014, 9, 6), + * end: new Date(2014, 10, 23) + * }) + * //=> [ + * // Sun Oct 05 2014 00:00:00, + * // Sun Oct 12 2014 00:00:00, + * // Sun Oct 19 2014 00:00:00, + * // Sun Oct 26 2014 00:00:00, + * // Sun Nov 02 2014 00:00:00, + * // Sun Nov 09 2014 00:00:00, + * // Sun Nov 16 2014 00:00:00, + * // Sun Nov 23 2014 00:00:00 + * // ] + */ +export default function eachWeekOfInterval(dirtyInterval, options) { + requiredArgs(1, arguments); + var interval = dirtyInterval || {}; + var startDate = toDate(interval.start); + var endDate = toDate(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var startDateWeek = startOfWeek(startDate, options); + var endDateWeek = startOfWeek(endDate, options); + + // Some timezones switch DST at midnight, making start of day unreliable in these timezones, 3pm is a safe bet + startDateWeek.setHours(15); + endDateWeek.setHours(15); + endTime = endDateWeek.getTime(); + var weeks = []; + var currentWeek = startDateWeek; + while (currentWeek.getTime() <= endTime) { + currentWeek.setHours(0); + weeks.push(toDate(currentWeek)); + currentWeek = addWeeks(currentWeek, 1); + currentWeek.setHours(15); + } + return weeks; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekOfInterval/index.js.flow b/node_modules/date-fns/esm/eachWeekOfInterval/index.js.flow new file mode 100644 index 000000000..bc8cd5a0c --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekOfInterval/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + interval: Interval, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date[] diff --git a/node_modules/date-fns/esm/eachWeekOfInterval/package.json b/node_modules/date-fns/esm/eachWeekOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekendOfInterval/index.d.ts b/node_modules/date-fns/esm/eachWeekendOfInterval/index.d.ts new file mode 100644 index 000000000..c0b3fea21 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfInterval } from 'date-fns' +export default eachWeekendOfInterval diff --git a/node_modules/date-fns/esm/eachWeekendOfInterval/index.js b/node_modules/date-fns/esm/eachWeekendOfInterval/index.js new file mode 100644 index 000000000..94db59b6b --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfInterval/index.js @@ -0,0 +1,45 @@ +import eachDayOfInterval from "../eachDayOfInterval/index.js"; +import isSunday from "../isSunday/index.js"; +import isWeekend from "../isWeekend/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachWeekendOfInterval + * @category Interval Helpers + * @summary List all the Saturdays and Sundays in the given date interval. + * + * @description + * Get all the Saturdays and Sundays in the given date interval. + * + * @param {Interval} interval - the given interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} an array containing all the Saturdays and Sundays + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Lists all Saturdays and Sundays in the given date interval + * const result = eachWeekendOfInterval({ + * start: new Date(2018, 8, 17), + * end: new Date(2018, 8, 30) + * }) + * //=> [ + * // Sat Sep 22 2018 00:00:00, + * // Sun Sep 23 2018 00:00:00, + * // Sat Sep 29 2018 00:00:00, + * // Sun Sep 30 2018 00:00:00 + * // ] + */ +export default function eachWeekendOfInterval(interval) { + requiredArgs(1, arguments); + var dateInterval = eachDayOfInterval(interval); + var weekends = []; + var index = 0; + while (index < dateInterval.length) { + var date = dateInterval[index++]; + if (isWeekend(date)) { + weekends.push(date); + if (isSunday(date)) index = index + 5; + } + } + return weekends; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekendOfInterval/index.js.flow b/node_modules/date-fns/esm/eachWeekendOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/esm/eachWeekendOfInterval/package.json b/node_modules/date-fns/esm/eachWeekendOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekendOfMonth/index.d.ts b/node_modules/date-fns/esm/eachWeekendOfMonth/index.d.ts new file mode 100644 index 000000000..cb01c45e9 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfMonth } from 'date-fns' +export default eachWeekendOfMonth diff --git a/node_modules/date-fns/esm/eachWeekendOfMonth/index.js b/node_modules/date-fns/esm/eachWeekendOfMonth/index.js new file mode 100644 index 000000000..00dffecc8 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfMonth/index.js @@ -0,0 +1,41 @@ +import eachWeekendOfInterval from "../eachWeekendOfInterval/index.js"; +import startOfMonth from "../startOfMonth/index.js"; +import endOfMonth from "../endOfMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachWeekendOfMonth + * @category Month Helpers + * @summary List all the Saturdays and Sundays in the given month. + * + * @description + * Get all the Saturdays and Sundays in the given month. + * + * @param {Date|Number} date - the given month + * @returns {Date[]} an array containing all the Saturdays and Sundays + * @throws {TypeError} 1 argument required + * @throws {RangeError} The passed date is invalid + * + * @example + * // Lists all Saturdays and Sundays in the given month + * const result = eachWeekendOfMonth(new Date(2022, 1, 1)) + * //=> [ + * // Sat Feb 05 2022 00:00:00, + * // Sun Feb 06 2022 00:00:00, + * // Sat Feb 12 2022 00:00:00, + * // Sun Feb 13 2022 00:00:00, + * // Sat Feb 19 2022 00:00:00, + * // Sun Feb 20 2022 00:00:00, + * // Sat Feb 26 2022 00:00:00, + * // Sun Feb 27 2022 00:00:00 + * // ] + */ +export default function eachWeekendOfMonth(dirtyDate) { + requiredArgs(1, arguments); + var startDate = startOfMonth(dirtyDate); + if (isNaN(startDate.getTime())) throw new RangeError('The passed date is invalid'); + var endDate = endOfMonth(dirtyDate); + return eachWeekendOfInterval({ + start: startDate, + end: endDate + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekendOfMonth/index.js.flow b/node_modules/date-fns/esm/eachWeekendOfMonth/index.js.flow new file mode 100644 index 000000000..7073332eb --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date[] diff --git a/node_modules/date-fns/esm/eachWeekendOfMonth/package.json b/node_modules/date-fns/esm/eachWeekendOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekendOfYear/index.d.ts b/node_modules/date-fns/esm/eachWeekendOfYear/index.d.ts new file mode 100644 index 000000000..7cda9d16c --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfYear } from 'date-fns' +export default eachWeekendOfYear diff --git a/node_modules/date-fns/esm/eachWeekendOfYear/index.js b/node_modules/date-fns/esm/eachWeekendOfYear/index.js new file mode 100644 index 000000000..1f1f393a8 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfYear/index.js @@ -0,0 +1,37 @@ +import eachWeekendOfInterval from "../eachWeekendOfInterval/index.js"; +import endOfYear from "../endOfYear/index.js"; +import startOfYear from "../startOfYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachWeekendOfYear + * @category Year Helpers + * @summary List all the Saturdays and Sundays in the year. + * + * @description + * Get all the Saturdays and Sundays in the year. + * + * @param {Date|Number} date - the given year + * @returns {Date[]} an array containing all the Saturdays and Sundays + * @throws {TypeError} 1 argument required + * @throws {RangeError} The passed date is invalid + * + * @example + * // Lists all Saturdays and Sundays in the year + * const result = eachWeekendOfYear(new Date(2020, 1, 1)) + * //=> [ + * // Sat Jan 03 2020 00:00:00, + * // Sun Jan 04 2020 00:00:00, + * // ... + * // Sun Dec 27 2020 00:00:00 + * // ] + * ] + */ +export default function eachWeekendOfYear(dirtyDate) { + requiredArgs(1, arguments); + var startDate = startOfYear(dirtyDate); + var endDate = endOfYear(dirtyDate); + return eachWeekendOfInterval({ + start: startDate, + end: endDate + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachWeekendOfYear/index.js.flow b/node_modules/date-fns/esm/eachWeekendOfYear/index.js.flow new file mode 100644 index 000000000..7073332eb --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date[] diff --git a/node_modules/date-fns/esm/eachWeekendOfYear/package.json b/node_modules/date-fns/esm/eachWeekendOfYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachWeekendOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachYearOfInterval/index.d.ts b/node_modules/date-fns/esm/eachYearOfInterval/index.d.ts new file mode 100644 index 000000000..d6d5d5d26 --- /dev/null +++ b/node_modules/date-fns/esm/eachYearOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachYearOfInterval } from 'date-fns' +export default eachYearOfInterval diff --git a/node_modules/date-fns/esm/eachYearOfInterval/index.js b/node_modules/date-fns/esm/eachYearOfInterval/index.js new file mode 100644 index 000000000..875871cb5 --- /dev/null +++ b/node_modules/date-fns/esm/eachYearOfInterval/index.js @@ -0,0 +1,50 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name eachYearOfInterval + * @category Interval Helpers + * @summary Return the array of yearly timestamps within the specified time interval. + * + * @description + * Return the array of yearly timestamps within the specified time interval. + * + * @param {Interval} interval - the interval. See [Interval]{@link https://date-fns.org/docs/Interval} + * @returns {Date[]} the array with starts of yearly timestamps from the month of the interval start to the month of the interval end + * @throws {TypeError} 1 argument required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // Each year between 6 February 2014 and 10 August 2017: + * const result = eachYearOfInterval({ + * start: new Date(2014, 1, 6), + * end: new Date(2017, 7, 10) + * }) + * //=> [ + * // Wed Jan 01 2014 00:00:00, + * // Thu Jan 01 2015 00:00:00, + * // Fri Jan 01 2016 00:00:00, + * // Sun Jan 01 2017 00:00:00 + * // ] + */ +export default function eachYearOfInterval(dirtyInterval) { + requiredArgs(1, arguments); + var interval = dirtyInterval || {}; + var startDate = toDate(interval.start); + var endDate = toDate(interval.end); + var endTime = endDate.getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startDate.getTime() <= endTime)) { + throw new RangeError('Invalid interval'); + } + var dates = []; + var currentDate = startDate; + currentDate.setHours(0, 0, 0, 0); + currentDate.setMonth(0, 1); + while (currentDate.getTime() <= endTime) { + dates.push(toDate(currentDate)); + currentDate.setFullYear(currentDate.getFullYear() + 1); + } + return dates; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/eachYearOfInterval/index.js.flow b/node_modules/date-fns/esm/eachYearOfInterval/index.js.flow new file mode 100644 index 000000000..30230a512 --- /dev/null +++ b/node_modules/date-fns/esm/eachYearOfInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Date[] diff --git a/node_modules/date-fns/esm/eachYearOfInterval/package.json b/node_modules/date-fns/esm/eachYearOfInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/eachYearOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfDay/index.d.ts b/node_modules/date-fns/esm/endOfDay/index.d.ts new file mode 100644 index 000000000..2ce617264 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDay } from 'date-fns' +export default endOfDay diff --git a/node_modules/date-fns/esm/endOfDay/index.js b/node_modules/date-fns/esm/endOfDay/index.js new file mode 100644 index 000000000..23df35fe0 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDay/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfDay + * @category Day Helpers + * @summary Return the end of a day for the given date. + * + * @description + * Return the end of a day for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a day + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a day for 2 September 2014 11:55:00: + * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 02 2014 23:59:59.999 + */ +export default function endOfDay(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfDay/index.js.flow b/node_modules/date-fns/esm/endOfDay/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfDay/package.json b/node_modules/date-fns/esm/endOfDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfDecade/index.d.ts b/node_modules/date-fns/esm/endOfDecade/index.d.ts new file mode 100644 index 000000000..c723f1386 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDecade } from 'date-fns' +export default endOfDecade diff --git a/node_modules/date-fns/esm/endOfDecade/index.js b/node_modules/date-fns/esm/endOfDecade/index.js new file mode 100644 index 000000000..d18bf5e43 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDecade/index.js @@ -0,0 +1,31 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfDecade + * @category Decade Helpers + * @summary Return the end of a decade for the given date. + * + * @description + * Return the end of a decade for the given date. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a decade + * @param {Object} [options] - an object with options. + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The end of a decade for 12 May 1984 00:00:00: + * const result = endOfDecade(new Date(1984, 4, 12, 00, 00, 00)) + * //=> Dec 31 1989 23:59:59.999 + */ +export default function endOfDecade(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var decade = 9 + Math.floor(year / 10) * 10; + date.setFullYear(decade, 11, 31); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfDecade/index.js.flow b/node_modules/date-fns/esm/endOfDecade/index.js.flow new file mode 100644 index 000000000..364a3bb2f --- /dev/null +++ b/node_modules/date-fns/esm/endOfDecade/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } +) => Date diff --git a/node_modules/date-fns/esm/endOfDecade/package.json b/node_modules/date-fns/esm/endOfDecade/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfHour/index.d.ts b/node_modules/date-fns/esm/endOfHour/index.d.ts new file mode 100644 index 000000000..10ab321c5 --- /dev/null +++ b/node_modules/date-fns/esm/endOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfHour } from 'date-fns' +export default endOfHour diff --git a/node_modules/date-fns/esm/endOfHour/index.js b/node_modules/date-fns/esm/endOfHour/index.js new file mode 100644 index 000000000..d9c7f5718 --- /dev/null +++ b/node_modules/date-fns/esm/endOfHour/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfHour + * @category Hour Helpers + * @summary Return the end of an hour for the given date. + * + * @description + * Return the end of an hour for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an hour + * @throws {TypeError} 1 argument required + * + * @example + * // The end of an hour for 2 September 2014 11:55:00: + * const result = endOfHour(new Date(2014, 8, 2, 11, 55)) + * //=> Tue Sep 02 2014 11:59:59.999 + */ +export default function endOfHour(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setMinutes(59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfHour/index.js.flow b/node_modules/date-fns/esm/endOfHour/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfHour/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfHour/package.json b/node_modules/date-fns/esm/endOfHour/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfISOWeek/index.d.ts b/node_modules/date-fns/esm/endOfISOWeek/index.d.ts new file mode 100644 index 000000000..10c33653e --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeek } from 'date-fns' +export default endOfISOWeek diff --git a/node_modules/date-fns/esm/endOfISOWeek/index.js b/node_modules/date-fns/esm/endOfISOWeek/index.js new file mode 100644 index 000000000..96f474aba --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeek/index.js @@ -0,0 +1,28 @@ +import endOfWeek from "../endOfWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfISOWeek + * @category ISO Week Helpers + * @summary Return the end of an ISO week for the given date. + * + * @description + * Return the end of an ISO week for the given date. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // The end of an ISO week for 2 September 2014 11:55:00: + * const result = endOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Sep 07 2014 23:59:59.999 + */ +export default function endOfISOWeek(dirtyDate) { + requiredArgs(1, arguments); + return endOfWeek(dirtyDate, { + weekStartsOn: 1 + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfISOWeek/index.js.flow b/node_modules/date-fns/esm/endOfISOWeek/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfISOWeek/package.json b/node_modules/date-fns/esm/endOfISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfISOWeekYear/index.d.ts b/node_modules/date-fns/esm/endOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..18783085b --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeekYear } from 'date-fns' +export default endOfISOWeekYear diff --git a/node_modules/date-fns/esm/endOfISOWeekYear/index.js b/node_modules/date-fns/esm/endOfISOWeekYear/index.js new file mode 100644 index 000000000..e4c89d4fa --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeekYear/index.js @@ -0,0 +1,34 @@ +import getISOWeekYear from "../getISOWeekYear/index.js"; +import startOfISOWeek from "../startOfISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Return the end of an ISO week-numbering year for the given date. + * + * @description + * Return the end of an ISO week-numbering year, + * which always starts 3 days before the year's first Thursday. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // The end of an ISO week-numbering year for 2 July 2005: + * const result = endOfISOWeekYear(new Date(2005, 6, 2)) + * //=> Sun Jan 01 2006 23:59:59.999 + */ +export default function endOfISOWeekYear(dirtyDate) { + requiredArgs(1, arguments); + var year = getISOWeekYear(dirtyDate); + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0); + var date = startOfISOWeek(fourthOfJanuaryOfNextYear); + date.setMilliseconds(date.getMilliseconds() - 1); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfISOWeekYear/index.js.flow b/node_modules/date-fns/esm/endOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfISOWeekYear/package.json b/node_modules/date-fns/esm/endOfISOWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfMinute/index.d.ts b/node_modules/date-fns/esm/endOfMinute/index.d.ts new file mode 100644 index 000000000..82d1b5d56 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMinute } from 'date-fns' +export default endOfMinute diff --git a/node_modules/date-fns/esm/endOfMinute/index.js b/node_modules/date-fns/esm/endOfMinute/index.js new file mode 100644 index 000000000..6a05ce436 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMinute/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfMinute + * @category Minute Helpers + * @summary Return the end of a minute for the given date. + * + * @description + * Return the end of a minute for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a minute + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a minute for 1 December 2014 22:15:45.400: + * const result = endOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:59.999 + */ +export default function endOfMinute(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setSeconds(59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfMinute/index.js.flow b/node_modules/date-fns/esm/endOfMinute/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMinute/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfMinute/package.json b/node_modules/date-fns/esm/endOfMinute/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfMonth/index.d.ts b/node_modules/date-fns/esm/endOfMonth/index.d.ts new file mode 100644 index 000000000..59e735415 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMonth } from 'date-fns' +export default endOfMonth diff --git a/node_modules/date-fns/esm/endOfMonth/index.js b/node_modules/date-fns/esm/endOfMonth/index.js new file mode 100644 index 000000000..bb1fc709c --- /dev/null +++ b/node_modules/date-fns/esm/endOfMonth/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfMonth + * @category Month Helpers + * @summary Return the end of a month for the given date. + * + * @description + * Return the end of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a month + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a month for 2 September 2014 11:55:00: + * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 23:59:59.999 + */ +export default function endOfMonth(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var month = date.getMonth(); + date.setFullYear(date.getFullYear(), month + 1, 0); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfMonth/index.js.flow b/node_modules/date-fns/esm/endOfMonth/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfMonth/package.json b/node_modules/date-fns/esm/endOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfQuarter/index.d.ts b/node_modules/date-fns/esm/endOfQuarter/index.d.ts new file mode 100644 index 000000000..c91ac76fd --- /dev/null +++ b/node_modules/date-fns/esm/endOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfQuarter } from 'date-fns' +export default endOfQuarter diff --git a/node_modules/date-fns/esm/endOfQuarter/index.js b/node_modules/date-fns/esm/endOfQuarter/index.js new file mode 100644 index 000000000..b242c85dc --- /dev/null +++ b/node_modules/date-fns/esm/endOfQuarter/index.js @@ -0,0 +1,29 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfQuarter + * @category Quarter Helpers + * @summary Return the end of a year quarter for the given date. + * + * @description + * Return the end of a year quarter for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a quarter + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a quarter for 2 September 2014 11:55:00: + * const result = endOfQuarter(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 23:59:59.999 + */ +export default function endOfQuarter(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var currentMonth = date.getMonth(); + var month = currentMonth - currentMonth % 3 + 3; + date.setMonth(month, 0); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfQuarter/index.js.flow b/node_modules/date-fns/esm/endOfQuarter/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfQuarter/package.json b/node_modules/date-fns/esm/endOfQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfSecond/index.d.ts b/node_modules/date-fns/esm/endOfSecond/index.d.ts new file mode 100644 index 000000000..3af9fbd97 --- /dev/null +++ b/node_modules/date-fns/esm/endOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfSecond } from 'date-fns' +export default endOfSecond diff --git a/node_modules/date-fns/esm/endOfSecond/index.js b/node_modules/date-fns/esm/endOfSecond/index.js new file mode 100644 index 000000000..7de73b9d5 --- /dev/null +++ b/node_modules/date-fns/esm/endOfSecond/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfSecond + * @category Second Helpers + * @summary Return the end of a second for the given date. + * + * @description + * Return the end of a second for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a second + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a second for 1 December 2014 22:15:45.400: + * const result = endOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:45.999 + */ +export default function endOfSecond(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setMilliseconds(999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfSecond/index.js.flow b/node_modules/date-fns/esm/endOfSecond/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfSecond/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfSecond/package.json b/node_modules/date-fns/esm/endOfSecond/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfToday/index.d.ts b/node_modules/date-fns/esm/endOfToday/index.d.ts new file mode 100644 index 000000000..30de09814 --- /dev/null +++ b/node_modules/date-fns/esm/endOfToday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfToday } from 'date-fns' +export default endOfToday diff --git a/node_modules/date-fns/esm/endOfToday/index.js b/node_modules/date-fns/esm/endOfToday/index.js new file mode 100644 index 000000000..58cb0c6c8 --- /dev/null +++ b/node_modules/date-fns/esm/endOfToday/index.js @@ -0,0 +1,23 @@ +import endOfDay from "../endOfDay/index.js"; +/** + * @name endOfToday + * @category Day Helpers + * @summary Return the end of today. + * @pure false + * + * @description + * Return the end of today. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @returns {Date} the end of today + * + * @example + * // If today is 6 October 2014: + * const result = endOfToday() + * //=> Mon Oct 6 2014 23:59:59.999 + */ +export default function endOfToday() { + return endOfDay(Date.now()); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfToday/index.js.flow b/node_modules/date-fns/esm/endOfToday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/esm/endOfToday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/esm/endOfToday/package.json b/node_modules/date-fns/esm/endOfToday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfToday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfTomorrow/index.d.ts b/node_modules/date-fns/esm/endOfTomorrow/index.d.ts new file mode 100644 index 000000000..df5619e35 --- /dev/null +++ b/node_modules/date-fns/esm/endOfTomorrow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfTomorrow } from 'date-fns' +export default endOfTomorrow diff --git a/node_modules/date-fns/esm/endOfTomorrow/index.js b/node_modules/date-fns/esm/endOfTomorrow/index.js new file mode 100644 index 000000000..4d30510fd --- /dev/null +++ b/node_modules/date-fns/esm/endOfTomorrow/index.js @@ -0,0 +1,29 @@ +/** + * @name endOfTomorrow + * @category Day Helpers + * @summary Return the end of tomorrow. + * @pure false + * + * @description + * Return the end of tomorrow. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the end of tomorrow + * + * @example + * // If today is 6 October 2014: + * const result = endOfTomorrow() + * //=> Tue Oct 7 2014 23:59:59.999 + */ +export default function endOfTomorrow() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day + 1); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfTomorrow/index.js.flow b/node_modules/date-fns/esm/endOfTomorrow/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/esm/endOfTomorrow/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/esm/endOfTomorrow/package.json b/node_modules/date-fns/esm/endOfTomorrow/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfTomorrow/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfWeek/index.d.ts b/node_modules/date-fns/esm/endOfWeek/index.d.ts new file mode 100644 index 000000000..50a77a3fd --- /dev/null +++ b/node_modules/date-fns/esm/endOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfWeek } from 'date-fns' +export default endOfWeek diff --git a/node_modules/date-fns/esm/endOfWeek/index.js b/node_modules/date-fns/esm/endOfWeek/index.js new file mode 100644 index 000000000..4a1852ca8 --- /dev/null +++ b/node_modules/date-fns/esm/endOfWeek/index.js @@ -0,0 +1,48 @@ +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfWeek + * @category Week Helpers + * @summary Return the end of a week for the given date. + * + * @description + * Return the end of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the end of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The end of a week for 2 September 2014 11:55:00: + * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sat Sep 06 2014 23:59:59.999 + * + * @example + * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00: + * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 }) + * //=> Sun Sep 07 2014 23:59:59.999 + */ +export default function endOfWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = toDate(dirtyDate); + var day = date.getDay(); + var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn); + date.setDate(date.getDate() + diff); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfWeek/index.js.flow b/node_modules/date-fns/esm/endOfWeek/index.js.flow new file mode 100644 index 000000000..9285b6736 --- /dev/null +++ b/node_modules/date-fns/esm/endOfWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/esm/endOfWeek/package.json b/node_modules/date-fns/esm/endOfWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfYear/index.d.ts b/node_modules/date-fns/esm/endOfYear/index.d.ts new file mode 100644 index 000000000..63d5191a8 --- /dev/null +++ b/node_modules/date-fns/esm/endOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfYear } from 'date-fns' +export default endOfYear diff --git a/node_modules/date-fns/esm/endOfYear/index.js b/node_modules/date-fns/esm/endOfYear/index.js new file mode 100644 index 000000000..8e407a819 --- /dev/null +++ b/node_modules/date-fns/esm/endOfYear/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name endOfYear + * @category Year Helpers + * @summary Return the end of a year for the given date. + * + * @description + * Return the end of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of a year + * @throws {TypeError} 1 argument required + * + * @example + * // The end of a year for 2 September 2014 11:55:00: + * const result = endOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Dec 31 2014 23:59:59.999 + */ +export default function endOfYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + date.setFullYear(year + 1, 0, 0); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfYear/index.js.flow b/node_modules/date-fns/esm/endOfYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/endOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/endOfYear/package.json b/node_modules/date-fns/esm/endOfYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfYesterday/index.d.ts b/node_modules/date-fns/esm/endOfYesterday/index.d.ts new file mode 100644 index 000000000..b06935b6f --- /dev/null +++ b/node_modules/date-fns/esm/endOfYesterday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfYesterday } from 'date-fns' +export default endOfYesterday diff --git a/node_modules/date-fns/esm/endOfYesterday/index.js b/node_modules/date-fns/esm/endOfYesterday/index.js new file mode 100644 index 000000000..338749531 --- /dev/null +++ b/node_modules/date-fns/esm/endOfYesterday/index.js @@ -0,0 +1,29 @@ +/** + * @name endOfYesterday + * @category Day Helpers + * @summary Return the end of yesterday. + * @pure false + * + * @description + * Return the end of yesterday. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the end of yesterday + * + * @example + * // If today is 6 October 2014: + * const result = endOfYesterday() + * //=> Sun Oct 5 2014 23:59:59.999 + */ +export default function endOfYesterday() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day - 1); + date.setHours(23, 59, 59, 999); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/endOfYesterday/index.js.flow b/node_modules/date-fns/esm/endOfYesterday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/esm/endOfYesterday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/esm/endOfYesterday/package.json b/node_modules/date-fns/esm/endOfYesterday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/endOfYesterday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/format/index.d.ts b/node_modules/date-fns/esm/format/index.d.ts new file mode 100644 index 000000000..06d38ce27 --- /dev/null +++ b/node_modules/date-fns/esm/format/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { format } from 'date-fns' +export default format diff --git a/node_modules/date-fns/esm/format/index.js b/node_modules/date-fns/esm/format/index.js new file mode 100644 index 000000000..b581c9781 --- /dev/null +++ b/node_modules/date-fns/esm/format/index.js @@ -0,0 +1,402 @@ +import isValid from "../isValid/index.js"; +import subMilliseconds from "../subMilliseconds/index.js"; +import toDate from "../toDate/index.js"; +import formatters from "../_lib/format/formatters/index.js"; +import longFormatters from "../_lib/format/longFormatters/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from "../_lib/protectedTokens/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import defaultLocale from "../_lib/defaultLocale/index.js"; // This RegExp consists of three parts separated by `|`: +// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token +// (one of the certain letters followed by `o`) +// - (\w)\1* matches any sequences of the same letter +// - '' matches two quote characters in a row +// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), +// except a single quote symbol, which ends the sequence. +// Two quote characters do not end the sequence. +// If there is no matching single quote +// then the sequence will continue until the end of the string. +// - . matches any single character unmatched by previous parts of the RegExps +var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; + +// This RegExp catches symbols escaped by quotes, and also +// sequences of symbols P, p, and the combinations like `PPPPPPPppppp` +var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g; +var escapedStringRegExp = /^'([^]*?)'?$/; +var doubleQuoteRegExp = /''/g; +var unescapedLatinCharacterRegExp = /[a-zA-Z]/; + +/** + * @name format + * @category Common Helpers + * @summary Format the date. + * + * @description + * Return the formatted date string in the given format. The result may vary by locale. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * (see the last example) + * + * Format of the string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 7 below the table). + * + * Accepted patterns: + * | Unit | Pattern | Result examples | Notes | + * |---------------------------------|---------|-----------------------------------|-------| + * | Era | G..GGG | AD, BC | | + * | | GGGG | Anno Domini, Before Christ | 2 | + * | | GGGGG | A, B | | + * | Calendar year | y | 44, 1, 1900, 2017 | 5 | + * | | yo | 44th, 1st, 0th, 17th | 5,7 | + * | | yy | 44, 01, 00, 17 | 5 | + * | | yyy | 044, 001, 1900, 2017 | 5 | + * | | yyyy | 0044, 0001, 1900, 2017 | 5 | + * | | yyyyy | ... | 3,5 | + * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 | + * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 | + * | | YY | 44, 01, 00, 17 | 5,8 | + * | | YYY | 044, 001, 1900, 2017 | 5 | + * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 | + * | | YYYYY | ... | 3,5 | + * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 | + * | | RR | -43, 00, 01, 1900, 2017 | 5,7 | + * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 | + * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 | + * | | RRRRR | ... | 3,5,7 | + * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 | + * | | uu | -43, 01, 1900, 2017 | 5 | + * | | uuu | -043, 001, 1900, 2017 | 5 | + * | | uuuu | -0043, 0001, 1900, 2017 | 5 | + * | | uuuuu | ... | 3,5 | + * | Quarter (formatting) | Q | 1, 2, 3, 4 | | + * | | Qo | 1st, 2nd, 3rd, 4th | 7 | + * | | QQ | 01, 02, 03, 04 | | + * | | QQQ | Q1, Q2, Q3, Q4 | | + * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | q | 1, 2, 3, 4 | | + * | | qo | 1st, 2nd, 3rd, 4th | 7 | + * | | qq | 01, 02, 03, 04 | | + * | | qqq | Q1, Q2, Q3, Q4 | | + * | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | qqqqq | 1, 2, 3, 4 | 4 | + * | Month (formatting) | M | 1, 2, ..., 12 | | + * | | Mo | 1st, 2nd, ..., 12th | 7 | + * | | MM | 01, 02, ..., 12 | | + * | | MMM | Jan, Feb, ..., Dec | | + * | | MMMM | January, February, ..., December | 2 | + * | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | L | 1, 2, ..., 12 | | + * | | Lo | 1st, 2nd, ..., 12th | 7 | + * | | LL | 01, 02, ..., 12 | | + * | | LLL | Jan, Feb, ..., Dec | | + * | | LLLL | January, February, ..., December | 2 | + * | | LLLLL | J, F, ..., D | | + * | Local week of year | w | 1, 2, ..., 53 | | + * | | wo | 1st, 2nd, ..., 53th | 7 | + * | | ww | 01, 02, ..., 53 | | + * | ISO week of year | I | 1, 2, ..., 53 | 7 | + * | | Io | 1st, 2nd, ..., 53th | 7 | + * | | II | 01, 02, ..., 53 | 7 | + * | Day of month | d | 1, 2, ..., 31 | | + * | | do | 1st, 2nd, ..., 31st | 7 | + * | | dd | 01, 02, ..., 31 | | + * | Day of year | D | 1, 2, ..., 365, 366 | 9 | + * | | Do | 1st, 2nd, ..., 365th, 366th | 7 | + * | | DD | 01, 02, ..., 365, 366 | 9 | + * | | DDD | 001, 002, ..., 365, 366 | | + * | | DDDD | ... | 3 | + * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | | + * | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | EEEEE | M, T, W, T, F, S, S | | + * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 | + * | | io | 1st, 2nd, ..., 7th | 7 | + * | | ii | 01, 02, ..., 07 | 7 | + * | | iii | Mon, Tue, Wed, ..., Sun | 7 | + * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 | + * | | iiiii | M, T, W, T, F, S, S | 7 | + * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 | + * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | | + * | | eo | 2nd, 3rd, ..., 1st | 7 | + * | | ee | 02, 03, ..., 01 | | + * | | eee | Mon, Tue, Wed, ..., Sun | | + * | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | eeeee | M, T, W, T, F, S, S | | + * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | | + * | | co | 2nd, 3rd, ..., 1st | 7 | + * | | cc | 02, 03, ..., 01 | | + * | | ccc | Mon, Tue, Wed, ..., Sun | | + * | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | ccccc | M, T, W, T, F, S, S | | + * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | a..aa | AM, PM | | + * | | aaa | am, pm | | + * | | aaaa | a.m., p.m. | 2 | + * | | aaaaa | a, p | | + * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | | + * | | bbb | am, pm, noon, midnight | | + * | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | bbbbb | a, p, n, mi | | + * | Flexible day period | B..BBB | at night, in the morning, ... | | + * | | BBBB | at night, in the morning, ... | 2 | + * | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | h | 1, 2, ..., 11, 12 | | + * | | ho | 1st, 2nd, ..., 11th, 12th | 7 | + * | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | H | 0, 1, 2, ..., 23 | | + * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 | + * | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | K | 1, 2, ..., 11, 0 | | + * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 | + * | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | k | 24, 1, 2, ..., 23 | | + * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 | + * | | kk | 24, 01, 02, ..., 23 | | + * | Minute | m | 0, 1, ..., 59 | | + * | | mo | 0th, 1st, ..., 59th | 7 | + * | | mm | 00, 01, ..., 59 | | + * | Second | s | 0, 1, ..., 59 | | + * | | so | 0th, 1st, ..., 59th | 7 | + * | | ss | 00, 01, ..., 59 | | + * | Fraction of second | S | 0, 1, ..., 9 | | + * | | SS | 00, 01, ..., 99 | | + * | | SSS | 000, 001, ..., 999 | | + * | | SSSS | ... | 3 | + * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | | + * | | XX | -0800, +0530, Z | | + * | | XXX | -08:00, +05:30, Z | | + * | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | | + * | | xx | -0800, +0530, +0000 | | + * | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | xxxx | -0800, +0530, +0000, +123456 | | + * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | | + * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 | + * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 | + * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 | + * | Seconds timestamp | t | 512969520 | 7 | + * | | tt | ... | 3,7 | + * | Milliseconds timestamp | T | 512969520900 | 7 | + * | | TT | ... | 3,7 | + * | Long localized date | P | 04/29/1453 | 7 | + * | | PP | Apr 29, 1453 | 7 | + * | | PPP | April 29th, 1453 | 7 | + * | | PPPP | Friday, April 29th, 1453 | 2,7 | + * | Long localized time | p | 12:00 AM | 7 | + * | | pp | 12:00:00 AM | 7 | + * | | ppp | 12:00:00 AM GMT+2 | 7 | + * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 | + * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 | + * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 | + * | | PPPppp | April 29th, 1453 at ... | 7 | + * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`) + * the output will be the same as default pattern for this unit, usually + * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units + * are marked with "2" in the last column of the table. + * + * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'` + * + * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'` + * + * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'` + * + * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'` + * + * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'` + * + * 3. Some patterns could be unlimited length (such as `yyyyyyyy`). + * The output will be padded with zeros to match the length of the pattern. + * + * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'` + * + * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 5. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` always returns the last two digits of a year, + * while `uu` pads single digit years to 2 characters and returns other years unchanged: + * + * | Year | `yy` | `uu` | + * |------|------|------| + * | 1 | 01 | 01 | + * | 14 | 14 | 14 | + * | 376 | 76 | 376 | + * | 1453 | 53 | 1453 | + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear} + * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}). + * + * 6. Specific non-location timezones are currently unavailable in `date-fns`, + * so right now these tokens fall back to GMT timezones. + * + * 7. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `t`: seconds timestamp + * - `T`: milliseconds timestamp + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * @param {Date|Number} date - the original date + * @param {String} format - the string of tokens + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is + * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @returns {String} the formatted date string + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `localize` property + * @throws {RangeError} `options.locale` must contain `formatLong` property + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * // Represent 11 February 2014 in middle-endian format: + * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy') + * //=> '02/11/2014' + * + * @example + * // Represent 2 July 2014 in Esperanto: + * import { eoLocale } from 'date-fns/locale/eo' + * const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", { + * locale: eoLocale + * }) + * //=> '2-a de julio 2014' + * + * @example + * // Escape string by single quote characters: + * const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'") + * //=> "3 o'clock" + */ + +export default function format(dirtyDate, dirtyFormatStr, options) { + var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4; + requiredArgs(2, arguments); + var formatStr = String(dirtyFormatStr); + var defaultOptions = getDefaultOptions(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale; + var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + if (!locale.localize) { + throw new RangeError('locale must contain localize property'); + } + if (!locale.formatLong) { + throw new RangeError('locale must contain formatLong property'); + } + var originalDate = toDate(dirtyDate); + if (!isValid(originalDate)) { + throw new RangeError('Invalid time value'); + } + + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + // This ensures that when UTC functions will be implemented, locales will be compatible with them. + // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376 + var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate); + var utcDate = subMilliseconds(originalDate, timezoneOffset); + var formatterOptions = { + firstWeekContainsDate: firstWeekContainsDate, + weekStartsOn: weekStartsOn, + locale: locale, + _originalDate: originalDate + }; + var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) { + var firstCharacter = substring[0]; + if (firstCharacter === 'p' || firstCharacter === 'P') { + var longFormatter = longFormatters[firstCharacter]; + return longFormatter(substring, locale.formatLong); + } + return substring; + }).join('').match(formattingTokensRegExp).map(function (substring) { + // Replace two single quote characters with one single quote character + if (substring === "''") { + return "'"; + } + var firstCharacter = substring[0]; + if (firstCharacter === "'") { + return cleanEscapedString(substring); + } + var formatter = formatters[firstCharacter]; + if (formatter) { + if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) { + throwProtectedError(substring, dirtyFormatStr, String(dirtyDate)); + } + if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) { + throwProtectedError(substring, dirtyFormatStr, String(dirtyDate)); + } + return formatter(utcDate, substring, locale.localize, formatterOptions); + } + if (firstCharacter.match(unescapedLatinCharacterRegExp)) { + throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`'); + } + return substring; + }).join(''); + return result; +} +function cleanEscapedString(input) { + var matched = input.match(escapedStringRegExp); + if (!matched) { + return input; + } + return matched[1].replace(doubleQuoteRegExp, "'"); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/format/index.js.flow b/node_modules/date-fns/esm/format/index.js.flow new file mode 100644 index 000000000..ca7939371 --- /dev/null +++ b/node_modules/date-fns/esm/format/index.js.flow @@ -0,0 +1,62 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + format: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: number, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } +) => string diff --git a/node_modules/date-fns/esm/format/package.json b/node_modules/date-fns/esm/format/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/format/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistance/index.d.ts b/node_modules/date-fns/esm/formatDistance/index.d.ts new file mode 100644 index 000000000..656c64aca --- /dev/null +++ b/node_modules/date-fns/esm/formatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistance } from 'date-fns' +export default formatDistance diff --git a/node_modules/date-fns/esm/formatDistance/index.js b/node_modules/date-fns/esm/formatDistance/index.js new file mode 100644 index 000000000..2ab83678e --- /dev/null +++ b/node_modules/date-fns/esm/formatDistance/index.js @@ -0,0 +1,203 @@ +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import compareAsc from "../compareAsc/index.js"; +import differenceInMonths from "../differenceInMonths/index.js"; +import differenceInSeconds from "../differenceInSeconds/index.js"; +import defaultLocale from "../_lib/defaultLocale/index.js"; +import toDate from "../toDate/index.js"; +import cloneObject from "../_lib/cloneObject/index.js"; +import assign from "../_lib/assign/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MINUTES_IN_DAY = 1440; +var MINUTES_IN_ALMOST_TWO_DAYS = 2520; +var MINUTES_IN_MONTH = 43200; +var MINUTES_IN_TWO_MONTHS = 86400; + +/** + * @name formatDistance + * @category Common Helpers + * @summary Return the distance between the given dates in words. + * + * @description + * Return the distance between the given dates in words. + * + * | Distance between dates | Result | + * |-------------------------------------------------------------------|---------------------| + * | 0 ... 30 secs | less than a minute | + * | 30 secs ... 1 min 30 secs | 1 minute | + * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes | + * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour | + * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours | + * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day | + * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days | + * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month | + * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months | + * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months | + * | 1 yr ... 1 yr 3 months | about 1 year | + * | 1 yr 3 months ... 1 yr 9 month s | over 1 year | + * | 1 yr 9 months ... 2 yrs | almost 2 years | + * | N yrs ... N yrs 3 months | about N years | + * | N yrs 3 months ... N yrs 9 months | over N years | + * | N yrs 9 months ... N+1 yrs | almost N+1 years | + * + * With `options.includeSeconds == true`: + * | Distance between dates | Result | + * |------------------------|----------------------| + * | 0 secs ... 5 secs | less than 5 seconds | + * | 5 secs ... 10 secs | less than 10 seconds | + * | 10 secs ... 20 secs | less than 20 seconds | + * | 20 secs ... 40 secs | half a minute | + * | 40 secs ... 60 secs | less than a minute | + * | 60 secs ... 90 secs | 1 minute | + * + * @param {Date|Number} date - the date + * @param {Date|Number} baseDate - the date to compare with + * @param {Object} [options] - an object with options. + * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed + * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // What is the distance between 2 July 2014 and 1 January 2015? + * const result = formatDistance(new Date(2014, 6, 2), new Date(2015, 0, 1)) + * //=> '6 months' + * + * @example + * // What is the distance between 1 January 2015 00:00:15 + * // and 1 January 2015 00:00:00, including seconds? + * const result = formatDistance( + * new Date(2015, 0, 1, 0, 0, 15), + * new Date(2015, 0, 1, 0, 0, 0), + * { includeSeconds: true } + * ) + * //=> 'less than 20 seconds' + * + * @example + * // What is the distance from 1 January 2016 + * // to 1 January 2015, with a suffix? + * const result = formatDistance(new Date(2015, 0, 1), new Date(2016, 0, 1), { + * addSuffix: true + * }) + * //=> 'about 1 year ago' + * + * @example + * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto? + * import { eoLocale } from 'date-fns/locale/eo' + * const result = formatDistance(new Date(2016, 7, 1), new Date(2015, 0, 1), { + * locale: eoLocale + * }) + * //=> 'pli ol 1 jaro' + */ + +export default function formatDistance(dirtyDate, dirtyBaseDate, options) { + var _ref, _options$locale; + requiredArgs(2, arguments); + var defaultOptions = getDefaultOptions(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale; + if (!locale.formatDistance) { + throw new RangeError('locale must contain formatDistance property'); + } + var comparison = compareAsc(dirtyDate, dirtyBaseDate); + if (isNaN(comparison)) { + throw new RangeError('Invalid time value'); + } + var localizeOptions = assign(cloneObject(options), { + addSuffix: Boolean(options === null || options === void 0 ? void 0 : options.addSuffix), + comparison: comparison + }); + var dateLeft; + var dateRight; + if (comparison > 0) { + dateLeft = toDate(dirtyBaseDate); + dateRight = toDate(dirtyDate); + } else { + dateLeft = toDate(dirtyDate); + dateRight = toDate(dirtyBaseDate); + } + var seconds = differenceInSeconds(dateRight, dateLeft); + var offsetInSeconds = (getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft)) / 1000; + var minutes = Math.round((seconds - offsetInSeconds) / 60); + var months; + + // 0 up to 2 mins + if (minutes < 2) { + if (options !== null && options !== void 0 && options.includeSeconds) { + if (seconds < 5) { + return locale.formatDistance('lessThanXSeconds', 5, localizeOptions); + } else if (seconds < 10) { + return locale.formatDistance('lessThanXSeconds', 10, localizeOptions); + } else if (seconds < 20) { + return locale.formatDistance('lessThanXSeconds', 20, localizeOptions); + } else if (seconds < 40) { + return locale.formatDistance('halfAMinute', 0, localizeOptions); + } else if (seconds < 60) { + return locale.formatDistance('lessThanXMinutes', 1, localizeOptions); + } else { + return locale.formatDistance('xMinutes', 1, localizeOptions); + } + } else { + if (minutes === 0) { + return locale.formatDistance('lessThanXMinutes', 1, localizeOptions); + } else { + return locale.formatDistance('xMinutes', minutes, localizeOptions); + } + } + + // 2 mins up to 0.75 hrs + } else if (minutes < 45) { + return locale.formatDistance('xMinutes', minutes, localizeOptions); + + // 0.75 hrs up to 1.5 hrs + } else if (minutes < 90) { + return locale.formatDistance('aboutXHours', 1, localizeOptions); + + // 1.5 hrs up to 24 hrs + } else if (minutes < MINUTES_IN_DAY) { + var hours = Math.round(minutes / 60); + return locale.formatDistance('aboutXHours', hours, localizeOptions); + + // 1 day up to 1.75 days + } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) { + return locale.formatDistance('xDays', 1, localizeOptions); + + // 1.75 days up to 30 days + } else if (minutes < MINUTES_IN_MONTH) { + var days = Math.round(minutes / MINUTES_IN_DAY); + return locale.formatDistance('xDays', days, localizeOptions); + + // 1 month up to 2 months + } else if (minutes < MINUTES_IN_TWO_MONTHS) { + months = Math.round(minutes / MINUTES_IN_MONTH); + return locale.formatDistance('aboutXMonths', months, localizeOptions); + } + months = differenceInMonths(dateRight, dateLeft); + + // 2 months up to 12 months + if (months < 12) { + var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH); + return locale.formatDistance('xMonths', nearestMonth, localizeOptions); + + // 1 year up to max Date + } else { + var monthsSinceStartOfYear = months % 12; + var years = Math.floor(months / 12); + + // N years up to 1 years 3 months + if (monthsSinceStartOfYear < 3) { + return locale.formatDistance('aboutXYears', years, localizeOptions); + + // N years 3 months up to N years 9 months + } else if (monthsSinceStartOfYear < 9) { + return locale.formatDistance('overXYears', years, localizeOptions); + + // N years 9 months up to N year 12 months + } else { + return locale.formatDistance('almostXYears', years + 1, localizeOptions); + } + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistance/index.js.flow b/node_modules/date-fns/esm/formatDistance/index.js.flow new file mode 100644 index 000000000..b18d1ba10 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistance/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/esm/formatDistance/package.json b/node_modules/date-fns/esm/formatDistance/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistance/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistanceStrict/index.d.ts b/node_modules/date-fns/esm/formatDistanceStrict/index.d.ts new file mode 100644 index 000000000..89cce2058 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceStrict/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceStrict } from 'date-fns' +export default formatDistanceStrict diff --git a/node_modules/date-fns/esm/formatDistanceStrict/index.js b/node_modules/date-fns/esm/formatDistanceStrict/index.js new file mode 100644 index 000000000..277c29d9e --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceStrict/index.js @@ -0,0 +1,190 @@ +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import compareAsc from "../compareAsc/index.js"; +import toDate from "../toDate/index.js"; +import cloneObject from "../_lib/cloneObject/index.js"; +import assign from "../_lib/assign/index.js"; +import defaultLocale from "../_lib/defaultLocale/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_MINUTE = 1000 * 60; +var MINUTES_IN_DAY = 60 * 24; +var MINUTES_IN_MONTH = MINUTES_IN_DAY * 30; +var MINUTES_IN_YEAR = MINUTES_IN_DAY * 365; + +/** + * @name formatDistanceStrict + * @category Common Helpers + * @summary Return the distance between the given dates in words. + * + * @description + * Return the distance between the given dates in words, using strict units. + * This is like `formatDistance`, but does not use helpers like 'almost', 'over', + * 'less than' and the like. + * + * | Distance between dates | Result | + * |------------------------|---------------------| + * | 0 ... 59 secs | [0..59] seconds | + * | 1 ... 59 mins | [1..59] minutes | + * | 1 ... 23 hrs | [1..23] hours | + * | 1 ... 29 days | [1..29] days | + * | 1 ... 11 months | [1..11] months | + * | 1 ... N years | [1..N] years | + * + * @param {Date|Number} date - the date + * @param {Date|Number} baseDate - the date to compare with + * @param {Object} [options] - an object with options. + * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first + * @param {'second'|'minute'|'hour'|'day'|'month'|'year'} [options.unit] - if specified, will force a unit + * @param {'floor'|'ceil'|'round'} [options.roundingMethod='round'] - which way to round partial units + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.roundingMethod` must be 'floor', 'ceil' or 'round' + * @throws {RangeError} `options.unit` must be 'second', 'minute', 'hour', 'day', 'month' or 'year' + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // What is the distance between 2 July 2014 and 1 January 2015? + * const result = formatDistanceStrict(new Date(2014, 6, 2), new Date(2015, 0, 2)) + * //=> '6 months' + * + * @example + * // What is the distance between 1 January 2015 00:00:15 + * // and 1 January 2015 00:00:00? + * const result = formatDistanceStrict( + * new Date(2015, 0, 1, 0, 0, 15), + * new Date(2015, 0, 1, 0, 0, 0) + * ) + * //=> '15 seconds' + * + * @example + * // What is the distance from 1 January 2016 + * // to 1 January 2015, with a suffix? + * const result = formatDistanceStrict(new Date(2015, 0, 1), new Date(2016, 0, 1), { + * addSuffix: true + * }) + * //=> '1 year ago' + * + * @example + * // What is the distance from 1 January 2016 + * // to 1 January 2015, in minutes? + * const result = formatDistanceStrict(new Date(2016, 0, 1), new Date(2015, 0, 1), { + * unit: 'minute' + * }) + * //=> '525600 minutes' + * + * @example + * // What is the distance from 1 January 2015 + * // to 28 January 2015, in months, rounded up? + * const result = formatDistanceStrict(new Date(2015, 0, 28), new Date(2015, 0, 1), { + * unit: 'month', + * roundingMethod: 'ceil' + * }) + * //=> '1 month' + * + * @example + * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto? + * import { eoLocale } from 'date-fns/locale/eo' + * const result = formatDistanceStrict(new Date(2016, 7, 1), new Date(2015, 0, 1), { + * locale: eoLocale + * }) + * //=> '1 jaro' + */ + +export default function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) { + var _ref, _options$locale, _options$roundingMeth; + requiredArgs(2, arguments); + var defaultOptions = getDefaultOptions(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale; + if (!locale.formatDistance) { + throw new RangeError('locale must contain localize.formatDistance property'); + } + var comparison = compareAsc(dirtyDate, dirtyBaseDate); + if (isNaN(comparison)) { + throw new RangeError('Invalid time value'); + } + var localizeOptions = assign(cloneObject(options), { + addSuffix: Boolean(options === null || options === void 0 ? void 0 : options.addSuffix), + comparison: comparison + }); + var dateLeft; + var dateRight; + if (comparison > 0) { + dateLeft = toDate(dirtyBaseDate); + dateRight = toDate(dirtyDate); + } else { + dateLeft = toDate(dirtyDate); + dateRight = toDate(dirtyBaseDate); + } + var roundingMethod = String((_options$roundingMeth = options === null || options === void 0 ? void 0 : options.roundingMethod) !== null && _options$roundingMeth !== void 0 ? _options$roundingMeth : 'round'); + var roundingMethodFn; + if (roundingMethod === 'floor') { + roundingMethodFn = Math.floor; + } else if (roundingMethod === 'ceil') { + roundingMethodFn = Math.ceil; + } else if (roundingMethod === 'round') { + roundingMethodFn = Math.round; + } else { + throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'"); + } + var milliseconds = dateRight.getTime() - dateLeft.getTime(); + var minutes = milliseconds / MILLISECONDS_IN_MINUTE; + var timezoneOffset = getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft); + + // Use DST-normalized difference in minutes for years, months and days; + // use regular difference in minutes for hours, minutes and seconds. + var dstNormalizedMinutes = (milliseconds - timezoneOffset) / MILLISECONDS_IN_MINUTE; + var defaultUnit = options === null || options === void 0 ? void 0 : options.unit; + var unit; + if (!defaultUnit) { + if (minutes < 1) { + unit = 'second'; + } else if (minutes < 60) { + unit = 'minute'; + } else if (minutes < MINUTES_IN_DAY) { + unit = 'hour'; + } else if (dstNormalizedMinutes < MINUTES_IN_MONTH) { + unit = 'day'; + } else if (dstNormalizedMinutes < MINUTES_IN_YEAR) { + unit = 'month'; + } else { + unit = 'year'; + } + } else { + unit = String(defaultUnit); + } + + // 0 up to 60 seconds + if (unit === 'second') { + var seconds = roundingMethodFn(milliseconds / 1000); + return locale.formatDistance('xSeconds', seconds, localizeOptions); + + // 1 up to 60 mins + } else if (unit === 'minute') { + var roundedMinutes = roundingMethodFn(minutes); + return locale.formatDistance('xMinutes', roundedMinutes, localizeOptions); + + // 1 up to 24 hours + } else if (unit === 'hour') { + var hours = roundingMethodFn(minutes / 60); + return locale.formatDistance('xHours', hours, localizeOptions); + + // 1 up to 30 days + } else if (unit === 'day') { + var days = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_DAY); + return locale.formatDistance('xDays', days, localizeOptions); + + // 1 up to 12 months + } else if (unit === 'month') { + var months = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_MONTH); + return months === 12 && defaultUnit !== 'month' ? locale.formatDistance('xYears', 1, localizeOptions) : locale.formatDistance('xMonths', months, localizeOptions); + + // 1 year up to max Date + } else if (unit === 'year') { + var years = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_YEAR); + return locale.formatDistance('xYears', years, localizeOptions); + } + throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'"); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistanceStrict/index.js.flow b/node_modules/date-fns/esm/formatDistanceStrict/index.js.flow new file mode 100644 index 000000000..26c4b1529 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceStrict/index.js.flow @@ -0,0 +1,61 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/esm/formatDistanceStrict/package.json b/node_modules/date-fns/esm/formatDistanceStrict/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceStrict/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistanceToNow/index.d.ts b/node_modules/date-fns/esm/formatDistanceToNow/index.d.ts new file mode 100644 index 000000000..1d8b75017 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceToNow } from 'date-fns' +export default formatDistanceToNow diff --git a/node_modules/date-fns/esm/formatDistanceToNow/index.js b/node_modules/date-fns/esm/formatDistanceToNow/index.js new file mode 100644 index 000000000..c94120585 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNow/index.js @@ -0,0 +1,92 @@ +import distanceInWords from "../formatDistance/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name formatDistanceToNow + * @category Common Helpers + * @summary Return the distance between the given date and now in words. + * @pure false + * + * @description + * Return the distance between the given date and now in words. + * + * | Distance to now | Result | + * |-------------------------------------------------------------------|---------------------| + * | 0 ... 30 secs | less than a minute | + * | 30 secs ... 1 min 30 secs | 1 minute | + * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes | + * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour | + * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours | + * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day | + * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days | + * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month | + * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months | + * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months | + * | 1 yr ... 1 yr 3 months | about 1 year | + * | 1 yr 3 months ... 1 yr 9 month s | over 1 year | + * | 1 yr 9 months ... 2 yrs | almost 2 years | + * | N yrs ... N yrs 3 months | about N years | + * | N yrs 3 months ... N yrs 9 months | over N years | + * | N yrs 9 months ... N+1 yrs | almost N+1 years | + * + * With `options.includeSeconds == true`: + * | Distance to now | Result | + * |---------------------|----------------------| + * | 0 secs ... 5 secs | less than 5 seconds | + * | 5 secs ... 10 secs | less than 10 seconds | + * | 10 secs ... 20 secs | less than 20 seconds | + * | 20 secs ... 40 secs | half a minute | + * | 40 secs ... 60 secs | less than a minute | + * | 60 secs ... 90 secs | 1 minute | + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - the object with options + * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed + * @param {Boolean} [options.addSuffix=false] - result specifies if now is earlier or later than the passed date + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // If today is 1 January 2015, what is the distance to 2 July 2014? + * const result = formatDistanceToNow( + * new Date(2014, 6, 2) + * ) + * //=> '6 months' + * + * @example + * // If now is 1 January 2015 00:00:00, + * // what is the distance to 1 January 2015 00:00:15, including seconds? + * const result = formatDistanceToNow( + * new Date(2015, 0, 1, 0, 0, 15), + * {includeSeconds: true} + * ) + * //=> 'less than 20 seconds' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 January 2016, with a suffix? + * const result = formatDistanceToNow( + * new Date(2016, 0, 1), + * {addSuffix: true} + * ) + * //=> 'in about 1 year' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 August 2016 in Esperanto? + * const eoLocale = require('date-fns/locale/eo') + * const result = formatDistanceToNow( + * new Date(2016, 7, 1), + * {locale: eoLocale} + * ) + * //=> 'pli ol 1 jaro' + */ +export default function formatDistanceToNow(dirtyDate, options) { + requiredArgs(1, arguments); + return distanceInWords(dirtyDate, Date.now(), options); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistanceToNow/index.js.flow b/node_modules/date-fns/esm/formatDistanceToNow/index.js.flow new file mode 100644 index 000000000..08687be05 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNow/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/esm/formatDistanceToNow/package.json b/node_modules/date-fns/esm/formatDistanceToNow/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNow/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistanceToNowStrict/index.d.ts b/node_modules/date-fns/esm/formatDistanceToNowStrict/index.d.ts new file mode 100644 index 000000000..4f00e65c3 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNowStrict/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceToNowStrict } from 'date-fns' +export default formatDistanceToNowStrict diff --git a/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js b/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js new file mode 100644 index 000000000..156afb9b4 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js @@ -0,0 +1,80 @@ +import formatDistanceStrict from "../formatDistanceStrict/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name formatDistanceToNowStrict + * @category Common Helpers + * @summary Return the distance between the given date and now in words. + * @pure false + * + * @description + * Return the distance between the given dates in words, using strict units. + * This is like `formatDistance`, but does not use helpers like 'almost', 'over', + * 'less than' and the like. + * + * | Distance between dates | Result | + * |------------------------|---------------------| + * | 0 ... 59 secs | [0..59] seconds | + * | 1 ... 59 mins | [1..59] minutes | + * | 1 ... 23 hrs | [1..23] hours | + * | 1 ... 29 days | [1..29] days | + * | 1 ... 11 months | [1..11] months | + * | 1 ... N years | [1..N] years | + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first + * @param {'second'|'minute'|'hour'|'day'|'month'|'year'} [options.unit] - if specified, will force a unit + * @param {'floor'|'ceil'|'round'} [options.roundingMethod='round'] - which way to round partial units + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // If today is 1 January 2015, what is the distance to 2 July 2014? + * const result = formatDistanceToNowStrict( + * new Date(2014, 6, 2) + * ) + * //=> '6 months' + * + * @example + * // If now is 1 January 2015 00:00:00, + * // what is the distance to 1 January 2015 00:00:15, including seconds? + * const result = formatDistanceToNowStrict( + * new Date(2015, 0, 1, 0, 0, 15) + * ) + * //=> '15 seconds' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 January 2016, with a suffix? + * const result = formatDistanceToNowStrict( + * new Date(2016, 0, 1), + * {addSuffix: true} + * ) + * //=> 'in 1 year' + * + * @example + * // If today is 28 January 2015, + * // what is the distance to 1 January 2015, in months, rounded up?? + * const result = formatDistanceToNowStrict(new Date(2015, 0, 1), { + * unit: 'month', + * roundingMethod: 'ceil' + * }) + * //=> '1 month' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 January 2016 in Esperanto? + * const eoLocale = require('date-fns/locale/eo') + * const result = formatDistanceToNowStrict( + * new Date(2016, 0, 1), + * {locale: eoLocale} + * ) + * //=> '1 jaro' + */ +export default function formatDistanceToNowStrict(dirtyDate, options) { + requiredArgs(1, arguments); + return formatDistanceStrict(dirtyDate, Date.now(), options); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js.flow b/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js.flow new file mode 100644 index 000000000..49fbade0a --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNowStrict/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/esm/formatDistanceToNowStrict/package.json b/node_modules/date-fns/esm/formatDistanceToNowStrict/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatDistanceToNowStrict/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDuration/index.d.ts b/node_modules/date-fns/esm/formatDuration/index.d.ts new file mode 100644 index 000000000..be96776f3 --- /dev/null +++ b/node_modules/date-fns/esm/formatDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDuration } from 'date-fns' +export default formatDuration diff --git a/node_modules/date-fns/esm/formatDuration/index.js b/node_modules/date-fns/esm/formatDuration/index.js new file mode 100644 index 000000000..7c877167a --- /dev/null +++ b/node_modules/date-fns/esm/formatDuration/index.js @@ -0,0 +1,91 @@ +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import defaultLocale from "../_lib/defaultLocale/index.js"; +var defaultFormat = ['years', 'months', 'weeks', 'days', 'hours', 'minutes', 'seconds']; + +/** + * @name formatDuration + * @category Common Helpers + * @summary Formats a duration in human-readable format + * + * @description + * Return human-readable duration string i.e. "9 months 2 days" + * + * @param {Duration} duration - the duration to format + * @param {Object} [options] - an object with options. + * @param {string[]} [options.format=['years', 'months', 'weeks', 'days', 'hours', 'minutes', 'seconds']] - the array of units to format + * @param {boolean} [options.zero=false] - should zeros be included in the output? + * @param {string} [options.delimiter=' '] - delimiter string + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {string} the formatted date string + * @throws {TypeError} 1 argument required + * + * @example + * // Format full duration + * formatDuration({ + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30 + * }) + * //=> '2 years 9 months 1 week 7 days 5 hours 9 minutes 30 seconds' + * + * @example + * // Format partial duration + * formatDuration({ months: 9, days: 2 }) + * //=> '9 months 2 days' + * + * @example + * // Customize the format + * formatDuration( + * { + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30 + * }, + * { format: ['months', 'weeks'] } + * ) === '9 months 1 week' + * + * @example + * // Customize the zeros presence + * formatDuration({ years: 0, months: 9 }) + * //=> '9 months' + * formatDuration({ years: 0, months: 9 }, { zero: true }) + * //=> '0 years 9 months' + * + * @example + * // Customize the delimiter + * formatDuration({ years: 2, months: 9, weeks: 3 }, { delimiter: ', ' }) + * //=> '2 years, 9 months, 3 weeks' + */ +export default function formatDuration(duration, options) { + var _ref, _options$locale, _options$format, _options$zero, _options$delimiter; + if (arguments.length < 1) { + throw new TypeError("1 argument required, but only ".concat(arguments.length, " present")); + } + var defaultOptions = getDefaultOptions(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale; + var format = (_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : defaultFormat; + var zero = (_options$zero = options === null || options === void 0 ? void 0 : options.zero) !== null && _options$zero !== void 0 ? _options$zero : false; + var delimiter = (_options$delimiter = options === null || options === void 0 ? void 0 : options.delimiter) !== null && _options$delimiter !== void 0 ? _options$delimiter : ' '; + if (!locale.formatDistance) { + return ''; + } + var result = format.reduce(function (acc, unit) { + var token = "x".concat(unit.replace(/(^.)/, function (m) { + return m.toUpperCase(); + })); + var value = duration[unit]; + if (typeof value === 'number' && (zero || duration[unit])) { + return acc.concat(locale.formatDistance(token, value)); + } + return acc; + }, []).join(delimiter); + return result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatDuration/index.js.flow b/node_modules/date-fns/esm/formatDuration/index.js.flow new file mode 100644 index 000000000..022ea8ec7 --- /dev/null +++ b/node_modules/date-fns/esm/formatDuration/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + duration: Duration, + options?: { + format?: string[], + zero?: boolean, + delimiter?: string, + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/esm/formatDuration/package.json b/node_modules/date-fns/esm/formatDuration/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatDuration/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatISO/index.d.ts b/node_modules/date-fns/esm/formatISO/index.d.ts new file mode 100644 index 000000000..4ed5a009d --- /dev/null +++ b/node_modules/date-fns/esm/formatISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO } from 'date-fns' +export default formatISO diff --git a/node_modules/date-fns/esm/formatISO/index.js b/node_modules/date-fns/esm/formatISO/index.js new file mode 100644 index 000000000..969707523 --- /dev/null +++ b/node_modules/date-fns/esm/formatISO/index.js @@ -0,0 +1,100 @@ +import toDate from "../toDate/index.js"; +import addLeadingZeros from "../_lib/addLeadingZeros/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name formatISO + * @category Common Helpers + * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm). + * + * @description + * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {'extended'|'basic'} [options.format='extended'] - if 'basic', hide delimiters between date and time values. + * @param {'complete'|'date'|'time'} [options.representation='complete'] - format date, time with local time zone, or both. + * @returns {String} the formatted date string (in local time zone) + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.format` must be 'extended' or 'basic' + * @throws {RangeError} `options.representation` must be 'date', 'time' or 'complete' + * + * @example + * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC): + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52)) + * //=> '2019-09-18T19:00:52Z' + * + * @example + * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC): + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' }) + * //=> '20190918T190052' + * + * @example + * // Represent 18 September 2019 in ISO 8601 format, date only: + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' }) + * //=> '2019-09-18' + * + * @example + * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC): + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' }) + * //=> '19:00:52Z' + */ +export default function formatISO(date, options) { + var _options$format, _options$representati; + requiredArgs(1, arguments); + var originalDate = toDate(date); + if (isNaN(originalDate.getTime())) { + throw new RangeError('Invalid time value'); + } + var format = String((_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : 'extended'); + var representation = String((_options$representati = options === null || options === void 0 ? void 0 : options.representation) !== null && _options$representati !== void 0 ? _options$representati : 'complete'); + if (format !== 'extended' && format !== 'basic') { + throw new RangeError("format must be 'extended' or 'basic'"); + } + if (representation !== 'date' && representation !== 'time' && representation !== 'complete') { + throw new RangeError("representation must be 'date', 'time', or 'complete'"); + } + var result = ''; + var tzOffset = ''; + var dateDelimiter = format === 'extended' ? '-' : ''; + var timeDelimiter = format === 'extended' ? ':' : ''; + + // Representation is either 'date' or 'complete' + if (representation !== 'time') { + var day = addLeadingZeros(originalDate.getDate(), 2); + var month = addLeadingZeros(originalDate.getMonth() + 1, 2); + var year = addLeadingZeros(originalDate.getFullYear(), 4); + + // yyyyMMdd or yyyy-MM-dd. + result = "".concat(year).concat(dateDelimiter).concat(month).concat(dateDelimiter).concat(day); + } + + // Representation is either 'time' or 'complete' + if (representation !== 'date') { + // Add the timezone. + var offset = originalDate.getTimezoneOffset(); + if (offset !== 0) { + var absoluteOffset = Math.abs(offset); + var hourOffset = addLeadingZeros(Math.floor(absoluteOffset / 60), 2); + var minuteOffset = addLeadingZeros(absoluteOffset % 60, 2); + // If less than 0, the sign is +, because it is ahead of time. + var sign = offset < 0 ? '+' : '-'; + tzOffset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); + } else { + tzOffset = 'Z'; + } + var hour = addLeadingZeros(originalDate.getHours(), 2); + var minute = addLeadingZeros(originalDate.getMinutes(), 2); + var second = addLeadingZeros(originalDate.getSeconds(), 2); + + // If there's also date, separate it with time with 'T' + var separator = result === '' ? '' : 'T'; + + // Creates a time string consisting of hour, minute, and second, separated by delimiters, if defined. + var time = [hour, minute, second].join(timeDelimiter); + + // HHmmss or HH:mm:ss. + result = "".concat(result).concat(separator).concat(time).concat(tzOffset); + } + return result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatISO/index.js.flow b/node_modules/date-fns/esm/formatISO/index.js.flow new file mode 100644 index 000000000..5d1e860cf --- /dev/null +++ b/node_modules/date-fns/esm/formatISO/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } +) => string diff --git a/node_modules/date-fns/esm/formatISO/package.json b/node_modules/date-fns/esm/formatISO/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatISO/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatISO9075/index.d.ts b/node_modules/date-fns/esm/formatISO9075/index.d.ts new file mode 100644 index 000000000..cc8dc8958 --- /dev/null +++ b/node_modules/date-fns/esm/formatISO9075/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO9075 } from 'date-fns' +export default formatISO9075 diff --git a/node_modules/date-fns/esm/formatISO9075/index.js b/node_modules/date-fns/esm/formatISO9075/index.js new file mode 100644 index 000000000..fbf0a0a74 --- /dev/null +++ b/node_modules/date-fns/esm/formatISO9075/index.js @@ -0,0 +1,86 @@ +import toDate from "../toDate/index.js"; +import isValid from "../isValid/index.js"; +import addLeadingZeros from "../_lib/addLeadingZeros/index.js"; +/** + * @name formatISO9075 + * @category Common Helpers + * @summary Format the date according to the ISO 9075 standard (https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format). + * + * @description + * Return the formatted date string in ISO 9075 format. Options may be passed to control the parts and notations of the date. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {'extended'|'basic'} [options.format='extended'] - if 'basic', hide delimiters between date and time values. + * @param {'complete'|'date'|'time'} [options.representation='complete'] - format date, time, or both. + * @returns {String} the formatted date string + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.format` must be 'extended' or 'basic' + * @throws {RangeError} `options.representation` must be 'date', 'time' or 'complete' + * + * @example + * // Represent 18 September 2019 in ISO 9075 format: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52)) + * //=> '2019-09-18 19:00:52' + * + * @example + * // Represent 18 September 2019 in ISO 9075, short format: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' }) + * //=> '20190918 190052' + * + * @example + * // Represent 18 September 2019 in ISO 9075 format, date only: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' }) + * //=> '2019-09-18' + * + * @example + * // Represent 18 September 2019 in ISO 9075 format, time only: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' }) + * //=> '19:00:52' + */ +export default function formatISO9075(dirtyDate, options) { + var _options$format, _options$representati; + if (arguments.length < 1) { + throw new TypeError("1 argument required, but only ".concat(arguments.length, " present")); + } + var originalDate = toDate(dirtyDate); + if (!isValid(originalDate)) { + throw new RangeError('Invalid time value'); + } + var format = String((_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : 'extended'); + var representation = String((_options$representati = options === null || options === void 0 ? void 0 : options.representation) !== null && _options$representati !== void 0 ? _options$representati : 'complete'); + if (format !== 'extended' && format !== 'basic') { + throw new RangeError("format must be 'extended' or 'basic'"); + } + if (representation !== 'date' && representation !== 'time' && representation !== 'complete') { + throw new RangeError("representation must be 'date', 'time', or 'complete'"); + } + var result = ''; + var dateDelimiter = format === 'extended' ? '-' : ''; + var timeDelimiter = format === 'extended' ? ':' : ''; + + // Representation is either 'date' or 'complete' + if (representation !== 'time') { + var day = addLeadingZeros(originalDate.getDate(), 2); + var month = addLeadingZeros(originalDate.getMonth() + 1, 2); + var year = addLeadingZeros(originalDate.getFullYear(), 4); + + // yyyyMMdd or yyyy-MM-dd. + result = "".concat(year).concat(dateDelimiter).concat(month).concat(dateDelimiter).concat(day); + } + + // Representation is either 'time' or 'complete' + if (representation !== 'date') { + var hour = addLeadingZeros(originalDate.getHours(), 2); + var minute = addLeadingZeros(originalDate.getMinutes(), 2); + var second = addLeadingZeros(originalDate.getSeconds(), 2); + + // If there's also date, separate it with time with a space + var separator = result === '' ? '' : ' '; + + // HHmmss or HH:mm:ss. + result = "".concat(result).concat(separator).concat(hour).concat(timeDelimiter).concat(minute).concat(timeDelimiter).concat(second); + } + return result; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatISO9075/index.js.flow b/node_modules/date-fns/esm/formatISO9075/index.js.flow new file mode 100644 index 000000000..5d1e860cf --- /dev/null +++ b/node_modules/date-fns/esm/formatISO9075/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } +) => string diff --git a/node_modules/date-fns/esm/formatISO9075/package.json b/node_modules/date-fns/esm/formatISO9075/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatISO9075/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatISODuration/index.d.ts b/node_modules/date-fns/esm/formatISODuration/index.d.ts new file mode 100644 index 000000000..dfbd33360 --- /dev/null +++ b/node_modules/date-fns/esm/formatISODuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISODuration } from 'date-fns' +export default formatISODuration diff --git a/node_modules/date-fns/esm/formatISODuration/index.js b/node_modules/date-fns/esm/formatISODuration/index.js new file mode 100644 index 000000000..d5398981c --- /dev/null +++ b/node_modules/date-fns/esm/formatISODuration/index.js @@ -0,0 +1,45 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name formatISODuration + * @category Common Helpers + * @summary Format a duration object according as ISO 8601 duration string + * + * @description + * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) + * + * @param {Duration} duration - the duration to format + * + * @returns {String} The ISO 8601 duration string + * @throws {TypeError} Requires 1 argument + * @throws {Error} Argument must be an object + * + * @example + * // Format the given duration as ISO 8601 string + * const result = formatISODuration({ + * years: 39, + * months: 2, + * days: 20, + * hours: 7, + * minutes: 5, + * seconds: 0 + * }) + * //=> 'P39Y2M20DT0H0M0S' + */ +export default function formatISODuration(duration) { + requiredArgs(1, arguments); + if (_typeof(duration) !== 'object') throw new Error('Duration must be an object'); + var _duration$years = duration.years, + years = _duration$years === void 0 ? 0 : _duration$years, + _duration$months = duration.months, + months = _duration$months === void 0 ? 0 : _duration$months, + _duration$days = duration.days, + days = _duration$days === void 0 ? 0 : _duration$days, + _duration$hours = duration.hours, + hours = _duration$hours === void 0 ? 0 : _duration$hours, + _duration$minutes = duration.minutes, + minutes = _duration$minutes === void 0 ? 0 : _duration$minutes, + _duration$seconds = duration.seconds, + seconds = _duration$seconds === void 0 ? 0 : _duration$seconds; + return "P".concat(years, "Y").concat(months, "M").concat(days, "DT").concat(hours, "H").concat(minutes, "M").concat(seconds, "S"); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatISODuration/index.js.flow b/node_modules/date-fns/esm/formatISODuration/index.js.flow new file mode 100644 index 000000000..3f8bb2c6b --- /dev/null +++ b/node_modules/date-fns/esm/formatISODuration/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (duration: Duration) => string diff --git a/node_modules/date-fns/esm/formatISODuration/package.json b/node_modules/date-fns/esm/formatISODuration/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatISODuration/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatRFC3339/index.d.ts b/node_modules/date-fns/esm/formatRFC3339/index.d.ts new file mode 100644 index 000000000..2454cd211 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC3339/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC3339 } from 'date-fns' +export default formatRFC3339 diff --git a/node_modules/date-fns/esm/formatRFC3339/index.js b/node_modules/date-fns/esm/formatRFC3339/index.js new file mode 100644 index 000000000..0fe7a81c4 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC3339/index.js @@ -0,0 +1,76 @@ +import toDate from "../toDate/index.js"; +import isValid from "../isValid/index.js"; +import addLeadingZeros from "../_lib/addLeadingZeros/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name formatRFC3339 + * @category Common Helpers + * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6). + * + * @description + * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {0|1|2|3} [options.fractionDigits=0] - number of digits after the decimal point after seconds + * @returns {String} the formatted date string + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.fractionDigits` must be between 0 and 3 + * + * @example + * // Represent 18 September 2019 in RFC 3339 format: + * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52)) + * //=> '2019-09-18T19:00:52Z' + * + * @example + * // Represent 18 September 2019 in RFC 3339 format, 2 digits of second fraction: + * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), { fractionDigits: 2 }) + * //=> '2019-09-18T19:00:52.23Z' + * + * @example + * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction + * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), { fractionDigits: 3 }) + * //=> '2019-09-18T19:00:52.234Z' + */ +export default function formatRFC3339(dirtyDate, options) { + var _options$fractionDigi; + if (arguments.length < 1) { + throw new TypeError("1 arguments required, but only ".concat(arguments.length, " present")); + } + var originalDate = toDate(dirtyDate); + if (!isValid(originalDate)) { + throw new RangeError('Invalid time value'); + } + var fractionDigits = Number((_options$fractionDigi = options === null || options === void 0 ? void 0 : options.fractionDigits) !== null && _options$fractionDigi !== void 0 ? _options$fractionDigi : 0); + + // Test if fractionDigits is between 0 and 3 _and_ is not NaN + if (!(fractionDigits >= 0 && fractionDigits <= 3)) { + throw new RangeError('fractionDigits must be between 0 and 3 inclusively'); + } + var day = addLeadingZeros(originalDate.getDate(), 2); + var month = addLeadingZeros(originalDate.getMonth() + 1, 2); + var year = originalDate.getFullYear(); + var hour = addLeadingZeros(originalDate.getHours(), 2); + var minute = addLeadingZeros(originalDate.getMinutes(), 2); + var second = addLeadingZeros(originalDate.getSeconds(), 2); + var fractionalSecond = ''; + if (fractionDigits > 0) { + var milliseconds = originalDate.getMilliseconds(); + var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, fractionDigits - 3)); + fractionalSecond = '.' + addLeadingZeros(fractionalSeconds, fractionDigits); + } + var offset = ''; + var tzOffset = originalDate.getTimezoneOffset(); + if (tzOffset !== 0) { + var absoluteOffset = Math.abs(tzOffset); + var hourOffset = addLeadingZeros(toInteger(absoluteOffset / 60), 2); + var minuteOffset = addLeadingZeros(absoluteOffset % 60, 2); + // If less than 0, the sign is +, because it is ahead of time. + var sign = tzOffset < 0 ? '+' : '-'; + offset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); + } else { + offset = 'Z'; + } + return "".concat(year, "-").concat(month, "-").concat(day, "T").concat(hour, ":").concat(minute, ":").concat(second).concat(fractionalSecond).concat(offset); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatRFC3339/index.js.flow b/node_modules/date-fns/esm/formatRFC3339/index.js.flow new file mode 100644 index 000000000..9bb27482e --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC3339/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3, + } +) => string diff --git a/node_modules/date-fns/esm/formatRFC3339/package.json b/node_modules/date-fns/esm/formatRFC3339/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC3339/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatRFC7231/index.d.ts b/node_modules/date-fns/esm/formatRFC7231/index.d.ts new file mode 100644 index 000000000..2caa71400 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC7231/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC7231 } from 'date-fns' +export default formatRFC7231 diff --git a/node_modules/date-fns/esm/formatRFC7231/index.js b/node_modules/date-fns/esm/formatRFC7231/index.js new file mode 100644 index 000000000..1b90bc264 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC7231/index.js @@ -0,0 +1,44 @@ +import toDate from "../toDate/index.js"; +import isValid from "../isValid/index.js"; +import addLeadingZeros from "../_lib/addLeadingZeros/index.js"; +var days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; +var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; + +/** + * @name formatRFC7231 + * @category Common Helpers + * @summary Format the date according to the RFC 7231 standard (https://tools.ietf.org/html/rfc7231#section-7.1.1.1). + * + * @description + * Return the formatted date string in RFC 7231 format. + * The result will always be in UTC timezone. + * + * @param {Date|Number} date - the original date + * @returns {String} the formatted date string + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * + * @example + * // Represent 18 September 2019 in RFC 7231 format: + * const result = formatRFC7231(new Date(2019, 8, 18, 19, 0, 52)) + * //=> 'Wed, 18 Sep 2019 19:00:52 GMT' + */ +export default function formatRFC7231(dirtyDate) { + if (arguments.length < 1) { + throw new TypeError("1 arguments required, but only ".concat(arguments.length, " present")); + } + var originalDate = toDate(dirtyDate); + if (!isValid(originalDate)) { + throw new RangeError('Invalid time value'); + } + var dayName = days[originalDate.getUTCDay()]; + var dayOfMonth = addLeadingZeros(originalDate.getUTCDate(), 2); + var monthName = months[originalDate.getUTCMonth()]; + var year = originalDate.getUTCFullYear(); + var hour = addLeadingZeros(originalDate.getUTCHours(), 2); + var minute = addLeadingZeros(originalDate.getUTCMinutes(), 2); + var second = addLeadingZeros(originalDate.getUTCSeconds(), 2); + + // Result variables. + return "".concat(dayName, ", ").concat(dayOfMonth, " ").concat(monthName, " ").concat(year, " ").concat(hour, ":").concat(minute, ":").concat(second, " GMT"); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatRFC7231/index.js.flow b/node_modules/date-fns/esm/formatRFC7231/index.js.flow new file mode 100644 index 000000000..8462b2512 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC7231/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => string diff --git a/node_modules/date-fns/esm/formatRFC7231/package.json b/node_modules/date-fns/esm/formatRFC7231/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatRFC7231/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatRelative/index.d.ts b/node_modules/date-fns/esm/formatRelative/index.d.ts new file mode 100644 index 000000000..1c5c73922 --- /dev/null +++ b/node_modules/date-fns/esm/formatRelative/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRelative } from 'date-fns' +export default formatRelative diff --git a/node_modules/date-fns/esm/formatRelative/index.js b/node_modules/date-fns/esm/formatRelative/index.js new file mode 100644 index 000000000..50000b28d --- /dev/null +++ b/node_modules/date-fns/esm/formatRelative/index.js @@ -0,0 +1,93 @@ +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import format from "../format/index.js"; +import defaultLocale from "../_lib/defaultLocale/index.js"; +import subMilliseconds from "../subMilliseconds/index.js"; +import toDate from "../toDate/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name formatRelative + * @category Common Helpers + * @summary Represent the date in words relative to the given base date. + * + * @description + * Represent the date in words relative to the given base date. + * + * | Distance to the base date | Result | + * |---------------------------|---------------------------| + * | Previous 6 days | last Sunday at 04:30 AM | + * | Last day | yesterday at 04:30 AM | + * | Same day | today at 04:30 AM | + * | Next day | tomorrow at 04:30 AM | + * | Next 6 days | Sunday at 04:30 AM | + * | Other | 12/31/2017 | + * + * @param {Date|Number} date - the date to format + * @param {Date|Number} baseDate - the date to compare with + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {String} the date in words + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.locale` must contain `localize` property + * @throws {RangeError} `options.locale` must contain `formatLong` property + * @throws {RangeError} `options.locale` must contain `formatRelative` property + * + * @example + * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday + * const result = formatRelative(addDays(new Date(), -6), new Date()) + * //=> "last Thursday at 12:45 AM" + */ +export default function formatRelative(dirtyDate, dirtyBaseDate, options) { + var _ref, _options$locale, _ref2, _ref3, _ref4, _options$weekStartsOn, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var baseDate = toDate(dirtyBaseDate); + var defaultOptions = getDefaultOptions(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale; + var weekStartsOn = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.weekStartsOn) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : 0); + if (!locale.localize) { + throw new RangeError('locale must contain localize property'); + } + if (!locale.formatLong) { + throw new RangeError('locale must contain formatLong property'); + } + if (!locale.formatRelative) { + throw new RangeError('locale must contain formatRelative property'); + } + var diff = differenceInCalendarDays(date, baseDate); + if (isNaN(diff)) { + throw new RangeError('Invalid time value'); + } + var token; + if (diff < -6) { + token = 'other'; + } else if (diff < -1) { + token = 'lastWeek'; + } else if (diff < 0) { + token = 'yesterday'; + } else if (diff < 1) { + token = 'today'; + } else if (diff < 2) { + token = 'tomorrow'; + } else if (diff < 7) { + token = 'nextWeek'; + } else { + token = 'other'; + } + var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date)); + var utcBaseDate = subMilliseconds(baseDate, getTimezoneOffsetInMilliseconds(baseDate)); + var formatStr = locale.formatRelative(token, utcDate, utcBaseDate, { + locale: locale, + weekStartsOn: weekStartsOn + }); + return format(date, formatStr, { + locale: locale, + weekStartsOn: weekStartsOn + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/formatRelative/index.js.flow b/node_modules/date-fns/esm/formatRelative/index.js.flow new file mode 100644 index 000000000..00280b214 --- /dev/null +++ b/node_modules/date-fns/esm/formatRelative/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => string diff --git a/node_modules/date-fns/esm/formatRelative/package.json b/node_modules/date-fns/esm/formatRelative/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/formatRelative/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/_lib/convertToFP/index.js b/node_modules/date-fns/esm/fp/_lib/convertToFP/index.js new file mode 100644 index 000000000..3128f114e --- /dev/null +++ b/node_modules/date-fns/esm/fp/_lib/convertToFP/index.js @@ -0,0 +1,12 @@ +export default function convertToFP(fn, arity) { + var a = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + if (a.length >= arity) { + return fn.apply(null, a.slice(0, arity).reverse()); + } + return function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return convertToFP(fn, arity, a.concat(args)); + }; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/add/index.d.ts b/node_modules/date-fns/esm/fp/add/index.d.ts new file mode 100644 index 000000000..f05edaac6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/add/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { add } from 'date-fns/fp' +export default add diff --git a/node_modules/date-fns/esm/fp/add/index.js b/node_modules/date-fns/esm/fp/add/index.js new file mode 100644 index 000000000..7cc8217f4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/add/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../add/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/add/index.js.flow b/node_modules/date-fns/esm/fp/add/index.js.flow new file mode 100644 index 000000000..3d4363b37 --- /dev/null +++ b/node_modules/date-fns/esm/fp/add/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/add/package.json b/node_modules/date-fns/esm/fp/add/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/add/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addBusinessDays/index.d.ts b/node_modules/date-fns/esm/fp/addBusinessDays/index.d.ts new file mode 100644 index 000000000..dd3b8696a --- /dev/null +++ b/node_modules/date-fns/esm/fp/addBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addBusinessDays } from 'date-fns/fp' +export default addBusinessDays diff --git a/node_modules/date-fns/esm/fp/addBusinessDays/index.js b/node_modules/date-fns/esm/fp/addBusinessDays/index.js new file mode 100644 index 000000000..86337d545 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addBusinessDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addBusinessDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addBusinessDays/index.js.flow b/node_modules/date-fns/esm/fp/addBusinessDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addBusinessDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addBusinessDays/package.json b/node_modules/date-fns/esm/fp/addBusinessDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addBusinessDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addDays/index.d.ts b/node_modules/date-fns/esm/fp/addDays/index.d.ts new file mode 100644 index 000000000..7ba1ace6d --- /dev/null +++ b/node_modules/date-fns/esm/fp/addDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addDays } from 'date-fns/fp' +export default addDays diff --git a/node_modules/date-fns/esm/fp/addDays/index.js b/node_modules/date-fns/esm/fp/addDays/index.js new file mode 100644 index 000000000..b7f5a704e --- /dev/null +++ b/node_modules/date-fns/esm/fp/addDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addDays/index.js.flow b/node_modules/date-fns/esm/fp/addDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addDays/package.json b/node_modules/date-fns/esm/fp/addDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addHours/index.d.ts b/node_modules/date-fns/esm/fp/addHours/index.d.ts new file mode 100644 index 000000000..9b66a8816 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addHours } from 'date-fns/fp' +export default addHours diff --git a/node_modules/date-fns/esm/fp/addHours/index.js b/node_modules/date-fns/esm/fp/addHours/index.js new file mode 100644 index 000000000..0ecdf9fa9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addHours/index.js.flow b/node_modules/date-fns/esm/fp/addHours/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addHours/package.json b/node_modules/date-fns/esm/fp/addHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addISOWeekYears/index.d.ts b/node_modules/date-fns/esm/fp/addISOWeekYears/index.d.ts new file mode 100644 index 000000000..01dab9b40 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addISOWeekYears } from 'date-fns/fp' +export default addISOWeekYears diff --git a/node_modules/date-fns/esm/fp/addISOWeekYears/index.js b/node_modules/date-fns/esm/fp/addISOWeekYears/index.js new file mode 100644 index 000000000..5e1f59cd6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addISOWeekYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addISOWeekYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addISOWeekYears/index.js.flow b/node_modules/date-fns/esm/fp/addISOWeekYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addISOWeekYears/package.json b/node_modules/date-fns/esm/fp/addISOWeekYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/addMilliseconds/index.d.ts new file mode 100644 index 000000000..7a93c9073 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMilliseconds } from 'date-fns/fp' +export default addMilliseconds diff --git a/node_modules/date-fns/esm/fp/addMilliseconds/index.js b/node_modules/date-fns/esm/fp/addMilliseconds/index.js new file mode 100644 index 000000000..6cd07a63b --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/addMilliseconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addMilliseconds/package.json b/node_modules/date-fns/esm/fp/addMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addMinutes/index.d.ts b/node_modules/date-fns/esm/fp/addMinutes/index.d.ts new file mode 100644 index 000000000..fc7b67028 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMinutes } from 'date-fns/fp' +export default addMinutes diff --git a/node_modules/date-fns/esm/fp/addMinutes/index.js b/node_modules/date-fns/esm/fp/addMinutes/index.js new file mode 100644 index 000000000..77b2eaf76 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addMinutes/index.js.flow b/node_modules/date-fns/esm/fp/addMinutes/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addMinutes/package.json b/node_modules/date-fns/esm/fp/addMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addMonths/index.d.ts b/node_modules/date-fns/esm/fp/addMonths/index.d.ts new file mode 100644 index 000000000..01f0e2dff --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMonths } from 'date-fns/fp' +export default addMonths diff --git a/node_modules/date-fns/esm/fp/addMonths/index.js b/node_modules/date-fns/esm/fp/addMonths/index.js new file mode 100644 index 000000000..0e0c56935 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMonths/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addMonths/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addMonths/index.js.flow b/node_modules/date-fns/esm/fp/addMonths/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addMonths/package.json b/node_modules/date-fns/esm/fp/addMonths/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addQuarters/index.d.ts b/node_modules/date-fns/esm/fp/addQuarters/index.d.ts new file mode 100644 index 000000000..f766d567c --- /dev/null +++ b/node_modules/date-fns/esm/fp/addQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addQuarters } from 'date-fns/fp' +export default addQuarters diff --git a/node_modules/date-fns/esm/fp/addQuarters/index.js b/node_modules/date-fns/esm/fp/addQuarters/index.js new file mode 100644 index 000000000..da333453d --- /dev/null +++ b/node_modules/date-fns/esm/fp/addQuarters/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addQuarters/index.js.flow b/node_modules/date-fns/esm/fp/addQuarters/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addQuarters/package.json b/node_modules/date-fns/esm/fp/addQuarters/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addSeconds/index.d.ts b/node_modules/date-fns/esm/fp/addSeconds/index.d.ts new file mode 100644 index 000000000..5c7c41c65 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addSeconds } from 'date-fns/fp' +export default addSeconds diff --git a/node_modules/date-fns/esm/fp/addSeconds/index.js b/node_modules/date-fns/esm/fp/addSeconds/index.js new file mode 100644 index 000000000..1bafd4e8f --- /dev/null +++ b/node_modules/date-fns/esm/fp/addSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addSeconds/index.js.flow b/node_modules/date-fns/esm/fp/addSeconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addSeconds/package.json b/node_modules/date-fns/esm/fp/addSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addWeeks/index.d.ts b/node_modules/date-fns/esm/fp/addWeeks/index.d.ts new file mode 100644 index 000000000..2703fefed --- /dev/null +++ b/node_modules/date-fns/esm/fp/addWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addWeeks } from 'date-fns/fp' +export default addWeeks diff --git a/node_modules/date-fns/esm/fp/addWeeks/index.js b/node_modules/date-fns/esm/fp/addWeeks/index.js new file mode 100644 index 000000000..9e437a866 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addWeeks/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addWeeks/index.js.flow b/node_modules/date-fns/esm/fp/addWeeks/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addWeeks/package.json b/node_modules/date-fns/esm/fp/addWeeks/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addYears/index.d.ts b/node_modules/date-fns/esm/fp/addYears/index.d.ts new file mode 100644 index 000000000..ff907d453 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addYears } from 'date-fns/fp' +export default addYears diff --git a/node_modules/date-fns/esm/fp/addYears/index.js b/node_modules/date-fns/esm/fp/addYears/index.js new file mode 100644 index 000000000..8972bf474 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../addYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/addYears/index.js.flow b/node_modules/date-fns/esm/fp/addYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/addYears/package.json b/node_modules/date-fns/esm/fp/addYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/addYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.d.ts b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.d.ts new file mode 100644 index 000000000..870f26b90 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { areIntervalsOverlapping } from 'date-fns/fp' +export default areIntervalsOverlapping diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.js b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.js new file mode 100644 index 000000000..ad9167c07 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../areIntervalsOverlapping/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.js.flow b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.js.flow new file mode 100644 index 000000000..cd3963338 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlapping/package.json b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlapping/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.d.ts new file mode 100644 index 000000000..010890a83 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { areIntervalsOverlappingWithOptions } from 'date-fns/fp' +export default areIntervalsOverlappingWithOptions diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js new file mode 100644 index 000000000..74cfa8910 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../areIntervalsOverlapping/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js.flow new file mode 100644 index 000000000..67e7396ba --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + inclusive?: boolean, + }, + Interval, + Interval, + boolean +> diff --git a/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/package.json b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/areIntervalsOverlappingWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/clamp/index.d.ts b/node_modules/date-fns/esm/fp/clamp/index.d.ts new file mode 100644 index 000000000..036e70a41 --- /dev/null +++ b/node_modules/date-fns/esm/fp/clamp/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { clamp } from 'date-fns/fp' +export default clamp diff --git a/node_modules/date-fns/esm/fp/clamp/index.js b/node_modules/date-fns/esm/fp/clamp/index.js new file mode 100644 index 000000000..b8d29edb7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/clamp/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../clamp/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/clamp/index.js.flow b/node_modules/date-fns/esm/fp/clamp/index.js.flow new file mode 100644 index 000000000..6bd426380 --- /dev/null +++ b/node_modules/date-fns/esm/fp/clamp/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/clamp/package.json b/node_modules/date-fns/esm/fp/clamp/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/clamp/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/closestIndexTo/index.d.ts b/node_modules/date-fns/esm/fp/closestIndexTo/index.d.ts new file mode 100644 index 000000000..562180dff --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestIndexTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestIndexTo } from 'date-fns/fp' +export default closestIndexTo diff --git a/node_modules/date-fns/esm/fp/closestIndexTo/index.js b/node_modules/date-fns/esm/fp/closestIndexTo/index.js new file mode 100644 index 000000000..021da2cd1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestIndexTo/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../closestIndexTo/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/closestIndexTo/index.js.flow b/node_modules/date-fns/esm/fp/closestIndexTo/index.js.flow new file mode 100644 index 000000000..d7c060bae --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestIndexTo/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2<(Date | number)[], Date | number, ?number> diff --git a/node_modules/date-fns/esm/fp/closestIndexTo/package.json b/node_modules/date-fns/esm/fp/closestIndexTo/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestIndexTo/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/closestTo/index.d.ts b/node_modules/date-fns/esm/fp/closestTo/index.d.ts new file mode 100644 index 000000000..44d10c3a1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestTo } from 'date-fns/fp' +export default closestTo diff --git a/node_modules/date-fns/esm/fp/closestTo/index.js b/node_modules/date-fns/esm/fp/closestTo/index.js new file mode 100644 index 000000000..eb4ae0b9f --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestTo/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../closestTo/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/closestTo/index.js.flow b/node_modules/date-fns/esm/fp/closestTo/index.js.flow new file mode 100644 index 000000000..61487d9e1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestTo/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2<(Date | number)[], Date | number, ?Date> diff --git a/node_modules/date-fns/esm/fp/closestTo/package.json b/node_modules/date-fns/esm/fp/closestTo/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/closestTo/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/compareAsc/index.d.ts b/node_modules/date-fns/esm/fp/compareAsc/index.d.ts new file mode 100644 index 000000000..77d5c6123 --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareAsc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareAsc } from 'date-fns/fp' +export default compareAsc diff --git a/node_modules/date-fns/esm/fp/compareAsc/index.js b/node_modules/date-fns/esm/fp/compareAsc/index.js new file mode 100644 index 000000000..24c19eb9b --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareAsc/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../compareAsc/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/compareAsc/index.js.flow b/node_modules/date-fns/esm/fp/compareAsc/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareAsc/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/compareAsc/package.json b/node_modules/date-fns/esm/fp/compareAsc/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareAsc/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/compareDesc/index.d.ts b/node_modules/date-fns/esm/fp/compareDesc/index.d.ts new file mode 100644 index 000000000..df01367ca --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareDesc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareDesc } from 'date-fns/fp' +export default compareDesc diff --git a/node_modules/date-fns/esm/fp/compareDesc/index.js b/node_modules/date-fns/esm/fp/compareDesc/index.js new file mode 100644 index 000000000..421aba33e --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareDesc/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../compareDesc/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/compareDesc/index.js.flow b/node_modules/date-fns/esm/fp/compareDesc/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareDesc/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/compareDesc/package.json b/node_modules/date-fns/esm/fp/compareDesc/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/compareDesc/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/daysToWeeks/index.d.ts b/node_modules/date-fns/esm/fp/daysToWeeks/index.d.ts new file mode 100644 index 000000000..798a9e15d --- /dev/null +++ b/node_modules/date-fns/esm/fp/daysToWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { daysToWeeks } from 'date-fns/fp' +export default daysToWeeks diff --git a/node_modules/date-fns/esm/fp/daysToWeeks/index.js b/node_modules/date-fns/esm/fp/daysToWeeks/index.js new file mode 100644 index 000000000..abccc1085 --- /dev/null +++ b/node_modules/date-fns/esm/fp/daysToWeeks/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../daysToWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/daysToWeeks/index.js.flow b/node_modules/date-fns/esm/fp/daysToWeeks/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/daysToWeeks/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/daysToWeeks/package.json b/node_modules/date-fns/esm/fp/daysToWeeks/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/daysToWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.d.ts b/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.d.ts new file mode 100644 index 000000000..4ff989062 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInBusinessDays } from 'date-fns/fp' +export default differenceInBusinessDays diff --git a/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js b/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js new file mode 100644 index 000000000..343a88126 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInBusinessDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js.flow b/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInBusinessDays/package.json b/node_modules/date-fns/esm/fp/differenceInBusinessDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInBusinessDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.d.ts new file mode 100644 index 000000000..b6ae5f5a9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarDays } from 'date-fns/fp' +export default differenceInCalendarDays diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.js new file mode 100644 index 000000000..47e8da401 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarDays/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.d.ts new file mode 100644 index 000000000..4e21998da --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeekYears } from 'date-fns/fp' +export default differenceInCalendarISOWeekYears diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js new file mode 100644 index 000000000..d9889c079 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarISOWeekYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.d.ts new file mode 100644 index 000000000..7751c6f29 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeeks } from 'date-fns/fp' +export default differenceInCalendarISOWeeks diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.js new file mode 100644 index 000000000..323fb2bcf --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarISOWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarISOWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.d.ts new file mode 100644 index 000000000..080ac92d6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarMonths } from 'date-fns/fp' +export default differenceInCalendarMonths diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.js new file mode 100644 index 000000000..fbfbd6f29 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarMonths/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarMonths/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.d.ts new file mode 100644 index 000000000..7b9208ba9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarQuarters } from 'date-fns/fp' +export default differenceInCalendarQuarters diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.js new file mode 100644 index 000000000..85c4231b2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.d.ts new file mode 100644 index 000000000..c64709a1d --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarWeeks } from 'date-fns/fp' +export default differenceInCalendarWeeks diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.js new file mode 100644 index 000000000..94ee00f4b --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.d.ts new file mode 100644 index 000000000..344e205f9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarWeeksWithOptions } from 'date-fns/fp' +export default differenceInCalendarWeeksWithOptions diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js new file mode 100644 index 000000000..53b06a617 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js.flow new file mode 100644 index 000000000..9ee18fd5a --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarWeeksWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.d.ts b/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.d.ts new file mode 100644 index 000000000..1390b1fdb --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarYears } from 'date-fns/fp' +export default differenceInCalendarYears diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.js b/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.js new file mode 100644 index 000000000..eee30be16 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInCalendarYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.js.flow b/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInCalendarYears/package.json b/node_modules/date-fns/esm/fp/differenceInCalendarYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInCalendarYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInDays/index.d.ts b/node_modules/date-fns/esm/fp/differenceInDays/index.d.ts new file mode 100644 index 000000000..b240c6e34 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInDays } from 'date-fns/fp' +export default differenceInDays diff --git a/node_modules/date-fns/esm/fp/differenceInDays/index.js b/node_modules/date-fns/esm/fp/differenceInDays/index.js new file mode 100644 index 000000000..51cb318b5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInDays/index.js.flow b/node_modules/date-fns/esm/fp/differenceInDays/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInDays/package.json b/node_modules/date-fns/esm/fp/differenceInDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInHours/index.d.ts b/node_modules/date-fns/esm/fp/differenceInHours/index.d.ts new file mode 100644 index 000000000..4cc27978f --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInHours } from 'date-fns/fp' +export default differenceInHours diff --git a/node_modules/date-fns/esm/fp/differenceInHours/index.js b/node_modules/date-fns/esm/fp/differenceInHours/index.js new file mode 100644 index 000000000..d39e2ec6e --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInHours/index.js.flow b/node_modules/date-fns/esm/fp/differenceInHours/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInHours/package.json b/node_modules/date-fns/esm/fp/differenceInHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.d.ts new file mode 100644 index 000000000..0b4cc304b --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInHoursWithOptions } from 'date-fns/fp' +export default differenceInHoursWithOptions diff --git a/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.js b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.js new file mode 100644 index 000000000..579edef4f --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/package.json b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInHoursWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.d.ts b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.d.ts new file mode 100644 index 000000000..634591add --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInISOWeekYears } from 'date-fns/fp' +export default differenceInISOWeekYears diff --git a/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.js b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.js new file mode 100644 index 000000000..670ecfef7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInISOWeekYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.js.flow b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInISOWeekYears/package.json b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.d.ts new file mode 100644 index 000000000..23924cbd1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMilliseconds } from 'date-fns/fp' +export default differenceInMilliseconds diff --git a/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.js b/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.js new file mode 100644 index 000000000..c6b240b68 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInMilliseconds/package.json b/node_modules/date-fns/esm/fp/differenceInMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMinutes/index.d.ts b/node_modules/date-fns/esm/fp/differenceInMinutes/index.d.ts new file mode 100644 index 000000000..6d00d342b --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMinutes } from 'date-fns/fp' +export default differenceInMinutes diff --git a/node_modules/date-fns/esm/fp/differenceInMinutes/index.js b/node_modules/date-fns/esm/fp/differenceInMinutes/index.js new file mode 100644 index 000000000..489fe7ce1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMinutes/index.js.flow b/node_modules/date-fns/esm/fp/differenceInMinutes/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInMinutes/package.json b/node_modules/date-fns/esm/fp/differenceInMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.d.ts new file mode 100644 index 000000000..33037c96a --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMinutesWithOptions } from 'date-fns/fp' +export default differenceInMinutesWithOptions diff --git a/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.js b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.js new file mode 100644 index 000000000..de4bb4d55 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/package.json b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMinutesWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMonths/index.d.ts b/node_modules/date-fns/esm/fp/differenceInMonths/index.d.ts new file mode 100644 index 000000000..17bdd4ea1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMonths } from 'date-fns/fp' +export default differenceInMonths diff --git a/node_modules/date-fns/esm/fp/differenceInMonths/index.js b/node_modules/date-fns/esm/fp/differenceInMonths/index.js new file mode 100644 index 000000000..983df4c36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMonths/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInMonths/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInMonths/index.js.flow b/node_modules/date-fns/esm/fp/differenceInMonths/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInMonths/package.json b/node_modules/date-fns/esm/fp/differenceInMonths/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInQuarters/index.d.ts b/node_modules/date-fns/esm/fp/differenceInQuarters/index.d.ts new file mode 100644 index 000000000..649f21d48 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInQuarters } from 'date-fns/fp' +export default differenceInQuarters diff --git a/node_modules/date-fns/esm/fp/differenceInQuarters/index.js b/node_modules/date-fns/esm/fp/differenceInQuarters/index.js new file mode 100644 index 000000000..54dd9cbc8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuarters/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInQuarters/index.js.flow b/node_modules/date-fns/esm/fp/differenceInQuarters/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInQuarters/package.json b/node_modules/date-fns/esm/fp/differenceInQuarters/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.d.ts new file mode 100644 index 000000000..a456bf1e4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInQuartersWithOptions } from 'date-fns/fp' +export default differenceInQuartersWithOptions diff --git a/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.js b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.js new file mode 100644 index 000000000..db1bdcf57 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/package.json b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInQuartersWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInSeconds/index.d.ts b/node_modules/date-fns/esm/fp/differenceInSeconds/index.d.ts new file mode 100644 index 000000000..1dded51c1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInSeconds } from 'date-fns/fp' +export default differenceInSeconds diff --git a/node_modules/date-fns/esm/fp/differenceInSeconds/index.js b/node_modules/date-fns/esm/fp/differenceInSeconds/index.js new file mode 100644 index 000000000..29ffb4e2a --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInSeconds/index.js.flow b/node_modules/date-fns/esm/fp/differenceInSeconds/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInSeconds/package.json b/node_modules/date-fns/esm/fp/differenceInSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.d.ts new file mode 100644 index 000000000..da59f3f1c --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInSecondsWithOptions } from 'date-fns/fp' +export default differenceInSecondsWithOptions diff --git a/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.js b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.js new file mode 100644 index 000000000..8a432f4c9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/package.json b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInSecondsWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInWeeks/index.d.ts b/node_modules/date-fns/esm/fp/differenceInWeeks/index.d.ts new file mode 100644 index 000000000..52d52209b --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInWeeks } from 'date-fns/fp' +export default differenceInWeeks diff --git a/node_modules/date-fns/esm/fp/differenceInWeeks/index.js b/node_modules/date-fns/esm/fp/differenceInWeeks/index.js new file mode 100644 index 000000000..4df78d420 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeks/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInWeeks/index.js.flow b/node_modules/date-fns/esm/fp/differenceInWeeks/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInWeeks/package.json b/node_modules/date-fns/esm/fp/differenceInWeeks/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.d.ts new file mode 100644 index 000000000..301650246 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInWeeksWithOptions } from 'date-fns/fp' +export default differenceInWeeksWithOptions diff --git a/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.js b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.js new file mode 100644 index 000000000..f7c0e139f --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/package.json b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInWeeksWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInYears/index.d.ts b/node_modules/date-fns/esm/fp/differenceInYears/index.d.ts new file mode 100644 index 000000000..20fd16404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInYears } from 'date-fns/fp' +export default differenceInYears diff --git a/node_modules/date-fns/esm/fp/differenceInYears/index.js b/node_modules/date-fns/esm/fp/differenceInYears/index.js new file mode 100644 index 000000000..66fbcda99 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../differenceInYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/differenceInYears/index.js.flow b/node_modules/date-fns/esm/fp/differenceInYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/differenceInYears/package.json b/node_modules/date-fns/esm/fp/differenceInYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/differenceInYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachDayOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachDayOfInterval/index.d.ts new file mode 100644 index 000000000..e878e768d --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachDayOfInterval } from 'date-fns/fp' +export default eachDayOfInterval diff --git a/node_modules/date-fns/esm/fp/eachDayOfInterval/index.js b/node_modules/date-fns/esm/fp/eachDayOfInterval/index.js new file mode 100644 index 000000000..807defdad --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachDayOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachDayOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachDayOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachDayOfInterval/package.json b/node_modules/date-fns/esm/fp/eachDayOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..586228402 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachDayOfIntervalWithOptions } from 'date-fns/fp' +export default eachDayOfIntervalWithOptions diff --git a/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js new file mode 100644 index 000000000..38d14d558 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachDayOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..bedeb2137 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/package.json b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachDayOfIntervalWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachHourOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachHourOfInterval/index.d.ts new file mode 100644 index 000000000..055ab320b --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachHourOfInterval } from 'date-fns/fp' +export default eachHourOfInterval diff --git a/node_modules/date-fns/esm/fp/eachHourOfInterval/index.js b/node_modules/date-fns/esm/fp/eachHourOfInterval/index.js new file mode 100644 index 000000000..7c3d3aee7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachHourOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachHourOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachHourOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachHourOfInterval/package.json b/node_modules/date-fns/esm/fp/eachHourOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..7b781f90e --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachHourOfIntervalWithOptions } from 'date-fns/fp' +export default eachHourOfIntervalWithOptions diff --git a/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js new file mode 100644 index 000000000..80f98c955 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachHourOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..bedeb2137 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/package.json b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachHourOfIntervalWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.d.ts new file mode 100644 index 000000000..243185fb1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMinuteOfInterval } from 'date-fns/fp' +export default eachMinuteOfInterval diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.js b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.js new file mode 100644 index 000000000..7f7a7e2c7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachMinuteOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfInterval/package.json b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..716aa441d --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMinuteOfIntervalWithOptions } from 'date-fns/fp' +export default eachMinuteOfIntervalWithOptions diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js new file mode 100644 index 000000000..c374b382a --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachMinuteOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..bedeb2137 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/package.json b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.d.ts new file mode 100644 index 000000000..1f3cae5a9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMonthOfInterval } from 'date-fns/fp' +export default eachMonthOfInterval diff --git a/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.js b/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.js new file mode 100644 index 000000000..45064a275 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachMonthOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMonthOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachMonthOfInterval/package.json b/node_modules/date-fns/esm/fp/eachMonthOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachMonthOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.d.ts new file mode 100644 index 000000000..8a81f636b --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachQuarterOfInterval } from 'date-fns/fp' +export default eachQuarterOfInterval diff --git a/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.js b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.js new file mode 100644 index 000000000..b6ae01b7d --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachQuarterOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachQuarterOfInterval/package.json b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachQuarterOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.d.ts new file mode 100644 index 000000000..ab5d4b463 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekOfInterval } from 'date-fns/fp' +export default eachWeekOfInterval diff --git a/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.js b/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.js new file mode 100644 index 000000000..4b1dd2dfb --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachWeekOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachWeekOfInterval/package.json b/node_modules/date-fns/esm/fp/eachWeekOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..def43ab8e --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekOfIntervalWithOptions } from 'date-fns/fp' +export default eachWeekOfIntervalWithOptions diff --git a/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js new file mode 100644 index 000000000..76608fc9e --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachWeekOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..3aca21803 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/package.json b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekOfIntervalWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.d.ts new file mode 100644 index 000000000..961eff70f --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfInterval } from 'date-fns/fp' +export default eachWeekendOfInterval diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.js b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.js new file mode 100644 index 000000000..dce2cf9c8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachWeekendOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfInterval/package.json b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.d.ts new file mode 100644 index 000000000..2501a05ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfMonth } from 'date-fns/fp' +export default eachWeekendOfMonth diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.js b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.js new file mode 100644 index 000000000..bf9e81775 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachWeekendOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.js.flow new file mode 100644 index 000000000..9736b40ce --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfMonth/package.json b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.d.ts b/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.d.ts new file mode 100644 index 000000000..8554541dc --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfYear } from 'date-fns/fp' +export default eachWeekendOfYear diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.js b/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.js new file mode 100644 index 000000000..0090a4f42 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachWeekendOfYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.js.flow b/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.js.flow new file mode 100644 index 000000000..9736b40ce --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachWeekendOfYear/package.json b/node_modules/date-fns/esm/fp/eachWeekendOfYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachWeekendOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachYearOfInterval/index.d.ts b/node_modules/date-fns/esm/fp/eachYearOfInterval/index.d.ts new file mode 100644 index 000000000..51e093b5e --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachYearOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachYearOfInterval } from 'date-fns/fp' +export default eachYearOfInterval diff --git a/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js b/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js new file mode 100644 index 000000000..c87a4448f --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../eachYearOfInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js.flow b/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachYearOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/eachYearOfInterval/package.json b/node_modules/date-fns/esm/fp/eachYearOfInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/eachYearOfInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfDay/index.d.ts b/node_modules/date-fns/esm/fp/endOfDay/index.d.ts new file mode 100644 index 000000000..2db665f30 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDay } from 'date-fns/fp' +export default endOfDay diff --git a/node_modules/date-fns/esm/fp/endOfDay/index.js b/node_modules/date-fns/esm/fp/endOfDay/index.js new file mode 100644 index 000000000..7e9366752 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfDay/index.js.flow b/node_modules/date-fns/esm/fp/endOfDay/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfDay/package.json b/node_modules/date-fns/esm/fp/endOfDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfDecade/index.d.ts b/node_modules/date-fns/esm/fp/endOfDecade/index.d.ts new file mode 100644 index 000000000..f3a7e8c87 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDecade } from 'date-fns/fp' +export default endOfDecade diff --git a/node_modules/date-fns/esm/fp/endOfDecade/index.js b/node_modules/date-fns/esm/fp/endOfDecade/index.js new file mode 100644 index 000000000..89e8da0ac --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecade/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfDecade/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfDecade/index.js.flow b/node_modules/date-fns/esm/fp/endOfDecade/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfDecade/package.json b/node_modules/date-fns/esm/fp/endOfDecade/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.d.ts new file mode 100644 index 000000000..cad60daca --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDecadeWithOptions } from 'date-fns/fp' +export default endOfDecadeWithOptions diff --git a/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.js b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.js new file mode 100644 index 000000000..7c4c3419a --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfDecade/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.js.flow new file mode 100644 index 000000000..4b6d0d466 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/package.json b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfDecadeWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfHour/index.d.ts b/node_modules/date-fns/esm/fp/endOfHour/index.d.ts new file mode 100644 index 000000000..fb7b3190f --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfHour } from 'date-fns/fp' +export default endOfHour diff --git a/node_modules/date-fns/esm/fp/endOfHour/index.js b/node_modules/date-fns/esm/fp/endOfHour/index.js new file mode 100644 index 000000000..722d33c5a --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfHour/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfHour/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfHour/index.js.flow b/node_modules/date-fns/esm/fp/endOfHour/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfHour/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfHour/package.json b/node_modules/date-fns/esm/fp/endOfHour/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfISOWeek/index.d.ts b/node_modules/date-fns/esm/fp/endOfISOWeek/index.d.ts new file mode 100644 index 000000000..64f0b2e3e --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeek } from 'date-fns/fp' +export default endOfISOWeek diff --git a/node_modules/date-fns/esm/fp/endOfISOWeek/index.js b/node_modules/date-fns/esm/fp/endOfISOWeek/index.js new file mode 100644 index 000000000..8c6c0b949 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfISOWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfISOWeek/index.js.flow b/node_modules/date-fns/esm/fp/endOfISOWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfISOWeek/package.json b/node_modules/date-fns/esm/fp/endOfISOWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..9782d7fe4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeekYear } from 'date-fns/fp' +export default endOfISOWeekYear diff --git a/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.js b/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.js new file mode 100644 index 000000000..61aa7310d --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfISOWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfISOWeekYear/package.json b/node_modules/date-fns/esm/fp/endOfISOWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfMinute/index.d.ts b/node_modules/date-fns/esm/fp/endOfMinute/index.d.ts new file mode 100644 index 000000000..78e8a192d --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMinute } from 'date-fns/fp' +export default endOfMinute diff --git a/node_modules/date-fns/esm/fp/endOfMinute/index.js b/node_modules/date-fns/esm/fp/endOfMinute/index.js new file mode 100644 index 000000000..2dce1a0cb --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMinute/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfMinute/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfMinute/index.js.flow b/node_modules/date-fns/esm/fp/endOfMinute/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMinute/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfMinute/package.json b/node_modules/date-fns/esm/fp/endOfMinute/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/endOfMonth/index.d.ts new file mode 100644 index 000000000..0c23957e2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMonth } from 'date-fns/fp' +export default endOfMonth diff --git a/node_modules/date-fns/esm/fp/endOfMonth/index.js b/node_modules/date-fns/esm/fp/endOfMonth/index.js new file mode 100644 index 000000000..f443cc869 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/endOfMonth/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfMonth/package.json b/node_modules/date-fns/esm/fp/endOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfQuarter/index.d.ts b/node_modules/date-fns/esm/fp/endOfQuarter/index.d.ts new file mode 100644 index 000000000..24e729ba9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfQuarter } from 'date-fns/fp' +export default endOfQuarter diff --git a/node_modules/date-fns/esm/fp/endOfQuarter/index.js b/node_modules/date-fns/esm/fp/endOfQuarter/index.js new file mode 100644 index 000000000..fe4402f51 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfQuarter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfQuarter/index.js.flow b/node_modules/date-fns/esm/fp/endOfQuarter/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfQuarter/package.json b/node_modules/date-fns/esm/fp/endOfQuarter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfSecond/index.d.ts b/node_modules/date-fns/esm/fp/endOfSecond/index.d.ts new file mode 100644 index 000000000..6b5d624ed --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfSecond } from 'date-fns/fp' +export default endOfSecond diff --git a/node_modules/date-fns/esm/fp/endOfSecond/index.js b/node_modules/date-fns/esm/fp/endOfSecond/index.js new file mode 100644 index 000000000..657cbc84d --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfSecond/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfSecond/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfSecond/index.js.flow b/node_modules/date-fns/esm/fp/endOfSecond/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfSecond/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfSecond/package.json b/node_modules/date-fns/esm/fp/endOfSecond/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfWeek/index.d.ts b/node_modules/date-fns/esm/fp/endOfWeek/index.d.ts new file mode 100644 index 000000000..0aa4d1027 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfWeek } from 'date-fns/fp' +export default endOfWeek diff --git a/node_modules/date-fns/esm/fp/endOfWeek/index.js b/node_modules/date-fns/esm/fp/endOfWeek/index.js new file mode 100644 index 000000000..bf80a3b53 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfWeek/index.js.flow b/node_modules/date-fns/esm/fp/endOfWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfWeek/package.json b/node_modules/date-fns/esm/fp/endOfWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.d.ts new file mode 100644 index 000000000..0ddcbf60f --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfWeekWithOptions } from 'date-fns/fp' +export default endOfWeekWithOptions diff --git a/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.js b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.js new file mode 100644 index 000000000..564e11fc3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.js.flow new file mode 100644 index 000000000..9821646c7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/endOfWeekWithOptions/package.json b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfWeekWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfYear/index.d.ts b/node_modules/date-fns/esm/fp/endOfYear/index.d.ts new file mode 100644 index 000000000..b4e5904ec --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfYear } from 'date-fns/fp' +export default endOfYear diff --git a/node_modules/date-fns/esm/fp/endOfYear/index.js b/node_modules/date-fns/esm/fp/endOfYear/index.js new file mode 100644 index 000000000..aa4bb056b --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../endOfYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/endOfYear/index.js.flow b/node_modules/date-fns/esm/fp/endOfYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/endOfYear/package.json b/node_modules/date-fns/esm/fp/endOfYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/endOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/format/index.d.ts b/node_modules/date-fns/esm/fp/format/index.d.ts new file mode 100644 index 000000000..bf0c948ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/format/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { format } from 'date-fns/fp' +export default format diff --git a/node_modules/date-fns/esm/fp/format/index.js b/node_modules/date-fns/esm/fp/format/index.js new file mode 100644 index 000000000..19aa3726d --- /dev/null +++ b/node_modules/date-fns/esm/fp/format/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../format/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/format/index.js.flow b/node_modules/date-fns/esm/fp/format/index.js.flow new file mode 100644 index 000000000..013f277c8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/format/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/format/package.json b/node_modules/date-fns/esm/fp/format/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/format/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistance/index.d.ts b/node_modules/date-fns/esm/fp/formatDistance/index.d.ts new file mode 100644 index 000000000..029daa42f --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistance } from 'date-fns/fp' +export default formatDistance diff --git a/node_modules/date-fns/esm/fp/formatDistance/index.js b/node_modules/date-fns/esm/fp/formatDistance/index.js new file mode 100644 index 000000000..144d17b7d --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistance/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatDistance/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistance/index.js.flow b/node_modules/date-fns/esm/fp/formatDistance/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistance/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/formatDistance/package.json b/node_modules/date-fns/esm/fp/formatDistance/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistance/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrict/index.d.ts b/node_modules/date-fns/esm/fp/formatDistanceStrict/index.d.ts new file mode 100644 index 000000000..dd41fb8a8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrict/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceStrict } from 'date-fns/fp' +export default formatDistanceStrict diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrict/index.js b/node_modules/date-fns/esm/fp/formatDistanceStrict/index.js new file mode 100644 index 000000000..f1f2a1b39 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrict/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatDistanceStrict/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrict/index.js.flow b/node_modules/date-fns/esm/fp/formatDistanceStrict/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrict/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrict/package.json b/node_modules/date-fns/esm/fp/formatDistanceStrict/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrict/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.d.ts new file mode 100644 index 000000000..2e626c402 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceStrictWithOptions } from 'date-fns/fp' +export default formatDistanceStrictWithOptions diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.js b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.js new file mode 100644 index 000000000..6990897ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatDistanceStrict/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.js.flow new file mode 100644 index 000000000..b021da2fd --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/index.js.flow @@ -0,0 +1,77 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + locale?: Locale, + roundingMethod?: 'floor' | 'ceil' | 'round', + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + addSuffix?: boolean, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/package.json b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceStrictWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.d.ts new file mode 100644 index 000000000..62f084965 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceWithOptions } from 'date-fns/fp' +export default formatDistanceWithOptions diff --git a/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.js b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.js new file mode 100644 index 000000000..c3102361e --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatDistance/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.js.flow new file mode 100644 index 000000000..59043117a --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/index.js.flow @@ -0,0 +1,76 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + locale?: Locale, + addSuffix?: boolean, + includeSeconds?: boolean, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatDistanceWithOptions/package.json b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDistanceWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDuration/index.d.ts b/node_modules/date-fns/esm/fp/formatDuration/index.d.ts new file mode 100644 index 000000000..3b184ccfc --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDuration } from 'date-fns/fp' +export default formatDuration diff --git a/node_modules/date-fns/esm/fp/formatDuration/index.js b/node_modules/date-fns/esm/fp/formatDuration/index.js new file mode 100644 index 000000000..da8851036 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDuration/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatDuration/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDuration/index.js.flow b/node_modules/date-fns/esm/fp/formatDuration/index.js.flow new file mode 100644 index 000000000..da7156448 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDuration/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/formatDuration/package.json b/node_modules/date-fns/esm/fp/formatDuration/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDuration/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.d.ts new file mode 100644 index 000000000..633151779 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDurationWithOptions } from 'date-fns/fp' +export default formatDurationWithOptions diff --git a/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.js b/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.js new file mode 100644 index 000000000..0109be2ff --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatDuration/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.js.flow new file mode 100644 index 000000000..72f29103f --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDurationWithOptions/index.js.flow @@ -0,0 +1,67 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + locale?: Locale, + delimiter?: string, + zero?: boolean, + format?: string[], + }, + Duration, + string +> diff --git a/node_modules/date-fns/esm/fp/formatDurationWithOptions/package.json b/node_modules/date-fns/esm/fp/formatDurationWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatDurationWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISO/index.d.ts b/node_modules/date-fns/esm/fp/formatISO/index.d.ts new file mode 100644 index 000000000..6f3ba60eb --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO } from 'date-fns/fp' +export default formatISO diff --git a/node_modules/date-fns/esm/fp/formatISO/index.js b/node_modules/date-fns/esm/fp/formatISO/index.js new file mode 100644 index 000000000..488726558 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatISO/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISO/index.js.flow b/node_modules/date-fns/esm/fp/formatISO/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/formatISO/package.json b/node_modules/date-fns/esm/fp/formatISO/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISO9075/index.d.ts b/node_modules/date-fns/esm/fp/formatISO9075/index.d.ts new file mode 100644 index 000000000..171e2b74c --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO9075 } from 'date-fns/fp' +export default formatISO9075 diff --git a/node_modules/date-fns/esm/fp/formatISO9075/index.js b/node_modules/date-fns/esm/fp/formatISO9075/index.js new file mode 100644 index 000000000..518a66d63 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatISO9075/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISO9075/index.js.flow b/node_modules/date-fns/esm/fp/formatISO9075/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/formatISO9075/package.json b/node_modules/date-fns/esm/fp/formatISO9075/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.d.ts new file mode 100644 index 000000000..3000885a3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO9075WithOptions } from 'date-fns/fp' +export default formatISO9075WithOptions diff --git a/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.js b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.js new file mode 100644 index 000000000..0275f9fcf --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatISO9075/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.js.flow new file mode 100644 index 000000000..fd294f174 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatISO9075WithOptions/package.json b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISO9075WithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISODuration/index.d.ts b/node_modules/date-fns/esm/fp/formatISODuration/index.d.ts new file mode 100644 index 000000000..aedd08693 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISODuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISODuration } from 'date-fns/fp' +export default formatISODuration diff --git a/node_modules/date-fns/esm/fp/formatISODuration/index.js b/node_modules/date-fns/esm/fp/formatISODuration/index.js new file mode 100644 index 000000000..66f789425 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISODuration/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatISODuration/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISODuration/index.js.flow b/node_modules/date-fns/esm/fp/formatISODuration/index.js.flow new file mode 100644 index 000000000..da7156448 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISODuration/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/formatISODuration/package.json b/node_modules/date-fns/esm/fp/formatISODuration/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISODuration/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISOWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatISOWithOptions/index.d.ts new file mode 100644 index 000000000..286813e2b --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISOWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISOWithOptions } from 'date-fns/fp' +export default formatISOWithOptions diff --git a/node_modules/date-fns/esm/fp/formatISOWithOptions/index.js b/node_modules/date-fns/esm/fp/formatISOWithOptions/index.js new file mode 100644 index 000000000..4c46dc289 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISOWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatISO/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatISOWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatISOWithOptions/index.js.flow new file mode 100644 index 000000000..fd294f174 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISOWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatISOWithOptions/package.json b/node_modules/date-fns/esm/fp/formatISOWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatISOWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRFC3339/index.d.ts b/node_modules/date-fns/esm/fp/formatRFC3339/index.d.ts new file mode 100644 index 000000000..c1ac82722 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC3339 } from 'date-fns/fp' +export default formatRFC3339 diff --git a/node_modules/date-fns/esm/fp/formatRFC3339/index.js b/node_modules/date-fns/esm/fp/formatRFC3339/index.js new file mode 100644 index 000000000..dd7c6c5c1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatRFC3339/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRFC3339/index.js.flow b/node_modules/date-fns/esm/fp/formatRFC3339/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/formatRFC3339/package.json b/node_modules/date-fns/esm/fp/formatRFC3339/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.d.ts new file mode 100644 index 000000000..b274531db --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC3339WithOptions } from 'date-fns/fp' +export default formatRFC3339WithOptions diff --git a/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.js b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.js new file mode 100644 index 000000000..e2342add4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatRFC3339/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.js.flow new file mode 100644 index 000000000..77fba5957 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + fractionDigits?: 0 | 1 | 2 | 3, + }, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/package.json b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC3339WithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRFC7231/index.d.ts b/node_modules/date-fns/esm/fp/formatRFC7231/index.d.ts new file mode 100644 index 000000000..ca45e433d --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC7231/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC7231 } from 'date-fns/fp' +export default formatRFC7231 diff --git a/node_modules/date-fns/esm/fp/formatRFC7231/index.js b/node_modules/date-fns/esm/fp/formatRFC7231/index.js new file mode 100644 index 000000000..b537affaa --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC7231/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatRFC7231/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRFC7231/index.js.flow b/node_modules/date-fns/esm/fp/formatRFC7231/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC7231/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/formatRFC7231/package.json b/node_modules/date-fns/esm/fp/formatRFC7231/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRFC7231/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRelative/index.d.ts b/node_modules/date-fns/esm/fp/formatRelative/index.d.ts new file mode 100644 index 000000000..927a30010 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelative/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRelative } from 'date-fns/fp' +export default formatRelative diff --git a/node_modules/date-fns/esm/fp/formatRelative/index.js b/node_modules/date-fns/esm/fp/formatRelative/index.js new file mode 100644 index 000000000..f84d2308f --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelative/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatRelative/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRelative/index.js.flow b/node_modules/date-fns/esm/fp/formatRelative/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelative/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/formatRelative/package.json b/node_modules/date-fns/esm/fp/formatRelative/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelative/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.d.ts new file mode 100644 index 000000000..5bea41aa2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRelativeWithOptions } from 'date-fns/fp' +export default formatRelativeWithOptions diff --git a/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.js b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.js new file mode 100644 index 000000000..47b7fec3b --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../formatRelative/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.js.flow new file mode 100644 index 000000000..cb51d97a6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatRelativeWithOptions/package.json b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatRelativeWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/formatWithOptions/index.d.ts new file mode 100644 index 000000000..cd59897d1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatWithOptions } from 'date-fns/fp' +export default formatWithOptions diff --git a/node_modules/date-fns/esm/fp/formatWithOptions/index.js b/node_modules/date-fns/esm/fp/formatWithOptions/index.js new file mode 100644 index 000000000..fcfd5d982 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../format/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/formatWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/formatWithOptions/index.js.flow new file mode 100644 index 000000000..757f95ad6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatWithOptions/index.js.flow @@ -0,0 +1,78 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: number, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/formatWithOptions/package.json b/node_modules/date-fns/esm/fp/formatWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/formatWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/fromUnixTime/index.d.ts b/node_modules/date-fns/esm/fp/fromUnixTime/index.d.ts new file mode 100644 index 000000000..e6cbce37f --- /dev/null +++ b/node_modules/date-fns/esm/fp/fromUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fromUnixTime } from 'date-fns/fp' +export default fromUnixTime diff --git a/node_modules/date-fns/esm/fp/fromUnixTime/index.js b/node_modules/date-fns/esm/fp/fromUnixTime/index.js new file mode 100644 index 000000000..46aacbc23 --- /dev/null +++ b/node_modules/date-fns/esm/fp/fromUnixTime/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../fromUnixTime/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/fromUnixTime/index.js.flow b/node_modules/date-fns/esm/fp/fromUnixTime/index.js.flow new file mode 100644 index 000000000..27fa88674 --- /dev/null +++ b/node_modules/date-fns/esm/fp/fromUnixTime/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/fromUnixTime/package.json b/node_modules/date-fns/esm/fp/fromUnixTime/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/fromUnixTime/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDate/index.d.ts b/node_modules/date-fns/esm/fp/getDate/index.d.ts new file mode 100644 index 000000000..879f12cf8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDate } from 'date-fns/fp' +export default getDate diff --git a/node_modules/date-fns/esm/fp/getDate/index.js b/node_modules/date-fns/esm/fp/getDate/index.js new file mode 100644 index 000000000..e7555fcb9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDate/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getDate/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDate/index.js.flow b/node_modules/date-fns/esm/fp/getDate/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDate/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getDate/package.json b/node_modules/date-fns/esm/fp/getDate/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDay/index.d.ts b/node_modules/date-fns/esm/fp/getDay/index.d.ts new file mode 100644 index 000000000..e1bccbbe4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDay } from 'date-fns/fp' +export default getDay diff --git a/node_modules/date-fns/esm/fp/getDay/index.js b/node_modules/date-fns/esm/fp/getDay/index.js new file mode 100644 index 000000000..4c5d9c61d --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDay/index.js.flow b/node_modules/date-fns/esm/fp/getDay/index.js.flow new file mode 100644 index 000000000..8971f41fb --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getDay/package.json b/node_modules/date-fns/esm/fp/getDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDayOfYear/index.d.ts b/node_modules/date-fns/esm/fp/getDayOfYear/index.d.ts new file mode 100644 index 000000000..ccc88e16d --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDayOfYear } from 'date-fns/fp' +export default getDayOfYear diff --git a/node_modules/date-fns/esm/fp/getDayOfYear/index.js b/node_modules/date-fns/esm/fp/getDayOfYear/index.js new file mode 100644 index 000000000..40136b6c8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDayOfYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getDayOfYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDayOfYear/index.js.flow b/node_modules/date-fns/esm/fp/getDayOfYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDayOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getDayOfYear/package.json b/node_modules/date-fns/esm/fp/getDayOfYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDayOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDaysInMonth/index.d.ts b/node_modules/date-fns/esm/fp/getDaysInMonth/index.d.ts new file mode 100644 index 000000000..2ca844592 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInMonth } from 'date-fns/fp' +export default getDaysInMonth diff --git a/node_modules/date-fns/esm/fp/getDaysInMonth/index.js b/node_modules/date-fns/esm/fp/getDaysInMonth/index.js new file mode 100644 index 000000000..30df3d5ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getDaysInMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDaysInMonth/index.js.flow b/node_modules/date-fns/esm/fp/getDaysInMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getDaysInMonth/package.json b/node_modules/date-fns/esm/fp/getDaysInMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDaysInYear/index.d.ts b/node_modules/date-fns/esm/fp/getDaysInYear/index.d.ts new file mode 100644 index 000000000..599213fa5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInYear } from 'date-fns/fp' +export default getDaysInYear diff --git a/node_modules/date-fns/esm/fp/getDaysInYear/index.js b/node_modules/date-fns/esm/fp/getDaysInYear/index.js new file mode 100644 index 000000000..c19ab29d9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getDaysInYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDaysInYear/index.js.flow b/node_modules/date-fns/esm/fp/getDaysInYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getDaysInYear/package.json b/node_modules/date-fns/esm/fp/getDaysInYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDaysInYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDecade/index.d.ts b/node_modules/date-fns/esm/fp/getDecade/index.d.ts new file mode 100644 index 000000000..ca1c9c5c9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDecade } from 'date-fns/fp' +export default getDecade diff --git a/node_modules/date-fns/esm/fp/getDecade/index.js b/node_modules/date-fns/esm/fp/getDecade/index.js new file mode 100644 index 000000000..8e82cb28b --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDecade/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getDecade/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getDecade/index.js.flow b/node_modules/date-fns/esm/fp/getDecade/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getDecade/package.json b/node_modules/date-fns/esm/fp/getDecade/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getHours/index.d.ts b/node_modules/date-fns/esm/fp/getHours/index.d.ts new file mode 100644 index 000000000..9daea8a79 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getHours } from 'date-fns/fp' +export default getHours diff --git a/node_modules/date-fns/esm/fp/getHours/index.js b/node_modules/date-fns/esm/fp/getHours/index.js new file mode 100644 index 000000000..eece452bc --- /dev/null +++ b/node_modules/date-fns/esm/fp/getHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getHours/index.js.flow b/node_modules/date-fns/esm/fp/getHours/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getHours/package.json b/node_modules/date-fns/esm/fp/getHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISODay/index.d.ts b/node_modules/date-fns/esm/fp/getISODay/index.d.ts new file mode 100644 index 000000000..c85663eeb --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISODay } from 'date-fns/fp' +export default getISODay diff --git a/node_modules/date-fns/esm/fp/getISODay/index.js b/node_modules/date-fns/esm/fp/getISODay/index.js new file mode 100644 index 000000000..95d167c97 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISODay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getISODay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISODay/index.js.flow b/node_modules/date-fns/esm/fp/getISODay/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISODay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getISODay/package.json b/node_modules/date-fns/esm/fp/getISODay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISODay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISOWeek/index.d.ts b/node_modules/date-fns/esm/fp/getISOWeek/index.d.ts new file mode 100644 index 000000000..2574d715d --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeek } from 'date-fns/fp' +export default getISOWeek diff --git a/node_modules/date-fns/esm/fp/getISOWeek/index.js b/node_modules/date-fns/esm/fp/getISOWeek/index.js new file mode 100644 index 000000000..d36c7f908 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getISOWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISOWeek/index.js.flow b/node_modules/date-fns/esm/fp/getISOWeek/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getISOWeek/package.json b/node_modules/date-fns/esm/fp/getISOWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISOWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/getISOWeekYear/index.d.ts new file mode 100644 index 000000000..b0cfad87a --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeekYear } from 'date-fns/fp' +export default getISOWeekYear diff --git a/node_modules/date-fns/esm/fp/getISOWeekYear/index.js b/node_modules/date-fns/esm/fp/getISOWeekYear/index.js new file mode 100644 index 000000000..ae405de69 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getISOWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISOWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/getISOWeekYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getISOWeekYear/package.json b/node_modules/date-fns/esm/fp/getISOWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.d.ts b/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.d.ts new file mode 100644 index 000000000..3a1d6af68 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeeksInYear } from 'date-fns/fp' +export default getISOWeeksInYear diff --git a/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.js b/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.js new file mode 100644 index 000000000..b0ab3d52a --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getISOWeeksInYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.js.flow b/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeeksInYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getISOWeeksInYear/package.json b/node_modules/date-fns/esm/fp/getISOWeeksInYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getISOWeeksInYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/getMilliseconds/index.d.ts new file mode 100644 index 000000000..c1259627f --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMilliseconds } from 'date-fns/fp' +export default getMilliseconds diff --git a/node_modules/date-fns/esm/fp/getMilliseconds/index.js b/node_modules/date-fns/esm/fp/getMilliseconds/index.js new file mode 100644 index 000000000..358bbdf59 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/getMilliseconds/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getMilliseconds/package.json b/node_modules/date-fns/esm/fp/getMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getMinutes/index.d.ts b/node_modules/date-fns/esm/fp/getMinutes/index.d.ts new file mode 100644 index 000000000..14b6b049b --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMinutes } from 'date-fns/fp' +export default getMinutes diff --git a/node_modules/date-fns/esm/fp/getMinutes/index.js b/node_modules/date-fns/esm/fp/getMinutes/index.js new file mode 100644 index 000000000..bed42d4d5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getMinutes/index.js.flow b/node_modules/date-fns/esm/fp/getMinutes/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getMinutes/package.json b/node_modules/date-fns/esm/fp/getMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getMonth/index.d.ts b/node_modules/date-fns/esm/fp/getMonth/index.d.ts new file mode 100644 index 000000000..a7c696a04 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMonth } from 'date-fns/fp' +export default getMonth diff --git a/node_modules/date-fns/esm/fp/getMonth/index.js b/node_modules/date-fns/esm/fp/getMonth/index.js new file mode 100644 index 000000000..7dda00fbb --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getMonth/index.js.flow b/node_modules/date-fns/esm/fp/getMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getMonth/package.json b/node_modules/date-fns/esm/fp/getMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.d.ts b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.d.ts new file mode 100644 index 000000000..de0b970a1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getOverlappingDaysInIntervals } from 'date-fns/fp' +export default getOverlappingDaysInIntervals diff --git a/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.js b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.js new file mode 100644 index 000000000..abef33615 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getOverlappingDaysInIntervals/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.js.flow b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.js.flow new file mode 100644 index 000000000..f640837e6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/package.json b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getOverlappingDaysInIntervals/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getQuarter/index.d.ts b/node_modules/date-fns/esm/fp/getQuarter/index.d.ts new file mode 100644 index 000000000..50f13f60f --- /dev/null +++ b/node_modules/date-fns/esm/fp/getQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getQuarter } from 'date-fns/fp' +export default getQuarter diff --git a/node_modules/date-fns/esm/fp/getQuarter/index.js b/node_modules/date-fns/esm/fp/getQuarter/index.js new file mode 100644 index 000000000..ea03d9b66 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getQuarter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getQuarter/index.js.flow b/node_modules/date-fns/esm/fp/getQuarter/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getQuarter/package.json b/node_modules/date-fns/esm/fp/getQuarter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getSeconds/index.d.ts b/node_modules/date-fns/esm/fp/getSeconds/index.d.ts new file mode 100644 index 000000000..1f6c2337f --- /dev/null +++ b/node_modules/date-fns/esm/fp/getSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getSeconds } from 'date-fns/fp' +export default getSeconds diff --git a/node_modules/date-fns/esm/fp/getSeconds/index.js b/node_modules/date-fns/esm/fp/getSeconds/index.js new file mode 100644 index 000000000..89ecd097f --- /dev/null +++ b/node_modules/date-fns/esm/fp/getSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getSeconds/index.js.flow b/node_modules/date-fns/esm/fp/getSeconds/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getSeconds/package.json b/node_modules/date-fns/esm/fp/getSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getTime/index.d.ts b/node_modules/date-fns/esm/fp/getTime/index.d.ts new file mode 100644 index 000000000..7bfc8cec3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getTime } from 'date-fns/fp' +export default getTime diff --git a/node_modules/date-fns/esm/fp/getTime/index.js b/node_modules/date-fns/esm/fp/getTime/index.js new file mode 100644 index 000000000..8a378dc19 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getTime/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getTime/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getTime/index.js.flow b/node_modules/date-fns/esm/fp/getTime/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getTime/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getTime/package.json b/node_modules/date-fns/esm/fp/getTime/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getTime/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getUnixTime/index.d.ts b/node_modules/date-fns/esm/fp/getUnixTime/index.d.ts new file mode 100644 index 000000000..7fb0dac39 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getUnixTime } from 'date-fns/fp' +export default getUnixTime diff --git a/node_modules/date-fns/esm/fp/getUnixTime/index.js b/node_modules/date-fns/esm/fp/getUnixTime/index.js new file mode 100644 index 000000000..780ccacb0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getUnixTime/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getUnixTime/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getUnixTime/index.js.flow b/node_modules/date-fns/esm/fp/getUnixTime/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getUnixTime/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getUnixTime/package.json b/node_modules/date-fns/esm/fp/getUnixTime/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getUnixTime/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeek/index.d.ts b/node_modules/date-fns/esm/fp/getWeek/index.d.ts new file mode 100644 index 000000000..2b3b4eea3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeek } from 'date-fns/fp' +export default getWeek diff --git a/node_modules/date-fns/esm/fp/getWeek/index.js b/node_modules/date-fns/esm/fp/getWeek/index.js new file mode 100644 index 000000000..26ec06f0b --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeek/index.js.flow b/node_modules/date-fns/esm/fp/getWeek/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getWeek/package.json b/node_modules/date-fns/esm/fp/getWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/getWeekOfMonth/index.d.ts new file mode 100644 index 000000000..1fd925fef --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekOfMonth } from 'date-fns/fp' +export default getWeekOfMonth diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonth/index.js b/node_modules/date-fns/esm/fp/getWeekOfMonth/index.js new file mode 100644 index 000000000..e56f34a00 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeekOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/getWeekOfMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonth/package.json b/node_modules/date-fns/esm/fp/getWeekOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.d.ts new file mode 100644 index 000000000..0bcf9e4c1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekOfMonthWithOptions } from 'date-fns/fp' +export default getWeekOfMonthWithOptions diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.js b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.js new file mode 100644 index 000000000..f8d054b75 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeekOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.js.flow new file mode 100644 index 000000000..d1b5c2016 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/package.json b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekOfMonthWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/getWeekWithOptions/index.d.ts new file mode 100644 index 000000000..6f2de404d --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekWithOptions } from 'date-fns/fp' +export default getWeekWithOptions diff --git a/node_modules/date-fns/esm/fp/getWeekWithOptions/index.js b/node_modules/date-fns/esm/fp/getWeekWithOptions/index.js new file mode 100644 index 000000000..cdf50ed5d --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/getWeekWithOptions/index.js.flow new file mode 100644 index 000000000..970a659f6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekWithOptions/index.js.flow @@ -0,0 +1,66 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/getWeekWithOptions/package.json b/node_modules/date-fns/esm/fp/getWeekWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/getWeekYear/index.d.ts new file mode 100644 index 000000000..7cf37e0f0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekYear } from 'date-fns/fp' +export default getWeekYear diff --git a/node_modules/date-fns/esm/fp/getWeekYear/index.js b/node_modules/date-fns/esm/fp/getWeekYear/index.js new file mode 100644 index 000000000..3058238d4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/getWeekYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getWeekYear/package.json b/node_modules/date-fns/esm/fp/getWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.d.ts new file mode 100644 index 000000000..d33a37a06 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekYearWithOptions } from 'date-fns/fp' +export default getWeekYearWithOptions diff --git a/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.js b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.js new file mode 100644 index 000000000..67966bc4d --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.js.flow new file mode 100644 index 000000000..970a659f6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/index.js.flow @@ -0,0 +1,66 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/getWeekYearWithOptions/package.json b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeekYearWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonth/index.d.ts b/node_modules/date-fns/esm/fp/getWeeksInMonth/index.d.ts new file mode 100644 index 000000000..2de5a9ce8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeeksInMonth } from 'date-fns/fp' +export default getWeeksInMonth diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonth/index.js b/node_modules/date-fns/esm/fp/getWeeksInMonth/index.js new file mode 100644 index 000000000..c08318bda --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeeksInMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonth/index.js.flow b/node_modules/date-fns/esm/fp/getWeeksInMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonth/package.json b/node_modules/date-fns/esm/fp/getWeeksInMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.d.ts new file mode 100644 index 000000000..9016970f2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeeksInMonthWithOptions } from 'date-fns/fp' +export default getWeeksInMonthWithOptions diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.js b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.js new file mode 100644 index 000000000..7d5f28e4c --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getWeeksInMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.js.flow new file mode 100644 index 000000000..d1b5c2016 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/package.json b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getWeeksInMonthWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getYear/index.d.ts b/node_modules/date-fns/esm/fp/getYear/index.d.ts new file mode 100644 index 000000000..603dc7119 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getYear } from 'date-fns/fp' +export default getYear diff --git a/node_modules/date-fns/esm/fp/getYear/index.js b/node_modules/date-fns/esm/fp/getYear/index.js new file mode 100644 index 000000000..f607f16d3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../getYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/getYear/index.js.flow b/node_modules/date-fns/esm/fp/getYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/getYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/getYear/package.json b/node_modules/date-fns/esm/fp/getYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/getYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.d.ts new file mode 100644 index 000000000..14caeacec --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMilliseconds } from 'date-fns/fp' +export default hoursToMilliseconds diff --git a/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.js b/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.js new file mode 100644 index 000000000..e27a0bfd8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../hoursToMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/hoursToMilliseconds/package.json b/node_modules/date-fns/esm/fp/hoursToMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/hoursToMinutes/index.d.ts b/node_modules/date-fns/esm/fp/hoursToMinutes/index.d.ts new file mode 100644 index 000000000..e834de442 --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMinutes } from 'date-fns/fp' +export default hoursToMinutes diff --git a/node_modules/date-fns/esm/fp/hoursToMinutes/index.js b/node_modules/date-fns/esm/fp/hoursToMinutes/index.js new file mode 100644 index 000000000..f82e03e8a --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../hoursToMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/hoursToMinutes/index.js.flow b/node_modules/date-fns/esm/fp/hoursToMinutes/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/hoursToMinutes/package.json b/node_modules/date-fns/esm/fp/hoursToMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/hoursToSeconds/index.d.ts b/node_modules/date-fns/esm/fp/hoursToSeconds/index.d.ts new file mode 100644 index 000000000..35a5bfddd --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToSeconds } from 'date-fns/fp' +export default hoursToSeconds diff --git a/node_modules/date-fns/esm/fp/hoursToSeconds/index.js b/node_modules/date-fns/esm/fp/hoursToSeconds/index.js new file mode 100644 index 000000000..482e8a176 --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../hoursToSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/hoursToSeconds/index.js.flow b/node_modules/date-fns/esm/fp/hoursToSeconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/hoursToSeconds/package.json b/node_modules/date-fns/esm/fp/hoursToSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/hoursToSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/index.js b/node_modules/date-fns/esm/fp/index.js new file mode 100644 index 000000000..73b011225 --- /dev/null +++ b/node_modules/date-fns/esm/fp/index.js @@ -0,0 +1,256 @@ +// This file is generated automatically by `scripts/build/indices.ts`. Please, don't change it. +export { default as add } from "./add/index.js"; +export { default as addBusinessDays } from "./addBusinessDays/index.js"; +export { default as addDays } from "./addDays/index.js"; +export { default as addHours } from "./addHours/index.js"; +export { default as addISOWeekYears } from "./addISOWeekYears/index.js"; +export { default as addMilliseconds } from "./addMilliseconds/index.js"; +export { default as addMinutes } from "./addMinutes/index.js"; +export { default as addMonths } from "./addMonths/index.js"; +export { default as addQuarters } from "./addQuarters/index.js"; +export { default as addSeconds } from "./addSeconds/index.js"; +export { default as addWeeks } from "./addWeeks/index.js"; +export { default as addYears } from "./addYears/index.js"; +export { default as areIntervalsOverlapping } from "./areIntervalsOverlapping/index.js"; +export { default as areIntervalsOverlappingWithOptions } from "./areIntervalsOverlappingWithOptions/index.js"; +export { default as clamp } from "./clamp/index.js"; +export { default as closestIndexTo } from "./closestIndexTo/index.js"; +export { default as closestTo } from "./closestTo/index.js"; +export { default as compareAsc } from "./compareAsc/index.js"; +export { default as compareDesc } from "./compareDesc/index.js"; +export { default as daysToWeeks } from "./daysToWeeks/index.js"; +export { default as differenceInBusinessDays } from "./differenceInBusinessDays/index.js"; +export { default as differenceInCalendarDays } from "./differenceInCalendarDays/index.js"; +export { default as differenceInCalendarISOWeekYears } from "./differenceInCalendarISOWeekYears/index.js"; +export { default as differenceInCalendarISOWeeks } from "./differenceInCalendarISOWeeks/index.js"; +export { default as differenceInCalendarMonths } from "./differenceInCalendarMonths/index.js"; +export { default as differenceInCalendarQuarters } from "./differenceInCalendarQuarters/index.js"; +export { default as differenceInCalendarWeeks } from "./differenceInCalendarWeeks/index.js"; +export { default as differenceInCalendarWeeksWithOptions } from "./differenceInCalendarWeeksWithOptions/index.js"; +export { default as differenceInCalendarYears } from "./differenceInCalendarYears/index.js"; +export { default as differenceInDays } from "./differenceInDays/index.js"; +export { default as differenceInHours } from "./differenceInHours/index.js"; +export { default as differenceInHoursWithOptions } from "./differenceInHoursWithOptions/index.js"; +export { default as differenceInISOWeekYears } from "./differenceInISOWeekYears/index.js"; +export { default as differenceInMilliseconds } from "./differenceInMilliseconds/index.js"; +export { default as differenceInMinutes } from "./differenceInMinutes/index.js"; +export { default as differenceInMinutesWithOptions } from "./differenceInMinutesWithOptions/index.js"; +export { default as differenceInMonths } from "./differenceInMonths/index.js"; +export { default as differenceInQuarters } from "./differenceInQuarters/index.js"; +export { default as differenceInQuartersWithOptions } from "./differenceInQuartersWithOptions/index.js"; +export { default as differenceInSeconds } from "./differenceInSeconds/index.js"; +export { default as differenceInSecondsWithOptions } from "./differenceInSecondsWithOptions/index.js"; +export { default as differenceInWeeks } from "./differenceInWeeks/index.js"; +export { default as differenceInWeeksWithOptions } from "./differenceInWeeksWithOptions/index.js"; +export { default as differenceInYears } from "./differenceInYears/index.js"; +export { default as eachDayOfInterval } from "./eachDayOfInterval/index.js"; +export { default as eachDayOfIntervalWithOptions } from "./eachDayOfIntervalWithOptions/index.js"; +export { default as eachHourOfInterval } from "./eachHourOfInterval/index.js"; +export { default as eachHourOfIntervalWithOptions } from "./eachHourOfIntervalWithOptions/index.js"; +export { default as eachMinuteOfInterval } from "./eachMinuteOfInterval/index.js"; +export { default as eachMinuteOfIntervalWithOptions } from "./eachMinuteOfIntervalWithOptions/index.js"; +export { default as eachMonthOfInterval } from "./eachMonthOfInterval/index.js"; +export { default as eachQuarterOfInterval } from "./eachQuarterOfInterval/index.js"; +export { default as eachWeekOfInterval } from "./eachWeekOfInterval/index.js"; +export { default as eachWeekOfIntervalWithOptions } from "./eachWeekOfIntervalWithOptions/index.js"; +export { default as eachWeekendOfInterval } from "./eachWeekendOfInterval/index.js"; +export { default as eachWeekendOfMonth } from "./eachWeekendOfMonth/index.js"; +export { default as eachWeekendOfYear } from "./eachWeekendOfYear/index.js"; +export { default as eachYearOfInterval } from "./eachYearOfInterval/index.js"; +export { default as endOfDay } from "./endOfDay/index.js"; +export { default as endOfDecade } from "./endOfDecade/index.js"; +export { default as endOfDecadeWithOptions } from "./endOfDecadeWithOptions/index.js"; +export { default as endOfHour } from "./endOfHour/index.js"; +export { default as endOfISOWeek } from "./endOfISOWeek/index.js"; +export { default as endOfISOWeekYear } from "./endOfISOWeekYear/index.js"; +export { default as endOfMinute } from "./endOfMinute/index.js"; +export { default as endOfMonth } from "./endOfMonth/index.js"; +export { default as endOfQuarter } from "./endOfQuarter/index.js"; +export { default as endOfSecond } from "./endOfSecond/index.js"; +export { default as endOfWeek } from "./endOfWeek/index.js"; +export { default as endOfWeekWithOptions } from "./endOfWeekWithOptions/index.js"; +export { default as endOfYear } from "./endOfYear/index.js"; +export { default as format } from "./format/index.js"; +export { default as formatDistance } from "./formatDistance/index.js"; +export { default as formatDistanceStrict } from "./formatDistanceStrict/index.js"; +export { default as formatDistanceStrictWithOptions } from "./formatDistanceStrictWithOptions/index.js"; +export { default as formatDistanceWithOptions } from "./formatDistanceWithOptions/index.js"; +export { default as formatDuration } from "./formatDuration/index.js"; +export { default as formatDurationWithOptions } from "./formatDurationWithOptions/index.js"; +export { default as formatISO } from "./formatISO/index.js"; +export { default as formatISO9075 } from "./formatISO9075/index.js"; +export { default as formatISO9075WithOptions } from "./formatISO9075WithOptions/index.js"; +export { default as formatISODuration } from "./formatISODuration/index.js"; +export { default as formatISOWithOptions } from "./formatISOWithOptions/index.js"; +export { default as formatRFC3339 } from "./formatRFC3339/index.js"; +export { default as formatRFC3339WithOptions } from "./formatRFC3339WithOptions/index.js"; +export { default as formatRFC7231 } from "./formatRFC7231/index.js"; +export { default as formatRelative } from "./formatRelative/index.js"; +export { default as formatRelativeWithOptions } from "./formatRelativeWithOptions/index.js"; +export { default as formatWithOptions } from "./formatWithOptions/index.js"; +export { default as fromUnixTime } from "./fromUnixTime/index.js"; +export { default as getDate } from "./getDate/index.js"; +export { default as getDay } from "./getDay/index.js"; +export { default as getDayOfYear } from "./getDayOfYear/index.js"; +export { default as getDaysInMonth } from "./getDaysInMonth/index.js"; +export { default as getDaysInYear } from "./getDaysInYear/index.js"; +export { default as getDecade } from "./getDecade/index.js"; +export { default as getHours } from "./getHours/index.js"; +export { default as getISODay } from "./getISODay/index.js"; +export { default as getISOWeek } from "./getISOWeek/index.js"; +export { default as getISOWeekYear } from "./getISOWeekYear/index.js"; +export { default as getISOWeeksInYear } from "./getISOWeeksInYear/index.js"; +export { default as getMilliseconds } from "./getMilliseconds/index.js"; +export { default as getMinutes } from "./getMinutes/index.js"; +export { default as getMonth } from "./getMonth/index.js"; +export { default as getOverlappingDaysInIntervals } from "./getOverlappingDaysInIntervals/index.js"; +export { default as getQuarter } from "./getQuarter/index.js"; +export { default as getSeconds } from "./getSeconds/index.js"; +export { default as getTime } from "./getTime/index.js"; +export { default as getUnixTime } from "./getUnixTime/index.js"; +export { default as getWeek } from "./getWeek/index.js"; +export { default as getWeekOfMonth } from "./getWeekOfMonth/index.js"; +export { default as getWeekOfMonthWithOptions } from "./getWeekOfMonthWithOptions/index.js"; +export { default as getWeekWithOptions } from "./getWeekWithOptions/index.js"; +export { default as getWeekYear } from "./getWeekYear/index.js"; +export { default as getWeekYearWithOptions } from "./getWeekYearWithOptions/index.js"; +export { default as getWeeksInMonth } from "./getWeeksInMonth/index.js"; +export { default as getWeeksInMonthWithOptions } from "./getWeeksInMonthWithOptions/index.js"; +export { default as getYear } from "./getYear/index.js"; +export { default as hoursToMilliseconds } from "./hoursToMilliseconds/index.js"; +export { default as hoursToMinutes } from "./hoursToMinutes/index.js"; +export { default as hoursToSeconds } from "./hoursToSeconds/index.js"; +export { default as intervalToDuration } from "./intervalToDuration/index.js"; +export { default as intlFormat } from "./intlFormat/index.js"; +export { default as intlFormatDistance } from "./intlFormatDistance/index.js"; +export { default as intlFormatDistanceWithOptions } from "./intlFormatDistanceWithOptions/index.js"; +export { default as isAfter } from "./isAfter/index.js"; +export { default as isBefore } from "./isBefore/index.js"; +export { default as isDate } from "./isDate/index.js"; +export { default as isEqual } from "./isEqual/index.js"; +export { default as isExists } from "./isExists/index.js"; +export { default as isFirstDayOfMonth } from "./isFirstDayOfMonth/index.js"; +export { default as isFriday } from "./isFriday/index.js"; +export { default as isLastDayOfMonth } from "./isLastDayOfMonth/index.js"; +export { default as isLeapYear } from "./isLeapYear/index.js"; +export { default as isMatch } from "./isMatch/index.js"; +export { default as isMatchWithOptions } from "./isMatchWithOptions/index.js"; +export { default as isMonday } from "./isMonday/index.js"; +export { default as isSameDay } from "./isSameDay/index.js"; +export { default as isSameHour } from "./isSameHour/index.js"; +export { default as isSameISOWeek } from "./isSameISOWeek/index.js"; +export { default as isSameISOWeekYear } from "./isSameISOWeekYear/index.js"; +export { default as isSameMinute } from "./isSameMinute/index.js"; +export { default as isSameMonth } from "./isSameMonth/index.js"; +export { default as isSameQuarter } from "./isSameQuarter/index.js"; +export { default as isSameSecond } from "./isSameSecond/index.js"; +export { default as isSameWeek } from "./isSameWeek/index.js"; +export { default as isSameWeekWithOptions } from "./isSameWeekWithOptions/index.js"; +export { default as isSameYear } from "./isSameYear/index.js"; +export { default as isSaturday } from "./isSaturday/index.js"; +export { default as isSunday } from "./isSunday/index.js"; +export { default as isThursday } from "./isThursday/index.js"; +export { default as isTuesday } from "./isTuesday/index.js"; +export { default as isValid } from "./isValid/index.js"; +export { default as isWednesday } from "./isWednesday/index.js"; +export { default as isWeekend } from "./isWeekend/index.js"; +export { default as isWithinInterval } from "./isWithinInterval/index.js"; +export { default as lastDayOfDecade } from "./lastDayOfDecade/index.js"; +export { default as lastDayOfISOWeek } from "./lastDayOfISOWeek/index.js"; +export { default as lastDayOfISOWeekYear } from "./lastDayOfISOWeekYear/index.js"; +export { default as lastDayOfMonth } from "./lastDayOfMonth/index.js"; +export { default as lastDayOfQuarter } from "./lastDayOfQuarter/index.js"; +export { default as lastDayOfQuarterWithOptions } from "./lastDayOfQuarterWithOptions/index.js"; +export { default as lastDayOfWeek } from "./lastDayOfWeek/index.js"; +export { default as lastDayOfWeekWithOptions } from "./lastDayOfWeekWithOptions/index.js"; +export { default as lastDayOfYear } from "./lastDayOfYear/index.js"; +export { default as lightFormat } from "./lightFormat/index.js"; +export { default as max } from "./max/index.js"; +export { default as milliseconds } from "./milliseconds/index.js"; +export { default as millisecondsToHours } from "./millisecondsToHours/index.js"; +export { default as millisecondsToMinutes } from "./millisecondsToMinutes/index.js"; +export { default as millisecondsToSeconds } from "./millisecondsToSeconds/index.js"; +export { default as min } from "./min/index.js"; +export { default as minutesToHours } from "./minutesToHours/index.js"; +export { default as minutesToMilliseconds } from "./minutesToMilliseconds/index.js"; +export { default as minutesToSeconds } from "./minutesToSeconds/index.js"; +export { default as monthsToQuarters } from "./monthsToQuarters/index.js"; +export { default as monthsToYears } from "./monthsToYears/index.js"; +export { default as nextDay } from "./nextDay/index.js"; +export { default as nextFriday } from "./nextFriday/index.js"; +export { default as nextMonday } from "./nextMonday/index.js"; +export { default as nextSaturday } from "./nextSaturday/index.js"; +export { default as nextSunday } from "./nextSunday/index.js"; +export { default as nextThursday } from "./nextThursday/index.js"; +export { default as nextTuesday } from "./nextTuesday/index.js"; +export { default as nextWednesday } from "./nextWednesday/index.js"; +export { default as parse } from "./parse/index.js"; +export { default as parseISO } from "./parseISO/index.js"; +export { default as parseISOWithOptions } from "./parseISOWithOptions/index.js"; +export { default as parseJSON } from "./parseJSON/index.js"; +export { default as parseWithOptions } from "./parseWithOptions/index.js"; +export { default as previousDay } from "./previousDay/index.js"; +export { default as previousFriday } from "./previousFriday/index.js"; +export { default as previousMonday } from "./previousMonday/index.js"; +export { default as previousSaturday } from "./previousSaturday/index.js"; +export { default as previousSunday } from "./previousSunday/index.js"; +export { default as previousThursday } from "./previousThursday/index.js"; +export { default as previousTuesday } from "./previousTuesday/index.js"; +export { default as previousWednesday } from "./previousWednesday/index.js"; +export { default as quartersToMonths } from "./quartersToMonths/index.js"; +export { default as quartersToYears } from "./quartersToYears/index.js"; +export { default as roundToNearestMinutes } from "./roundToNearestMinutes/index.js"; +export { default as roundToNearestMinutesWithOptions } from "./roundToNearestMinutesWithOptions/index.js"; +export { default as secondsToHours } from "./secondsToHours/index.js"; +export { default as secondsToMilliseconds } from "./secondsToMilliseconds/index.js"; +export { default as secondsToMinutes } from "./secondsToMinutes/index.js"; +export { default as set } from "./set/index.js"; +export { default as setDate } from "./setDate/index.js"; +export { default as setDay } from "./setDay/index.js"; +export { default as setDayOfYear } from "./setDayOfYear/index.js"; +export { default as setDayWithOptions } from "./setDayWithOptions/index.js"; +export { default as setHours } from "./setHours/index.js"; +export { default as setISODay } from "./setISODay/index.js"; +export { default as setISOWeek } from "./setISOWeek/index.js"; +export { default as setISOWeekYear } from "./setISOWeekYear/index.js"; +export { default as setMilliseconds } from "./setMilliseconds/index.js"; +export { default as setMinutes } from "./setMinutes/index.js"; +export { default as setMonth } from "./setMonth/index.js"; +export { default as setQuarter } from "./setQuarter/index.js"; +export { default as setSeconds } from "./setSeconds/index.js"; +export { default as setWeek } from "./setWeek/index.js"; +export { default as setWeekWithOptions } from "./setWeekWithOptions/index.js"; +export { default as setWeekYear } from "./setWeekYear/index.js"; +export { default as setWeekYearWithOptions } from "./setWeekYearWithOptions/index.js"; +export { default as setYear } from "./setYear/index.js"; +export { default as startOfDay } from "./startOfDay/index.js"; +export { default as startOfDecade } from "./startOfDecade/index.js"; +export { default as startOfHour } from "./startOfHour/index.js"; +export { default as startOfISOWeek } from "./startOfISOWeek/index.js"; +export { default as startOfISOWeekYear } from "./startOfISOWeekYear/index.js"; +export { default as startOfMinute } from "./startOfMinute/index.js"; +export { default as startOfMonth } from "./startOfMonth/index.js"; +export { default as startOfQuarter } from "./startOfQuarter/index.js"; +export { default as startOfSecond } from "./startOfSecond/index.js"; +export { default as startOfWeek } from "./startOfWeek/index.js"; +export { default as startOfWeekWithOptions } from "./startOfWeekWithOptions/index.js"; +export { default as startOfWeekYear } from "./startOfWeekYear/index.js"; +export { default as startOfWeekYearWithOptions } from "./startOfWeekYearWithOptions/index.js"; +export { default as startOfYear } from "./startOfYear/index.js"; +export { default as sub } from "./sub/index.js"; +export { default as subBusinessDays } from "./subBusinessDays/index.js"; +export { default as subDays } from "./subDays/index.js"; +export { default as subHours } from "./subHours/index.js"; +export { default as subISOWeekYears } from "./subISOWeekYears/index.js"; +export { default as subMilliseconds } from "./subMilliseconds/index.js"; +export { default as subMinutes } from "./subMinutes/index.js"; +export { default as subMonths } from "./subMonths/index.js"; +export { default as subQuarters } from "./subQuarters/index.js"; +export { default as subSeconds } from "./subSeconds/index.js"; +export { default as subWeeks } from "./subWeeks/index.js"; +export { default as subYears } from "./subYears/index.js"; +export { default as toDate } from "./toDate/index.js"; +export { default as weeksToDays } from "./weeksToDays/index.js"; +export { default as yearsToMonths } from "./yearsToMonths/index.js"; +export { default as yearsToQuarters } from "./yearsToQuarters/index.js"; +export * from "../constants/index.js"; \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/index.js.flow b/node_modules/date-fns/esm/fp/index.js.flow new file mode 100644 index 000000000..0c4817616 --- /dev/null +++ b/node_modules/date-fns/esm/fp/index.js.flow @@ -0,0 +1,694 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +type CurriedFn4 = ( + a: A +) => + | CurriedFn3 + | (( + a: A, + b: B + ) => + | CurriedFn2 + | (( + a: A, + b: B, + c: C + ) => CurriedFn1 | ((a: A, b: B, c: C, d: D) => R))) + +declare module.exports: { + add: CurriedFn2, + addBusinessDays: CurriedFn2, + addDays: CurriedFn2, + addHours: CurriedFn2, + addISOWeekYears: CurriedFn2, + addMilliseconds: CurriedFn2, + addMinutes: CurriedFn2, + addMonths: CurriedFn2, + addQuarters: CurriedFn2, + addSeconds: CurriedFn2, + addWeeks: CurriedFn2, + addYears: CurriedFn2, + areIntervalsOverlapping: CurriedFn2, + areIntervalsOverlappingWithOptions: CurriedFn3< + { + inclusive?: boolean, + }, + Interval, + Interval, + boolean + >, + clamp: CurriedFn2, + closestIndexTo: CurriedFn2<(Date | number)[], Date | number, ?number>, + closestTo: CurriedFn2<(Date | number)[], Date | number, ?Date>, + compareAsc: CurriedFn2, + compareDesc: CurriedFn2, + daysToWeeks: CurriedFn1, + differenceInBusinessDays: CurriedFn2, + differenceInCalendarDays: CurriedFn2, + differenceInCalendarISOWeeks: CurriedFn2< + Date | number, + Date | number, + number + >, + differenceInCalendarISOWeekYears: CurriedFn2< + Date | number, + Date | number, + number + >, + differenceInCalendarMonths: CurriedFn2, + differenceInCalendarQuarters: CurriedFn2< + Date | number, + Date | number, + number + >, + differenceInCalendarWeeks: CurriedFn2, + differenceInCalendarWeeksWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + number + >, + differenceInCalendarYears: CurriedFn2, + differenceInDays: CurriedFn2, + differenceInHours: CurriedFn2, + differenceInHoursWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInISOWeekYears: CurriedFn2, + differenceInMilliseconds: CurriedFn2, + differenceInMinutes: CurriedFn2, + differenceInMinutesWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInMonths: CurriedFn2, + differenceInQuarters: CurriedFn2, + differenceInQuartersWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInSeconds: CurriedFn2, + differenceInSecondsWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInWeeks: CurriedFn2, + differenceInWeeksWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInYears: CurriedFn2, + eachDayOfInterval: CurriedFn1, + eachDayOfIntervalWithOptions: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] + >, + eachHourOfInterval: CurriedFn1, + eachHourOfIntervalWithOptions: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] + >, + eachMinuteOfInterval: CurriedFn1, + eachMinuteOfIntervalWithOptions: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] + >, + eachMonthOfInterval: CurriedFn1, + eachQuarterOfInterval: CurriedFn1, + eachWeekendOfInterval: CurriedFn1, + eachWeekendOfMonth: CurriedFn1, + eachWeekendOfYear: CurriedFn1, + eachWeekOfInterval: CurriedFn1, + eachWeekOfIntervalWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Interval, + Date[] + >, + eachYearOfInterval: CurriedFn1, + endOfDay: CurriedFn1, + endOfDecade: CurriedFn1, + endOfDecadeWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date + >, + endOfHour: CurriedFn1, + endOfISOWeek: CurriedFn1, + endOfISOWeekYear: CurriedFn1, + endOfMinute: CurriedFn1, + endOfMonth: CurriedFn1, + endOfQuarter: CurriedFn1, + endOfSecond: CurriedFn1, + endOfWeek: CurriedFn1, + endOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + endOfYear: CurriedFn1, + format: CurriedFn2, + formatDistance: CurriedFn2, + formatDistanceStrict: CurriedFn2, + formatDistanceStrictWithOptions: CurriedFn3< + { + locale?: Locale, + roundingMethod?: 'floor' | 'ceil' | 'round', + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + addSuffix?: boolean, + }, + Date | number, + Date | number, + string + >, + formatDistanceWithOptions: CurriedFn3< + { + locale?: Locale, + addSuffix?: boolean, + includeSeconds?: boolean, + }, + Date | number, + Date | number, + string + >, + formatDuration: CurriedFn1, + formatDurationWithOptions: CurriedFn2< + { + locale?: Locale, + delimiter?: string, + zero?: boolean, + format?: string[], + }, + Duration, + string + >, + formatISO: CurriedFn1, + formatISO9075: CurriedFn1, + formatISO9075WithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string + >, + formatISODuration: CurriedFn1, + formatISOWithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string + >, + formatRelative: CurriedFn2, + formatRelativeWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + string + >, + formatRFC3339: CurriedFn1, + formatRFC3339WithOptions: CurriedFn2< + { + fractionDigits?: 0 | 1 | 2 | 3, + }, + Date | number, + string + >, + formatRFC7231: CurriedFn1, + formatWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: number, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + Date | number, + string + >, + fromUnixTime: CurriedFn1, + getDate: CurriedFn1, + getDay: CurriedFn1, + getDayOfYear: CurriedFn1, + getDaysInMonth: CurriedFn1, + getDaysInYear: CurriedFn1, + getDecade: CurriedFn1, + getHours: CurriedFn1, + getISODay: CurriedFn1, + getISOWeek: CurriedFn1, + getISOWeeksInYear: CurriedFn1, + getISOWeekYear: CurriedFn1, + getMilliseconds: CurriedFn1, + getMinutes: CurriedFn1, + getMonth: CurriedFn1, + getOverlappingDaysInIntervals: CurriedFn2, + getQuarter: CurriedFn1, + getSeconds: CurriedFn1, + getTime: CurriedFn1, + getUnixTime: CurriedFn1, + getWeek: CurriedFn1, + getWeekOfMonth: CurriedFn1, + getWeekOfMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getWeeksInMonth: CurriedFn1, + getWeeksInMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getWeekWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getWeekYear: CurriedFn1, + getWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getYear: CurriedFn1, + hoursToMilliseconds: CurriedFn1, + hoursToMinutes: CurriedFn1, + hoursToSeconds: CurriedFn1, + intervalToDuration: CurriedFn1, + intlFormat: CurriedFn3< + { + locale?: string | string[], + }, + { + timeZone?: string, + hour12?: boolean, + formatMatcher?: 'basic' | 'best fit', + timeZoneName?: 'short' | 'long', + second?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + day?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + era?: 'narrow' | 'short' | 'long', + weekday?: 'narrow' | 'short' | 'long', + localeMatcher?: 'lookup' | 'best fit', + }, + Date | number, + string + >, + intlFormatDistance: CurriedFn2, + intlFormatDistanceWithOptions: CurriedFn3< + { + style?: string, + numeric?: string, + localeMatcher?: string, + locale?: string | string[], + unit?: string, + }, + Date | number, + Date | number, + string + >, + isAfter: CurriedFn2, + isBefore: CurriedFn2, + isDate: CurriedFn1, + isEqual: CurriedFn2, + isExists: CurriedFn3, + isFirstDayOfMonth: CurriedFn1, + isFriday: CurriedFn1, + isLastDayOfMonth: CurriedFn1, + isLeapYear: CurriedFn1, + isMatch: CurriedFn2, + isMatchWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + string, + boolean + >, + isMonday: CurriedFn1, + isSameDay: CurriedFn2, + isSameHour: CurriedFn2, + isSameISOWeek: CurriedFn2, + isSameISOWeekYear: CurriedFn2, + isSameMinute: CurriedFn2, + isSameMonth: CurriedFn2, + isSameQuarter: CurriedFn2, + isSameSecond: CurriedFn2, + isSameWeek: CurriedFn2, + isSameWeekWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + boolean + >, + isSameYear: CurriedFn2, + isSaturday: CurriedFn1, + isSunday: CurriedFn1, + isThursday: CurriedFn1, + isTuesday: CurriedFn1, + isValid: CurriedFn1, + isWednesday: CurriedFn1, + isWeekend: CurriedFn1, + isWithinInterval: CurriedFn2, + lastDayOfDecade: CurriedFn1, + lastDayOfISOWeek: CurriedFn1, + lastDayOfISOWeekYear: CurriedFn1, + lastDayOfMonth: CurriedFn1, + lastDayOfQuarter: CurriedFn1, + lastDayOfQuarterWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date + >, + lastDayOfWeek: CurriedFn1, + lastDayOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + lastDayOfYear: CurriedFn1, + lightFormat: CurriedFn2, + max: CurriedFn1<(Date | number)[], Date>, + milliseconds: CurriedFn1, + millisecondsToHours: CurriedFn1, + millisecondsToMinutes: CurriedFn1, + millisecondsToSeconds: CurriedFn1, + min: CurriedFn1<(Date | number)[], Date>, + minutesToHours: CurriedFn1, + minutesToMilliseconds: CurriedFn1, + minutesToSeconds: CurriedFn1, + monthsToQuarters: CurriedFn1, + monthsToYears: CurriedFn1, + nextDay: CurriedFn2, + nextFriday: CurriedFn1, + nextMonday: CurriedFn1, + nextSaturday: CurriedFn1, + nextSunday: CurriedFn1, + nextThursday: CurriedFn1, + nextTuesday: CurriedFn1, + nextWednesday: CurriedFn1, + parse: CurriedFn3, + parseISO: CurriedFn1, + parseISOWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + string, + Date + >, + parseJSON: CurriedFn1, + parseWithOptions: CurriedFn4< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + string, + string, + Date + >, + previousDay: CurriedFn2, + previousFriday: CurriedFn1, + previousMonday: CurriedFn1, + previousSaturday: CurriedFn1, + previousSunday: CurriedFn1, + previousThursday: CurriedFn1, + previousTuesday: CurriedFn1, + previousWednesday: CurriedFn1, + quartersToMonths: CurriedFn1, + quartersToYears: CurriedFn1, + roundToNearestMinutes: CurriedFn1, + roundToNearestMinutesWithOptions: CurriedFn2< + { + roundingMethod?: string, + nearestTo?: number, + }, + Date | number, + Date + >, + secondsToHours: CurriedFn1, + secondsToMilliseconds: CurriedFn1, + secondsToMinutes: CurriedFn1, + set: CurriedFn2< + { + milliseconds?: number, + seconds?: number, + minutes?: number, + hours?: number, + date?: number, + month?: number, + year?: number, + }, + Date | number, + Date + >, + setDate: CurriedFn2, + setDay: CurriedFn2, + setDayOfYear: CurriedFn2, + setDayWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date + >, + setHours: CurriedFn2, + setISODay: CurriedFn2, + setISOWeek: CurriedFn2, + setISOWeekYear: CurriedFn2, + setMilliseconds: CurriedFn2, + setMinutes: CurriedFn2, + setMonth: CurriedFn2, + setQuarter: CurriedFn2, + setSeconds: CurriedFn2, + setWeek: CurriedFn2, + setWeekWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date + >, + setWeekYear: CurriedFn2, + setWeekYearWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date + >, + setYear: CurriedFn2, + startOfDay: CurriedFn1, + startOfDecade: CurriedFn1, + startOfHour: CurriedFn1, + startOfISOWeek: CurriedFn1, + startOfISOWeekYear: CurriedFn1, + startOfMinute: CurriedFn1, + startOfMonth: CurriedFn1, + startOfQuarter: CurriedFn1, + startOfSecond: CurriedFn1, + startOfWeek: CurriedFn1, + startOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + startOfWeekYear: CurriedFn1, + startOfWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + startOfYear: CurriedFn1, + sub: CurriedFn2, + subBusinessDays: CurriedFn2, + subDays: CurriedFn2, + subHours: CurriedFn2, + subISOWeekYears: CurriedFn2, + subMilliseconds: CurriedFn2, + subMinutes: CurriedFn2, + subMonths: CurriedFn2, + subQuarters: CurriedFn2, + subSeconds: CurriedFn2, + subWeeks: CurriedFn2, + subYears: CurriedFn2, + toDate: CurriedFn1, + weeksToDays: CurriedFn1, + yearsToMonths: CurriedFn1, + yearsToQuarters: CurriedFn1, + daysInWeek: number, + daysInYear: number, + maxTime: number, + millisecondsInMinute: number, + millisecondsInHour: number, + millisecondsInSecond: number, + minTime: number, + minutesInHour: number, + monthsInQuarter: number, + monthsInYear: number, + quartersInYear: number, + secondsInHour: number, + secondsInMinute: number, + secondsInDay: number, + secondsInWeek: number, + secondsInYear: number, + secondsInMonth: number, + secondsInQuarter: number, +} diff --git a/node_modules/date-fns/esm/fp/intervalToDuration/index.d.ts b/node_modules/date-fns/esm/fp/intervalToDuration/index.d.ts new file mode 100644 index 000000000..4b2381d84 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intervalToDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intervalToDuration } from 'date-fns/fp' +export default intervalToDuration diff --git a/node_modules/date-fns/esm/fp/intervalToDuration/index.js b/node_modules/date-fns/esm/fp/intervalToDuration/index.js new file mode 100644 index 000000000..8ce3d3d81 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intervalToDuration/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../intervalToDuration/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intervalToDuration/index.js.flow b/node_modules/date-fns/esm/fp/intervalToDuration/index.js.flow new file mode 100644 index 000000000..88f6ff0b1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intervalToDuration/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/intervalToDuration/package.json b/node_modules/date-fns/esm/fp/intervalToDuration/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intervalToDuration/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intlFormat/index.d.ts b/node_modules/date-fns/esm/fp/intlFormat/index.d.ts new file mode 100644 index 000000000..38f78a729 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormat } from 'date-fns/fp' +export default intlFormat diff --git a/node_modules/date-fns/esm/fp/intlFormat/index.js b/node_modules/date-fns/esm/fp/intlFormat/index.js new file mode 100644 index 000000000..713c352d4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormat/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../intlFormat/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intlFormat/index.js.flow b/node_modules/date-fns/esm/fp/intlFormat/index.js.flow new file mode 100644 index 000000000..c104dcf93 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormat/index.js.flow @@ -0,0 +1,88 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + locale?: string | string[], + }, + { + timeZone?: string, + hour12?: boolean, + formatMatcher?: 'basic' | 'best fit', + timeZoneName?: 'short' | 'long', + second?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + day?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + era?: 'narrow' | 'short' | 'long', + weekday?: 'narrow' | 'short' | 'long', + localeMatcher?: 'lookup' | 'best fit', + }, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/intlFormat/package.json b/node_modules/date-fns/esm/fp/intlFormat/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormat/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intlFormatDistance/index.d.ts b/node_modules/date-fns/esm/fp/intlFormatDistance/index.d.ts new file mode 100644 index 000000000..4ce1b0228 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormatDistance } from 'date-fns/fp' +export default intlFormatDistance diff --git a/node_modules/date-fns/esm/fp/intlFormatDistance/index.js b/node_modules/date-fns/esm/fp/intlFormatDistance/index.js new file mode 100644 index 000000000..ad099cad1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistance/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../intlFormatDistance/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intlFormatDistance/index.js.flow b/node_modules/date-fns/esm/fp/intlFormatDistance/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistance/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/intlFormatDistance/package.json b/node_modules/date-fns/esm/fp/intlFormatDistance/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistance/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.d.ts new file mode 100644 index 000000000..2b227f5f0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormatDistanceWithOptions } from 'date-fns/fp' +export default intlFormatDistanceWithOptions diff --git a/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.js b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.js new file mode 100644 index 000000000..cdc4592f2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../intlFormatDistance/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.js.flow new file mode 100644 index 000000000..1edd039fc --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/index.js.flow @@ -0,0 +1,78 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + style?: string, + numeric?: string, + localeMatcher?: string, + locale?: string | string[], + unit?: string, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/package.json b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/intlFormatDistanceWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isAfter/index.d.ts b/node_modules/date-fns/esm/fp/isAfter/index.d.ts new file mode 100644 index 000000000..de8ba7298 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isAfter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isAfter } from 'date-fns/fp' +export default isAfter diff --git a/node_modules/date-fns/esm/fp/isAfter/index.js b/node_modules/date-fns/esm/fp/isAfter/index.js new file mode 100644 index 000000000..ad2c2ed95 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isAfter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isAfter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isAfter/index.js.flow b/node_modules/date-fns/esm/fp/isAfter/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isAfter/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isAfter/package.json b/node_modules/date-fns/esm/fp/isAfter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isAfter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isBefore/index.d.ts b/node_modules/date-fns/esm/fp/isBefore/index.d.ts new file mode 100644 index 000000000..d2891982f --- /dev/null +++ b/node_modules/date-fns/esm/fp/isBefore/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isBefore } from 'date-fns/fp' +export default isBefore diff --git a/node_modules/date-fns/esm/fp/isBefore/index.js b/node_modules/date-fns/esm/fp/isBefore/index.js new file mode 100644 index 000000000..561e84dbe --- /dev/null +++ b/node_modules/date-fns/esm/fp/isBefore/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isBefore/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isBefore/index.js.flow b/node_modules/date-fns/esm/fp/isBefore/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isBefore/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isBefore/package.json b/node_modules/date-fns/esm/fp/isBefore/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isBefore/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isDate/index.d.ts b/node_modules/date-fns/esm/fp/isDate/index.d.ts new file mode 100644 index 000000000..6f120ce99 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isDate } from 'date-fns/fp' +export default isDate diff --git a/node_modules/date-fns/esm/fp/isDate/index.js b/node_modules/date-fns/esm/fp/isDate/index.js new file mode 100644 index 000000000..24d33ab59 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isDate/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isDate/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isDate/index.js.flow b/node_modules/date-fns/esm/fp/isDate/index.js.flow new file mode 100644 index 000000000..62e70e24a --- /dev/null +++ b/node_modules/date-fns/esm/fp/isDate/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isDate/package.json b/node_modules/date-fns/esm/fp/isDate/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isEqual/index.d.ts b/node_modules/date-fns/esm/fp/isEqual/index.d.ts new file mode 100644 index 000000000..b21d39899 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isEqual/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isEqual } from 'date-fns/fp' +export default isEqual diff --git a/node_modules/date-fns/esm/fp/isEqual/index.js b/node_modules/date-fns/esm/fp/isEqual/index.js new file mode 100644 index 000000000..af9252de7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isEqual/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isEqual/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isEqual/index.js.flow b/node_modules/date-fns/esm/fp/isEqual/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isEqual/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isEqual/package.json b/node_modules/date-fns/esm/fp/isEqual/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isEqual/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isExists/index.d.ts b/node_modules/date-fns/esm/fp/isExists/index.d.ts new file mode 100644 index 000000000..e4ccb78ea --- /dev/null +++ b/node_modules/date-fns/esm/fp/isExists/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isExists } from 'date-fns/fp' +export default isExists diff --git a/node_modules/date-fns/esm/fp/isExists/index.js b/node_modules/date-fns/esm/fp/isExists/index.js new file mode 100644 index 000000000..a795b0e94 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isExists/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isExists/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isExists/index.js.flow b/node_modules/date-fns/esm/fp/isExists/index.js.flow new file mode 100644 index 000000000..2af9fe9a6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isExists/index.js.flow @@ -0,0 +1,67 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3 diff --git a/node_modules/date-fns/esm/fp/isExists/package.json b/node_modules/date-fns/esm/fp/isExists/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isExists/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.d.ts new file mode 100644 index 000000000..e097310d8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFirstDayOfMonth } from 'date-fns/fp' +export default isFirstDayOfMonth diff --git a/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.js b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.js new file mode 100644 index 000000000..0f13e2f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isFirstDayOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isFirstDayOfMonth/package.json b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFirstDayOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isFriday/index.d.ts b/node_modules/date-fns/esm/fp/isFriday/index.d.ts new file mode 100644 index 000000000..cdab1b14b --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFriday } from 'date-fns/fp' +export default isFriday diff --git a/node_modules/date-fns/esm/fp/isFriday/index.js b/node_modules/date-fns/esm/fp/isFriday/index.js new file mode 100644 index 000000000..16e602049 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFriday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isFriday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isFriday/index.js.flow b/node_modules/date-fns/esm/fp/isFriday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFriday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isFriday/package.json b/node_modules/date-fns/esm/fp/isFriday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isFriday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.d.ts new file mode 100644 index 000000000..33750f0b9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLastDayOfMonth } from 'date-fns/fp' +export default isLastDayOfMonth diff --git a/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.js b/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.js new file mode 100644 index 000000000..7e8da4cad --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isLastDayOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLastDayOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isLastDayOfMonth/package.json b/node_modules/date-fns/esm/fp/isLastDayOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLastDayOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isLeapYear/index.d.ts b/node_modules/date-fns/esm/fp/isLeapYear/index.d.ts new file mode 100644 index 000000000..c92bce330 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLeapYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLeapYear } from 'date-fns/fp' +export default isLeapYear diff --git a/node_modules/date-fns/esm/fp/isLeapYear/index.js b/node_modules/date-fns/esm/fp/isLeapYear/index.js new file mode 100644 index 000000000..2f0c97056 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLeapYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isLeapYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isLeapYear/index.js.flow b/node_modules/date-fns/esm/fp/isLeapYear/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLeapYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isLeapYear/package.json b/node_modules/date-fns/esm/fp/isLeapYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isLeapYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isMatch/index.d.ts b/node_modules/date-fns/esm/fp/isMatch/index.d.ts new file mode 100644 index 000000000..5085afac1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatch/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMatch } from 'date-fns/fp' +export default isMatch diff --git a/node_modules/date-fns/esm/fp/isMatch/index.js b/node_modules/date-fns/esm/fp/isMatch/index.js new file mode 100644 index 000000000..5fe4c1808 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatch/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isMatch/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isMatch/index.js.flow b/node_modules/date-fns/esm/fp/isMatch/index.js.flow new file mode 100644 index 000000000..9eb7ae049 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatch/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isMatch/package.json b/node_modules/date-fns/esm/fp/isMatch/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatch/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isMatchWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/isMatchWithOptions/index.d.ts new file mode 100644 index 000000000..4645250d6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatchWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMatchWithOptions } from 'date-fns/fp' +export default isMatchWithOptions diff --git a/node_modules/date-fns/esm/fp/isMatchWithOptions/index.js b/node_modules/date-fns/esm/fp/isMatchWithOptions/index.js new file mode 100644 index 000000000..e04d2a0cb --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatchWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isMatch/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isMatchWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/isMatchWithOptions/index.js.flow new file mode 100644 index 000000000..5b2b86934 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatchWithOptions/index.js.flow @@ -0,0 +1,78 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + string, + boolean +> diff --git a/node_modules/date-fns/esm/fp/isMatchWithOptions/package.json b/node_modules/date-fns/esm/fp/isMatchWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMatchWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isMonday/index.d.ts b/node_modules/date-fns/esm/fp/isMonday/index.d.ts new file mode 100644 index 000000000..550bbb0d5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMonday } from 'date-fns/fp' +export default isMonday diff --git a/node_modules/date-fns/esm/fp/isMonday/index.js b/node_modules/date-fns/esm/fp/isMonday/index.js new file mode 100644 index 000000000..97eb7bbae --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMonday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isMonday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isMonday/index.js.flow b/node_modules/date-fns/esm/fp/isMonday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMonday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isMonday/package.json b/node_modules/date-fns/esm/fp/isMonday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isMonday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameDay/index.d.ts b/node_modules/date-fns/esm/fp/isSameDay/index.d.ts new file mode 100644 index 000000000..d7c74c72a --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameDay } from 'date-fns/fp' +export default isSameDay diff --git a/node_modules/date-fns/esm/fp/isSameDay/index.js b/node_modules/date-fns/esm/fp/isSameDay/index.js new file mode 100644 index 000000000..282c70c48 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameDay/index.js.flow b/node_modules/date-fns/esm/fp/isSameDay/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameDay/package.json b/node_modules/date-fns/esm/fp/isSameDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameHour/index.d.ts b/node_modules/date-fns/esm/fp/isSameHour/index.d.ts new file mode 100644 index 000000000..ff4dacbb5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameHour } from 'date-fns/fp' +export default isSameHour diff --git a/node_modules/date-fns/esm/fp/isSameHour/index.js b/node_modules/date-fns/esm/fp/isSameHour/index.js new file mode 100644 index 000000000..ef9c3684b --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameHour/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameHour/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameHour/index.js.flow b/node_modules/date-fns/esm/fp/isSameHour/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameHour/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameHour/package.json b/node_modules/date-fns/esm/fp/isSameHour/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameISOWeek/index.d.ts b/node_modules/date-fns/esm/fp/isSameISOWeek/index.d.ts new file mode 100644 index 000000000..41c5426b6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeek } from 'date-fns/fp' +export default isSameISOWeek diff --git a/node_modules/date-fns/esm/fp/isSameISOWeek/index.js b/node_modules/date-fns/esm/fp/isSameISOWeek/index.js new file mode 100644 index 000000000..a3ef21344 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameISOWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameISOWeek/index.js.flow b/node_modules/date-fns/esm/fp/isSameISOWeek/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameISOWeek/package.json b/node_modules/date-fns/esm/fp/isSameISOWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.d.ts new file mode 100644 index 000000000..f9f65c0b6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeekYear } from 'date-fns/fp' +export default isSameISOWeekYear diff --git a/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.js b/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.js new file mode 100644 index 000000000..5c92ee59c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameISOWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeekYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameISOWeekYear/package.json b/node_modules/date-fns/esm/fp/isSameISOWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameMinute/index.d.ts b/node_modules/date-fns/esm/fp/isSameMinute/index.d.ts new file mode 100644 index 000000000..b19be2ae9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMinute } from 'date-fns/fp' +export default isSameMinute diff --git a/node_modules/date-fns/esm/fp/isSameMinute/index.js b/node_modules/date-fns/esm/fp/isSameMinute/index.js new file mode 100644 index 000000000..df6f72988 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMinute/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameMinute/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameMinute/index.js.flow b/node_modules/date-fns/esm/fp/isSameMinute/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMinute/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameMinute/package.json b/node_modules/date-fns/esm/fp/isSameMinute/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameMonth/index.d.ts b/node_modules/date-fns/esm/fp/isSameMonth/index.d.ts new file mode 100644 index 000000000..1c29c87a5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMonth } from 'date-fns/fp' +export default isSameMonth diff --git a/node_modules/date-fns/esm/fp/isSameMonth/index.js b/node_modules/date-fns/esm/fp/isSameMonth/index.js new file mode 100644 index 000000000..e9e2694d6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameMonth/index.js.flow b/node_modules/date-fns/esm/fp/isSameMonth/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameMonth/package.json b/node_modules/date-fns/esm/fp/isSameMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameQuarter/index.d.ts b/node_modules/date-fns/esm/fp/isSameQuarter/index.d.ts new file mode 100644 index 000000000..6fe36a587 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameQuarter } from 'date-fns/fp' +export default isSameQuarter diff --git a/node_modules/date-fns/esm/fp/isSameQuarter/index.js b/node_modules/date-fns/esm/fp/isSameQuarter/index.js new file mode 100644 index 000000000..14dda932c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameQuarter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameQuarter/index.js.flow b/node_modules/date-fns/esm/fp/isSameQuarter/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameQuarter/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameQuarter/package.json b/node_modules/date-fns/esm/fp/isSameQuarter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameSecond/index.d.ts b/node_modules/date-fns/esm/fp/isSameSecond/index.d.ts new file mode 100644 index 000000000..b65413a73 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameSecond } from 'date-fns/fp' +export default isSameSecond diff --git a/node_modules/date-fns/esm/fp/isSameSecond/index.js b/node_modules/date-fns/esm/fp/isSameSecond/index.js new file mode 100644 index 000000000..0370ff20e --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameSecond/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameSecond/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameSecond/index.js.flow b/node_modules/date-fns/esm/fp/isSameSecond/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameSecond/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameSecond/package.json b/node_modules/date-fns/esm/fp/isSameSecond/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameWeek/index.d.ts b/node_modules/date-fns/esm/fp/isSameWeek/index.d.ts new file mode 100644 index 000000000..e6b37fa57 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameWeek } from 'date-fns/fp' +export default isSameWeek diff --git a/node_modules/date-fns/esm/fp/isSameWeek/index.js b/node_modules/date-fns/esm/fp/isSameWeek/index.js new file mode 100644 index 000000000..57ec4095b --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameWeek/index.js.flow b/node_modules/date-fns/esm/fp/isSameWeek/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameWeek/package.json b/node_modules/date-fns/esm/fp/isSameWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.d.ts new file mode 100644 index 000000000..240b654b3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameWeekWithOptions } from 'date-fns/fp' +export default isSameWeekWithOptions diff --git a/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.js b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.js new file mode 100644 index 000000000..552e97585 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.js.flow new file mode 100644 index 000000000..154b89497 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + boolean +> diff --git a/node_modules/date-fns/esm/fp/isSameWeekWithOptions/package.json b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameWeekWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameYear/index.d.ts b/node_modules/date-fns/esm/fp/isSameYear/index.d.ts new file mode 100644 index 000000000..da9db0728 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameYear } from 'date-fns/fp' +export default isSameYear diff --git a/node_modules/date-fns/esm/fp/isSameYear/index.js b/node_modules/date-fns/esm/fp/isSameYear/index.js new file mode 100644 index 000000000..49f384b59 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSameYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSameYear/index.js.flow b/node_modules/date-fns/esm/fp/isSameYear/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isSameYear/package.json b/node_modules/date-fns/esm/fp/isSameYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSameYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSaturday/index.d.ts b/node_modules/date-fns/esm/fp/isSaturday/index.d.ts new file mode 100644 index 000000000..d6c100aaa --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSaturday } from 'date-fns/fp' +export default isSaturday diff --git a/node_modules/date-fns/esm/fp/isSaturday/index.js b/node_modules/date-fns/esm/fp/isSaturday/index.js new file mode 100644 index 000000000..a13d4887c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSaturday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSaturday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSaturday/index.js.flow b/node_modules/date-fns/esm/fp/isSaturday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSaturday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isSaturday/package.json b/node_modules/date-fns/esm/fp/isSaturday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSaturday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSunday/index.d.ts b/node_modules/date-fns/esm/fp/isSunday/index.d.ts new file mode 100644 index 000000000..d5ff84fa8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSunday } from 'date-fns/fp' +export default isSunday diff --git a/node_modules/date-fns/esm/fp/isSunday/index.js b/node_modules/date-fns/esm/fp/isSunday/index.js new file mode 100644 index 000000000..68444a65d --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSunday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isSunday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isSunday/index.js.flow b/node_modules/date-fns/esm/fp/isSunday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSunday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isSunday/package.json b/node_modules/date-fns/esm/fp/isSunday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isSunday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isThursday/index.d.ts b/node_modules/date-fns/esm/fp/isThursday/index.d.ts new file mode 100644 index 000000000..5f7c57c41 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThursday } from 'date-fns/fp' +export default isThursday diff --git a/node_modules/date-fns/esm/fp/isThursday/index.js b/node_modules/date-fns/esm/fp/isThursday/index.js new file mode 100644 index 000000000..47eeb207f --- /dev/null +++ b/node_modules/date-fns/esm/fp/isThursday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isThursday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isThursday/index.js.flow b/node_modules/date-fns/esm/fp/isThursday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isThursday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isThursday/package.json b/node_modules/date-fns/esm/fp/isThursday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isThursday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isTuesday/index.d.ts b/node_modules/date-fns/esm/fp/isTuesday/index.d.ts new file mode 100644 index 000000000..3a652b6df --- /dev/null +++ b/node_modules/date-fns/esm/fp/isTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isTuesday } from 'date-fns/fp' +export default isTuesday diff --git a/node_modules/date-fns/esm/fp/isTuesday/index.js b/node_modules/date-fns/esm/fp/isTuesday/index.js new file mode 100644 index 000000000..facd9ef08 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isTuesday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isTuesday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isTuesday/index.js.flow b/node_modules/date-fns/esm/fp/isTuesday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isTuesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isTuesday/package.json b/node_modules/date-fns/esm/fp/isTuesday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isTuesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isValid/index.d.ts b/node_modules/date-fns/esm/fp/isValid/index.d.ts new file mode 100644 index 000000000..42a843223 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isValid/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isValid } from 'date-fns/fp' +export default isValid diff --git a/node_modules/date-fns/esm/fp/isValid/index.js b/node_modules/date-fns/esm/fp/isValid/index.js new file mode 100644 index 000000000..9067a08c2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isValid/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isValid/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isValid/index.js.flow b/node_modules/date-fns/esm/fp/isValid/index.js.flow new file mode 100644 index 000000000..62e70e24a --- /dev/null +++ b/node_modules/date-fns/esm/fp/isValid/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isValid/package.json b/node_modules/date-fns/esm/fp/isValid/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isValid/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isWednesday/index.d.ts b/node_modules/date-fns/esm/fp/isWednesday/index.d.ts new file mode 100644 index 000000000..9752d6a9c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWednesday } from 'date-fns/fp' +export default isWednesday diff --git a/node_modules/date-fns/esm/fp/isWednesday/index.js b/node_modules/date-fns/esm/fp/isWednesday/index.js new file mode 100644 index 000000000..32a253dd7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWednesday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isWednesday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isWednesday/index.js.flow b/node_modules/date-fns/esm/fp/isWednesday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWednesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isWednesday/package.json b/node_modules/date-fns/esm/fp/isWednesday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWednesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isWeekend/index.d.ts b/node_modules/date-fns/esm/fp/isWeekend/index.d.ts new file mode 100644 index 000000000..ff6c8a3ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWeekend/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWeekend } from 'date-fns/fp' +export default isWeekend diff --git a/node_modules/date-fns/esm/fp/isWeekend/index.js b/node_modules/date-fns/esm/fp/isWeekend/index.js new file mode 100644 index 000000000..d81e1cae0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWeekend/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isWeekend/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isWeekend/index.js.flow b/node_modules/date-fns/esm/fp/isWeekend/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWeekend/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/isWeekend/package.json b/node_modules/date-fns/esm/fp/isWeekend/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWeekend/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isWithinInterval/index.d.ts b/node_modules/date-fns/esm/fp/isWithinInterval/index.d.ts new file mode 100644 index 000000000..c3b3c9b3b --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWithinInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWithinInterval } from 'date-fns/fp' +export default isWithinInterval diff --git a/node_modules/date-fns/esm/fp/isWithinInterval/index.js b/node_modules/date-fns/esm/fp/isWithinInterval/index.js new file mode 100644 index 000000000..96ca11535 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWithinInterval/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../isWithinInterval/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/isWithinInterval/index.js.flow b/node_modules/date-fns/esm/fp/isWithinInterval/index.js.flow new file mode 100644 index 000000000..8b45a5e16 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWithinInterval/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/isWithinInterval/package.json b/node_modules/date-fns/esm/fp/isWithinInterval/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/isWithinInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfDecade/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfDecade/index.d.ts new file mode 100644 index 000000000..6b32f4637 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfDecade } from 'date-fns/fp' +export default lastDayOfDecade diff --git a/node_modules/date-fns/esm/fp/lastDayOfDecade/index.js b/node_modules/date-fns/esm/fp/lastDayOfDecade/index.js new file mode 100644 index 000000000..79519a558 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfDecade/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfDecade/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfDecade/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfDecade/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfDecade/package.json b/node_modules/date-fns/esm/fp/lastDayOfDecade/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.d.ts new file mode 100644 index 000000000..13d7cbe02 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeek } from 'date-fns/fp' +export default lastDayOfISOWeek diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.js b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.js new file mode 100644 index 000000000..ad03dfb55 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfISOWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeek/package.json b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..8e75ca7fe --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeekYear } from 'date-fns/fp' +export default lastDayOfISOWeekYear diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.js b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.js new file mode 100644 index 000000000..0880c4b53 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfISOWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/package.json b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfMonth/index.d.ts new file mode 100644 index 000000000..1a65a1479 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfMonth } from 'date-fns/fp' +export default lastDayOfMonth diff --git a/node_modules/date-fns/esm/fp/lastDayOfMonth/index.js b/node_modules/date-fns/esm/fp/lastDayOfMonth/index.js new file mode 100644 index 000000000..7761b4fb5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfMonth/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfMonth/package.json b/node_modules/date-fns/esm/fp/lastDayOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.d.ts new file mode 100644 index 000000000..27f41a817 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfQuarter } from 'date-fns/fp' +export default lastDayOfQuarter diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.js b/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.js new file mode 100644 index 000000000..eae9e2c40 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarter/package.json b/node_modules/date-fns/esm/fp/lastDayOfQuarter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.d.ts new file mode 100644 index 000000000..4327d12c9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfQuarterWithOptions } from 'date-fns/fp' +export default lastDayOfQuarterWithOptions diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js new file mode 100644 index 000000000..4508949cf --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js.flow new file mode 100644 index 000000000..4b6d0d466 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/package.json b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfQuarterWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeek/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfWeek/index.d.ts new file mode 100644 index 000000000..0d79da710 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfWeek } from 'date-fns/fp' +export default lastDayOfWeek diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeek/index.js b/node_modules/date-fns/esm/fp/lastDayOfWeek/index.js new file mode 100644 index 000000000..4ec4f49c4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeek/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeek/package.json b/node_modules/date-fns/esm/fp/lastDayOfWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.d.ts new file mode 100644 index 000000000..571952469 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfWeekWithOptions } from 'date-fns/fp' +export default lastDayOfWeekWithOptions diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.js b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.js new file mode 100644 index 000000000..199b378c2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.js.flow new file mode 100644 index 000000000..9821646c7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/package.json b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfWeekWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfYear/index.d.ts b/node_modules/date-fns/esm/fp/lastDayOfYear/index.d.ts new file mode 100644 index 000000000..340473ee4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfYear } from 'date-fns/fp' +export default lastDayOfYear diff --git a/node_modules/date-fns/esm/fp/lastDayOfYear/index.js b/node_modules/date-fns/esm/fp/lastDayOfYear/index.js new file mode 100644 index 000000000..7bf59c51a --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lastDayOfYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lastDayOfYear/index.js.flow b/node_modules/date-fns/esm/fp/lastDayOfYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/lastDayOfYear/package.json b/node_modules/date-fns/esm/fp/lastDayOfYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lastDayOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lightFormat/index.d.ts b/node_modules/date-fns/esm/fp/lightFormat/index.d.ts new file mode 100644 index 000000000..843b7fdfd --- /dev/null +++ b/node_modules/date-fns/esm/fp/lightFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lightFormat } from 'date-fns/fp' +export default lightFormat diff --git a/node_modules/date-fns/esm/fp/lightFormat/index.js b/node_modules/date-fns/esm/fp/lightFormat/index.js new file mode 100644 index 000000000..d3b99c484 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lightFormat/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../lightFormat/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/lightFormat/index.js.flow b/node_modules/date-fns/esm/fp/lightFormat/index.js.flow new file mode 100644 index 000000000..013f277c8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lightFormat/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/lightFormat/package.json b/node_modules/date-fns/esm/fp/lightFormat/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/lightFormat/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/max/index.d.ts b/node_modules/date-fns/esm/fp/max/index.d.ts new file mode 100644 index 000000000..000bf1dc3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/max/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { max } from 'date-fns/fp' +export default max diff --git a/node_modules/date-fns/esm/fp/max/index.js b/node_modules/date-fns/esm/fp/max/index.js new file mode 100644 index 000000000..0cdedcb9d --- /dev/null +++ b/node_modules/date-fns/esm/fp/max/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../max/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/max/index.js.flow b/node_modules/date-fns/esm/fp/max/index.js.flow new file mode 100644 index 000000000..dc6668965 --- /dev/null +++ b/node_modules/date-fns/esm/fp/max/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1<(Date | number)[], Date> diff --git a/node_modules/date-fns/esm/fp/max/package.json b/node_modules/date-fns/esm/fp/max/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/max/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/milliseconds/index.d.ts b/node_modules/date-fns/esm/fp/milliseconds/index.d.ts new file mode 100644 index 000000000..2552885bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/milliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { milliseconds } from 'date-fns/fp' +export default milliseconds diff --git a/node_modules/date-fns/esm/fp/milliseconds/index.js b/node_modules/date-fns/esm/fp/milliseconds/index.js new file mode 100644 index 000000000..40a280dd8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/milliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../milliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/milliseconds/index.js.flow b/node_modules/date-fns/esm/fp/milliseconds/index.js.flow new file mode 100644 index 000000000..a025a6730 --- /dev/null +++ b/node_modules/date-fns/esm/fp/milliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/milliseconds/package.json b/node_modules/date-fns/esm/fp/milliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/milliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/millisecondsToHours/index.d.ts b/node_modules/date-fns/esm/fp/millisecondsToHours/index.d.ts new file mode 100644 index 000000000..0ee686331 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToHours } from 'date-fns/fp' +export default millisecondsToHours diff --git a/node_modules/date-fns/esm/fp/millisecondsToHours/index.js b/node_modules/date-fns/esm/fp/millisecondsToHours/index.js new file mode 100644 index 000000000..80af45867 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../millisecondsToHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/millisecondsToHours/index.js.flow b/node_modules/date-fns/esm/fp/millisecondsToHours/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/millisecondsToHours/package.json b/node_modules/date-fns/esm/fp/millisecondsToHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.d.ts b/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.d.ts new file mode 100644 index 000000000..de8470060 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToMinutes } from 'date-fns/fp' +export default millisecondsToMinutes diff --git a/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.js b/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.js new file mode 100644 index 000000000..8392a3203 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../millisecondsToMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.js.flow b/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/millisecondsToMinutes/package.json b/node_modules/date-fns/esm/fp/millisecondsToMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.d.ts b/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.d.ts new file mode 100644 index 000000000..99736c4b9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToSeconds } from 'date-fns/fp' +export default millisecondsToSeconds diff --git a/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.js b/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.js new file mode 100644 index 000000000..923af15a0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../millisecondsToSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.js.flow b/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/millisecondsToSeconds/package.json b/node_modules/date-fns/esm/fp/millisecondsToSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/millisecondsToSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/min/index.d.ts b/node_modules/date-fns/esm/fp/min/index.d.ts new file mode 100644 index 000000000..b66616563 --- /dev/null +++ b/node_modules/date-fns/esm/fp/min/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { min } from 'date-fns/fp' +export default min diff --git a/node_modules/date-fns/esm/fp/min/index.js b/node_modules/date-fns/esm/fp/min/index.js new file mode 100644 index 000000000..748565dc6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/min/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../min/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/min/index.js.flow b/node_modules/date-fns/esm/fp/min/index.js.flow new file mode 100644 index 000000000..dc6668965 --- /dev/null +++ b/node_modules/date-fns/esm/fp/min/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1<(Date | number)[], Date> diff --git a/node_modules/date-fns/esm/fp/min/package.json b/node_modules/date-fns/esm/fp/min/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/min/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/minutesToHours/index.d.ts b/node_modules/date-fns/esm/fp/minutesToHours/index.d.ts new file mode 100644 index 000000000..15aeb30c2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToHours } from 'date-fns/fp' +export default minutesToHours diff --git a/node_modules/date-fns/esm/fp/minutesToHours/index.js b/node_modules/date-fns/esm/fp/minutesToHours/index.js new file mode 100644 index 000000000..871dd1053 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../minutesToHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/minutesToHours/index.js.flow b/node_modules/date-fns/esm/fp/minutesToHours/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/minutesToHours/package.json b/node_modules/date-fns/esm/fp/minutesToHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.d.ts new file mode 100644 index 000000000..0b19d018e --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToMilliseconds } from 'date-fns/fp' +export default minutesToMilliseconds diff --git a/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.js b/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.js new file mode 100644 index 000000000..744764257 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../minutesToMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/minutesToMilliseconds/package.json b/node_modules/date-fns/esm/fp/minutesToMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/minutesToSeconds/index.d.ts b/node_modules/date-fns/esm/fp/minutesToSeconds/index.d.ts new file mode 100644 index 000000000..bc47b3f72 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToSeconds } from 'date-fns/fp' +export default minutesToSeconds diff --git a/node_modules/date-fns/esm/fp/minutesToSeconds/index.js b/node_modules/date-fns/esm/fp/minutesToSeconds/index.js new file mode 100644 index 000000000..1432c26d4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../minutesToSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/minutesToSeconds/index.js.flow b/node_modules/date-fns/esm/fp/minutesToSeconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/minutesToSeconds/package.json b/node_modules/date-fns/esm/fp/minutesToSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/minutesToSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/monthsToQuarters/index.d.ts b/node_modules/date-fns/esm/fp/monthsToQuarters/index.d.ts new file mode 100644 index 000000000..05ae53ce4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToQuarters } from 'date-fns/fp' +export default monthsToQuarters diff --git a/node_modules/date-fns/esm/fp/monthsToQuarters/index.js b/node_modules/date-fns/esm/fp/monthsToQuarters/index.js new file mode 100644 index 000000000..4d0629066 --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToQuarters/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../monthsToQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/monthsToQuarters/index.js.flow b/node_modules/date-fns/esm/fp/monthsToQuarters/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToQuarters/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/monthsToQuarters/package.json b/node_modules/date-fns/esm/fp/monthsToQuarters/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/monthsToYears/index.d.ts b/node_modules/date-fns/esm/fp/monthsToYears/index.d.ts new file mode 100644 index 000000000..bc5f11346 --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToYears } from 'date-fns/fp' +export default monthsToYears diff --git a/node_modules/date-fns/esm/fp/monthsToYears/index.js b/node_modules/date-fns/esm/fp/monthsToYears/index.js new file mode 100644 index 000000000..375ed875e --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../monthsToYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/monthsToYears/index.js.flow b/node_modules/date-fns/esm/fp/monthsToYears/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToYears/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/monthsToYears/package.json b/node_modules/date-fns/esm/fp/monthsToYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/monthsToYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextDay/index.d.ts b/node_modules/date-fns/esm/fp/nextDay/index.d.ts new file mode 100644 index 000000000..dc6cd80c5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextDay } from 'date-fns/fp' +export default nextDay diff --git a/node_modules/date-fns/esm/fp/nextDay/index.js b/node_modules/date-fns/esm/fp/nextDay/index.js new file mode 100644 index 000000000..564d4f0ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextDay/index.js.flow b/node_modules/date-fns/esm/fp/nextDay/index.js.flow new file mode 100644 index 000000000..3d001b257 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/nextDay/package.json b/node_modules/date-fns/esm/fp/nextDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextFriday/index.d.ts b/node_modules/date-fns/esm/fp/nextFriday/index.d.ts new file mode 100644 index 000000000..48e88ccf5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextFriday } from 'date-fns/fp' +export default nextFriday diff --git a/node_modules/date-fns/esm/fp/nextFriday/index.js b/node_modules/date-fns/esm/fp/nextFriday/index.js new file mode 100644 index 000000000..e6411e80d --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextFriday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextFriday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextFriday/index.js.flow b/node_modules/date-fns/esm/fp/nextFriday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextFriday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextFriday/package.json b/node_modules/date-fns/esm/fp/nextFriday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextFriday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextMonday/index.d.ts b/node_modules/date-fns/esm/fp/nextMonday/index.d.ts new file mode 100644 index 000000000..50926c460 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextMonday } from 'date-fns/fp' +export default nextMonday diff --git a/node_modules/date-fns/esm/fp/nextMonday/index.js b/node_modules/date-fns/esm/fp/nextMonday/index.js new file mode 100644 index 000000000..de183a0b3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextMonday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextMonday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextMonday/index.js.flow b/node_modules/date-fns/esm/fp/nextMonday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextMonday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextMonday/package.json b/node_modules/date-fns/esm/fp/nextMonday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextMonday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextSaturday/index.d.ts b/node_modules/date-fns/esm/fp/nextSaturday/index.d.ts new file mode 100644 index 000000000..5774aa571 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSaturday } from 'date-fns/fp' +export default nextSaturday diff --git a/node_modules/date-fns/esm/fp/nextSaturday/index.js b/node_modules/date-fns/esm/fp/nextSaturday/index.js new file mode 100644 index 000000000..990b9c0ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSaturday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextSaturday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextSaturday/index.js.flow b/node_modules/date-fns/esm/fp/nextSaturday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSaturday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextSaturday/package.json b/node_modules/date-fns/esm/fp/nextSaturday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSaturday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextSunday/index.d.ts b/node_modules/date-fns/esm/fp/nextSunday/index.d.ts new file mode 100644 index 000000000..acd1202d6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSunday } from 'date-fns/fp' +export default nextSunday diff --git a/node_modules/date-fns/esm/fp/nextSunday/index.js b/node_modules/date-fns/esm/fp/nextSunday/index.js new file mode 100644 index 000000000..5d8c4eff6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSunday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextSunday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextSunday/index.js.flow b/node_modules/date-fns/esm/fp/nextSunday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSunday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextSunday/package.json b/node_modules/date-fns/esm/fp/nextSunday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextSunday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextThursday/index.d.ts b/node_modules/date-fns/esm/fp/nextThursday/index.d.ts new file mode 100644 index 000000000..1f2dcf06f --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextThursday } from 'date-fns/fp' +export default nextThursday diff --git a/node_modules/date-fns/esm/fp/nextThursday/index.js b/node_modules/date-fns/esm/fp/nextThursday/index.js new file mode 100644 index 000000000..decb0af06 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextThursday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextThursday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextThursday/index.js.flow b/node_modules/date-fns/esm/fp/nextThursday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextThursday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextThursday/package.json b/node_modules/date-fns/esm/fp/nextThursday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextThursday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextTuesday/index.d.ts b/node_modules/date-fns/esm/fp/nextTuesday/index.d.ts new file mode 100644 index 000000000..4842cc0cd --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextTuesday } from 'date-fns/fp' +export default nextTuesday diff --git a/node_modules/date-fns/esm/fp/nextTuesday/index.js b/node_modules/date-fns/esm/fp/nextTuesday/index.js new file mode 100644 index 000000000..b95c64e25 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextTuesday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextTuesday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextTuesday/index.js.flow b/node_modules/date-fns/esm/fp/nextTuesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextTuesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextTuesday/package.json b/node_modules/date-fns/esm/fp/nextTuesday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextTuesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextWednesday/index.d.ts b/node_modules/date-fns/esm/fp/nextWednesday/index.d.ts new file mode 100644 index 000000000..800d5a508 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextWednesday } from 'date-fns/fp' +export default nextWednesday diff --git a/node_modules/date-fns/esm/fp/nextWednesday/index.js b/node_modules/date-fns/esm/fp/nextWednesday/index.js new file mode 100644 index 000000000..77ea9690d --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextWednesday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../nextWednesday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/nextWednesday/index.js.flow b/node_modules/date-fns/esm/fp/nextWednesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextWednesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/nextWednesday/package.json b/node_modules/date-fns/esm/fp/nextWednesday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/nextWednesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/package.json b/node_modules/date-fns/esm/fp/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/fp/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parse/index.d.ts b/node_modules/date-fns/esm/fp/parse/index.d.ts new file mode 100644 index 000000000..0d42228ba --- /dev/null +++ b/node_modules/date-fns/esm/fp/parse/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parse } from 'date-fns/fp' +export default parse diff --git a/node_modules/date-fns/esm/fp/parse/index.js b/node_modules/date-fns/esm/fp/parse/index.js new file mode 100644 index 000000000..60418a89f --- /dev/null +++ b/node_modules/date-fns/esm/fp/parse/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../parse/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parse/index.js.flow b/node_modules/date-fns/esm/fp/parse/index.js.flow new file mode 100644 index 000000000..7146666f6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parse/index.js.flow @@ -0,0 +1,67 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3 diff --git a/node_modules/date-fns/esm/fp/parse/package.json b/node_modules/date-fns/esm/fp/parse/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parse/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseISO/index.d.ts b/node_modules/date-fns/esm/fp/parseISO/index.d.ts new file mode 100644 index 000000000..f89741c47 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseISO } from 'date-fns/fp' +export default parseISO diff --git a/node_modules/date-fns/esm/fp/parseISO/index.js b/node_modules/date-fns/esm/fp/parseISO/index.js new file mode 100644 index 000000000..057767252 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISO/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../parseISO/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseISO/index.js.flow b/node_modules/date-fns/esm/fp/parseISO/index.js.flow new file mode 100644 index 000000000..4d845937a --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISO/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/parseISO/package.json b/node_modules/date-fns/esm/fp/parseISO/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISO/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseISOWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/parseISOWithOptions/index.d.ts new file mode 100644 index 000000000..b90cbd3b1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISOWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseISOWithOptions } from 'date-fns/fp' +export default parseISOWithOptions diff --git a/node_modules/date-fns/esm/fp/parseISOWithOptions/index.js b/node_modules/date-fns/esm/fp/parseISOWithOptions/index.js new file mode 100644 index 000000000..0c702f0f3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISOWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../parseISO/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseISOWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/parseISOWithOptions/index.js.flow new file mode 100644 index 000000000..d2d80caa4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISOWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + string, + Date +> diff --git a/node_modules/date-fns/esm/fp/parseISOWithOptions/package.json b/node_modules/date-fns/esm/fp/parseISOWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseISOWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseJSON/index.d.ts b/node_modules/date-fns/esm/fp/parseJSON/index.d.ts new file mode 100644 index 000000000..dd64334ef --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseJSON/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseJSON } from 'date-fns/fp' +export default parseJSON diff --git a/node_modules/date-fns/esm/fp/parseJSON/index.js b/node_modules/date-fns/esm/fp/parseJSON/index.js new file mode 100644 index 000000000..92056ca0e --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseJSON/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../parseJSON/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseJSON/index.js.flow b/node_modules/date-fns/esm/fp/parseJSON/index.js.flow new file mode 100644 index 000000000..9b7f47a4a --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseJSON/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/parseJSON/package.json b/node_modules/date-fns/esm/fp/parseJSON/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseJSON/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/parseWithOptions/index.d.ts new file mode 100644 index 000000000..d33b4ae16 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseWithOptions } from 'date-fns/fp' +export default parseWithOptions diff --git a/node_modules/date-fns/esm/fp/parseWithOptions/index.js b/node_modules/date-fns/esm/fp/parseWithOptions/index.js new file mode 100644 index 000000000..8bcea0cce --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../parse/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 4); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/parseWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/parseWithOptions/index.js.flow new file mode 100644 index 000000000..e767e62c0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseWithOptions/index.js.flow @@ -0,0 +1,94 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +type CurriedFn4 = ( + a: A +) => + | CurriedFn3 + | (( + a: A, + b: B + ) => + | CurriedFn2 + | (( + a: A, + b: B, + c: C + ) => CurriedFn1 | ((a: A, b: B, c: C, d: D) => R))) + +declare module.exports: CurriedFn4< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + string, + string, + Date +> diff --git a/node_modules/date-fns/esm/fp/parseWithOptions/package.json b/node_modules/date-fns/esm/fp/parseWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/parseWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousDay/index.d.ts b/node_modules/date-fns/esm/fp/previousDay/index.d.ts new file mode 100644 index 000000000..753808c2a --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousDay } from 'date-fns/fp' +export default previousDay diff --git a/node_modules/date-fns/esm/fp/previousDay/index.js b/node_modules/date-fns/esm/fp/previousDay/index.js new file mode 100644 index 000000000..601c0816a --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousDay/index.js.flow b/node_modules/date-fns/esm/fp/previousDay/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/previousDay/package.json b/node_modules/date-fns/esm/fp/previousDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousFriday/index.d.ts b/node_modules/date-fns/esm/fp/previousFriday/index.d.ts new file mode 100644 index 000000000..847fd924d --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousFriday } from 'date-fns/fp' +export default previousFriday diff --git a/node_modules/date-fns/esm/fp/previousFriday/index.js b/node_modules/date-fns/esm/fp/previousFriday/index.js new file mode 100644 index 000000000..675cfa448 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousFriday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousFriday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousFriday/index.js.flow b/node_modules/date-fns/esm/fp/previousFriday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousFriday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousFriday/package.json b/node_modules/date-fns/esm/fp/previousFriday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousFriday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousMonday/index.d.ts b/node_modules/date-fns/esm/fp/previousMonday/index.d.ts new file mode 100644 index 000000000..dd742b86b --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousMonday } from 'date-fns/fp' +export default previousMonday diff --git a/node_modules/date-fns/esm/fp/previousMonday/index.js b/node_modules/date-fns/esm/fp/previousMonday/index.js new file mode 100644 index 000000000..e1d0a7628 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousMonday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousMonday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousMonday/index.js.flow b/node_modules/date-fns/esm/fp/previousMonday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousMonday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousMonday/package.json b/node_modules/date-fns/esm/fp/previousMonday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousMonday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousSaturday/index.d.ts b/node_modules/date-fns/esm/fp/previousSaturday/index.d.ts new file mode 100644 index 000000000..61b0b785c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSaturday } from 'date-fns/fp' +export default previousSaturday diff --git a/node_modules/date-fns/esm/fp/previousSaturday/index.js b/node_modules/date-fns/esm/fp/previousSaturday/index.js new file mode 100644 index 000000000..a212fb523 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSaturday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousSaturday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousSaturday/index.js.flow b/node_modules/date-fns/esm/fp/previousSaturday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSaturday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousSaturday/package.json b/node_modules/date-fns/esm/fp/previousSaturday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSaturday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousSunday/index.d.ts b/node_modules/date-fns/esm/fp/previousSunday/index.d.ts new file mode 100644 index 000000000..c52f02d98 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSunday } from 'date-fns/fp' +export default previousSunday diff --git a/node_modules/date-fns/esm/fp/previousSunday/index.js b/node_modules/date-fns/esm/fp/previousSunday/index.js new file mode 100644 index 000000000..6c0be386a --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSunday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousSunday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousSunday/index.js.flow b/node_modules/date-fns/esm/fp/previousSunday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSunday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousSunday/package.json b/node_modules/date-fns/esm/fp/previousSunday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousSunday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousThursday/index.d.ts b/node_modules/date-fns/esm/fp/previousThursday/index.d.ts new file mode 100644 index 000000000..8f54518ee --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousThursday } from 'date-fns/fp' +export default previousThursday diff --git a/node_modules/date-fns/esm/fp/previousThursday/index.js b/node_modules/date-fns/esm/fp/previousThursday/index.js new file mode 100644 index 000000000..5cbfe3366 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousThursday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousThursday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousThursday/index.js.flow b/node_modules/date-fns/esm/fp/previousThursday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousThursday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousThursday/package.json b/node_modules/date-fns/esm/fp/previousThursday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousThursday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousTuesday/index.d.ts b/node_modules/date-fns/esm/fp/previousTuesday/index.d.ts new file mode 100644 index 000000000..f801ca2ba --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousTuesday } from 'date-fns/fp' +export default previousTuesday diff --git a/node_modules/date-fns/esm/fp/previousTuesday/index.js b/node_modules/date-fns/esm/fp/previousTuesday/index.js new file mode 100644 index 000000000..246bf4b50 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousTuesday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousTuesday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousTuesday/index.js.flow b/node_modules/date-fns/esm/fp/previousTuesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousTuesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousTuesday/package.json b/node_modules/date-fns/esm/fp/previousTuesday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousTuesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousWednesday/index.d.ts b/node_modules/date-fns/esm/fp/previousWednesday/index.d.ts new file mode 100644 index 000000000..ac6226e95 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousWednesday } from 'date-fns/fp' +export default previousWednesday diff --git a/node_modules/date-fns/esm/fp/previousWednesday/index.js b/node_modules/date-fns/esm/fp/previousWednesday/index.js new file mode 100644 index 000000000..118818c01 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousWednesday/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../previousWednesday/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/previousWednesday/index.js.flow b/node_modules/date-fns/esm/fp/previousWednesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousWednesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/previousWednesday/package.json b/node_modules/date-fns/esm/fp/previousWednesday/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/previousWednesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/quartersToMonths/index.d.ts b/node_modules/date-fns/esm/fp/quartersToMonths/index.d.ts new file mode 100644 index 000000000..07220e87c --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToMonths } from 'date-fns/fp' +export default quartersToMonths diff --git a/node_modules/date-fns/esm/fp/quartersToMonths/index.js b/node_modules/date-fns/esm/fp/quartersToMonths/index.js new file mode 100644 index 000000000..540137637 --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToMonths/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../quartersToMonths/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/quartersToMonths/index.js.flow b/node_modules/date-fns/esm/fp/quartersToMonths/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToMonths/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/quartersToMonths/package.json b/node_modules/date-fns/esm/fp/quartersToMonths/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/quartersToYears/index.d.ts b/node_modules/date-fns/esm/fp/quartersToYears/index.d.ts new file mode 100644 index 000000000..6613aeb17 --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToYears } from 'date-fns/fp' +export default quartersToYears diff --git a/node_modules/date-fns/esm/fp/quartersToYears/index.js b/node_modules/date-fns/esm/fp/quartersToYears/index.js new file mode 100644 index 000000000..86a2a690a --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../quartersToYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/quartersToYears/index.js.flow b/node_modules/date-fns/esm/fp/quartersToYears/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToYears/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/quartersToYears/package.json b/node_modules/date-fns/esm/fp/quartersToYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/quartersToYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.d.ts b/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.d.ts new file mode 100644 index 000000000..7777ce20f --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { roundToNearestMinutes } from 'date-fns/fp' +export default roundToNearestMinutes diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.js b/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.js new file mode 100644 index 000000000..c1d0b4afb --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../roundToNearestMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.js.flow b/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutes/package.json b/node_modules/date-fns/esm/fp/roundToNearestMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.d.ts new file mode 100644 index 000000000..fcd4df498 --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { roundToNearestMinutesWithOptions } from 'date-fns/fp' +export default roundToNearestMinutesWithOptions diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js new file mode 100644 index 000000000..a8cbffcd4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../roundToNearestMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js.flow new file mode 100644 index 000000000..44085b1a0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + roundingMethod?: string, + nearestTo?: number, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/package.json b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/roundToNearestMinutesWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/secondsToHours/index.d.ts b/node_modules/date-fns/esm/fp/secondsToHours/index.d.ts new file mode 100644 index 000000000..931f3a782 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToHours } from 'date-fns/fp' +export default secondsToHours diff --git a/node_modules/date-fns/esm/fp/secondsToHours/index.js b/node_modules/date-fns/esm/fp/secondsToHours/index.js new file mode 100644 index 000000000..0d46bc807 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../secondsToHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/secondsToHours/index.js.flow b/node_modules/date-fns/esm/fp/secondsToHours/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/secondsToHours/package.json b/node_modules/date-fns/esm/fp/secondsToHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.d.ts new file mode 100644 index 000000000..98df8f21d --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMilliseconds } from 'date-fns/fp' +export default secondsToMilliseconds diff --git a/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.js b/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.js new file mode 100644 index 000000000..1f7e024f4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../secondsToMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/secondsToMilliseconds/package.json b/node_modules/date-fns/esm/fp/secondsToMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/secondsToMinutes/index.d.ts b/node_modules/date-fns/esm/fp/secondsToMinutes/index.d.ts new file mode 100644 index 000000000..e22b5287e --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMinutes } from 'date-fns/fp' +export default secondsToMinutes diff --git a/node_modules/date-fns/esm/fp/secondsToMinutes/index.js b/node_modules/date-fns/esm/fp/secondsToMinutes/index.js new file mode 100644 index 000000000..d94fccfd0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../secondsToMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/secondsToMinutes/index.js.flow b/node_modules/date-fns/esm/fp/secondsToMinutes/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/secondsToMinutes/package.json b/node_modules/date-fns/esm/fp/secondsToMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/secondsToMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/set/index.d.ts b/node_modules/date-fns/esm/fp/set/index.d.ts new file mode 100644 index 000000000..601f00b8d --- /dev/null +++ b/node_modules/date-fns/esm/fp/set/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { set } from 'date-fns/fp' +export default set diff --git a/node_modules/date-fns/esm/fp/set/index.js b/node_modules/date-fns/esm/fp/set/index.js new file mode 100644 index 000000000..ee1e70fc6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/set/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../set/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/set/index.js.flow b/node_modules/date-fns/esm/fp/set/index.js.flow new file mode 100644 index 000000000..ccc5aca58 --- /dev/null +++ b/node_modules/date-fns/esm/fp/set/index.js.flow @@ -0,0 +1,70 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + milliseconds?: number, + seconds?: number, + minutes?: number, + hours?: number, + date?: number, + month?: number, + year?: number, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/set/package.json b/node_modules/date-fns/esm/fp/set/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/set/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDate/index.d.ts b/node_modules/date-fns/esm/fp/setDate/index.d.ts new file mode 100644 index 000000000..1d6343e1f --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDate } from 'date-fns/fp' +export default setDate diff --git a/node_modules/date-fns/esm/fp/setDate/index.js b/node_modules/date-fns/esm/fp/setDate/index.js new file mode 100644 index 000000000..d42b9015e --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDate/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setDate/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDate/index.js.flow b/node_modules/date-fns/esm/fp/setDate/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDate/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setDate/package.json b/node_modules/date-fns/esm/fp/setDate/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDay/index.d.ts b/node_modules/date-fns/esm/fp/setDay/index.d.ts new file mode 100644 index 000000000..aa37dd910 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDay } from 'date-fns/fp' +export default setDay diff --git a/node_modules/date-fns/esm/fp/setDay/index.js b/node_modules/date-fns/esm/fp/setDay/index.js new file mode 100644 index 000000000..50490984f --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDay/index.js.flow b/node_modules/date-fns/esm/fp/setDay/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setDay/package.json b/node_modules/date-fns/esm/fp/setDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDayOfYear/index.d.ts b/node_modules/date-fns/esm/fp/setDayOfYear/index.d.ts new file mode 100644 index 000000000..4453a591e --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDayOfYear } from 'date-fns/fp' +export default setDayOfYear diff --git a/node_modules/date-fns/esm/fp/setDayOfYear/index.js b/node_modules/date-fns/esm/fp/setDayOfYear/index.js new file mode 100644 index 000000000..db074518c --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayOfYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setDayOfYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDayOfYear/index.js.flow b/node_modules/date-fns/esm/fp/setDayOfYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayOfYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setDayOfYear/package.json b/node_modules/date-fns/esm/fp/setDayOfYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDayWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/setDayWithOptions/index.d.ts new file mode 100644 index 000000000..537c230af --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDayWithOptions } from 'date-fns/fp' +export default setDayWithOptions diff --git a/node_modules/date-fns/esm/fp/setDayWithOptions/index.js b/node_modules/date-fns/esm/fp/setDayWithOptions/index.js new file mode 100644 index 000000000..c7fc4c955 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setDayWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/setDayWithOptions/index.js.flow new file mode 100644 index 000000000..62d0e5ef5 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/setDayWithOptions/package.json b/node_modules/date-fns/esm/fp/setDayWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setDayWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setHours/index.d.ts b/node_modules/date-fns/esm/fp/setHours/index.d.ts new file mode 100644 index 000000000..4ca8a0650 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setHours } from 'date-fns/fp' +export default setHours diff --git a/node_modules/date-fns/esm/fp/setHours/index.js b/node_modules/date-fns/esm/fp/setHours/index.js new file mode 100644 index 000000000..540f03c12 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setHours/index.js.flow b/node_modules/date-fns/esm/fp/setHours/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setHours/package.json b/node_modules/date-fns/esm/fp/setHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setISODay/index.d.ts b/node_modules/date-fns/esm/fp/setISODay/index.d.ts new file mode 100644 index 000000000..7319d5af8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISODay } from 'date-fns/fp' +export default setISODay diff --git a/node_modules/date-fns/esm/fp/setISODay/index.js b/node_modules/date-fns/esm/fp/setISODay/index.js new file mode 100644 index 000000000..f7faa3f43 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISODay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setISODay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setISODay/index.js.flow b/node_modules/date-fns/esm/fp/setISODay/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISODay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setISODay/package.json b/node_modules/date-fns/esm/fp/setISODay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISODay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setISOWeek/index.d.ts b/node_modules/date-fns/esm/fp/setISOWeek/index.d.ts new file mode 100644 index 000000000..ca354ce07 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeek } from 'date-fns/fp' +export default setISOWeek diff --git a/node_modules/date-fns/esm/fp/setISOWeek/index.js b/node_modules/date-fns/esm/fp/setISOWeek/index.js new file mode 100644 index 000000000..b544d9732 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setISOWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setISOWeek/index.js.flow b/node_modules/date-fns/esm/fp/setISOWeek/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setISOWeek/package.json b/node_modules/date-fns/esm/fp/setISOWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setISOWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/setISOWeekYear/index.d.ts new file mode 100644 index 000000000..7e1fc21b3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeekYear } from 'date-fns/fp' +export default setISOWeekYear diff --git a/node_modules/date-fns/esm/fp/setISOWeekYear/index.js b/node_modules/date-fns/esm/fp/setISOWeekYear/index.js new file mode 100644 index 000000000..a226d54a0 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setISOWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setISOWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/setISOWeekYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeekYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setISOWeekYear/package.json b/node_modules/date-fns/esm/fp/setISOWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/setMilliseconds/index.d.ts new file mode 100644 index 000000000..0ee89fab7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMilliseconds } from 'date-fns/fp' +export default setMilliseconds diff --git a/node_modules/date-fns/esm/fp/setMilliseconds/index.js b/node_modules/date-fns/esm/fp/setMilliseconds/index.js new file mode 100644 index 000000000..b47a6360d --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/setMilliseconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setMilliseconds/package.json b/node_modules/date-fns/esm/fp/setMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setMinutes/index.d.ts b/node_modules/date-fns/esm/fp/setMinutes/index.d.ts new file mode 100644 index 000000000..9e8d63606 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMinutes } from 'date-fns/fp' +export default setMinutes diff --git a/node_modules/date-fns/esm/fp/setMinutes/index.js b/node_modules/date-fns/esm/fp/setMinutes/index.js new file mode 100644 index 000000000..3e9fb4048 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setMinutes/index.js.flow b/node_modules/date-fns/esm/fp/setMinutes/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setMinutes/package.json b/node_modules/date-fns/esm/fp/setMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setMonth/index.d.ts b/node_modules/date-fns/esm/fp/setMonth/index.d.ts new file mode 100644 index 000000000..c9647b17f --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMonth } from 'date-fns/fp' +export default setMonth diff --git a/node_modules/date-fns/esm/fp/setMonth/index.js b/node_modules/date-fns/esm/fp/setMonth/index.js new file mode 100644 index 000000000..2f6952260 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setMonth/index.js.flow b/node_modules/date-fns/esm/fp/setMonth/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setMonth/package.json b/node_modules/date-fns/esm/fp/setMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setQuarter/index.d.ts b/node_modules/date-fns/esm/fp/setQuarter/index.d.ts new file mode 100644 index 000000000..b94ff08e7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setQuarter } from 'date-fns/fp' +export default setQuarter diff --git a/node_modules/date-fns/esm/fp/setQuarter/index.js b/node_modules/date-fns/esm/fp/setQuarter/index.js new file mode 100644 index 000000000..28258204e --- /dev/null +++ b/node_modules/date-fns/esm/fp/setQuarter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setQuarter/index.js.flow b/node_modules/date-fns/esm/fp/setQuarter/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setQuarter/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setQuarter/package.json b/node_modules/date-fns/esm/fp/setQuarter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setSeconds/index.d.ts b/node_modules/date-fns/esm/fp/setSeconds/index.d.ts new file mode 100644 index 000000000..fbfa77e60 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setSeconds } from 'date-fns/fp' +export default setSeconds diff --git a/node_modules/date-fns/esm/fp/setSeconds/index.js b/node_modules/date-fns/esm/fp/setSeconds/index.js new file mode 100644 index 000000000..cf1094382 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setSeconds/index.js.flow b/node_modules/date-fns/esm/fp/setSeconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setSeconds/package.json b/node_modules/date-fns/esm/fp/setSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeek/index.d.ts b/node_modules/date-fns/esm/fp/setWeek/index.d.ts new file mode 100644 index 000000000..d9edcaa4e --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeek } from 'date-fns/fp' +export default setWeek diff --git a/node_modules/date-fns/esm/fp/setWeek/index.js b/node_modules/date-fns/esm/fp/setWeek/index.js new file mode 100644 index 000000000..1561de54a --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeek/index.js.flow b/node_modules/date-fns/esm/fp/setWeek/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setWeek/package.json b/node_modules/date-fns/esm/fp/setWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeekWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/setWeekWithOptions/index.d.ts new file mode 100644 index 000000000..2971c7afd --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekWithOptions } from 'date-fns/fp' +export default setWeekWithOptions diff --git a/node_modules/date-fns/esm/fp/setWeekWithOptions/index.js b/node_modules/date-fns/esm/fp/setWeekWithOptions/index.js new file mode 100644 index 000000000..9d2e2f7d6 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeekWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/setWeekWithOptions/index.js.flow new file mode 100644 index 000000000..ffea29c57 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekWithOptions/index.js.flow @@ -0,0 +1,76 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/setWeekWithOptions/package.json b/node_modules/date-fns/esm/fp/setWeekWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/setWeekYear/index.d.ts new file mode 100644 index 000000000..7d2c6ccae --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekYear } from 'date-fns/fp' +export default setWeekYear diff --git a/node_modules/date-fns/esm/fp/setWeekYear/index.js b/node_modules/date-fns/esm/fp/setWeekYear/index.js new file mode 100644 index 000000000..a6e25aa44 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/setWeekYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setWeekYear/package.json b/node_modules/date-fns/esm/fp/setWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.d.ts new file mode 100644 index 000000000..5d52f8f3b --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekYearWithOptions } from 'date-fns/fp' +export default setWeekYearWithOptions diff --git a/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.js b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.js new file mode 100644 index 000000000..22879d8c9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 3); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.js.flow new file mode 100644 index 000000000..ffea29c57 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/index.js.flow @@ -0,0 +1,76 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/setWeekYearWithOptions/package.json b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setWeekYearWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setYear/index.d.ts b/node_modules/date-fns/esm/fp/setYear/index.d.ts new file mode 100644 index 000000000..be24ce0b8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setYear } from 'date-fns/fp' +export default setYear diff --git a/node_modules/date-fns/esm/fp/setYear/index.js b/node_modules/date-fns/esm/fp/setYear/index.js new file mode 100644 index 000000000..57c3e3b29 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../setYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/setYear/index.js.flow b/node_modules/date-fns/esm/fp/setYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/setYear/package.json b/node_modules/date-fns/esm/fp/setYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/setYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfDay/index.d.ts b/node_modules/date-fns/esm/fp/startOfDay/index.d.ts new file mode 100644 index 000000000..fed6b052f --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDay } from 'date-fns/fp' +export default startOfDay diff --git a/node_modules/date-fns/esm/fp/startOfDay/index.js b/node_modules/date-fns/esm/fp/startOfDay/index.js new file mode 100644 index 000000000..48794d54a --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDay/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfDay/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfDay/index.js.flow b/node_modules/date-fns/esm/fp/startOfDay/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfDay/package.json b/node_modules/date-fns/esm/fp/startOfDay/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfDecade/index.d.ts b/node_modules/date-fns/esm/fp/startOfDecade/index.d.ts new file mode 100644 index 000000000..127c15631 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDecade } from 'date-fns/fp' +export default startOfDecade diff --git a/node_modules/date-fns/esm/fp/startOfDecade/index.js b/node_modules/date-fns/esm/fp/startOfDecade/index.js new file mode 100644 index 000000000..9e3755c63 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDecade/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfDecade/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfDecade/index.js.flow b/node_modules/date-fns/esm/fp/startOfDecade/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfDecade/package.json b/node_modules/date-fns/esm/fp/startOfDecade/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfHour/index.d.ts b/node_modules/date-fns/esm/fp/startOfHour/index.d.ts new file mode 100644 index 000000000..9a1905e04 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfHour } from 'date-fns/fp' +export default startOfHour diff --git a/node_modules/date-fns/esm/fp/startOfHour/index.js b/node_modules/date-fns/esm/fp/startOfHour/index.js new file mode 100644 index 000000000..90adb1963 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfHour/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfHour/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfHour/index.js.flow b/node_modules/date-fns/esm/fp/startOfHour/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfHour/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfHour/package.json b/node_modules/date-fns/esm/fp/startOfHour/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfISOWeek/index.d.ts b/node_modules/date-fns/esm/fp/startOfISOWeek/index.d.ts new file mode 100644 index 000000000..008f896c9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeek } from 'date-fns/fp' +export default startOfISOWeek diff --git a/node_modules/date-fns/esm/fp/startOfISOWeek/index.js b/node_modules/date-fns/esm/fp/startOfISOWeek/index.js new file mode 100644 index 000000000..e6adab81b --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfISOWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfISOWeek/index.js.flow b/node_modules/date-fns/esm/fp/startOfISOWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfISOWeek/package.json b/node_modules/date-fns/esm/fp/startOfISOWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..aab0b5a7b --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeekYear } from 'date-fns/fp' +export default startOfISOWeekYear diff --git a/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.js b/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.js new file mode 100644 index 000000000..c538b8726 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfISOWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfISOWeekYear/package.json b/node_modules/date-fns/esm/fp/startOfISOWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfMinute/index.d.ts b/node_modules/date-fns/esm/fp/startOfMinute/index.d.ts new file mode 100644 index 000000000..013f3a464 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMinute } from 'date-fns/fp' +export default startOfMinute diff --git a/node_modules/date-fns/esm/fp/startOfMinute/index.js b/node_modules/date-fns/esm/fp/startOfMinute/index.js new file mode 100644 index 000000000..6719cd449 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMinute/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfMinute/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfMinute/index.js.flow b/node_modules/date-fns/esm/fp/startOfMinute/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMinute/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfMinute/package.json b/node_modules/date-fns/esm/fp/startOfMinute/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfMonth/index.d.ts b/node_modules/date-fns/esm/fp/startOfMonth/index.d.ts new file mode 100644 index 000000000..edbb15ffc --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMonth } from 'date-fns/fp' +export default startOfMonth diff --git a/node_modules/date-fns/esm/fp/startOfMonth/index.js b/node_modules/date-fns/esm/fp/startOfMonth/index.js new file mode 100644 index 000000000..fff76d580 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMonth/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfMonth/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfMonth/index.js.flow b/node_modules/date-fns/esm/fp/startOfMonth/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfMonth/package.json b/node_modules/date-fns/esm/fp/startOfMonth/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfQuarter/index.d.ts b/node_modules/date-fns/esm/fp/startOfQuarter/index.d.ts new file mode 100644 index 000000000..1c3b6020d --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfQuarter } from 'date-fns/fp' +export default startOfQuarter diff --git a/node_modules/date-fns/esm/fp/startOfQuarter/index.js b/node_modules/date-fns/esm/fp/startOfQuarter/index.js new file mode 100644 index 000000000..9a88cb8ce --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfQuarter/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfQuarter/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfQuarter/index.js.flow b/node_modules/date-fns/esm/fp/startOfQuarter/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfQuarter/package.json b/node_modules/date-fns/esm/fp/startOfQuarter/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfSecond/index.d.ts b/node_modules/date-fns/esm/fp/startOfSecond/index.d.ts new file mode 100644 index 000000000..866aa6f92 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfSecond } from 'date-fns/fp' +export default startOfSecond diff --git a/node_modules/date-fns/esm/fp/startOfSecond/index.js b/node_modules/date-fns/esm/fp/startOfSecond/index.js new file mode 100644 index 000000000..0901464dd --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfSecond/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfSecond/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfSecond/index.js.flow b/node_modules/date-fns/esm/fp/startOfSecond/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfSecond/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfSecond/package.json b/node_modules/date-fns/esm/fp/startOfSecond/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeek/index.d.ts b/node_modules/date-fns/esm/fp/startOfWeek/index.d.ts new file mode 100644 index 000000000..ab178410c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeek } from 'date-fns/fp' +export default startOfWeek diff --git a/node_modules/date-fns/esm/fp/startOfWeek/index.js b/node_modules/date-fns/esm/fp/startOfWeek/index.js new file mode 100644 index 000000000..e6c9d5b92 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeek/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeek/index.js.flow b/node_modules/date-fns/esm/fp/startOfWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfWeek/package.json b/node_modules/date-fns/esm/fp/startOfWeek/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.d.ts new file mode 100644 index 000000000..0bd5568f1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekWithOptions } from 'date-fns/fp' +export default startOfWeekWithOptions diff --git a/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.js b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.js new file mode 100644 index 000000000..81e7b4c0a --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfWeek/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.js.flow new file mode 100644 index 000000000..9821646c7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/startOfWeekWithOptions/package.json b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeekYear/index.d.ts b/node_modules/date-fns/esm/fp/startOfWeekYear/index.d.ts new file mode 100644 index 000000000..17ce1cbe2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekYear } from 'date-fns/fp' +export default startOfWeekYear diff --git a/node_modules/date-fns/esm/fp/startOfWeekYear/index.js b/node_modules/date-fns/esm/fp/startOfWeekYear/index.js new file mode 100644 index 000000000..a7631d77e --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeekYear/index.js.flow b/node_modules/date-fns/esm/fp/startOfWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfWeekYear/package.json b/node_modules/date-fns/esm/fp/startOfWeekYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.d.ts b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.d.ts new file mode 100644 index 000000000..26f9e804a --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekYearWithOptions } from 'date-fns/fp' +export default startOfWeekYearWithOptions diff --git a/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js new file mode 100644 index 000000000..d88122e86 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfWeekYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js.flow b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js.flow new file mode 100644 index 000000000..236eaa53a --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js.flow @@ -0,0 +1,66 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/package.json b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfYear/index.d.ts b/node_modules/date-fns/esm/fp/startOfYear/index.d.ts new file mode 100644 index 000000000..6e94924da --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfYear } from 'date-fns/fp' +export default startOfYear diff --git a/node_modules/date-fns/esm/fp/startOfYear/index.js b/node_modules/date-fns/esm/fp/startOfYear/index.js new file mode 100644 index 000000000..c095f7f7c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfYear/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../startOfYear/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/startOfYear/index.js.flow b/node_modules/date-fns/esm/fp/startOfYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/startOfYear/package.json b/node_modules/date-fns/esm/fp/startOfYear/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/startOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/sub/index.d.ts b/node_modules/date-fns/esm/fp/sub/index.d.ts new file mode 100644 index 000000000..c50f32f09 --- /dev/null +++ b/node_modules/date-fns/esm/fp/sub/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sub } from 'date-fns/fp' +export default sub diff --git a/node_modules/date-fns/esm/fp/sub/index.js b/node_modules/date-fns/esm/fp/sub/index.js new file mode 100644 index 000000000..ddb9f73e9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/sub/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../sub/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/sub/index.js.flow b/node_modules/date-fns/esm/fp/sub/index.js.flow new file mode 100644 index 000000000..3d4363b37 --- /dev/null +++ b/node_modules/date-fns/esm/fp/sub/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/sub/package.json b/node_modules/date-fns/esm/fp/sub/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/sub/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subBusinessDays/index.d.ts b/node_modules/date-fns/esm/fp/subBusinessDays/index.d.ts new file mode 100644 index 000000000..6f7c95a5c --- /dev/null +++ b/node_modules/date-fns/esm/fp/subBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subBusinessDays } from 'date-fns/fp' +export default subBusinessDays diff --git a/node_modules/date-fns/esm/fp/subBusinessDays/index.js b/node_modules/date-fns/esm/fp/subBusinessDays/index.js new file mode 100644 index 000000000..ef0aaedad --- /dev/null +++ b/node_modules/date-fns/esm/fp/subBusinessDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subBusinessDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subBusinessDays/index.js.flow b/node_modules/date-fns/esm/fp/subBusinessDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subBusinessDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subBusinessDays/package.json b/node_modules/date-fns/esm/fp/subBusinessDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subBusinessDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subDays/index.d.ts b/node_modules/date-fns/esm/fp/subDays/index.d.ts new file mode 100644 index 000000000..8a72d43a9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subDays } from 'date-fns/fp' +export default subDays diff --git a/node_modules/date-fns/esm/fp/subDays/index.js b/node_modules/date-fns/esm/fp/subDays/index.js new file mode 100644 index 000000000..e85c265d7 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subDays/index.js.flow b/node_modules/date-fns/esm/fp/subDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subDays/package.json b/node_modules/date-fns/esm/fp/subDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subHours/index.d.ts b/node_modules/date-fns/esm/fp/subHours/index.d.ts new file mode 100644 index 000000000..6fcfa1f5c --- /dev/null +++ b/node_modules/date-fns/esm/fp/subHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subHours } from 'date-fns/fp' +export default subHours diff --git a/node_modules/date-fns/esm/fp/subHours/index.js b/node_modules/date-fns/esm/fp/subHours/index.js new file mode 100644 index 000000000..2d60622fc --- /dev/null +++ b/node_modules/date-fns/esm/fp/subHours/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subHours/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subHours/index.js.flow b/node_modules/date-fns/esm/fp/subHours/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subHours/package.json b/node_modules/date-fns/esm/fp/subHours/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subISOWeekYears/index.d.ts b/node_modules/date-fns/esm/fp/subISOWeekYears/index.d.ts new file mode 100644 index 000000000..430fca404 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subISOWeekYears } from 'date-fns/fp' +export default subISOWeekYears diff --git a/node_modules/date-fns/esm/fp/subISOWeekYears/index.js b/node_modules/date-fns/esm/fp/subISOWeekYears/index.js new file mode 100644 index 000000000..75801bd2c --- /dev/null +++ b/node_modules/date-fns/esm/fp/subISOWeekYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subISOWeekYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subISOWeekYears/index.js.flow b/node_modules/date-fns/esm/fp/subISOWeekYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subISOWeekYears/package.json b/node_modules/date-fns/esm/fp/subISOWeekYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subMilliseconds/index.d.ts b/node_modules/date-fns/esm/fp/subMilliseconds/index.d.ts new file mode 100644 index 000000000..9310a1c3c --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMilliseconds } from 'date-fns/fp' +export default subMilliseconds diff --git a/node_modules/date-fns/esm/fp/subMilliseconds/index.js b/node_modules/date-fns/esm/fp/subMilliseconds/index.js new file mode 100644 index 000000000..b70dba343 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMilliseconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subMilliseconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subMilliseconds/index.js.flow b/node_modules/date-fns/esm/fp/subMilliseconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subMilliseconds/package.json b/node_modules/date-fns/esm/fp/subMilliseconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subMinutes/index.d.ts b/node_modules/date-fns/esm/fp/subMinutes/index.d.ts new file mode 100644 index 000000000..0b7db1053 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMinutes } from 'date-fns/fp' +export default subMinutes diff --git a/node_modules/date-fns/esm/fp/subMinutes/index.js b/node_modules/date-fns/esm/fp/subMinutes/index.js new file mode 100644 index 000000000..dc9c7287b --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMinutes/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subMinutes/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subMinutes/index.js.flow b/node_modules/date-fns/esm/fp/subMinutes/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subMinutes/package.json b/node_modules/date-fns/esm/fp/subMinutes/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subMonths/index.d.ts b/node_modules/date-fns/esm/fp/subMonths/index.d.ts new file mode 100644 index 000000000..3d03d27e2 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMonths } from 'date-fns/fp' +export default subMonths diff --git a/node_modules/date-fns/esm/fp/subMonths/index.js b/node_modules/date-fns/esm/fp/subMonths/index.js new file mode 100644 index 000000000..2041227f8 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMonths/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subMonths/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subMonths/index.js.flow b/node_modules/date-fns/esm/fp/subMonths/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subMonths/package.json b/node_modules/date-fns/esm/fp/subMonths/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subQuarters/index.d.ts b/node_modules/date-fns/esm/fp/subQuarters/index.d.ts new file mode 100644 index 000000000..6362ceca9 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subQuarters } from 'date-fns/fp' +export default subQuarters diff --git a/node_modules/date-fns/esm/fp/subQuarters/index.js b/node_modules/date-fns/esm/fp/subQuarters/index.js new file mode 100644 index 000000000..68cc10ce1 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subQuarters/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subQuarters/index.js.flow b/node_modules/date-fns/esm/fp/subQuarters/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subQuarters/package.json b/node_modules/date-fns/esm/fp/subQuarters/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subSeconds/index.d.ts b/node_modules/date-fns/esm/fp/subSeconds/index.d.ts new file mode 100644 index 000000000..c5c6635bf --- /dev/null +++ b/node_modules/date-fns/esm/fp/subSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subSeconds } from 'date-fns/fp' +export default subSeconds diff --git a/node_modules/date-fns/esm/fp/subSeconds/index.js b/node_modules/date-fns/esm/fp/subSeconds/index.js new file mode 100644 index 000000000..39ef21f2b --- /dev/null +++ b/node_modules/date-fns/esm/fp/subSeconds/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subSeconds/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subSeconds/index.js.flow b/node_modules/date-fns/esm/fp/subSeconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subSeconds/package.json b/node_modules/date-fns/esm/fp/subSeconds/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subWeeks/index.d.ts b/node_modules/date-fns/esm/fp/subWeeks/index.d.ts new file mode 100644 index 000000000..18eebcb0c --- /dev/null +++ b/node_modules/date-fns/esm/fp/subWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subWeeks } from 'date-fns/fp' +export default subWeeks diff --git a/node_modules/date-fns/esm/fp/subWeeks/index.js b/node_modules/date-fns/esm/fp/subWeeks/index.js new file mode 100644 index 000000000..268b8b6e3 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subWeeks/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subWeeks/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subWeeks/index.js.flow b/node_modules/date-fns/esm/fp/subWeeks/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subWeeks/package.json b/node_modules/date-fns/esm/fp/subWeeks/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subYears/index.d.ts b/node_modules/date-fns/esm/fp/subYears/index.d.ts new file mode 100644 index 000000000..55abb01db --- /dev/null +++ b/node_modules/date-fns/esm/fp/subYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subYears } from 'date-fns/fp' +export default subYears diff --git a/node_modules/date-fns/esm/fp/subYears/index.js b/node_modules/date-fns/esm/fp/subYears/index.js new file mode 100644 index 000000000..2e0071700 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subYears/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../subYears/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 2); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/subYears/index.js.flow b/node_modules/date-fns/esm/fp/subYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/esm/fp/subYears/package.json b/node_modules/date-fns/esm/fp/subYears/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/subYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/toDate/index.d.ts b/node_modules/date-fns/esm/fp/toDate/index.d.ts new file mode 100644 index 000000000..2bbca8081 --- /dev/null +++ b/node_modules/date-fns/esm/fp/toDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { toDate } from 'date-fns/fp' +export default toDate diff --git a/node_modules/date-fns/esm/fp/toDate/index.js b/node_modules/date-fns/esm/fp/toDate/index.js new file mode 100644 index 000000000..90f85652e --- /dev/null +++ b/node_modules/date-fns/esm/fp/toDate/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../toDate/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/toDate/index.js.flow b/node_modules/date-fns/esm/fp/toDate/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/esm/fp/toDate/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/toDate/package.json b/node_modules/date-fns/esm/fp/toDate/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/toDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/weeksToDays/index.d.ts b/node_modules/date-fns/esm/fp/weeksToDays/index.d.ts new file mode 100644 index 000000000..df6823916 --- /dev/null +++ b/node_modules/date-fns/esm/fp/weeksToDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { weeksToDays } from 'date-fns/fp' +export default weeksToDays diff --git a/node_modules/date-fns/esm/fp/weeksToDays/index.js b/node_modules/date-fns/esm/fp/weeksToDays/index.js new file mode 100644 index 000000000..a93c3c84b --- /dev/null +++ b/node_modules/date-fns/esm/fp/weeksToDays/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../weeksToDays/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/weeksToDays/index.js.flow b/node_modules/date-fns/esm/fp/weeksToDays/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/weeksToDays/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/weeksToDays/package.json b/node_modules/date-fns/esm/fp/weeksToDays/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/weeksToDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/yearsToMonths/index.d.ts b/node_modules/date-fns/esm/fp/yearsToMonths/index.d.ts new file mode 100644 index 000000000..39cd7738c --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToMonths } from 'date-fns/fp' +export default yearsToMonths diff --git a/node_modules/date-fns/esm/fp/yearsToMonths/index.js b/node_modules/date-fns/esm/fp/yearsToMonths/index.js new file mode 100644 index 000000000..50491d40d --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToMonths/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../yearsToMonths/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/yearsToMonths/index.js.flow b/node_modules/date-fns/esm/fp/yearsToMonths/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToMonths/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/yearsToMonths/package.json b/node_modules/date-fns/esm/fp/yearsToMonths/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/yearsToQuarters/index.d.ts b/node_modules/date-fns/esm/fp/yearsToQuarters/index.d.ts new file mode 100644 index 000000000..cbb664df4 --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToQuarters } from 'date-fns/fp' +export default yearsToQuarters diff --git a/node_modules/date-fns/esm/fp/yearsToQuarters/index.js b/node_modules/date-fns/esm/fp/yearsToQuarters/index.js new file mode 100644 index 000000000..fc30dc25a --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToQuarters/index.js @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +import fn from "../../yearsToQuarters/index.js"; +import convertToFP from "../_lib/convertToFP/index.js"; +export default convertToFP(fn, 1); \ No newline at end of file diff --git a/node_modules/date-fns/esm/fp/yearsToQuarters/index.js.flow b/node_modules/date-fns/esm/fp/yearsToQuarters/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToQuarters/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/esm/fp/yearsToQuarters/package.json b/node_modules/date-fns/esm/fp/yearsToQuarters/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/fp/yearsToQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fromUnixTime/index.d.ts b/node_modules/date-fns/esm/fromUnixTime/index.d.ts new file mode 100644 index 000000000..a88920d83 --- /dev/null +++ b/node_modules/date-fns/esm/fromUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fromUnixTime } from 'date-fns' +export default fromUnixTime diff --git a/node_modules/date-fns/esm/fromUnixTime/index.js b/node_modules/date-fns/esm/fromUnixTime/index.js new file mode 100644 index 000000000..29b3af61b --- /dev/null +++ b/node_modules/date-fns/esm/fromUnixTime/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name fromUnixTime + * @category Timestamp Helpers + * @summary Create a date from a Unix timestamp. + * + * @description + * Create a date from a Unix timestamp (in seconds). Decimal values will be discarded. + * + * @param {Number} unixTime - the given Unix timestamp (in seconds) + * @returns {Date} the date + * @throws {TypeError} 1 argument required + * + * @example + * // Create the date 29 February 2012 11:45:05: + * const result = fromUnixTime(1330515905) + * //=> Wed Feb 29 2012 11:45:05 + */ +export default function fromUnixTime(dirtyUnixTime) { + requiredArgs(1, arguments); + var unixTime = toInteger(dirtyUnixTime); + return toDate(unixTime * 1000); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/fromUnixTime/index.js.flow b/node_modules/date-fns/esm/fromUnixTime/index.js.flow new file mode 100644 index 000000000..a286bdf09 --- /dev/null +++ b/node_modules/date-fns/esm/fromUnixTime/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (unixTime: number) => Date diff --git a/node_modules/date-fns/esm/fromUnixTime/package.json b/node_modules/date-fns/esm/fromUnixTime/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/fromUnixTime/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDate/index.d.ts b/node_modules/date-fns/esm/getDate/index.d.ts new file mode 100644 index 000000000..cb8644116 --- /dev/null +++ b/node_modules/date-fns/esm/getDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDate } from 'date-fns' +export default getDate diff --git a/node_modules/date-fns/esm/getDate/index.js b/node_modules/date-fns/esm/getDate/index.js new file mode 100644 index 000000000..da4b2ff89 --- /dev/null +++ b/node_modules/date-fns/esm/getDate/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the day of month + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the month is 29 February 2012? + * const result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ +export default function getDate(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var dayOfMonth = date.getDate(); + return dayOfMonth; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDate/index.js.flow b/node_modules/date-fns/esm/getDate/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getDate/package.json b/node_modules/date-fns/esm/getDate/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDay/index.d.ts b/node_modules/date-fns/esm/getDay/index.d.ts new file mode 100644 index 000000000..5ea22c01a --- /dev/null +++ b/node_modules/date-fns/esm/getDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDay } from 'date-fns' +export default getDay diff --git a/node_modules/date-fns/esm/getDay/index.js b/node_modules/date-fns/esm/getDay/index.js new file mode 100644 index 000000000..14b83a64b --- /dev/null +++ b/node_modules/date-fns/esm/getDay/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param {Date|Number} date - the given date + * @returns {0|1|2|3|4|5|6} the day of week, 0 represents Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the week is 29 February 2012? + * const result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ +export default function getDay(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var day = date.getDay(); + return day; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDay/index.js.flow b/node_modules/date-fns/esm/getDay/index.js.flow new file mode 100644 index 000000000..6ff2a5454 --- /dev/null +++ b/node_modules/date-fns/esm/getDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => 0 | 1 | 2 | 3 | 4 | 5 | 6 diff --git a/node_modules/date-fns/esm/getDay/package.json b/node_modules/date-fns/esm/getDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDayOfYear/index.d.ts b/node_modules/date-fns/esm/getDayOfYear/index.d.ts new file mode 100644 index 000000000..ec58442be --- /dev/null +++ b/node_modules/date-fns/esm/getDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDayOfYear } from 'date-fns' +export default getDayOfYear diff --git a/node_modules/date-fns/esm/getDayOfYear/index.js b/node_modules/date-fns/esm/getDayOfYear/index.js new file mode 100644 index 000000000..947539ffa --- /dev/null +++ b/node_modules/date-fns/esm/getDayOfYear/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import startOfYear from "../startOfYear/index.js"; +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getDayOfYear + * @category Day Helpers + * @summary Get the day of the year of the given date. + * + * @description + * Get the day of the year of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the day of year + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the year is 2 July 2014? + * const result = getDayOfYear(new Date(2014, 6, 2)) + * //=> 183 + */ +export default function getDayOfYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var diff = differenceInCalendarDays(date, startOfYear(date)); + var dayOfYear = diff + 1; + return dayOfYear; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDayOfYear/index.js.flow b/node_modules/date-fns/esm/getDayOfYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getDayOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getDayOfYear/package.json b/node_modules/date-fns/esm/getDayOfYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDayOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDaysInMonth/index.d.ts b/node_modules/date-fns/esm/getDaysInMonth/index.d.ts new file mode 100644 index 000000000..6b69daec1 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInMonth } from 'date-fns' +export default getDaysInMonth diff --git a/node_modules/date-fns/esm/getDaysInMonth/index.js b/node_modules/date-fns/esm/getDaysInMonth/index.js new file mode 100644 index 000000000..ff70f5f38 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInMonth/index.js @@ -0,0 +1,29 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the number of days in a month + * @throws {TypeError} 1 argument required + * + * @example + * // How many days are in February 2000? + * const result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ +export default function getDaysInMonth(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var monthIndex = date.getMonth(); + var lastDayOfMonth = new Date(0); + lastDayOfMonth.setFullYear(year, monthIndex + 1, 0); + lastDayOfMonth.setHours(0, 0, 0, 0); + return lastDayOfMonth.getDate(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDaysInMonth/index.js.flow b/node_modules/date-fns/esm/getDaysInMonth/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getDaysInMonth/package.json b/node_modules/date-fns/esm/getDaysInMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDaysInYear/index.d.ts b/node_modules/date-fns/esm/getDaysInYear/index.d.ts new file mode 100644 index 000000000..053d44bd2 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInYear } from 'date-fns' +export default getDaysInYear diff --git a/node_modules/date-fns/esm/getDaysInYear/index.js b/node_modules/date-fns/esm/getDaysInYear/index.js new file mode 100644 index 000000000..0b294b07d --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInYear/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import isLeapYear from "../isLeapYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getDaysInYear + * @category Year Helpers + * @summary Get the number of days in a year of the given date. + * + * @description + * Get the number of days in a year of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the number of days in a year + * @throws {TypeError} 1 argument required + * + * @example + * // How many days are in 2012? + * const result = getDaysInYear(new Date(2012, 0, 1)) + * //=> 366 + */ +export default function getDaysInYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + if (String(new Date(date)) === 'Invalid Date') { + return NaN; + } + return isLeapYear(date) ? 366 : 365; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDaysInYear/index.js.flow b/node_modules/date-fns/esm/getDaysInYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getDaysInYear/package.json b/node_modules/date-fns/esm/getDaysInYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDaysInYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDecade/index.d.ts b/node_modules/date-fns/esm/getDecade/index.d.ts new file mode 100644 index 000000000..dfa8961c9 --- /dev/null +++ b/node_modules/date-fns/esm/getDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDecade } from 'date-fns' +export default getDecade diff --git a/node_modules/date-fns/esm/getDecade/index.js b/node_modules/date-fns/esm/getDecade/index.js new file mode 100644 index 000000000..d3aef60dd --- /dev/null +++ b/node_modules/date-fns/esm/getDecade/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getDecade + * @category Decade Helpers + * @summary Get the decade of the given date. + * + * @description + * Get the decade of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the year of decade + * @throws {TypeError} 1 argument required + * + * @example + * // Which decade belongs 27 November 1942? + * const result = getDecade(new Date(1942, 10, 27)) + * //=> 1940 + */ +export default function getDecade(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var decade = Math.floor(year / 10) * 10; + return decade; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDecade/index.js.flow b/node_modules/date-fns/esm/getDecade/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getDecade/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getDecade/package.json b/node_modules/date-fns/esm/getDecade/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDefaultOptions/index.d.ts b/node_modules/date-fns/esm/getDefaultOptions/index.d.ts new file mode 100644 index 000000000..43e2dea02 --- /dev/null +++ b/node_modules/date-fns/esm/getDefaultOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDefaultOptions } from 'date-fns' +export default getDefaultOptions diff --git a/node_modules/date-fns/esm/getDefaultOptions/index.js b/node_modules/date-fns/esm/getDefaultOptions/index.js new file mode 100644 index 000000000..ee2e12bc0 --- /dev/null +++ b/node_modules/date-fns/esm/getDefaultOptions/index.js @@ -0,0 +1,29 @@ +import { getDefaultOptions as getInternalDefaultOptions } from "../_lib/defaultOptions/index.js"; +import assign from "../_lib/assign/index.js"; +/** + * @name getDefaultOptions + * @category Common Helpers + * @summary Get default options. + * @pure false + * + * @description + * Returns an object that contains defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * You can change these with [setDefaultOptions]{@link https://date-fns.org/docs/setDefaultOptions}. + * + * @returns {Object} default options + * + * @example + * const result = getDefaultOptions() + * //=> {} + * + * @example + * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 }) + * const result = getDefaultOptions() + * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 } + */ +export default function getDefaultOptions() { + return assign({}, getInternalDefaultOptions()); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getDefaultOptions/index.js.flow b/node_modules/date-fns/esm/getDefaultOptions/index.js.flow new file mode 100644 index 000000000..2a0fd28f4 --- /dev/null +++ b/node_modules/date-fns/esm/getDefaultOptions/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Object diff --git a/node_modules/date-fns/esm/getDefaultOptions/package.json b/node_modules/date-fns/esm/getDefaultOptions/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getDefaultOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getHours/index.d.ts b/node_modules/date-fns/esm/getHours/index.d.ts new file mode 100644 index 000000000..1ef49091a --- /dev/null +++ b/node_modules/date-fns/esm/getHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getHours } from 'date-fns' +export default getHours diff --git a/node_modules/date-fns/esm/getHours/index.js b/node_modules/date-fns/esm/getHours/index.js new file mode 100644 index 000000000..1fd7a3e60 --- /dev/null +++ b/node_modules/date-fns/esm/getHours/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the hours + * @throws {TypeError} 1 argument required + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * const result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ +export default function getHours(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var hours = date.getHours(); + return hours; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getHours/index.js.flow b/node_modules/date-fns/esm/getHours/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getHours/package.json b/node_modules/date-fns/esm/getHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISODay/index.d.ts b/node_modules/date-fns/esm/getISODay/index.d.ts new file mode 100644 index 000000000..fef75877c --- /dev/null +++ b/node_modules/date-fns/esm/getISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISODay } from 'date-fns' +export default getISODay diff --git a/node_modules/date-fns/esm/getISODay/index.js b/node_modules/date-fns/esm/getISODay/index.js new file mode 100644 index 000000000..044da0494 --- /dev/null +++ b/node_modules/date-fns/esm/getISODay/index.js @@ -0,0 +1,31 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getISODay + * @category Weekday Helpers + * @summary Get the day of the ISO week of the given date. + * + * @description + * Get the day of the ISO week of the given date, + * which is 7 for Sunday, 1 for Monday etc. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the day of ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the ISO week is 26 February 2012? + * const result = getISODay(new Date(2012, 1, 26)) + * //=> 7 + */ +export default function getISODay(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var day = date.getDay(); + if (day === 0) { + day = 7; + } + return day; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISODay/index.js.flow b/node_modules/date-fns/esm/getISODay/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getISODay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getISODay/package.json b/node_modules/date-fns/esm/getISODay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getISODay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISOWeek/index.d.ts b/node_modules/date-fns/esm/getISOWeek/index.d.ts new file mode 100644 index 000000000..f24419b68 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeek } from 'date-fns' +export default getISOWeek diff --git a/node_modules/date-fns/esm/getISOWeek/index.js b/node_modules/date-fns/esm/getISOWeek/index.js new file mode 100644 index 000000000..aa72dee1c --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeek/index.js @@ -0,0 +1,35 @@ +import toDate from "../toDate/index.js"; +import startOfISOWeek from "../startOfISOWeek/index.js"; +import startOfISOWeekYear from "../startOfISOWeekYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name getISOWeek + * @category ISO Week Helpers + * @summary Get the ISO week of the given date. + * + * @description + * Get the ISO week of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // Which week of the ISO-week numbering year is 2 January 2005? + * const result = getISOWeek(new Date(2005, 0, 2)) + * //=> 53 + */ +export default function getISOWeek(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var diff = startOfISOWeek(date).getTime() - startOfISOWeekYear(date).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISOWeek/index.js.flow b/node_modules/date-fns/esm/getISOWeek/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getISOWeek/package.json b/node_modules/date-fns/esm/getISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISOWeekYear/index.d.ts b/node_modules/date-fns/esm/getISOWeekYear/index.d.ts new file mode 100644 index 000000000..018d0c810 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeekYear } from 'date-fns' +export default getISOWeekYear diff --git a/node_modules/date-fns/esm/getISOWeekYear/index.js b/node_modules/date-fns/esm/getISOWeekYear/index.js new file mode 100644 index 000000000..494af860e --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeekYear/index.js @@ -0,0 +1,43 @@ +import toDate from "../toDate/index.js"; +import startOfISOWeek from "../startOfISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the ISO week-numbering year of the given date. + * + * @description + * Get the ISO week-numbering year of the given date, + * which always starts 3 days before the year's first Thursday. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // Which ISO-week numbering year is 2 January 2005? + * const result = getISOWeekYear(new Date(2005, 0, 2)) + * //=> 2004 + */ +export default function getISOWeekYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0); + var startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear); + var fourthOfJanuaryOfThisYear = new Date(0); + fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0); + var startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISOWeekYear/index.js.flow b/node_modules/date-fns/esm/getISOWeekYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getISOWeekYear/package.json b/node_modules/date-fns/esm/getISOWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISOWeeksInYear/index.d.ts b/node_modules/date-fns/esm/getISOWeeksInYear/index.d.ts new file mode 100644 index 000000000..5d3ee66a0 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeeksInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeeksInYear } from 'date-fns' +export default getISOWeeksInYear diff --git a/node_modules/date-fns/esm/getISOWeeksInYear/index.js b/node_modules/date-fns/esm/getISOWeeksInYear/index.js new file mode 100644 index 000000000..14701fafc --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeeksInYear/index.js @@ -0,0 +1,34 @@ +import startOfISOWeekYear from "../startOfISOWeekYear/index.js"; +import addWeeks from "../addWeeks/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name getISOWeeksInYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of weeks in an ISO week-numbering year of the given date. + * + * @description + * Get the number of weeks in an ISO week-numbering year of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the number of ISO weeks in a year + * @throws {TypeError} 1 argument required + * + * @example + * // How many weeks are in ISO week-numbering year 2015? + * const result = getISOWeeksInYear(new Date(2015, 1, 11)) + * //=> 53 + */ +export default function getISOWeeksInYear(dirtyDate) { + requiredArgs(1, arguments); + var thisYear = startOfISOWeekYear(dirtyDate); + var nextYear = startOfISOWeekYear(addWeeks(thisYear, 60)); + var diff = nextYear.valueOf() - thisYear.valueOf(); + // Round the number of weeks to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getISOWeeksInYear/index.js.flow b/node_modules/date-fns/esm/getISOWeeksInYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeeksInYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getISOWeeksInYear/package.json b/node_modules/date-fns/esm/getISOWeeksInYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getISOWeeksInYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getMilliseconds/index.d.ts b/node_modules/date-fns/esm/getMilliseconds/index.d.ts new file mode 100644 index 000000000..7476168ca --- /dev/null +++ b/node_modules/date-fns/esm/getMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMilliseconds } from 'date-fns' +export default getMilliseconds diff --git a/node_modules/date-fns/esm/getMilliseconds/index.js b/node_modules/date-fns/esm/getMilliseconds/index.js new file mode 100644 index 000000000..0eaca7393 --- /dev/null +++ b/node_modules/date-fns/esm/getMilliseconds/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getMilliseconds + * @category Millisecond Helpers + * @summary Get the milliseconds of the given date. + * + * @description + * Get the milliseconds of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Get the milliseconds of 29 February 2012 11:45:05.123: + * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 123 + */ +export default function getMilliseconds(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var milliseconds = date.getMilliseconds(); + return milliseconds; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getMilliseconds/index.js.flow b/node_modules/date-fns/esm/getMilliseconds/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getMilliseconds/package.json b/node_modules/date-fns/esm/getMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getMinutes/index.d.ts b/node_modules/date-fns/esm/getMinutes/index.d.ts new file mode 100644 index 000000000..e6a92842a --- /dev/null +++ b/node_modules/date-fns/esm/getMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMinutes } from 'date-fns' +export default getMinutes diff --git a/node_modules/date-fns/esm/getMinutes/index.js b/node_modules/date-fns/esm/getMinutes/index.js new file mode 100644 index 000000000..cba243a9b --- /dev/null +++ b/node_modules/date-fns/esm/getMinutes/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ +export default function getMinutes(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var minutes = date.getMinutes(); + return minutes; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getMinutes/index.js.flow b/node_modules/date-fns/esm/getMinutes/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getMinutes/package.json b/node_modules/date-fns/esm/getMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getMonth/index.d.ts b/node_modules/date-fns/esm/getMonth/index.d.ts new file mode 100644 index 000000000..e0b621736 --- /dev/null +++ b/node_modules/date-fns/esm/getMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMonth } from 'date-fns' +export default getMonth diff --git a/node_modules/date-fns/esm/getMonth/index.js b/node_modules/date-fns/esm/getMonth/index.js new file mode 100644 index 000000000..3c9df73d0 --- /dev/null +++ b/node_modules/date-fns/esm/getMonth/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the month + * @throws {TypeError} 1 argument required + * + * @example + * // Which month is 29 February 2012? + * const result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ +export default function getMonth(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var month = date.getMonth(); + return month; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getMonth/index.js.flow b/node_modules/date-fns/esm/getMonth/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getMonth/package.json b/node_modules/date-fns/esm/getMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.d.ts b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.d.ts new file mode 100644 index 000000000..e309ff912 --- /dev/null +++ b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getOverlappingDaysInIntervals } from 'date-fns' +export default getOverlappingDaysInIntervals diff --git a/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js new file mode 100644 index 000000000..b2e009aac --- /dev/null +++ b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js @@ -0,0 +1,58 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_DAY = 24 * 60 * 60 * 1000; + +/** + * @name getOverlappingDaysInIntervals + * @category Interval Helpers + * @summary Get the number of days that overlap in two time intervals + * + * @description + * Get the number of days that overlap in two time intervals + * + * @param {Interval} intervalLeft - the first interval to compare. See [Interval]{@link docs/Interval} + * @param {Interval} intervalRight - the second interval to compare. See [Interval]{@link docs/Interval} + * @returns {Number} the number of days that overlap in two time intervals + * @throws {TypeError} 2 arguments required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For overlapping time intervals adds 1 for each started overlapping day: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> 3 + * + * @example + * // For non-overlapping time intervals returns 0: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> 0 + */ + +export default function getOverlappingDaysInIntervals(dirtyIntervalLeft, dirtyIntervalRight) { + requiredArgs(2, arguments); + var intervalLeft = dirtyIntervalLeft || {}; + var intervalRight = dirtyIntervalRight || {}; + var leftStartTime = toDate(intervalLeft.start).getTime(); + var leftEndTime = toDate(intervalLeft.end).getTime(); + var rightStartTime = toDate(intervalRight.start).getTime(); + var rightEndTime = toDate(intervalRight.end).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(leftStartTime <= leftEndTime && rightStartTime <= rightEndTime)) { + throw new RangeError('Invalid interval'); + } + var isOverlapping = leftStartTime < rightEndTime && rightStartTime < leftEndTime; + if (!isOverlapping) { + return 0; + } + var overlapStartDate = rightStartTime < leftStartTime ? leftStartTime : rightStartTime; + var overlapEndDate = rightEndTime > leftEndTime ? leftEndTime : rightEndTime; + var differenceInMs = overlapEndDate - overlapStartDate; + return Math.ceil(differenceInMs / MILLISECONDS_IN_DAY); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js.flow b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js.flow new file mode 100644 index 000000000..9c0f272ca --- /dev/null +++ b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + intervalLeft: Interval, + intervalRight: Interval +) => number diff --git a/node_modules/date-fns/esm/getOverlappingDaysInIntervals/package.json b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getOverlappingDaysInIntervals/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getQuarter/index.d.ts b/node_modules/date-fns/esm/getQuarter/index.d.ts new file mode 100644 index 000000000..6434ba0bd --- /dev/null +++ b/node_modules/date-fns/esm/getQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getQuarter } from 'date-fns' +export default getQuarter diff --git a/node_modules/date-fns/esm/getQuarter/index.js b/node_modules/date-fns/esm/getQuarter/index.js new file mode 100644 index 000000000..7cfea0f8e --- /dev/null +++ b/node_modules/date-fns/esm/getQuarter/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getQuarter + * @category Quarter Helpers + * @summary Get the year quarter of the given date. + * + * @description + * Get the year quarter of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the quarter + * @throws {TypeError} 1 argument required + * + * @example + * // Which quarter is 2 July 2014? + * const result = getQuarter(new Date(2014, 6, 2)) + * //=> 3 + */ +export default function getQuarter(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var quarter = Math.floor(date.getMonth() / 3) + 1; + return quarter; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getQuarter/index.js.flow b/node_modules/date-fns/esm/getQuarter/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getQuarter/package.json b/node_modules/date-fns/esm/getQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getSeconds/index.d.ts b/node_modules/date-fns/esm/getSeconds/index.d.ts new file mode 100644 index 000000000..7b609441b --- /dev/null +++ b/node_modules/date-fns/esm/getSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getSeconds } from 'date-fns' +export default getSeconds diff --git a/node_modules/date-fns/esm/getSeconds/index.js b/node_modules/date-fns/esm/getSeconds/index.js new file mode 100644 index 000000000..a7612cdd9 --- /dev/null +++ b/node_modules/date-fns/esm/getSeconds/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * const result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ +export default function getSeconds(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var seconds = date.getSeconds(); + return seconds; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getSeconds/index.js.flow b/node_modules/date-fns/esm/getSeconds/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getSeconds/package.json b/node_modules/date-fns/esm/getSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getTime/index.d.ts b/node_modules/date-fns/esm/getTime/index.d.ts new file mode 100644 index 000000000..87c958e6f --- /dev/null +++ b/node_modules/date-fns/esm/getTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getTime } from 'date-fns' +export default getTime diff --git a/node_modules/date-fns/esm/getTime/index.js b/node_modules/date-fns/esm/getTime/index.js new file mode 100644 index 000000000..38e329a73 --- /dev/null +++ b/node_modules/date-fns/esm/getTime/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the timestamp + * @throws {TypeError} 1 argument required + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ +export default function getTime(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var timestamp = date.getTime(); + return timestamp; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getTime/index.js.flow b/node_modules/date-fns/esm/getTime/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getTime/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getTime/package.json b/node_modules/date-fns/esm/getTime/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getTime/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getUnixTime/index.d.ts b/node_modules/date-fns/esm/getUnixTime/index.d.ts new file mode 100644 index 000000000..8f85a122c --- /dev/null +++ b/node_modules/date-fns/esm/getUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getUnixTime } from 'date-fns' +export default getUnixTime diff --git a/node_modules/date-fns/esm/getUnixTime/index.js b/node_modules/date-fns/esm/getUnixTime/index.js new file mode 100644 index 000000000..203739552 --- /dev/null +++ b/node_modules/date-fns/esm/getUnixTime/index.js @@ -0,0 +1,23 @@ +import getTime from "../getTime/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getUnixTime + * @category Timestamp Helpers + * @summary Get the seconds timestamp of the given date. + * + * @description + * Get the seconds timestamp of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the timestamp + * @throws {TypeError} 1 argument required + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05 CET: + * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 1330512305 + */ +export default function getUnixTime(dirtyDate) { + requiredArgs(1, arguments); + return Math.floor(getTime(dirtyDate) / 1000); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getUnixTime/index.js.flow b/node_modules/date-fns/esm/getUnixTime/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getUnixTime/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getUnixTime/package.json b/node_modules/date-fns/esm/getUnixTime/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getUnixTime/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeek/index.d.ts b/node_modules/date-fns/esm/getWeek/index.d.ts new file mode 100644 index 000000000..dfa1327ed --- /dev/null +++ b/node_modules/date-fns/esm/getWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeek } from 'date-fns' +export default getWeek diff --git a/node_modules/date-fns/esm/getWeek/index.js b/node_modules/date-fns/esm/getWeek/index.js new file mode 100644 index 000000000..737458df0 --- /dev/null +++ b/node_modules/date-fns/esm/getWeek/index.js @@ -0,0 +1,55 @@ +import startOfWeek from "../startOfWeek/index.js"; +import startOfWeekYear from "../startOfWeekYear/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name getWeek + * @category Week Helpers + * @summary Get the local week index of the given date. + * + * @description + * Get the local week index of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Number} the week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Which week of the local week numbering year is 2 January 2005 with default options? + * const result = getWeek(new Date(2005, 0, 2)) + * //=> 2 + * + * // Which week of the local week numbering year is 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January? + * const result = getWeek(new Date(2005, 0, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> 53 + */ + +export default function getWeek(dirtyDate, options) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var diff = startOfWeek(date, options).getTime() - startOfWeekYear(date, options).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeek/index.js.flow b/node_modules/date-fns/esm/getWeek/index.js.flow new file mode 100644 index 000000000..2c948ae24 --- /dev/null +++ b/node_modules/date-fns/esm/getWeek/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => number diff --git a/node_modules/date-fns/esm/getWeek/package.json b/node_modules/date-fns/esm/getWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeekOfMonth/index.d.ts b/node_modules/date-fns/esm/getWeekOfMonth/index.d.ts new file mode 100644 index 000000000..781b2add4 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekOfMonth } from 'date-fns' +export default getWeekOfMonth diff --git a/node_modules/date-fns/esm/getWeekOfMonth/index.js b/node_modules/date-fns/esm/getWeekOfMonth/index.js new file mode 100644 index 000000000..7e9f22829 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekOfMonth/index.js @@ -0,0 +1,43 @@ +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +import getDate from "../getDate/index.js"; +import getDay from "../getDay/index.js"; +import startOfMonth from "../startOfMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name getWeekOfMonth + * @category Week Helpers + * @summary Get the week of the month of the given date. + * + * @description + * Get the week of the month of the given date. + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Number} the week of month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 inclusively + * + * @example + * // Which week of the month is 9 November 2017? + * const result = getWeekOfMonth(new Date(2017, 10, 9)) + * //=> 2 + */ +export default function getWeekOfMonth(date, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var currentDayOfMonth = getDate(date); + if (isNaN(currentDayOfMonth)) return NaN; + var startWeekDay = getDay(startOfMonth(date)); + var lastDayOfFirstWeek = weekStartsOn - startWeekDay; + if (lastDayOfFirstWeek <= 0) lastDayOfFirstWeek += 7; + var remainingDaysAfterFirstWeek = currentDayOfMonth - lastDayOfFirstWeek; + return Math.ceil(remainingDaysAfterFirstWeek / 7) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeekOfMonth/index.js.flow b/node_modules/date-fns/esm/getWeekOfMonth/index.js.flow new file mode 100644 index 000000000..1115f28e5 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekOfMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => number diff --git a/node_modules/date-fns/esm/getWeekOfMonth/package.json b/node_modules/date-fns/esm/getWeekOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeekYear/index.d.ts b/node_modules/date-fns/esm/getWeekYear/index.d.ts new file mode 100644 index 000000000..c8fc52890 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekYear } from 'date-fns' +export default getWeekYear diff --git a/node_modules/date-fns/esm/getWeekYear/index.js b/node_modules/date-fns/esm/getWeekYear/index.js new file mode 100644 index 000000000..1d9ac1c95 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekYear/index.js @@ -0,0 +1,72 @@ +import startOfWeek from "../startOfWeek/index.js"; +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +/** + * @name getWeekYear + * @category Week-Numbering Year Helpers + * @summary Get the local week-numbering year of the given date. + * + * @description + * Get the local week-numbering year of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Number} the local week-numbering year + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Which week numbering year is 26 December 2004 with the default settings? + * const result = getWeekYear(new Date(2004, 11, 26)) + * //=> 2005 + * + * @example + * // Which week numbering year is 26 December 2004 if week starts on Saturday? + * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) + * //=> 2004 + * + * @example + * // Which week numbering year is 26 December 2004 if the first week contains 4 January? + * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) + * //=> 2004 + */ +export default function getWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var defaultOptions = getDefaultOptions(); + var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var firstWeekOfNextYear = new Date(0); + firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setHours(0, 0, 0, 0); + var startOfNextYear = startOfWeek(firstWeekOfNextYear, options); + var firstWeekOfThisYear = new Date(0); + firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setHours(0, 0, 0, 0); + var startOfThisYear = startOfWeek(firstWeekOfThisYear, options); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeekYear/index.js.flow b/node_modules/date-fns/esm/getWeekYear/index.js.flow new file mode 100644 index 000000000..2c948ae24 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekYear/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => number diff --git a/node_modules/date-fns/esm/getWeekYear/package.json b/node_modules/date-fns/esm/getWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeeksInMonth/index.d.ts b/node_modules/date-fns/esm/getWeeksInMonth/index.d.ts new file mode 100644 index 000000000..e6ffaaaad --- /dev/null +++ b/node_modules/date-fns/esm/getWeeksInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeeksInMonth } from 'date-fns' +export default getWeeksInMonth diff --git a/node_modules/date-fns/esm/getWeeksInMonth/index.js b/node_modules/date-fns/esm/getWeeksInMonth/index.js new file mode 100644 index 000000000..fcc18ec53 --- /dev/null +++ b/node_modules/date-fns/esm/getWeeksInMonth/index.js @@ -0,0 +1,35 @@ +import differenceInCalendarWeeks from "../differenceInCalendarWeeks/index.js"; +import lastDayOfMonth from "../lastDayOfMonth/index.js"; +import startOfMonth from "../startOfMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getWeeksInMonth + * @category Week Helpers + * @summary Get the number of calendar weeks a month spans. + * + * @description + * Get the number of calendar weeks the month in the given date spans. + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Number} the number of calendar weeks + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // How many calendar weeks does February 2015 span? + * const result = getWeeksInMonth(new Date(2015, 1, 8)) + * //=> 4 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks does July 2017 span? + * const result = getWeeksInMonth(new Date(2017, 6, 5), { weekStartsOn: 1 }) + * //=> 6 + */ +export default function getWeeksInMonth(date, options) { + requiredArgs(1, arguments); + return differenceInCalendarWeeks(lastDayOfMonth(date), startOfMonth(date), options) + 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getWeeksInMonth/index.js.flow b/node_modules/date-fns/esm/getWeeksInMonth/index.js.flow new file mode 100644 index 000000000..1115f28e5 --- /dev/null +++ b/node_modules/date-fns/esm/getWeeksInMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => number diff --git a/node_modules/date-fns/esm/getWeeksInMonth/package.json b/node_modules/date-fns/esm/getWeeksInMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getWeeksInMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getYear/index.d.ts b/node_modules/date-fns/esm/getYear/index.d.ts new file mode 100644 index 000000000..3ef8154a8 --- /dev/null +++ b/node_modules/date-fns/esm/getYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getYear } from 'date-fns' +export default getYear diff --git a/node_modules/date-fns/esm/getYear/index.js b/node_modules/date-fns/esm/getYear/index.js new file mode 100644 index 000000000..736c08d7b --- /dev/null +++ b/node_modules/date-fns/esm/getYear/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the year + * @throws {TypeError} 1 argument required + * + * @example + * // Which year is 2 July 2014? + * const result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ +export default function getYear(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getFullYear(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/getYear/index.js.flow b/node_modules/date-fns/esm/getYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/esm/getYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/esm/getYear/package.json b/node_modules/date-fns/esm/getYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/getYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/hoursToMilliseconds/index.d.ts b/node_modules/date-fns/esm/hoursToMilliseconds/index.d.ts new file mode 100644 index 000000000..ed24a0d66 --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMilliseconds } from 'date-fns' +export default hoursToMilliseconds diff --git a/node_modules/date-fns/esm/hoursToMilliseconds/index.js b/node_modules/date-fns/esm/hoursToMilliseconds/index.js new file mode 100644 index 000000000..5d2443a0c --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMilliseconds/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { millisecondsInHour } from "../constants/index.js"; +/** + * @name hoursToMilliseconds + * @category Conversion Helpers + * @summary Convert hours to milliseconds. + * + * @description + * Convert a number of hours to a full number of milliseconds. + * + * @param {number} hours - number of hours to be converted + * + * @returns {number} the number of hours converted to milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 hours to milliseconds: + * const result = hoursToMilliseconds(2) + * //=> 7200000 + */ +export default function hoursToMilliseconds(hours) { + requiredArgs(1, arguments); + return Math.floor(hours * millisecondsInHour); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/hoursToMilliseconds/index.js.flow b/node_modules/date-fns/esm/hoursToMilliseconds/index.js.flow new file mode 100644 index 000000000..950ac71ee --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (hours: number) => number diff --git a/node_modules/date-fns/esm/hoursToMilliseconds/package.json b/node_modules/date-fns/esm/hoursToMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/hoursToMinutes/index.d.ts b/node_modules/date-fns/esm/hoursToMinutes/index.d.ts new file mode 100644 index 000000000..d0fbbbf46 --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMinutes } from 'date-fns' +export default hoursToMinutes diff --git a/node_modules/date-fns/esm/hoursToMinutes/index.js b/node_modules/date-fns/esm/hoursToMinutes/index.js new file mode 100644 index 000000000..6df703686 --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMinutes/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { minutesInHour } from "../constants/index.js"; +/** + * @name hoursToMinutes + * @category Conversion Helpers + * @summary Convert hours to minutes. + * + * @description + * Convert a number of hours to a full number of minutes. + * + * @param {number} hours - number of hours to be converted + * + * @returns {number} the number of hours converted in minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 hours to minutes: + * const result = hoursToMinutes(2) + * //=> 120 + */ +export default function hoursToMinutes(hours) { + requiredArgs(1, arguments); + return Math.floor(hours * minutesInHour); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/hoursToMinutes/index.js.flow b/node_modules/date-fns/esm/hoursToMinutes/index.js.flow new file mode 100644 index 000000000..950ac71ee --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (hours: number) => number diff --git a/node_modules/date-fns/esm/hoursToMinutes/package.json b/node_modules/date-fns/esm/hoursToMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/hoursToMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/hoursToSeconds/index.d.ts b/node_modules/date-fns/esm/hoursToSeconds/index.d.ts new file mode 100644 index 000000000..8544afb7a --- /dev/null +++ b/node_modules/date-fns/esm/hoursToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToSeconds } from 'date-fns' +export default hoursToSeconds diff --git a/node_modules/date-fns/esm/hoursToSeconds/index.js b/node_modules/date-fns/esm/hoursToSeconds/index.js new file mode 100644 index 000000000..61a12c99c --- /dev/null +++ b/node_modules/date-fns/esm/hoursToSeconds/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { secondsInHour } from "../constants/index.js"; +/** + * @name hoursToSeconds + * @category Conversion Helpers + * @summary Convert hours to seconds. + * + * @description + * Convert a number of hours to a full number of seconds. + * + * @param {number} hours - number of hours to be converted + * + * @returns {number} the number of hours converted in seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 hours to seconds: + * const result = hoursToSeconds(2) + * //=> 7200 + */ +export default function hoursToSeconds(hours) { + requiredArgs(1, arguments); + return Math.floor(hours * secondsInHour); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/hoursToSeconds/index.js.flow b/node_modules/date-fns/esm/hoursToSeconds/index.js.flow new file mode 100644 index 000000000..950ac71ee --- /dev/null +++ b/node_modules/date-fns/esm/hoursToSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (hours: number) => number diff --git a/node_modules/date-fns/esm/hoursToSeconds/package.json b/node_modules/date-fns/esm/hoursToSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/hoursToSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/index.js b/node_modules/date-fns/esm/index.js new file mode 100644 index 000000000..6b43d4482 --- /dev/null +++ b/node_modules/date-fns/esm/index.js @@ -0,0 +1,241 @@ +// This file is generated automatically by `scripts/build/indices.ts`. Please, don't change it. +export { default as add } from "./add/index.js"; +export { default as addBusinessDays } from "./addBusinessDays/index.js"; +export { default as addDays } from "./addDays/index.js"; +export { default as addHours } from "./addHours/index.js"; +export { default as addISOWeekYears } from "./addISOWeekYears/index.js"; +export { default as addMilliseconds } from "./addMilliseconds/index.js"; +export { default as addMinutes } from "./addMinutes/index.js"; +export { default as addMonths } from "./addMonths/index.js"; +export { default as addQuarters } from "./addQuarters/index.js"; +export { default as addSeconds } from "./addSeconds/index.js"; +export { default as addWeeks } from "./addWeeks/index.js"; +export { default as addYears } from "./addYears/index.js"; +export { default as areIntervalsOverlapping } from "./areIntervalsOverlapping/index.js"; +export { default as clamp } from "./clamp/index.js"; +export { default as closestIndexTo } from "./closestIndexTo/index.js"; +export { default as closestTo } from "./closestTo/index.js"; +export { default as compareAsc } from "./compareAsc/index.js"; +export { default as compareDesc } from "./compareDesc/index.js"; +export { default as daysToWeeks } from "./daysToWeeks/index.js"; +export { default as differenceInBusinessDays } from "./differenceInBusinessDays/index.js"; +export { default as differenceInCalendarDays } from "./differenceInCalendarDays/index.js"; +export { default as differenceInCalendarISOWeekYears } from "./differenceInCalendarISOWeekYears/index.js"; +export { default as differenceInCalendarISOWeeks } from "./differenceInCalendarISOWeeks/index.js"; +export { default as differenceInCalendarMonths } from "./differenceInCalendarMonths/index.js"; +export { default as differenceInCalendarQuarters } from "./differenceInCalendarQuarters/index.js"; +export { default as differenceInCalendarWeeks } from "./differenceInCalendarWeeks/index.js"; +export { default as differenceInCalendarYears } from "./differenceInCalendarYears/index.js"; +export { default as differenceInDays } from "./differenceInDays/index.js"; +export { default as differenceInHours } from "./differenceInHours/index.js"; +export { default as differenceInISOWeekYears } from "./differenceInISOWeekYears/index.js"; +export { default as differenceInMilliseconds } from "./differenceInMilliseconds/index.js"; +export { default as differenceInMinutes } from "./differenceInMinutes/index.js"; +export { default as differenceInMonths } from "./differenceInMonths/index.js"; +export { default as differenceInQuarters } from "./differenceInQuarters/index.js"; +export { default as differenceInSeconds } from "./differenceInSeconds/index.js"; +export { default as differenceInWeeks } from "./differenceInWeeks/index.js"; +export { default as differenceInYears } from "./differenceInYears/index.js"; +export { default as eachDayOfInterval } from "./eachDayOfInterval/index.js"; +export { default as eachHourOfInterval } from "./eachHourOfInterval/index.js"; +export { default as eachMinuteOfInterval } from "./eachMinuteOfInterval/index.js"; +export { default as eachMonthOfInterval } from "./eachMonthOfInterval/index.js"; +export { default as eachQuarterOfInterval } from "./eachQuarterOfInterval/index.js"; +export { default as eachWeekOfInterval } from "./eachWeekOfInterval/index.js"; +export { default as eachWeekendOfInterval } from "./eachWeekendOfInterval/index.js"; +export { default as eachWeekendOfMonth } from "./eachWeekendOfMonth/index.js"; +export { default as eachWeekendOfYear } from "./eachWeekendOfYear/index.js"; +export { default as eachYearOfInterval } from "./eachYearOfInterval/index.js"; +export { default as endOfDay } from "./endOfDay/index.js"; +export { default as endOfDecade } from "./endOfDecade/index.js"; +export { default as endOfHour } from "./endOfHour/index.js"; +export { default as endOfISOWeek } from "./endOfISOWeek/index.js"; +export { default as endOfISOWeekYear } from "./endOfISOWeekYear/index.js"; +export { default as endOfMinute } from "./endOfMinute/index.js"; +export { default as endOfMonth } from "./endOfMonth/index.js"; +export { default as endOfQuarter } from "./endOfQuarter/index.js"; +export { default as endOfSecond } from "./endOfSecond/index.js"; +export { default as endOfToday } from "./endOfToday/index.js"; +export { default as endOfTomorrow } from "./endOfTomorrow/index.js"; +export { default as endOfWeek } from "./endOfWeek/index.js"; +export { default as endOfYear } from "./endOfYear/index.js"; +export { default as endOfYesterday } from "./endOfYesterday/index.js"; +export { default as format } from "./format/index.js"; +export { default as formatDistance } from "./formatDistance/index.js"; +export { default as formatDistanceStrict } from "./formatDistanceStrict/index.js"; +export { default as formatDistanceToNow } from "./formatDistanceToNow/index.js"; +export { default as formatDistanceToNowStrict } from "./formatDistanceToNowStrict/index.js"; +export { default as formatDuration } from "./formatDuration/index.js"; +export { default as formatISO } from "./formatISO/index.js"; +export { default as formatISO9075 } from "./formatISO9075/index.js"; +export { default as formatISODuration } from "./formatISODuration/index.js"; +export { default as formatRFC3339 } from "./formatRFC3339/index.js"; +export { default as formatRFC7231 } from "./formatRFC7231/index.js"; +export { default as formatRelative } from "./formatRelative/index.js"; +export { default as fromUnixTime } from "./fromUnixTime/index.js"; +export { default as getDate } from "./getDate/index.js"; +export { default as getDay } from "./getDay/index.js"; +export { default as getDayOfYear } from "./getDayOfYear/index.js"; +export { default as getDaysInMonth } from "./getDaysInMonth/index.js"; +export { default as getDaysInYear } from "./getDaysInYear/index.js"; +export { default as getDecade } from "./getDecade/index.js"; +export { default as getDefaultOptions } from "./getDefaultOptions/index.js"; +export { default as getHours } from "./getHours/index.js"; +export { default as getISODay } from "./getISODay/index.js"; +export { default as getISOWeek } from "./getISOWeek/index.js"; +export { default as getISOWeekYear } from "./getISOWeekYear/index.js"; +export { default as getISOWeeksInYear } from "./getISOWeeksInYear/index.js"; +export { default as getMilliseconds } from "./getMilliseconds/index.js"; +export { default as getMinutes } from "./getMinutes/index.js"; +export { default as getMonth } from "./getMonth/index.js"; +export { default as getOverlappingDaysInIntervals } from "./getOverlappingDaysInIntervals/index.js"; +export { default as getQuarter } from "./getQuarter/index.js"; +export { default as getSeconds } from "./getSeconds/index.js"; +export { default as getTime } from "./getTime/index.js"; +export { default as getUnixTime } from "./getUnixTime/index.js"; +export { default as getWeek } from "./getWeek/index.js"; +export { default as getWeekOfMonth } from "./getWeekOfMonth/index.js"; +export { default as getWeekYear } from "./getWeekYear/index.js"; +export { default as getWeeksInMonth } from "./getWeeksInMonth/index.js"; +export { default as getYear } from "./getYear/index.js"; +export { default as hoursToMilliseconds } from "./hoursToMilliseconds/index.js"; +export { default as hoursToMinutes } from "./hoursToMinutes/index.js"; +export { default as hoursToSeconds } from "./hoursToSeconds/index.js"; +export { default as intervalToDuration } from "./intervalToDuration/index.js"; +export { default as intlFormat } from "./intlFormat/index.js"; +export { default as intlFormatDistance } from "./intlFormatDistance/index.js"; +export { default as isAfter } from "./isAfter/index.js"; +export { default as isBefore } from "./isBefore/index.js"; +export { default as isDate } from "./isDate/index.js"; +export { default as isEqual } from "./isEqual/index.js"; +export { default as isExists } from "./isExists/index.js"; +export { default as isFirstDayOfMonth } from "./isFirstDayOfMonth/index.js"; +export { default as isFriday } from "./isFriday/index.js"; +export { default as isFuture } from "./isFuture/index.js"; +export { default as isLastDayOfMonth } from "./isLastDayOfMonth/index.js"; +export { default as isLeapYear } from "./isLeapYear/index.js"; +export { default as isMatch } from "./isMatch/index.js"; +export { default as isMonday } from "./isMonday/index.js"; +export { default as isPast } from "./isPast/index.js"; +export { default as isSameDay } from "./isSameDay/index.js"; +export { default as isSameHour } from "./isSameHour/index.js"; +export { default as isSameISOWeek } from "./isSameISOWeek/index.js"; +export { default as isSameISOWeekYear } from "./isSameISOWeekYear/index.js"; +export { default as isSameMinute } from "./isSameMinute/index.js"; +export { default as isSameMonth } from "./isSameMonth/index.js"; +export { default as isSameQuarter } from "./isSameQuarter/index.js"; +export { default as isSameSecond } from "./isSameSecond/index.js"; +export { default as isSameWeek } from "./isSameWeek/index.js"; +export { default as isSameYear } from "./isSameYear/index.js"; +export { default as isSaturday } from "./isSaturday/index.js"; +export { default as isSunday } from "./isSunday/index.js"; +export { default as isThisHour } from "./isThisHour/index.js"; +export { default as isThisISOWeek } from "./isThisISOWeek/index.js"; +export { default as isThisMinute } from "./isThisMinute/index.js"; +export { default as isThisMonth } from "./isThisMonth/index.js"; +export { default as isThisQuarter } from "./isThisQuarter/index.js"; +export { default as isThisSecond } from "./isThisSecond/index.js"; +export { default as isThisWeek } from "./isThisWeek/index.js"; +export { default as isThisYear } from "./isThisYear/index.js"; +export { default as isThursday } from "./isThursday/index.js"; +export { default as isToday } from "./isToday/index.js"; +export { default as isTomorrow } from "./isTomorrow/index.js"; +export { default as isTuesday } from "./isTuesday/index.js"; +export { default as isValid } from "./isValid/index.js"; +export { default as isWednesday } from "./isWednesday/index.js"; +export { default as isWeekend } from "./isWeekend/index.js"; +export { default as isWithinInterval } from "./isWithinInterval/index.js"; +export { default as isYesterday } from "./isYesterday/index.js"; +export { default as lastDayOfDecade } from "./lastDayOfDecade/index.js"; +export { default as lastDayOfISOWeek } from "./lastDayOfISOWeek/index.js"; +export { default as lastDayOfISOWeekYear } from "./lastDayOfISOWeekYear/index.js"; +export { default as lastDayOfMonth } from "./lastDayOfMonth/index.js"; +export { default as lastDayOfQuarter } from "./lastDayOfQuarter/index.js"; +export { default as lastDayOfWeek } from "./lastDayOfWeek/index.js"; +export { default as lastDayOfYear } from "./lastDayOfYear/index.js"; +export { default as lightFormat } from "./lightFormat/index.js"; +export { default as max } from "./max/index.js"; +export { default as milliseconds } from "./milliseconds/index.js"; +export { default as millisecondsToHours } from "./millisecondsToHours/index.js"; +export { default as millisecondsToMinutes } from "./millisecondsToMinutes/index.js"; +export { default as millisecondsToSeconds } from "./millisecondsToSeconds/index.js"; +export { default as min } from "./min/index.js"; +export { default as minutesToHours } from "./minutesToHours/index.js"; +export { default as minutesToMilliseconds } from "./minutesToMilliseconds/index.js"; +export { default as minutesToSeconds } from "./minutesToSeconds/index.js"; +export { default as monthsToQuarters } from "./monthsToQuarters/index.js"; +export { default as monthsToYears } from "./monthsToYears/index.js"; +export { default as nextDay } from "./nextDay/index.js"; +export { default as nextFriday } from "./nextFriday/index.js"; +export { default as nextMonday } from "./nextMonday/index.js"; +export { default as nextSaturday } from "./nextSaturday/index.js"; +export { default as nextSunday } from "./nextSunday/index.js"; +export { default as nextThursday } from "./nextThursday/index.js"; +export { default as nextTuesday } from "./nextTuesday/index.js"; +export { default as nextWednesday } from "./nextWednesday/index.js"; +export { default as parse } from "./parse/index.js"; +export { default as parseISO } from "./parseISO/index.js"; +export { default as parseJSON } from "./parseJSON/index.js"; +export { default as previousDay } from "./previousDay/index.js"; +export { default as previousFriday } from "./previousFriday/index.js"; +export { default as previousMonday } from "./previousMonday/index.js"; +export { default as previousSaturday } from "./previousSaturday/index.js"; +export { default as previousSunday } from "./previousSunday/index.js"; +export { default as previousThursday } from "./previousThursday/index.js"; +export { default as previousTuesday } from "./previousTuesday/index.js"; +export { default as previousWednesday } from "./previousWednesday/index.js"; +export { default as quartersToMonths } from "./quartersToMonths/index.js"; +export { default as quartersToYears } from "./quartersToYears/index.js"; +export { default as roundToNearestMinutes } from "./roundToNearestMinutes/index.js"; +export { default as secondsToHours } from "./secondsToHours/index.js"; +export { default as secondsToMilliseconds } from "./secondsToMilliseconds/index.js"; +export { default as secondsToMinutes } from "./secondsToMinutes/index.js"; +export { default as set } from "./set/index.js"; +export { default as setDate } from "./setDate/index.js"; +export { default as setDay } from "./setDay/index.js"; +export { default as setDayOfYear } from "./setDayOfYear/index.js"; +export { default as setDefaultOptions } from "./setDefaultOptions/index.js"; +export { default as setHours } from "./setHours/index.js"; +export { default as setISODay } from "./setISODay/index.js"; +export { default as setISOWeek } from "./setISOWeek/index.js"; +export { default as setISOWeekYear } from "./setISOWeekYear/index.js"; +export { default as setMilliseconds } from "./setMilliseconds/index.js"; +export { default as setMinutes } from "./setMinutes/index.js"; +export { default as setMonth } from "./setMonth/index.js"; +export { default as setQuarter } from "./setQuarter/index.js"; +export { default as setSeconds } from "./setSeconds/index.js"; +export { default as setWeek } from "./setWeek/index.js"; +export { default as setWeekYear } from "./setWeekYear/index.js"; +export { default as setYear } from "./setYear/index.js"; +export { default as startOfDay } from "./startOfDay/index.js"; +export { default as startOfDecade } from "./startOfDecade/index.js"; +export { default as startOfHour } from "./startOfHour/index.js"; +export { default as startOfISOWeek } from "./startOfISOWeek/index.js"; +export { default as startOfISOWeekYear } from "./startOfISOWeekYear/index.js"; +export { default as startOfMinute } from "./startOfMinute/index.js"; +export { default as startOfMonth } from "./startOfMonth/index.js"; +export { default as startOfQuarter } from "./startOfQuarter/index.js"; +export { default as startOfSecond } from "./startOfSecond/index.js"; +export { default as startOfToday } from "./startOfToday/index.js"; +export { default as startOfTomorrow } from "./startOfTomorrow/index.js"; +export { default as startOfWeek } from "./startOfWeek/index.js"; +export { default as startOfWeekYear } from "./startOfWeekYear/index.js"; +export { default as startOfYear } from "./startOfYear/index.js"; +export { default as startOfYesterday } from "./startOfYesterday/index.js"; +export { default as sub } from "./sub/index.js"; +export { default as subBusinessDays } from "./subBusinessDays/index.js"; +export { default as subDays } from "./subDays/index.js"; +export { default as subHours } from "./subHours/index.js"; +export { default as subISOWeekYears } from "./subISOWeekYears/index.js"; +export { default as subMilliseconds } from "./subMilliseconds/index.js"; +export { default as subMinutes } from "./subMinutes/index.js"; +export { default as subMonths } from "./subMonths/index.js"; +export { default as subQuarters } from "./subQuarters/index.js"; +export { default as subSeconds } from "./subSeconds/index.js"; +export { default as subWeeks } from "./subWeeks/index.js"; +export { default as subYears } from "./subYears/index.js"; +export { default as toDate } from "./toDate/index.js"; +export { default as weeksToDays } from "./weeksToDays/index.js"; +export { default as yearsToMonths } from "./yearsToMonths/index.js"; +export { default as yearsToQuarters } from "./yearsToQuarters/index.js"; +export * from "./constants/index.js"; \ No newline at end of file diff --git a/node_modules/date-fns/esm/index.js.flow b/node_modules/date-fns/esm/index.js.flow new file mode 100644 index 000000000..b9cfcbf35 --- /dev/null +++ b/node_modules/date-fns/esm/index.js.flow @@ -0,0 +1,926 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: { + add: (date: Date | number, duration: Duration) => Date, + + addBusinessDays: (date: Date | number, amount: number) => Date, + + addDays: (date: Date | number, amount: number) => Date, + + addHours: (date: Date | number, amount: number) => Date, + + addISOWeekYears: (date: Date | number, amount: number) => Date, + + addMilliseconds: (date: Date | number, amount: number) => Date, + + addMinutes: (date: Date | number, amount: number) => Date, + + addMonths: (date: Date | number, amount: number) => Date, + + addQuarters: (date: Date | number, amount: number) => Date, + + addSeconds: (date: Date | number, amount: number) => Date, + + addWeeks: (date: Date | number, amount: number) => Date, + + addYears: (date: Date | number, amount: number) => Date, + + areIntervalsOverlapping: ( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean, + } + ) => boolean, + + clamp: (date: Date | number, interval: Interval) => Date, + + closestIndexTo: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ) => ?number, + + closestTo: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ) => ?Date, + + compareAsc: (dateLeft: Date | number, dateRight: Date | number) => number, + + compareDesc: (dateLeft: Date | number, dateRight: Date | number) => number, + + daysToWeeks: (days: number) => number, + + differenceInBusinessDays: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarDays: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarISOWeeks: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarISOWeekYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarMonths: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarQuarters: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarWeeks: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => number, + + differenceInCalendarYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInDays: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInHours: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInISOWeekYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInMilliseconds: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInMinutes: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInMonths: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInQuarters: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInSeconds: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInWeeks: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + eachDayOfInterval: ( + interval: Interval, + options?: { + step?: number, + } + ) => Date[], + + eachHourOfInterval: ( + interval: Interval, + options?: { + step?: number, + } + ) => Date[], + + eachMinuteOfInterval: ( + interval: Interval, + options?: { + step?: number, + } + ) => Date[], + + eachMonthOfInterval: (interval: Interval) => Date[], + + eachQuarterOfInterval: (interval: Interval) => Date[], + + eachWeekendOfInterval: (interval: Interval) => Date[], + + eachWeekendOfMonth: (date: Date | number) => Date[], + + eachWeekendOfYear: (date: Date | number) => Date[], + + eachWeekOfInterval: ( + interval: Interval, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date[], + + eachYearOfInterval: (interval: Interval) => Date[], + + endOfDay: (date: Date | number) => Date, + + endOfDecade: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } + ) => Date, + + endOfHour: (date: Date | number) => Date, + + endOfISOWeek: (date: Date | number) => Date, + + endOfISOWeekYear: (date: Date | number) => Date, + + endOfMinute: (date: Date | number) => Date, + + endOfMonth: (date: Date | number) => Date, + + endOfQuarter: (date: Date | number) => Date, + + endOfSecond: (date: Date | number) => Date, + + endOfToday: () => Date, + + endOfTomorrow: () => Date, + + endOfWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + endOfYear: (date: Date | number) => Date, + + endOfYesterday: () => Date, + + format: ( + date: Date | number, + format: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: number, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } + ) => string, + + formatDistance: ( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } + ) => string, + + formatDistanceStrict: ( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } + ) => string, + + formatDistanceToNow: ( + date: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } + ) => string, + + formatDistanceToNowStrict: ( + date: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } + ) => string, + + formatDuration: ( + duration: Duration, + options?: { + format?: string[], + zero?: boolean, + delimiter?: string, + locale?: Locale, + } + ) => string, + + formatISO: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } + ) => string, + + formatISO9075: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } + ) => string, + + formatISODuration: (duration: Duration) => string, + + formatRelative: ( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => string, + + formatRFC3339: ( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3, + } + ) => string, + + formatRFC7231: (date: Date | number) => string, + + fromUnixTime: (unixTime: number) => Date, + + getDate: (date: Date | number) => number, + + getDay: (date: Date | number) => 0 | 1 | 2 | 3 | 4 | 5 | 6, + + getDayOfYear: (date: Date | number) => number, + + getDaysInMonth: (date: Date | number) => number, + + getDaysInYear: (date: Date | number) => number, + + getDecade: (date: Date | number) => number, + + getDefaultOptions: () => Object, + + getHours: (date: Date | number) => number, + + getISODay: (date: Date | number) => number, + + getISOWeek: (date: Date | number) => number, + + getISOWeeksInYear: (date: Date | number) => number, + + getISOWeekYear: (date: Date | number) => number, + + getMilliseconds: (date: Date | number) => number, + + getMinutes: (date: Date | number) => number, + + getMonth: (date: Date | number) => number, + + getOverlappingDaysInIntervals: ( + intervalLeft: Interval, + intervalRight: Interval + ) => number, + + getQuarter: (date: Date | number) => number, + + getSeconds: (date: Date | number) => number, + + getTime: (date: Date | number) => number, + + getUnixTime: (date: Date | number) => number, + + getWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => number, + + getWeekOfMonth: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => number, + + getWeeksInMonth: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => number, + + getWeekYear: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => number, + + getYear: (date: Date | number) => number, + + hoursToMilliseconds: (hours: number) => number, + + hoursToMinutes: (hours: number) => number, + + hoursToSeconds: (hours: number) => number, + + intervalToDuration: (interval: Interval) => Duration, + + intlFormat: ( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit', + weekday?: 'narrow' | 'short' | 'long', + era?: 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + day?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + second?: 'numeric' | '2-digit', + timeZoneName?: 'short' | 'long', + formatMatcher?: 'basic' | 'best fit', + hour12?: boolean, + timeZone?: string, + }, + localeOptions?: { + locale?: string | string[], + } + ) => string, + + intlFormatDistance: ( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string, + locale?: string | string[], + localeMatcher?: string, + numeric?: string, + style?: string, + } + ) => string, + + isAfter: (date: Date | number, dateToCompare: Date | number) => boolean, + + isBefore: (date: Date | number, dateToCompare: Date | number) => boolean, + + isDate: (value: any) => boolean, + + isEqual: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isExists: (year: number, month: number, day: number) => boolean, + + isFirstDayOfMonth: (date: Date | number) => boolean, + + isFriday: (date: Date | number) => boolean, + + isFuture: (date: Date | number) => boolean, + + isLastDayOfMonth: (date: Date | number) => boolean, + + isLeapYear: (date: Date | number) => boolean, + + isMatch: ( + dateString: string, + formatString: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } + ) => boolean, + + isMonday: (date: Date | number) => boolean, + + isPast: (date: Date | number) => boolean, + + isSameDay: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameHour: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameISOWeek: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameISOWeekYear: ( + dateLeft: Date | number, + dateRight: Date | number + ) => boolean, + + isSameMinute: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameMonth: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameQuarter: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameSecond: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameWeek: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => boolean, + + isSameYear: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSaturday: (date: Date | number) => boolean, + + isSunday: (date: Date | number) => boolean, + + isThisHour: (date: Date | number) => boolean, + + isThisISOWeek: (date: Date | number) => boolean, + + isThisMinute: (date: Date | number) => boolean, + + isThisMonth: (date: Date | number) => boolean, + + isThisQuarter: (date: Date | number) => boolean, + + isThisSecond: (date: Date | number) => boolean, + + isThisWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => boolean, + + isThisYear: (date: Date | number) => boolean, + + isThursday: (date: Date | number) => boolean, + + isToday: (date: Date | number) => boolean, + + isTomorrow: (date: Date | number) => boolean, + + isTuesday: (date: Date | number) => boolean, + + isValid: (date: any) => boolean, + + isWednesday: (date: Date | number) => boolean, + + isWeekend: (date: Date | number) => boolean, + + isWithinInterval: (date: Date | number, interval: Interval) => boolean, + + isYesterday: (date: Date | number) => boolean, + + lastDayOfDecade: (date: Date | number) => Date, + + lastDayOfISOWeek: (date: Date | number) => Date, + + lastDayOfISOWeekYear: (date: Date | number) => Date, + + lastDayOfMonth: (date: Date | number) => Date, + + lastDayOfQuarter: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } + ) => Date, + + lastDayOfWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + lastDayOfYear: (date: Date | number) => Date, + + lightFormat: (date: Date | number, format: string) => string, + + max: (datesArray: (Date | number)[]) => Date, + + milliseconds: (duration: Duration) => number, + + millisecondsToHours: (milliseconds: number) => number, + + millisecondsToMinutes: (milliseconds: number) => number, + + millisecondsToSeconds: (milliseconds: number) => number, + + min: (datesArray: (Date | number)[]) => Date, + + minutesToHours: (minutes: number) => number, + + minutesToMilliseconds: (minutes: number) => number, + + minutesToSeconds: (minutes: number) => number, + + monthsToQuarters: (months: number) => number, + + monthsToYears: (months: number) => number, + + nextDay: (date: Date | number, day: Day) => Date, + + nextFriday: (date: Date | number) => Date, + + nextMonday: (date: Date | number) => Date, + + nextSaturday: (date: Date | number) => Date, + + nextSunday: (date: Date | number) => Date, + + nextThursday: (date: Date | number) => Date, + + nextTuesday: (date: Date | number) => Date, + + nextWednesday: (date: Date | number) => Date, + + parse: ( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } + ) => Date, + + parseISO: ( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2, + } + ) => Date, + + parseJSON: (argument: string | number | Date) => Date, + + previousDay: (date: Date | number, day: number) => Date, + + previousFriday: (date: Date | number) => Date, + + previousMonday: (date: Date | number) => Date, + + previousSaturday: (date: Date | number) => Date, + + previousSunday: (date: Date | number) => Date, + + previousThursday: (date: Date | number) => Date, + + previousTuesday: (date: Date | number) => Date, + + previousWednesday: (date: Date | number) => Date, + + quartersToMonths: (quarters: number) => number, + + quartersToYears: (quarters: number) => number, + + roundToNearestMinutes: ( + date: Date | number, + options?: { + nearestTo?: number, + roundingMethod?: string, + } + ) => Date, + + secondsToHours: (seconds: number) => number, + + secondsToMilliseconds: (seconds: number) => number, + + secondsToMinutes: (seconds: number) => number, + + set: ( + date: Date | number, + values: { + year?: number, + month?: number, + date?: number, + hours?: number, + minutes?: number, + seconds?: number, + milliseconds?: number, + } + ) => Date, + + setDate: (date: Date | number, dayOfMonth: number) => Date, + + setDay: ( + date: Date | number, + day: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + setDayOfYear: (date: Date | number, dayOfYear: number) => Date, + + setDefaultOptions: (newOptions: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }) => void, + + setHours: (date: Date | number, hours: number) => Date, + + setISODay: (date: Date | number, day: number) => Date, + + setISOWeek: (date: Date | number, isoWeek: number) => Date, + + setISOWeekYear: (date: Date | number, isoWeekYear: number) => Date, + + setMilliseconds: (date: Date | number, milliseconds: number) => Date, + + setMinutes: (date: Date | number, minutes: number) => Date, + + setMonth: (date: Date | number, month: number) => Date, + + setQuarter: (date: Date | number, quarter: number) => Date, + + setSeconds: (date: Date | number, seconds: number) => Date, + + setWeek: ( + date: Date | number, + week: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => Date, + + setWeekYear: ( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => Date, + + setYear: (date: Date | number, year: number) => Date, + + startOfDay: (date: Date | number) => Date, + + startOfDecade: (date: Date | number) => Date, + + startOfHour: (date: Date | number) => Date, + + startOfISOWeek: (date: Date | number) => Date, + + startOfISOWeekYear: (date: Date | number) => Date, + + startOfMinute: (date: Date | number) => Date, + + startOfMonth: (date: Date | number) => Date, + + startOfQuarter: (date: Date | number) => Date, + + startOfSecond: (date: Date | number) => Date, + + startOfToday: () => Date, + + startOfTomorrow: () => Date, + + startOfWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + startOfWeekYear: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => Date, + + startOfYear: (date: Date | number) => Date, + + startOfYesterday: () => Date, + + sub: (date: Date | number, duration: Duration) => Date, + + subBusinessDays: (date: Date | number, amount: number) => Date, + + subDays: (date: Date | number, amount: number) => Date, + + subHours: (date: Date | number, amount: number) => Date, + + subISOWeekYears: (date: Date | number, amount: number) => Date, + + subMilliseconds: (date: Date | number, amount: number) => Date, + + subMinutes: (date: Date | number, amount: number) => Date, + + subMonths: (date: Date | number, amount: number) => Date, + + subQuarters: (date: Date | number, amount: number) => Date, + + subSeconds: (date: Date | number, amount: number) => Date, + + subWeeks: (date: Date | number, amount: number) => Date, + + subYears: (date: Date | number, amount: number) => Date, + + toDate: (argument: Date | number) => Date, + + weeksToDays: (weeks: number) => number, + + yearsToMonths: (years: number) => number, + + yearsToQuarters: (years: number) => number, + + daysInWeek: number, + + daysInYear: number, + + maxTime: number, + + millisecondsInMinute: number, + + millisecondsInHour: number, + + millisecondsInSecond: number, + + minTime: number, + + minutesInHour: number, + + monthsInQuarter: number, + + monthsInYear: number, + + quartersInYear: number, + + secondsInHour: number, + + secondsInMinute: number, + + secondsInDay: number, + + secondsInWeek: number, + + secondsInYear: number, + + secondsInMonth: number, + + secondsInQuarter: number, +} diff --git a/node_modules/date-fns/esm/intervalToDuration/index.d.ts b/node_modules/date-fns/esm/intervalToDuration/index.d.ts new file mode 100644 index 000000000..ce7bc762d --- /dev/null +++ b/node_modules/date-fns/esm/intervalToDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intervalToDuration } from 'date-fns' +export default intervalToDuration diff --git a/node_modules/date-fns/esm/intervalToDuration/index.js b/node_modules/date-fns/esm/intervalToDuration/index.js new file mode 100644 index 000000000..410ebe170 --- /dev/null +++ b/node_modules/date-fns/esm/intervalToDuration/index.js @@ -0,0 +1,64 @@ +import compareAsc from "../compareAsc/index.js"; +import add from "../add/index.js"; +import differenceInDays from "../differenceInDays/index.js"; +import differenceInHours from "../differenceInHours/index.js"; +import differenceInMinutes from "../differenceInMinutes/index.js"; +import differenceInMonths from "../differenceInMonths/index.js"; +import differenceInSeconds from "../differenceInSeconds/index.js"; +import differenceInYears from "../differenceInYears/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name intervalToDuration + * @category Common Helpers + * @summary Convert interval to duration + * + * @description + * Convert a interval object to a duration object. + * + * @param {Interval} interval - the interval to convert to duration + * + * @returns {Duration} The duration Object + * @throws {TypeError} Requires 2 arguments + * @throws {RangeError} `start` must not be Invalid Date + * @throws {RangeError} `end` must not be Invalid Date + * + * @example + * // Get the duration between January 15, 1929 and April 4, 1968. + * intervalToDuration({ + * start: new Date(1929, 0, 15, 12, 0, 0), + * end: new Date(1968, 3, 4, 19, 5, 0) + * }) + * // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 } + */ +export default function intervalToDuration(interval) { + requiredArgs(1, arguments); + var start = toDate(interval.start); + var end = toDate(interval.end); + if (isNaN(start.getTime())) throw new RangeError('Start Date is invalid'); + if (isNaN(end.getTime())) throw new RangeError('End Date is invalid'); + var duration = {}; + duration.years = Math.abs(differenceInYears(end, start)); + var sign = compareAsc(end, start); + var remainingMonths = add(start, { + years: sign * duration.years + }); + duration.months = Math.abs(differenceInMonths(end, remainingMonths)); + var remainingDays = add(remainingMonths, { + months: sign * duration.months + }); + duration.days = Math.abs(differenceInDays(end, remainingDays)); + var remainingHours = add(remainingDays, { + days: sign * duration.days + }); + duration.hours = Math.abs(differenceInHours(end, remainingHours)); + var remainingMinutes = add(remainingHours, { + hours: sign * duration.hours + }); + duration.minutes = Math.abs(differenceInMinutes(end, remainingMinutes)); + var remainingSeconds = add(remainingMinutes, { + minutes: sign * duration.minutes + }); + duration.seconds = Math.abs(differenceInSeconds(end, remainingSeconds)); + return duration; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/intervalToDuration/index.js.flow b/node_modules/date-fns/esm/intervalToDuration/index.js.flow new file mode 100644 index 000000000..dbd61eec2 --- /dev/null +++ b/node_modules/date-fns/esm/intervalToDuration/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Duration diff --git a/node_modules/date-fns/esm/intervalToDuration/package.json b/node_modules/date-fns/esm/intervalToDuration/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/intervalToDuration/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/intlFormat/index.d.ts b/node_modules/date-fns/esm/intlFormat/index.d.ts new file mode 100644 index 000000000..fc29cf582 --- /dev/null +++ b/node_modules/date-fns/esm/intlFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormat } from 'date-fns' +export default intlFormat diff --git a/node_modules/date-fns/esm/intlFormat/index.js b/node_modules/date-fns/esm/intlFormat/index.js new file mode 100644 index 000000000..7fa479461 --- /dev/null +++ b/node_modules/date-fns/esm/intlFormat/index.js @@ -0,0 +1,85 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name intlFormat + * @category Common Helpers + * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). + * + * @description + * Return the formatted date string in the given format. + * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. + * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) + * + * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. + * + * @param {Date|Number} argument - the original date. + * @param {Object} [formatOptions] - an object with options. + * @param {'lookup'|'best fit'} [formatOptions.localeMatcher='best fit'] - locale selection algorithm. + * @param {'narrow'|'short'|'long'} [formatOptions.weekday] - representation the days of the week. + * @param {'narrow'|'short'|'long'} [formatOptions.era] - representation of eras. + * @param {'numeric'|'2-digit'} [formatOptions.year] - representation of years. + * @param {'numeric'|'2-digit'|'narrow'|'short'|'long'} [formatOptions.month='numeric'] - representation of month. + * @param {'numeric'|'2-digit'} [formatOptions.day='numeric'] - representation of day. + * @param {'numeric'|'2-digit'} [formatOptions.hour='numeric'] - representation of hours. + * @param {'numeric'|'2-digit'} [formatOptions.minute] - representation of minutes. + * @param {'numeric'|'2-digit'} [formatOptions.second] - representation of seconds. + * @param {'short'|'long'} [formatOptions.timeZoneName] - representation of names of time zones. + * @param {'basic'|'best fit'} [formatOptions.formatMatcher='best fit'] - format selection algorithm. + * @param {Boolean} [formatOptions.hour12] - determines whether to use 12-hour time format. + * @param {String} [formatOptions.timeZone] - the time zone to use. + * @param {Object} [localeOptions] - an object with locale. + * @param {String|String[]} [localeOptions.locale] - the locale code + * @returns {String} the formatted date string. + * @throws {TypeError} 1 argument required. + * @throws {RangeError} `date` must not be Invalid Date + * + * @example + * // Represent 10 October 2019 in German. + * // Convert the date with format's options and locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * weekday: 'long', + * year: 'numeric', + * month: 'long', + * day: 'numeric', + * }, { + * locale: 'de-DE', + * }) + * //=> Freitag, 4. Oktober 2019 + * + * @example + * // Represent 10 October 2019. + * // Convert the date with format's options. + * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { + * year: 'numeric', + * month: 'numeric', + * day: 'numeric', + * hour: 'numeric', + * }) + * //=> 10/4/2019, 12 PM + * + * @example + * // Represent 10 October 2019 in Korean. + * // Convert the date with locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * locale: 'ko-KR', + * }) + * //=> 2019. 10. 4. + * + * @example + * // Represent 10 October 2019 in middle-endian format: + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) + * //=> 10/4/2019 + */ +export default function intlFormat(date, formatOrLocale, localeOptions) { + var _localeOptions; + requiredArgs(1, arguments); + var formatOptions; + if (isFormatOptions(formatOrLocale)) { + formatOptions = formatOrLocale; + } else { + localeOptions = formatOrLocale; + } + return new Intl.DateTimeFormat((_localeOptions = localeOptions) === null || _localeOptions === void 0 ? void 0 : _localeOptions.locale, formatOptions).format(date); +} +function isFormatOptions(opts) { + return opts !== undefined && !('locale' in opts); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/intlFormat/index.js.flow b/node_modules/date-fns/esm/intlFormat/index.js.flow new file mode 100644 index 000000000..adc0bb4fd --- /dev/null +++ b/node_modules/date-fns/esm/intlFormat/index.js.flow @@ -0,0 +1,72 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit', + weekday?: 'narrow' | 'short' | 'long', + era?: 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + day?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + second?: 'numeric' | '2-digit', + timeZoneName?: 'short' | 'long', + formatMatcher?: 'basic' | 'best fit', + hour12?: boolean, + timeZone?: string, + }, + localeOptions?: { + locale?: string | string[], + } +) => string diff --git a/node_modules/date-fns/esm/intlFormat/package.json b/node_modules/date-fns/esm/intlFormat/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/intlFormat/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/intlFormatDistance/index.d.ts b/node_modules/date-fns/esm/intlFormatDistance/index.d.ts new file mode 100644 index 000000000..fe2e15cf6 --- /dev/null +++ b/node_modules/date-fns/esm/intlFormatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormatDistance } from 'date-fns' +export default intlFormatDistance diff --git a/node_modules/date-fns/esm/intlFormatDistance/index.js b/node_modules/date-fns/esm/intlFormatDistance/index.js new file mode 100644 index 000000000..129a10154 --- /dev/null +++ b/node_modules/date-fns/esm/intlFormatDistance/index.js @@ -0,0 +1,180 @@ +import { secondsInDay, secondsInHour, secondsInMinute, secondsInMonth, secondsInQuarter, secondsInWeek, secondsInYear } from "../constants/index.js"; +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import differenceInCalendarMonths from "../differenceInCalendarMonths/index.js"; +import differenceInCalendarQuarters from "../differenceInCalendarQuarters/index.js"; +import differenceInCalendarWeeks from "../differenceInCalendarWeeks/index.js"; +import differenceInCalendarYears from "../differenceInCalendarYears/index.js"; +import differenceInHours from "../differenceInHours/index.js"; +import differenceInMinutes from "../differenceInMinutes/index.js"; +import differenceInSeconds from "../differenceInSeconds/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name intlFormatDistance + * @category Common Helpers + * @summary Formats distance between two dates in a human-readable format + * @description + * The function calculates the difference between two dates and formats it as a human-readable string. + * + * The function will pick the most appropriate unit depending on the distance between dates. For example, if the distance is a few hours, it might return `x hours`. If the distance is a few months, it might return `x months`. + * + * You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`. + * + * See the table below for the unit picking logic: + * + * | Distance between dates | Result (past) | Result (future) | + * | ---------------------- | -------------- | --------------- | + * | 0 seconds | now | now | + * | 1-59 seconds | X seconds ago | in X seconds | + * | 1-59 minutes | X minutes ago | in X minutes | + * | 1-23 hours | X hours ago | in X hours | + * | 1 day | yesterday | tomorrow | + * | 2-6 days | X days ago | in X days | + * | 7 days | last week | next week | + * | 8 days-1 month | X weeks ago | in X weeks | + * | 1 month | last month | next month | + * | 2-3 months | X months ago | in X months | + * | 1 quarter | last quarter | next quarter | + * | 2-3 quarters | X quarters ago | in X quarters | + * | 1 year | last year | next year | + * | 2+ years | X years ago | in X years | + * + * @param {Date|Number} date - the date + * @param {Date|Number} baseDate - the date to compare with. + * @param {Object} [options] - an object with options. + * @param {String} [options.unit] - formats the distance with the given unit ('year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second'). + * @param {String|String[]} [options.locale] - the locale to use. + * @param {String} [options.localeMatcher='best fit'] - the locale matching algorithm to use. Other value: 'lookup'. + * See MDN for details [Locale identification and negotiation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * @param {String} [options.numeric='auto'] - the output message format. The values are 'auto' (e.g. `yesterday`), 'always'(e.g. `1 day ago`). + * @param {String} [options.style='long'] - the length of the result. The values are: 'long' (e.g. `1 month`), 'short' (e.g. 'in 1 mo.'), 'narrow' (e.g. 'in 1 mo.'). + * The narrow one could be similar to the short one for some locales. + * @returns {String} the distance in words according to language-sensitive relative time formatting. + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.unit` must not be invalid Unit + * @throws {RangeError} `options.locale` must not be invalid locale + * @throws {RangeError} `options.localeMatcher` must not be invalid localeMatcher + * @throws {RangeError} `options.numeric` must not be invalid numeric + * @throws {RangeError} `options.style` must not be invalid style + * + * @example + * // What is the distance between the dates when the fist date is after the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0) + * ) + * //=> 'in 1 hour' + * + * // What is the distance between the dates when the fist date is before the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 10, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0) + * ) + * //=> '1 hour ago' + * + * @example + * // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year" + * intlFormatDistance( + * new Date(1987, 6, 4, 10, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { unit: 'quarter' } + * ) + * //=> 'in 5 quarters' + * + * @example + * // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour". + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { locale: 'es' } + * ) + * //=> 'dentro de 1 hora' + * + * @example + * // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow". + * intlFormatDistance( + * new Date(1986, 3, 5, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { numeric: 'always' } + * ) + * //=> 'in 1 day' + * + * @example + * // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years". + * intlFormatDistance( + * new Date(1988, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { style: 'short' } + * ) + * //=> 'in 2 yr' + */ +export default function intlFormatDistance(date, baseDate, options) { + requiredArgs(2, arguments); + var value = 0; + var unit; + var dateLeft = toDate(date); + var dateRight = toDate(baseDate); + if (!(options !== null && options !== void 0 && options.unit)) { + // Get the unit based on diffInSeconds calculations if no unit is specified + var diffInSeconds = differenceInSeconds(dateLeft, dateRight); // The smallest unit + + if (Math.abs(diffInSeconds) < secondsInMinute) { + value = differenceInSeconds(dateLeft, dateRight); + unit = 'second'; + } else if (Math.abs(diffInSeconds) < secondsInHour) { + value = differenceInMinutes(dateLeft, dateRight); + unit = 'minute'; + } else if (Math.abs(diffInSeconds) < secondsInDay && Math.abs(differenceInCalendarDays(dateLeft, dateRight)) < 1) { + value = differenceInHours(dateLeft, dateRight); + unit = 'hour'; + } else if (Math.abs(diffInSeconds) < secondsInWeek && (value = differenceInCalendarDays(dateLeft, dateRight)) && Math.abs(value) < 7) { + unit = 'day'; + } else if (Math.abs(diffInSeconds) < secondsInMonth) { + value = differenceInCalendarWeeks(dateLeft, dateRight); + unit = 'week'; + } else if (Math.abs(diffInSeconds) < secondsInQuarter) { + value = differenceInCalendarMonths(dateLeft, dateRight); + unit = 'month'; + } else if (Math.abs(diffInSeconds) < secondsInYear) { + if (differenceInCalendarQuarters(dateLeft, dateRight) < 4) { + // To filter out cases that are less than a year but match 4 quarters + value = differenceInCalendarQuarters(dateLeft, dateRight); + unit = 'quarter'; + } else { + value = differenceInCalendarYears(dateLeft, dateRight); + unit = 'year'; + } + } else { + value = differenceInCalendarYears(dateLeft, dateRight); + unit = 'year'; + } + } else { + // Get the value if unit is specified + unit = options === null || options === void 0 ? void 0 : options.unit; + if (unit === 'second') { + value = differenceInSeconds(dateLeft, dateRight); + } else if (unit === 'minute') { + value = differenceInMinutes(dateLeft, dateRight); + } else if (unit === 'hour') { + value = differenceInHours(dateLeft, dateRight); + } else if (unit === 'day') { + value = differenceInCalendarDays(dateLeft, dateRight); + } else if (unit === 'week') { + value = differenceInCalendarWeeks(dateLeft, dateRight); + } else if (unit === 'month') { + value = differenceInCalendarMonths(dateLeft, dateRight); + } else if (unit === 'quarter') { + value = differenceInCalendarQuarters(dateLeft, dateRight); + } else if (unit === 'year') { + value = differenceInCalendarYears(dateLeft, dateRight); + } + } + var rtf = new Intl.RelativeTimeFormat(options === null || options === void 0 ? void 0 : options.locale, { + localeMatcher: options === null || options === void 0 ? void 0 : options.localeMatcher, + numeric: (options === null || options === void 0 ? void 0 : options.numeric) || 'auto', + style: options === null || options === void 0 ? void 0 : options.style + }); + return rtf.format(value, unit); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/intlFormatDistance/index.js.flow b/node_modules/date-fns/esm/intlFormatDistance/index.js.flow new file mode 100644 index 000000000..bea24df8e --- /dev/null +++ b/node_modules/date-fns/esm/intlFormatDistance/index.js.flow @@ -0,0 +1,62 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string, + locale?: string | string[], + localeMatcher?: string, + numeric?: string, + style?: string, + } +) => string diff --git a/node_modules/date-fns/esm/intlFormatDistance/package.json b/node_modules/date-fns/esm/intlFormatDistance/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/intlFormatDistance/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isAfter/index.d.ts b/node_modules/date-fns/esm/isAfter/index.d.ts new file mode 100644 index 000000000..0ef024b3c --- /dev/null +++ b/node_modules/date-fns/esm/isAfter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isAfter } from 'date-fns' +export default isAfter diff --git a/node_modules/date-fns/esm/isAfter/index.js b/node_modules/date-fns/esm/isAfter/index.js new file mode 100644 index 000000000..62bf1d858 --- /dev/null +++ b/node_modules/date-fns/esm/isAfter/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param {Date|Number} date - the date that should be after the other one to return true + * @param {Date|Number} dateToCompare - the date to compare with + * @returns {Boolean} the first date is after the second date + * @throws {TypeError} 2 arguments required + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ +export default function isAfter(dirtyDate, dirtyDateToCompare) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var dateToCompare = toDate(dirtyDateToCompare); + return date.getTime() > dateToCompare.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isAfter/index.js.flow b/node_modules/date-fns/esm/isAfter/index.js.flow new file mode 100644 index 000000000..3cb525c90 --- /dev/null +++ b/node_modules/date-fns/esm/isAfter/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + dateToCompare: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isAfter/package.json b/node_modules/date-fns/esm/isAfter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isAfter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isBefore/index.d.ts b/node_modules/date-fns/esm/isBefore/index.d.ts new file mode 100644 index 000000000..127ed7ed5 --- /dev/null +++ b/node_modules/date-fns/esm/isBefore/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isBefore } from 'date-fns' +export default isBefore diff --git a/node_modules/date-fns/esm/isBefore/index.js b/node_modules/date-fns/esm/isBefore/index.js new file mode 100644 index 000000000..a8c94c195 --- /dev/null +++ b/node_modules/date-fns/esm/isBefore/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param {Date|Number} date - the date that should be before the other one to return true + * @param {Date|Number} dateToCompare - the date to compare with + * @returns {Boolean} the first date is before the second date + * @throws {TypeError} 2 arguments required + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ +export default function isBefore(dirtyDate, dirtyDateToCompare) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var dateToCompare = toDate(dirtyDateToCompare); + return date.getTime() < dateToCompare.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isBefore/index.js.flow b/node_modules/date-fns/esm/isBefore/index.js.flow new file mode 100644 index 000000000..3cb525c90 --- /dev/null +++ b/node_modules/date-fns/esm/isBefore/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + dateToCompare: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isBefore/package.json b/node_modules/date-fns/esm/isBefore/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isBefore/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isDate/index.d.ts b/node_modules/date-fns/esm/isDate/index.d.ts new file mode 100644 index 000000000..518477ecc --- /dev/null +++ b/node_modules/date-fns/esm/isDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isDate } from 'date-fns' +export default isDate diff --git a/node_modules/date-fns/esm/isDate/index.js b/node_modules/date-fns/esm/isDate/index.js new file mode 100644 index 000000000..d15cc6acd --- /dev/null +++ b/node_modules/date-fns/esm/isDate/index.js @@ -0,0 +1,38 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param {*} value - the value to check + * @returns {boolean} true if the given value is a date + * @throws {TypeError} 1 arguments required + * + * @example + * // For a valid date: + * const result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * const result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * const result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * const result = isDate({}) + * //=> false + */ +export default function isDate(value) { + requiredArgs(1, arguments); + return value instanceof Date || _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]'; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isDate/index.js.flow b/node_modules/date-fns/esm/isDate/index.js.flow new file mode 100644 index 000000000..cc97d4174 --- /dev/null +++ b/node_modules/date-fns/esm/isDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (value: any) => boolean diff --git a/node_modules/date-fns/esm/isDate/package.json b/node_modules/date-fns/esm/isDate/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isEqual/index.d.ts b/node_modules/date-fns/esm/isEqual/index.d.ts new file mode 100644 index 000000000..87865db63 --- /dev/null +++ b/node_modules/date-fns/esm/isEqual/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isEqual } from 'date-fns' +export default isEqual diff --git a/node_modules/date-fns/esm/isEqual/index.js b/node_modules/date-fns/esm/isEqual/index.js new file mode 100644 index 000000000..b9482f14b --- /dev/null +++ b/node_modules/date-fns/esm/isEqual/index.js @@ -0,0 +1,29 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param {Date|Number} dateLeft - the first date to compare + * @param {Date|Number} dateRight - the second date to compare + * @returns {Boolean} the dates are equal + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * const result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0), + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ +export default function isEqual(dirtyLeftDate, dirtyRightDate) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyLeftDate); + var dateRight = toDate(dirtyRightDate); + return dateLeft.getTime() === dateRight.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isEqual/index.js.flow b/node_modules/date-fns/esm/isEqual/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isEqual/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isEqual/package.json b/node_modules/date-fns/esm/isEqual/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isEqual/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isExists/index.d.ts b/node_modules/date-fns/esm/isExists/index.d.ts new file mode 100644 index 000000000..af919bef7 --- /dev/null +++ b/node_modules/date-fns/esm/isExists/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isExists } from 'date-fns' +export default isExists diff --git a/node_modules/date-fns/esm/isExists/index.js b/node_modules/date-fns/esm/isExists/index.js new file mode 100644 index 000000000..99668068a --- /dev/null +++ b/node_modules/date-fns/esm/isExists/index.js @@ -0,0 +1,31 @@ +/** + * @name isExists + * @category Common Helpers + * @summary Is the given date exists? + * + * @description + * Checks if the given arguments convert to an existing date. + * + * @param {Number} year of the date to check + * @param {Number} month of the date to check + * @param {Number} day of the date to check + * @returns {Boolean} the date exists + * @throws {TypeError} 3 arguments required + * + * @example + * // For the valid date: + * const result = isExists(2018, 0, 31) + * //=> true + * + * @example + * // For the invalid date: + * const result = isExists(2018, 1, 31) + * //=> false + */ +export default function isExists(year, month, day) { + if (arguments.length < 3) { + throw new TypeError('3 argument required, but only ' + arguments.length + ' present'); + } + var date = new Date(year, month, day); + return date.getFullYear() === year && date.getMonth() === month && date.getDate() === day; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isExists/index.js.flow b/node_modules/date-fns/esm/isExists/index.js.flow new file mode 100644 index 000000000..810828e0f --- /dev/null +++ b/node_modules/date-fns/esm/isExists/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (year: number, month: number, day: number) => boolean diff --git a/node_modules/date-fns/esm/isExists/package.json b/node_modules/date-fns/esm/isExists/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isExists/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isFirstDayOfMonth/index.d.ts b/node_modules/date-fns/esm/isFirstDayOfMonth/index.d.ts new file mode 100644 index 000000000..6c1a3140e --- /dev/null +++ b/node_modules/date-fns/esm/isFirstDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFirstDayOfMonth } from 'date-fns' +export default isFirstDayOfMonth diff --git a/node_modules/date-fns/esm/isFirstDayOfMonth/index.js b/node_modules/date-fns/esm/isFirstDayOfMonth/index.js new file mode 100644 index 000000000..d65880b67 --- /dev/null +++ b/node_modules/date-fns/esm/isFirstDayOfMonth/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isFirstDayOfMonth + * @category Month Helpers + * @summary Is the given date the first day of a month? + * + * @description + * Is the given date the first day of a month? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is the first day of a month + * @throws {TypeError} 1 argument required + * + * @example + * // Is 1 September 2014 the first day of a month? + * const result = isFirstDayOfMonth(new Date(2014, 8, 1)) + * //=> true + */ +export default function isFirstDayOfMonth(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDate() === 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isFirstDayOfMonth/index.js.flow b/node_modules/date-fns/esm/isFirstDayOfMonth/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isFirstDayOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isFirstDayOfMonth/package.json b/node_modules/date-fns/esm/isFirstDayOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isFirstDayOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isFriday/index.d.ts b/node_modules/date-fns/esm/isFriday/index.d.ts new file mode 100644 index 000000000..17ac2ef8d --- /dev/null +++ b/node_modules/date-fns/esm/isFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFriday } from 'date-fns' +export default isFriday diff --git a/node_modules/date-fns/esm/isFriday/index.js b/node_modules/date-fns/esm/isFriday/index.js new file mode 100644 index 000000000..38258f0b4 --- /dev/null +++ b/node_modules/date-fns/esm/isFriday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isFriday + * @category Weekday Helpers + * @summary Is the given date Friday? + * + * @description + * Is the given date Friday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Friday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 26 September 2014 Friday? + * const result = isFriday(new Date(2014, 8, 26)) + * //=> true + */ +export default function isFriday(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDay() === 5; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isFriday/index.js.flow b/node_modules/date-fns/esm/isFriday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isFriday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isFriday/package.json b/node_modules/date-fns/esm/isFriday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isFriday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isFuture/index.d.ts b/node_modules/date-fns/esm/isFuture/index.d.ts new file mode 100644 index 000000000..4cb82e8ad --- /dev/null +++ b/node_modules/date-fns/esm/isFuture/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFuture } from 'date-fns' +export default isFuture diff --git a/node_modules/date-fns/esm/isFuture/index.js b/node_modules/date-fns/esm/isFuture/index.js new file mode 100644 index 000000000..9bc27dba5 --- /dev/null +++ b/node_modules/date-fns/esm/isFuture/index.js @@ -0,0 +1,27 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isFuture + * @category Common Helpers + * @summary Is the given date in the future? + * @pure false + * + * @description + * Is the given date in the future? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in the future + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 31 December 2014 in the future? + * const result = isFuture(new Date(2014, 11, 31)) + * //=> true + */ +export default function isFuture(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getTime() > Date.now(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isFuture/index.js.flow b/node_modules/date-fns/esm/isFuture/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isFuture/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isFuture/package.json b/node_modules/date-fns/esm/isFuture/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isFuture/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isLastDayOfMonth/index.d.ts b/node_modules/date-fns/esm/isLastDayOfMonth/index.d.ts new file mode 100644 index 000000000..665cb7d75 --- /dev/null +++ b/node_modules/date-fns/esm/isLastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLastDayOfMonth } from 'date-fns' +export default isLastDayOfMonth diff --git a/node_modules/date-fns/esm/isLastDayOfMonth/index.js b/node_modules/date-fns/esm/isLastDayOfMonth/index.js new file mode 100644 index 000000000..9fd7dd891 --- /dev/null +++ b/node_modules/date-fns/esm/isLastDayOfMonth/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import endOfDay from "../endOfDay/index.js"; +import endOfMonth from "../endOfMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isLastDayOfMonth + * @category Month Helpers + * @summary Is the given date the last day of a month? + * + * @description + * Is the given date the last day of a month? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is the last day of a month + * @throws {TypeError} 1 argument required + * + * @example + * // Is 28 February 2014 the last day of a month? + * const result = isLastDayOfMonth(new Date(2014, 1, 28)) + * //=> true + */ +export default function isLastDayOfMonth(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + return endOfDay(date).getTime() === endOfMonth(date).getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isLastDayOfMonth/index.js.flow b/node_modules/date-fns/esm/isLastDayOfMonth/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isLastDayOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isLastDayOfMonth/package.json b/node_modules/date-fns/esm/isLastDayOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isLastDayOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isLeapYear/index.d.ts b/node_modules/date-fns/esm/isLeapYear/index.d.ts new file mode 100644 index 000000000..c08ad8abb --- /dev/null +++ b/node_modules/date-fns/esm/isLeapYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLeapYear } from 'date-fns' +export default isLeapYear diff --git a/node_modules/date-fns/esm/isLeapYear/index.js b/node_modules/date-fns/esm/isLeapYear/index.js new file mode 100644 index 000000000..5576ebaf5 --- /dev/null +++ b/node_modules/date-fns/esm/isLeapYear/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isLeapYear + * @category Year Helpers + * @summary Is the given date in the leap year? + * + * @description + * Is the given date in the leap year? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in the leap year + * @throws {TypeError} 1 argument required + * + * @example + * // Is 1 September 2012 in the leap year? + * const result = isLeapYear(new Date(2012, 8, 1)) + * //=> true + */ +export default function isLeapYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isLeapYear/index.js.flow b/node_modules/date-fns/esm/isLeapYear/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isLeapYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isLeapYear/package.json b/node_modules/date-fns/esm/isLeapYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isLeapYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isMatch/index.d.ts b/node_modules/date-fns/esm/isMatch/index.d.ts new file mode 100644 index 000000000..e0c3fa5c3 --- /dev/null +++ b/node_modules/date-fns/esm/isMatch/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMatch } from 'date-fns' +export default isMatch diff --git a/node_modules/date-fns/esm/isMatch/index.js b/node_modules/date-fns/esm/isMatch/index.js new file mode 100644 index 000000000..d7f8e574d --- /dev/null +++ b/node_modules/date-fns/esm/isMatch/index.js @@ -0,0 +1,299 @@ +import parse from "../parse/index.js"; +import isValid from "../isValid/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isMatch + * @category Common Helpers + * @summary validates the date string against given formats + * + * @description + * Return the true if given date is string correct against the given format else + * will return false. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * isMatch('23 AM', 'HH a') + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `isMatch` will try to match both formatting and stand-alone units interchangably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `isMatch` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `isMatch` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `isMatch('50', 'yy') //=> true` + * + * `isMatch('75', 'yy') //=> true` + * + * while `uu` will use the year as is: + * + * `isMatch('50', 'uu') //=> true` + * + * `isMatch('75', 'uu') //=> true` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear} + * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be checked in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are matched (e.g. when matching string 'January 1st' without a year), + * the values will be taken from today's using `new Date()` date which works as a context of parsing. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * + * + * @param {String} dateString - the date string to verify + * @param {String} formatString - the string of tokens + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @returns {Boolean} + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} `options.locale` must contain `match` property + * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `yy` instead of `YY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `d` instead of `D` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * // Match 11 February 2014 from middle-endian format: + * const result = isMatch('02/11/2014', 'MM/dd/yyyy') + * //=> true + * + * @example + * // Match 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * const result = isMatch('28-a de februaro', "do 'de' MMMM", { + * locale: eo + * }) + * //=> true + */ +export default function isMatch(dateString, formatString, options) { + requiredArgs(2, arguments); + return isValid(parse(dateString, formatString, new Date(), options)); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isMatch/index.js.flow b/node_modules/date-fns/esm/isMatch/index.js.flow new file mode 100644 index 000000000..c27d35a50 --- /dev/null +++ b/node_modules/date-fns/esm/isMatch/index.js.flow @@ -0,0 +1,62 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateString: string, + formatString: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } +) => boolean diff --git a/node_modules/date-fns/esm/isMatch/package.json b/node_modules/date-fns/esm/isMatch/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isMatch/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isMonday/index.d.ts b/node_modules/date-fns/esm/isMonday/index.d.ts new file mode 100644 index 000000000..dee60ac08 --- /dev/null +++ b/node_modules/date-fns/esm/isMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMonday } from 'date-fns' +export default isMonday diff --git a/node_modules/date-fns/esm/isMonday/index.js b/node_modules/date-fns/esm/isMonday/index.js new file mode 100644 index 000000000..43ad1345d --- /dev/null +++ b/node_modules/date-fns/esm/isMonday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isMonday + * @category Weekday Helpers + * @summary Is the given date Monday? + * + * @description + * Is the given date Monday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Monday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 22 September 2014 Monday? + * const result = isMonday(new Date(2014, 8, 22)) + * //=> true + */ +export default function isMonday(date) { + requiredArgs(1, arguments); + return toDate(date).getDay() === 1; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isMonday/index.js.flow b/node_modules/date-fns/esm/isMonday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isMonday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isMonday/package.json b/node_modules/date-fns/esm/isMonday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isMonday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isPast/index.d.ts b/node_modules/date-fns/esm/isPast/index.d.ts new file mode 100644 index 000000000..8ae92ca70 --- /dev/null +++ b/node_modules/date-fns/esm/isPast/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isPast } from 'date-fns' +export default isPast diff --git a/node_modules/date-fns/esm/isPast/index.js b/node_modules/date-fns/esm/isPast/index.js new file mode 100644 index 000000000..9371e5ede --- /dev/null +++ b/node_modules/date-fns/esm/isPast/index.js @@ -0,0 +1,27 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isPast + * @category Common Helpers + * @summary Is the given date in the past? + * @pure false + * + * @description + * Is the given date in the past? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in the past + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 2 July 2014 in the past? + * const result = isPast(new Date(2014, 6, 2)) + * //=> true + */ +export default function isPast(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getTime() < Date.now(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isPast/index.js.flow b/node_modules/date-fns/esm/isPast/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isPast/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isPast/package.json b/node_modules/date-fns/esm/isPast/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isPast/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameDay/index.d.ts b/node_modules/date-fns/esm/isSameDay/index.d.ts new file mode 100644 index 000000000..c4c2d554f --- /dev/null +++ b/node_modules/date-fns/esm/isSameDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameDay } from 'date-fns' +export default isSameDay diff --git a/node_modules/date-fns/esm/isSameDay/index.js b/node_modules/date-fns/esm/isSameDay/index.js new file mode 100644 index 000000000..0c9edfe8a --- /dev/null +++ b/node_modules/date-fns/esm/isSameDay/index.js @@ -0,0 +1,36 @@ +import startOfDay from "../startOfDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day (and year and month)? + * + * @description + * Are the given dates in the same day (and year and month)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same day (and year and month) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) + * //=> true + * + * @example + * // Are 4 September and 4 October in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4)) + * //=> false + * + * @example + * // Are 4 September, 2014 and 4 September, 2015 in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4)) + * //=> false + */ +export default function isSameDay(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeftStartOfDay = startOfDay(dirtyDateLeft); + var dateRightStartOfDay = startOfDay(dirtyDateRight); + return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameDay/index.js.flow b/node_modules/date-fns/esm/isSameDay/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameDay/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameDay/package.json b/node_modules/date-fns/esm/isSameDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameHour/index.d.ts b/node_modules/date-fns/esm/isSameHour/index.d.ts new file mode 100644 index 000000000..78d466222 --- /dev/null +++ b/node_modules/date-fns/esm/isSameHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameHour } from 'date-fns' +export default isSameHour diff --git a/node_modules/date-fns/esm/isSameHour/index.js b/node_modules/date-fns/esm/isSameHour/index.js new file mode 100644 index 000000000..2e4c49701 --- /dev/null +++ b/node_modules/date-fns/esm/isSameHour/index.js @@ -0,0 +1,31 @@ +import startOfHour from "../startOfHour/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameHour + * @category Hour Helpers + * @summary Are the given dates in the same hour (and same day)? + * + * @description + * Are the given dates in the same hour (and same day)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same hour (and same day) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30)) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0)) + * //=> false + */ +export default function isSameHour(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeftStartOfHour = startOfHour(dirtyDateLeft); + var dateRightStartOfHour = startOfHour(dirtyDateRight); + return dateLeftStartOfHour.getTime() === dateRightStartOfHour.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameHour/index.js.flow b/node_modules/date-fns/esm/isSameHour/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameHour/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameHour/package.json b/node_modules/date-fns/esm/isSameHour/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameISOWeek/index.d.ts b/node_modules/date-fns/esm/isSameISOWeek/index.d.ts new file mode 100644 index 000000000..566ed8b00 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeek } from 'date-fns' +export default isSameISOWeek diff --git a/node_modules/date-fns/esm/isSameISOWeek/index.js b/node_modules/date-fns/esm/isSameISOWeek/index.js new file mode 100644 index 000000000..a5a0ac76a --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeek/index.js @@ -0,0 +1,33 @@ +import isSameWeek from "../isSameWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameISOWeek + * @category ISO Week Helpers + * @summary Are the given dates in the same ISO week (and year)? + * + * @description + * Are the given dates in the same ISO week (and year)? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same ISO week (and year) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 1 September 2014 and 7 September 2014 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2014, 8, 7)) + * //=> true + * + * @example + * // Are 1 September 2014 and 1 September 2015 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2015, 8, 1)) + * //=> false + */ +export default function isSameISOWeek(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + return isSameWeek(dirtyDateLeft, dirtyDateRight, { + weekStartsOn: 1 + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameISOWeek/index.js.flow b/node_modules/date-fns/esm/isSameISOWeek/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeek/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameISOWeek/package.json b/node_modules/date-fns/esm/isSameISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameISOWeekYear/index.d.ts b/node_modules/date-fns/esm/isSameISOWeekYear/index.d.ts new file mode 100644 index 000000000..e79609229 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeekYear } from 'date-fns' +export default isSameISOWeekYear diff --git a/node_modules/date-fns/esm/isSameISOWeekYear/index.js b/node_modules/date-fns/esm/isSameISOWeekYear/index.js new file mode 100644 index 000000000..53574f512 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeekYear/index.js @@ -0,0 +1,28 @@ +import startOfISOWeekYear from "../startOfISOWeekYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Are the given dates in the same ISO week-numbering year? + * + * @description + * Are the given dates in the same ISO week-numbering year? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same ISO week-numbering year + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? + * const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) + * //=> true + */ +export default function isSameISOWeekYear(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeftStartOfYear = startOfISOWeekYear(dirtyDateLeft); + var dateRightStartOfYear = startOfISOWeekYear(dirtyDateRight); + return dateLeftStartOfYear.getTime() === dateRightStartOfYear.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameISOWeekYear/index.js.flow b/node_modules/date-fns/esm/isSameISOWeekYear/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeekYear/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameISOWeekYear/package.json b/node_modules/date-fns/esm/isSameISOWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameMinute/index.d.ts b/node_modules/date-fns/esm/isSameMinute/index.d.ts new file mode 100644 index 000000000..c26acefe8 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMinute } from 'date-fns' +export default isSameMinute diff --git a/node_modules/date-fns/esm/isSameMinute/index.js b/node_modules/date-fns/esm/isSameMinute/index.js new file mode 100644 index 000000000..d9885a53b --- /dev/null +++ b/node_modules/date-fns/esm/isSameMinute/index.js @@ -0,0 +1,37 @@ +import startOfMinute from "../startOfMinute/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameMinute + * @category Minute Helpers + * @summary Are the given dates in the same minute (and hour and day)? + * + * @description + * Are the given dates in the same minute (and hour and day)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same minute (and hour and day) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 4, 6, 30, 15) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:30:00 and 5 September 2014 06:30:00 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 5, 6, 30) + * ) + * //=> false + */ +export default function isSameMinute(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeftStartOfMinute = startOfMinute(dirtyDateLeft); + var dateRightStartOfMinute = startOfMinute(dirtyDateRight); + return dateLeftStartOfMinute.getTime() === dateRightStartOfMinute.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameMinute/index.js.flow b/node_modules/date-fns/esm/isSameMinute/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMinute/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameMinute/package.json b/node_modules/date-fns/esm/isSameMinute/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameMonth/index.d.ts b/node_modules/date-fns/esm/isSameMonth/index.d.ts new file mode 100644 index 000000000..bd0e88680 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMonth } from 'date-fns' +export default isSameMonth diff --git a/node_modules/date-fns/esm/isSameMonth/index.js b/node_modules/date-fns/esm/isSameMonth/index.js new file mode 100644 index 000000000..e7c970741 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMonth/index.js @@ -0,0 +1,31 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month (and year)? + * + * @description + * Are the given dates in the same month (and year)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same month (and year) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + * + * @example + * // Are 2 September 2014 and 25 September 2015 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25)) + * //=> false + */ +export default function isSameMonth(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + return dateLeft.getFullYear() === dateRight.getFullYear() && dateLeft.getMonth() === dateRight.getMonth(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameMonth/index.js.flow b/node_modules/date-fns/esm/isSameMonth/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMonth/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameMonth/package.json b/node_modules/date-fns/esm/isSameMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameQuarter/index.d.ts b/node_modules/date-fns/esm/isSameQuarter/index.d.ts new file mode 100644 index 000000000..584660aa8 --- /dev/null +++ b/node_modules/date-fns/esm/isSameQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameQuarter } from 'date-fns' +export default isSameQuarter diff --git a/node_modules/date-fns/esm/isSameQuarter/index.js b/node_modules/date-fns/esm/isSameQuarter/index.js new file mode 100644 index 000000000..03cd04acc --- /dev/null +++ b/node_modules/date-fns/esm/isSameQuarter/index.js @@ -0,0 +1,31 @@ +import startOfQuarter from "../startOfQuarter/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameQuarter + * @category Quarter Helpers + * @summary Are the given dates in the same quarter (and year)? + * + * @description + * Are the given dates in the same quarter (and year)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same quarter (and year) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 1 January 2014 and 8 March 2014 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) + * //=> true + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export default function isSameQuarter(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeftStartOfQuarter = startOfQuarter(dirtyDateLeft); + var dateRightStartOfQuarter = startOfQuarter(dirtyDateRight); + return dateLeftStartOfQuarter.getTime() === dateRightStartOfQuarter.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameQuarter/index.js.flow b/node_modules/date-fns/esm/isSameQuarter/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameQuarter/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameQuarter/package.json b/node_modules/date-fns/esm/isSameQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameSecond/index.d.ts b/node_modules/date-fns/esm/isSameSecond/index.d.ts new file mode 100644 index 000000000..982464e38 --- /dev/null +++ b/node_modules/date-fns/esm/isSameSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameSecond } from 'date-fns' +export default isSameSecond diff --git a/node_modules/date-fns/esm/isSameSecond/index.js b/node_modules/date-fns/esm/isSameSecond/index.js new file mode 100644 index 000000000..e60b1964e --- /dev/null +++ b/node_modules/date-fns/esm/isSameSecond/index.js @@ -0,0 +1,45 @@ +import startOfSecond from "../startOfSecond/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameSecond + * @category Second Helpers + * @summary Are the given dates in the same second (and hour and day)? + * + * @description + * Are the given dates in the same second (and hour and day)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same second (and hour and day) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 30, 15), + * new Date(2014, 8, 4, 6, 30, 15, 500) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 4, 6, 1, 15) + * ) + * //=> false + * + * @example + * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 5, 6, 0, 15) + * ) + * //=> false + */ +export default function isSameSecond(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeftStartOfSecond = startOfSecond(dirtyDateLeft); + var dateRightStartOfSecond = startOfSecond(dirtyDateRight); + return dateLeftStartOfSecond.getTime() === dateRightStartOfSecond.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameSecond/index.js.flow b/node_modules/date-fns/esm/isSameSecond/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameSecond/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameSecond/package.json b/node_modules/date-fns/esm/isSameSecond/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameWeek/index.d.ts b/node_modules/date-fns/esm/isSameWeek/index.d.ts new file mode 100644 index 000000000..b27f5f668 --- /dev/null +++ b/node_modules/date-fns/esm/isSameWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameWeek } from 'date-fns' +export default isSameWeek diff --git a/node_modules/date-fns/esm/isSameWeek/index.js b/node_modules/date-fns/esm/isSameWeek/index.js new file mode 100644 index 000000000..3f3636cc4 --- /dev/null +++ b/node_modules/date-fns/esm/isSameWeek/index.js @@ -0,0 +1,43 @@ +import startOfWeek from "../startOfWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week (and month and year)? + * + * @description + * Are the given dates in the same week (and month and year)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Boolean} the dates are in the same week (and month and year) + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4)) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), { + * weekStartsOn: 1 + * }) + * //=> false + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same week? + * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export default function isSameWeek(dirtyDateLeft, dirtyDateRight, options) { + requiredArgs(2, arguments); + var dateLeftStartOfWeek = startOfWeek(dirtyDateLeft, options); + var dateRightStartOfWeek = startOfWeek(dirtyDateRight, options); + return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameWeek/index.js.flow b/node_modules/date-fns/esm/isSameWeek/index.js.flow new file mode 100644 index 000000000..2ba3f16cf --- /dev/null +++ b/node_modules/date-fns/esm/isSameWeek/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => boolean diff --git a/node_modules/date-fns/esm/isSameWeek/package.json b/node_modules/date-fns/esm/isSameWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameYear/index.d.ts b/node_modules/date-fns/esm/isSameYear/index.d.ts new file mode 100644 index 000000000..c729e19a5 --- /dev/null +++ b/node_modules/date-fns/esm/isSameYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameYear } from 'date-fns' +export default isSameYear diff --git a/node_modules/date-fns/esm/isSameYear/index.js b/node_modules/date-fns/esm/isSameYear/index.js new file mode 100644 index 000000000..8379a6d6c --- /dev/null +++ b/node_modules/date-fns/esm/isSameYear/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same year + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + */ +export default function isSameYear(dirtyDateLeft, dirtyDateRight) { + requiredArgs(2, arguments); + var dateLeft = toDate(dirtyDateLeft); + var dateRight = toDate(dirtyDateRight); + return dateLeft.getFullYear() === dateRight.getFullYear(); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSameYear/index.js.flow b/node_modules/date-fns/esm/isSameYear/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/esm/isSameYear/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/esm/isSameYear/package.json b/node_modules/date-fns/esm/isSameYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSameYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSaturday/index.d.ts b/node_modules/date-fns/esm/isSaturday/index.d.ts new file mode 100644 index 000000000..ac5ccb38c --- /dev/null +++ b/node_modules/date-fns/esm/isSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSaturday } from 'date-fns' +export default isSaturday diff --git a/node_modules/date-fns/esm/isSaturday/index.js b/node_modules/date-fns/esm/isSaturday/index.js new file mode 100644 index 000000000..ade55a1d1 --- /dev/null +++ b/node_modules/date-fns/esm/isSaturday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSaturday + * @category Weekday Helpers + * @summary Is the given date Saturday? + * + * @description + * Is the given date Saturday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Saturday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 27 September 2014 Saturday? + * const result = isSaturday(new Date(2014, 8, 27)) + * //=> true + */ +export default function isSaturday(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDay() === 6; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSaturday/index.js.flow b/node_modules/date-fns/esm/isSaturday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isSaturday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isSaturday/package.json b/node_modules/date-fns/esm/isSaturday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSaturday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSunday/index.d.ts b/node_modules/date-fns/esm/isSunday/index.d.ts new file mode 100644 index 000000000..5830086b6 --- /dev/null +++ b/node_modules/date-fns/esm/isSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSunday } from 'date-fns' +export default isSunday diff --git a/node_modules/date-fns/esm/isSunday/index.js b/node_modules/date-fns/esm/isSunday/index.js new file mode 100644 index 000000000..67b43ab29 --- /dev/null +++ b/node_modules/date-fns/esm/isSunday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isSunday + * @category Weekday Helpers + * @summary Is the given date Sunday? + * + * @description + * Is the given date Sunday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 21 September 2014 Sunday? + * const result = isSunday(new Date(2014, 8, 21)) + * //=> true + */ +export default function isSunday(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDay() === 0; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isSunday/index.js.flow b/node_modules/date-fns/esm/isSunday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isSunday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isSunday/package.json b/node_modules/date-fns/esm/isSunday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isSunday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisHour/index.d.ts b/node_modules/date-fns/esm/isThisHour/index.d.ts new file mode 100644 index 000000000..1009e428d --- /dev/null +++ b/node_modules/date-fns/esm/isThisHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisHour } from 'date-fns' +export default isThisHour diff --git a/node_modules/date-fns/esm/isThisHour/index.js b/node_modules/date-fns/esm/isThisHour/index.js new file mode 100644 index 000000000..afa0ec083 --- /dev/null +++ b/node_modules/date-fns/esm/isThisHour/index.js @@ -0,0 +1,28 @@ +import isSameHour from "../isSameHour/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisHour + * @category Hour Helpers + * @summary Is the given date in the same hour as the current date? + * @pure false + * + * @description + * Is the given date in the same hour as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this hour + * @throws {TypeError} 1 argument required + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:00:00 in this hour? + * const result = isThisHour(new Date(2014, 8, 25, 18)) + * //=> true + */ +export default function isThisHour(dirtyDate) { + requiredArgs(1, arguments); + return isSameHour(Date.now(), dirtyDate); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisHour/index.js.flow b/node_modules/date-fns/esm/isThisHour/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisHour/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisHour/package.json b/node_modules/date-fns/esm/isThisHour/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisISOWeek/index.d.ts b/node_modules/date-fns/esm/isThisISOWeek/index.d.ts new file mode 100644 index 000000000..4fb42e8de --- /dev/null +++ b/node_modules/date-fns/esm/isThisISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisISOWeek } from 'date-fns' +export default isThisISOWeek diff --git a/node_modules/date-fns/esm/isThisISOWeek/index.js b/node_modules/date-fns/esm/isThisISOWeek/index.js new file mode 100644 index 000000000..97bb4270f --- /dev/null +++ b/node_modules/date-fns/esm/isThisISOWeek/index.js @@ -0,0 +1,29 @@ +import isSameISOWeek from "../isSameISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisISOWeek + * @category ISO Week Helpers + * @summary Is the given date in the same ISO week as the current date? + * @pure false + * + * @description + * Is the given date in the same ISO week as the current date? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 22 September 2014 in this ISO week? + * const result = isThisISOWeek(new Date(2014, 8, 22)) + * //=> true + */ +export default function isThisISOWeek(dirtyDate) { + requiredArgs(1, arguments); + return isSameISOWeek(dirtyDate, Date.now()); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisISOWeek/index.js.flow b/node_modules/date-fns/esm/isThisISOWeek/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisISOWeek/package.json b/node_modules/date-fns/esm/isThisISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisMinute/index.d.ts b/node_modules/date-fns/esm/isThisMinute/index.d.ts new file mode 100644 index 000000000..ca1430d58 --- /dev/null +++ b/node_modules/date-fns/esm/isThisMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisMinute } from 'date-fns' +export default isThisMinute diff --git a/node_modules/date-fns/esm/isThisMinute/index.js b/node_modules/date-fns/esm/isThisMinute/index.js new file mode 100644 index 000000000..f99ea623a --- /dev/null +++ b/node_modules/date-fns/esm/isThisMinute/index.js @@ -0,0 +1,28 @@ +import isSameMinute from "../isSameMinute/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisMinute + * @category Minute Helpers + * @summary Is the given date in the same minute as the current date? + * @pure false + * + * @description + * Is the given date in the same minute as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this minute + * @throws {TypeError} 1 argument required + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:00 in this minute? + * const result = isThisMinute(new Date(2014, 8, 25, 18, 30)) + * //=> true + */ +export default function isThisMinute(dirtyDate) { + requiredArgs(1, arguments); + return isSameMinute(Date.now(), dirtyDate); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisMinute/index.js.flow b/node_modules/date-fns/esm/isThisMinute/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisMinute/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisMinute/package.json b/node_modules/date-fns/esm/isThisMinute/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisMonth/index.d.ts b/node_modules/date-fns/esm/isThisMonth/index.d.ts new file mode 100644 index 000000000..eaf72fdd2 --- /dev/null +++ b/node_modules/date-fns/esm/isThisMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisMonth } from 'date-fns' +export default isThisMonth diff --git a/node_modules/date-fns/esm/isThisMonth/index.js b/node_modules/date-fns/esm/isThisMonth/index.js new file mode 100644 index 000000000..eb901f8b1 --- /dev/null +++ b/node_modules/date-fns/esm/isThisMonth/index.js @@ -0,0 +1,27 @@ +import isSameMonth from "../isSameMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisMonth + * @category Month Helpers + * @summary Is the given date in the same month as the current date? + * @pure false + * + * @description + * Is the given date in the same month as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this month + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 15 September 2014 in this month? + * const result = isThisMonth(new Date(2014, 8, 15)) + * //=> true + */ +export default function isThisMonth(dirtyDate) { + requiredArgs(1, arguments); + return isSameMonth(Date.now(), dirtyDate); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisMonth/index.js.flow b/node_modules/date-fns/esm/isThisMonth/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisMonth/package.json b/node_modules/date-fns/esm/isThisMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisQuarter/index.d.ts b/node_modules/date-fns/esm/isThisQuarter/index.d.ts new file mode 100644 index 000000000..8c25708a3 --- /dev/null +++ b/node_modules/date-fns/esm/isThisQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisQuarter } from 'date-fns' +export default isThisQuarter diff --git a/node_modules/date-fns/esm/isThisQuarter/index.js b/node_modules/date-fns/esm/isThisQuarter/index.js new file mode 100644 index 000000000..b096ca1c1 --- /dev/null +++ b/node_modules/date-fns/esm/isThisQuarter/index.js @@ -0,0 +1,27 @@ +import isSameQuarter from "../isSameQuarter/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisQuarter + * @category Quarter Helpers + * @summary Is the given date in the same quarter as the current date? + * @pure false + * + * @description + * Is the given date in the same quarter as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this quarter + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 2 July 2014 in this quarter? + * const result = isThisQuarter(new Date(2014, 6, 2)) + * //=> true + */ +export default function isThisQuarter(dirtyDate) { + requiredArgs(1, arguments); + return isSameQuarter(Date.now(), dirtyDate); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisQuarter/index.js.flow b/node_modules/date-fns/esm/isThisQuarter/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisQuarter/package.json b/node_modules/date-fns/esm/isThisQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisSecond/index.d.ts b/node_modules/date-fns/esm/isThisSecond/index.d.ts new file mode 100644 index 000000000..9d45da10b --- /dev/null +++ b/node_modules/date-fns/esm/isThisSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisSecond } from 'date-fns' +export default isThisSecond diff --git a/node_modules/date-fns/esm/isThisSecond/index.js b/node_modules/date-fns/esm/isThisSecond/index.js new file mode 100644 index 000000000..b8c1eda52 --- /dev/null +++ b/node_modules/date-fns/esm/isThisSecond/index.js @@ -0,0 +1,28 @@ +import isSameSecond from "../isSameSecond/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisSecond + * @category Second Helpers + * @summary Is the given date in the same second as the current date? + * @pure false + * + * @description + * Is the given date in the same second as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this second + * @throws {TypeError} 1 argument required + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:15.000 in this second? + * const result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15)) + * //=> true + */ +export default function isThisSecond(dirtyDate) { + requiredArgs(1, arguments); + return isSameSecond(Date.now(), dirtyDate); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisSecond/index.js.flow b/node_modules/date-fns/esm/isThisSecond/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisSecond/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisSecond/package.json b/node_modules/date-fns/esm/isThisSecond/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisWeek/index.d.ts b/node_modules/date-fns/esm/isThisWeek/index.d.ts new file mode 100644 index 000000000..b22ba530e --- /dev/null +++ b/node_modules/date-fns/esm/isThisWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisWeek } from 'date-fns' +export default isThisWeek diff --git a/node_modules/date-fns/esm/isThisWeek/index.js b/node_modules/date-fns/esm/isThisWeek/index.js new file mode 100644 index 000000000..c98512a74 --- /dev/null +++ b/node_modules/date-fns/esm/isThisWeek/index.js @@ -0,0 +1,38 @@ +import isSameWeek from "../isSameWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisWeek + * @category Week Helpers + * @summary Is the given date in the same week as the current date? + * @pure false + * + * @description + * Is the given date in the same week as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @param {Object} [options] - the object with options + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Boolean} the date is in this week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // If today is 25 September 2014, is 21 September 2014 in this week? + * const result = isThisWeek(new Date(2014, 8, 21)) + * //=> true + * + * @example + * // If today is 25 September 2014 and week starts with Monday + * // is 21 September 2014 in this week? + * const result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 }) + * //=> false + */ + +export default function isThisWeek(dirtyDate, options) { + requiredArgs(1, arguments); + return isSameWeek(dirtyDate, Date.now(), options); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisWeek/index.js.flow b/node_modules/date-fns/esm/isThisWeek/index.js.flow new file mode 100644 index 000000000..579c74ae1 --- /dev/null +++ b/node_modules/date-fns/esm/isThisWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => boolean diff --git a/node_modules/date-fns/esm/isThisWeek/package.json b/node_modules/date-fns/esm/isThisWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisYear/index.d.ts b/node_modules/date-fns/esm/isThisYear/index.d.ts new file mode 100644 index 000000000..b95f1be3b --- /dev/null +++ b/node_modules/date-fns/esm/isThisYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisYear } from 'date-fns' +export default isThisYear diff --git a/node_modules/date-fns/esm/isThisYear/index.js b/node_modules/date-fns/esm/isThisYear/index.js new file mode 100644 index 000000000..7c08c7518 --- /dev/null +++ b/node_modules/date-fns/esm/isThisYear/index.js @@ -0,0 +1,27 @@ +import isSameYear from "../isSameYear/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThisYear + * @category Year Helpers + * @summary Is the given date in the same year as the current date? + * @pure false + * + * @description + * Is the given date in the same year as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this year + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 2 July 2014 in this year? + * const result = isThisYear(new Date(2014, 6, 2)) + * //=> true + */ +export default function isThisYear(dirtyDate) { + requiredArgs(1, arguments); + return isSameYear(dirtyDate, Date.now()); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThisYear/index.js.flow b/node_modules/date-fns/esm/isThisYear/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThisYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThisYear/package.json b/node_modules/date-fns/esm/isThisYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThisYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThursday/index.d.ts b/node_modules/date-fns/esm/isThursday/index.d.ts new file mode 100644 index 000000000..2f25237d4 --- /dev/null +++ b/node_modules/date-fns/esm/isThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThursday } from 'date-fns' +export default isThursday diff --git a/node_modules/date-fns/esm/isThursday/index.js b/node_modules/date-fns/esm/isThursday/index.js new file mode 100644 index 000000000..9566cb80d --- /dev/null +++ b/node_modules/date-fns/esm/isThursday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isThursday + * @category Weekday Helpers + * @summary Is the given date Thursday? + * + * @description + * Is the given date Thursday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Thursday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 25 September 2014 Thursday? + * const result = isThursday(new Date(2014, 8, 25)) + * //=> true + */ +export default function isThursday(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDay() === 4; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isThursday/index.js.flow b/node_modules/date-fns/esm/isThursday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isThursday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isThursday/package.json b/node_modules/date-fns/esm/isThursday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isThursday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isToday/index.d.ts b/node_modules/date-fns/esm/isToday/index.d.ts new file mode 100644 index 000000000..ed0cd157c --- /dev/null +++ b/node_modules/date-fns/esm/isToday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isToday } from 'date-fns' +export default isToday diff --git a/node_modules/date-fns/esm/isToday/index.js b/node_modules/date-fns/esm/isToday/index.js new file mode 100644 index 000000000..a80bfcba3 --- /dev/null +++ b/node_modules/date-fns/esm/isToday/index.js @@ -0,0 +1,27 @@ +import isSameDay from "../isSameDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isToday + * @category Day Helpers + * @summary Is the given date today? + * @pure false + * + * @description + * Is the given date today? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is today + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 6 October 14:00:00 today? + * const result = isToday(new Date(2014, 9, 6, 14, 0)) + * //=> true + */ +export default function isToday(dirtyDate) { + requiredArgs(1, arguments); + return isSameDay(dirtyDate, Date.now()); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isToday/index.js.flow b/node_modules/date-fns/esm/isToday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isToday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isToday/package.json b/node_modules/date-fns/esm/isToday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isToday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isTomorrow/index.d.ts b/node_modules/date-fns/esm/isTomorrow/index.d.ts new file mode 100644 index 000000000..b9c9115a5 --- /dev/null +++ b/node_modules/date-fns/esm/isTomorrow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isTomorrow } from 'date-fns' +export default isTomorrow diff --git a/node_modules/date-fns/esm/isTomorrow/index.js b/node_modules/date-fns/esm/isTomorrow/index.js new file mode 100644 index 000000000..d6ce5448e --- /dev/null +++ b/node_modules/date-fns/esm/isTomorrow/index.js @@ -0,0 +1,28 @@ +import addDays from "../addDays/index.js"; +import isSameDay from "../isSameDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isTomorrow + * @category Day Helpers + * @summary Is the given date tomorrow? + * @pure false + * + * @description + * Is the given date tomorrow? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is tomorrow + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 7 October 14:00:00 tomorrow? + * const result = isTomorrow(new Date(2014, 9, 7, 14, 0)) + * //=> true + */ +export default function isTomorrow(dirtyDate) { + requiredArgs(1, arguments); + return isSameDay(dirtyDate, addDays(Date.now(), 1)); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isTomorrow/index.js.flow b/node_modules/date-fns/esm/isTomorrow/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isTomorrow/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isTomorrow/package.json b/node_modules/date-fns/esm/isTomorrow/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isTomorrow/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isTuesday/index.d.ts b/node_modules/date-fns/esm/isTuesday/index.d.ts new file mode 100644 index 000000000..87c7ceb14 --- /dev/null +++ b/node_modules/date-fns/esm/isTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isTuesday } from 'date-fns' +export default isTuesday diff --git a/node_modules/date-fns/esm/isTuesday/index.js b/node_modules/date-fns/esm/isTuesday/index.js new file mode 100644 index 000000000..b7e9afb72 --- /dev/null +++ b/node_modules/date-fns/esm/isTuesday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isTuesday + * @category Weekday Helpers + * @summary Is the given date Tuesday? + * + * @description + * Is the given date Tuesday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Tuesday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 23 September 2014 Tuesday? + * const result = isTuesday(new Date(2014, 8, 23)) + * //=> true + */ +export default function isTuesday(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDay() === 2; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isTuesday/index.js.flow b/node_modules/date-fns/esm/isTuesday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isTuesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isTuesday/package.json b/node_modules/date-fns/esm/isTuesday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isTuesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isValid/index.d.ts b/node_modules/date-fns/esm/isValid/index.d.ts new file mode 100644 index 000000000..26ad11dbf --- /dev/null +++ b/node_modules/date-fns/esm/isValid/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isValid } from 'date-fns' +export default isValid diff --git a/node_modules/date-fns/esm/isValid/index.js b/node_modules/date-fns/esm/isValid/index.js new file mode 100644 index 000000000..2d9e47115 --- /dev/null +++ b/node_modules/date-fns/esm/isValid/index.js @@ -0,0 +1,42 @@ +import isDate from "../isDate/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isValid + * @category Common Helpers + * @summary Is the given date valid? + * + * @description + * Returns false if argument is Invalid Date and true otherwise. + * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * Invalid Date is a Date, whose time value is NaN. + * + * Time value of Date: http://es5.github.io/#x15.9.1.1 + * + * @param {*} date - the date to check + * @returns {Boolean} the date is valid + * @throws {TypeError} 1 argument required + * + * @example + * // For the valid date: + * const result = isValid(new Date(2014, 1, 31)) + * //=> true + * + * @example + * // For the value, convertable into a date: + * const result = isValid(1393804800000) + * //=> true + * + * @example + * // For the invalid date: + * const result = isValid(new Date('')) + * //=> false + */ +export default function isValid(dirtyDate) { + requiredArgs(1, arguments); + if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') { + return false; + } + var date = toDate(dirtyDate); + return !isNaN(Number(date)); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isValid/index.js.flow b/node_modules/date-fns/esm/isValid/index.js.flow new file mode 100644 index 000000000..5bae5e02b --- /dev/null +++ b/node_modules/date-fns/esm/isValid/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: any) => boolean diff --git a/node_modules/date-fns/esm/isValid/package.json b/node_modules/date-fns/esm/isValid/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isValid/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isWednesday/index.d.ts b/node_modules/date-fns/esm/isWednesday/index.d.ts new file mode 100644 index 000000000..e517a9310 --- /dev/null +++ b/node_modules/date-fns/esm/isWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWednesday } from 'date-fns' +export default isWednesday diff --git a/node_modules/date-fns/esm/isWednesday/index.js b/node_modules/date-fns/esm/isWednesday/index.js new file mode 100644 index 000000000..815af33b8 --- /dev/null +++ b/node_modules/date-fns/esm/isWednesday/index.js @@ -0,0 +1,23 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isWednesday + * @category Weekday Helpers + * @summary Is the given date Wednesday? + * + * @description + * Is the given date Wednesday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Wednesday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 24 September 2014 Wednesday? + * const result = isWednesday(new Date(2014, 8, 24)) + * //=> true + */ +export default function isWednesday(dirtyDate) { + requiredArgs(1, arguments); + return toDate(dirtyDate).getDay() === 3; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isWednesday/index.js.flow b/node_modules/date-fns/esm/isWednesday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isWednesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isWednesday/package.json b/node_modules/date-fns/esm/isWednesday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isWednesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isWeekend/index.d.ts b/node_modules/date-fns/esm/isWeekend/index.d.ts new file mode 100644 index 000000000..3e54f3118 --- /dev/null +++ b/node_modules/date-fns/esm/isWeekend/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWeekend } from 'date-fns' +export default isWeekend diff --git a/node_modules/date-fns/esm/isWeekend/index.js b/node_modules/date-fns/esm/isWeekend/index.js new file mode 100644 index 000000000..e04e624d7 --- /dev/null +++ b/node_modules/date-fns/esm/isWeekend/index.js @@ -0,0 +1,25 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isWeekend + * @category Weekday Helpers + * @summary Does the given date fall on a weekend? + * + * @description + * Does the given date fall on a weekend? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date falls on a weekend + * @throws {TypeError} 1 argument required + * + * @example + * // Does 5 October 2014 fall on a weekend? + * const result = isWeekend(new Date(2014, 9, 5)) + * //=> true + */ +export default function isWeekend(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var day = date.getDay(); + return day === 0 || day === 6; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isWeekend/index.js.flow b/node_modules/date-fns/esm/isWeekend/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isWeekend/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isWeekend/package.json b/node_modules/date-fns/esm/isWeekend/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isWeekend/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isWithinInterval/index.d.ts b/node_modules/date-fns/esm/isWithinInterval/index.d.ts new file mode 100644 index 000000000..17339dbb6 --- /dev/null +++ b/node_modules/date-fns/esm/isWithinInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWithinInterval } from 'date-fns' +export default isWithinInterval diff --git a/node_modules/date-fns/esm/isWithinInterval/index.js b/node_modules/date-fns/esm/isWithinInterval/index.js new file mode 100644 index 000000000..f8fd012fd --- /dev/null +++ b/node_modules/date-fns/esm/isWithinInterval/index.js @@ -0,0 +1,53 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isWithinInterval + * @category Interval Helpers + * @summary Is the given date within the interval? + * + * @description + * Is the given date within the interval? (Including start and end.) + * + * @param {Date|Number} date - the date to check + * @param {Interval} interval - the interval to check + * @returns {Boolean} the date is within the interval + * @throws {TypeError} 2 arguments required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For the date within the interval: + * isWithinInterval(new Date(2014, 0, 3), { + * start: new Date(2014, 0, 1), + * end: new Date(2014, 0, 7) + * }) + * //=> true + * + * @example + * // For the date outside of the interval: + * isWithinInterval(new Date(2014, 0, 10), { + * start: new Date(2014, 0, 1), + * end: new Date(2014, 0, 7) + * }) + * //=> false + * + * @example + * // For date equal to interval start: + * isWithinInterval(date, { start, end: date }) // => true + * + * @example + * // For date equal to interval end: + * isWithinInterval(date, { start: date, end }) // => true + */ +export default function isWithinInterval(dirtyDate, interval) { + requiredArgs(2, arguments); + var time = toDate(dirtyDate).getTime(); + var startTime = toDate(interval.start).getTime(); + var endTime = toDate(interval.end).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startTime <= endTime)) { + throw new RangeError('Invalid interval'); + } + return time >= startTime && time <= endTime; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isWithinInterval/index.js.flow b/node_modules/date-fns/esm/isWithinInterval/index.js.flow new file mode 100644 index 000000000..f87005351 --- /dev/null +++ b/node_modules/date-fns/esm/isWithinInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, interval: Interval) => boolean diff --git a/node_modules/date-fns/esm/isWithinInterval/package.json b/node_modules/date-fns/esm/isWithinInterval/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isWithinInterval/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isYesterday/index.d.ts b/node_modules/date-fns/esm/isYesterday/index.d.ts new file mode 100644 index 000000000..b10c63578 --- /dev/null +++ b/node_modules/date-fns/esm/isYesterday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isYesterday } from 'date-fns' +export default isYesterday diff --git a/node_modules/date-fns/esm/isYesterday/index.js b/node_modules/date-fns/esm/isYesterday/index.js new file mode 100644 index 000000000..cd2e29ae9 --- /dev/null +++ b/node_modules/date-fns/esm/isYesterday/index.js @@ -0,0 +1,28 @@ +import isSameDay from "../isSameDay/index.js"; +import subDays from "../subDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name isYesterday + * @category Day Helpers + * @summary Is the given date yesterday? + * @pure false + * + * @description + * Is the given date yesterday? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is yesterday + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 5 October 14:00:00 yesterday? + * const result = isYesterday(new Date(2014, 9, 5, 14, 0)) + * //=> true + */ +export default function isYesterday(dirtyDate) { + requiredArgs(1, arguments); + return isSameDay(dirtyDate, subDays(Date.now(), 1)); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/isYesterday/index.js.flow b/node_modules/date-fns/esm/isYesterday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/esm/isYesterday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/esm/isYesterday/package.json b/node_modules/date-fns/esm/isYesterday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/isYesterday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfDecade/index.d.ts b/node_modules/date-fns/esm/lastDayOfDecade/index.d.ts new file mode 100644 index 000000000..05b030699 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfDecade } from 'date-fns' +export default lastDayOfDecade diff --git a/node_modules/date-fns/esm/lastDayOfDecade/index.js b/node_modules/date-fns/esm/lastDayOfDecade/index.js new file mode 100644 index 000000000..e7a394362 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfDecade/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name lastDayOfDecade + * @category Decade Helpers + * @summary Return the last day of a decade for the given date. + * + * @description + * Return the last day of a decade for the given date. + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of a decade + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of a decade for 21 December 2012 21:12:00: + * const result = lastDayOfDecade(new Date(2012, 11, 21, 21, 12, 00)) + * //=> Wed Dec 31 2019 00:00:00 + */ +export default function lastDayOfDecade(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var decade = 9 + Math.floor(year / 10) * 10; + date.setFullYear(decade + 1, 0, 0); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfDecade/index.js.flow b/node_modules/date-fns/esm/lastDayOfDecade/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfDecade/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/lastDayOfDecade/package.json b/node_modules/date-fns/esm/lastDayOfDecade/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfISOWeek/index.d.ts b/node_modules/date-fns/esm/lastDayOfISOWeek/index.d.ts new file mode 100644 index 000000000..e2533d69d --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeek } from 'date-fns' +export default lastDayOfISOWeek diff --git a/node_modules/date-fns/esm/lastDayOfISOWeek/index.js b/node_modules/date-fns/esm/lastDayOfISOWeek/index.js new file mode 100644 index 000000000..efdfa9ec5 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeek/index.js @@ -0,0 +1,28 @@ +import lastDayOfWeek from "../lastDayOfWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name lastDayOfISOWeek + * @category ISO Week Helpers + * @summary Return the last day of an ISO week for the given date. + * + * @description + * Return the last day of an ISO week for the given date. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of an ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of an ISO week for 2 September 2014 11:55:00: + * const result = lastDayOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Sep 07 2014 00:00:00 + */ +export default function lastDayOfISOWeek(dirtyDate) { + requiredArgs(1, arguments); + return lastDayOfWeek(dirtyDate, { + weekStartsOn: 1 + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfISOWeek/index.js.flow b/node_modules/date-fns/esm/lastDayOfISOWeek/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/lastDayOfISOWeek/package.json b/node_modules/date-fns/esm/lastDayOfISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.d.ts b/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..b30859aac --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeekYear } from 'date-fns' +export default lastDayOfISOWeekYear diff --git a/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js b/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js new file mode 100644 index 000000000..a830adab5 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js @@ -0,0 +1,34 @@ +import getISOWeekYear from "../getISOWeekYear/index.js"; +import startOfISOWeek from "../startOfISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name lastDayOfISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Return the last day of an ISO week-numbering year for the given date. + * + * @description + * Return the last day of an ISO week-numbering year, + * which always starts 3 days before the year's first Thursday. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of an ISO week-numbering year for 2 July 2005: + * const result = lastDayOfISOWeekYear(new Date(2005, 6, 2)) + * //=> Sun Jan 01 2006 00:00:00 + */ +export default function lastDayOfISOWeekYear(dirtyDate) { + requiredArgs(1, arguments); + var year = getISOWeekYear(dirtyDate); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setFullYear(year + 1, 0, 4); + fourthOfJanuary.setHours(0, 0, 0, 0); + var date = startOfISOWeek(fourthOfJanuary); + date.setDate(date.getDate() - 1); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js.flow b/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/lastDayOfISOWeekYear/package.json b/node_modules/date-fns/esm/lastDayOfISOWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfMonth/index.d.ts b/node_modules/date-fns/esm/lastDayOfMonth/index.d.ts new file mode 100644 index 000000000..4db559b34 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfMonth } from 'date-fns' +export default lastDayOfMonth diff --git a/node_modules/date-fns/esm/lastDayOfMonth/index.js b/node_modules/date-fns/esm/lastDayOfMonth/index.js new file mode 100644 index 000000000..1fc228f5e --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfMonth/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name lastDayOfMonth + * @category Month Helpers + * @summary Return the last day of a month for the given date. + * + * @description + * Return the last day of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of a month + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of a month for 2 September 2014 11:55:00: + * const result = lastDayOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 00:00:00 + */ +export default function lastDayOfMonth(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var month = date.getMonth(); + date.setFullYear(date.getFullYear(), month + 1, 0); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfMonth/index.js.flow b/node_modules/date-fns/esm/lastDayOfMonth/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/lastDayOfMonth/package.json b/node_modules/date-fns/esm/lastDayOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfQuarter/index.d.ts b/node_modules/date-fns/esm/lastDayOfQuarter/index.d.ts new file mode 100644 index 000000000..3387b649b --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfQuarter } from 'date-fns' +export default lastDayOfQuarter diff --git a/node_modules/date-fns/esm/lastDayOfQuarter/index.js b/node_modules/date-fns/esm/lastDayOfQuarter/index.js new file mode 100644 index 000000000..389ba0d8d --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfQuarter/index.js @@ -0,0 +1,32 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name lastDayOfQuarter + * @category Quarter Helpers + * @summary Return the last day of a year quarter for the given date. + * + * @description + * Return the last day of a year quarter for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the last day of a quarter + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The last day of a quarter for 2 September 2014 11:55:00: + * const result = lastDayOfQuarter(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 00:00:00 + */ +export default function lastDayOfQuarter(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var currentMonth = date.getMonth(); + var month = currentMonth - currentMonth % 3 + 3; + date.setMonth(month, 0); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfQuarter/index.js.flow b/node_modules/date-fns/esm/lastDayOfQuarter/index.js.flow new file mode 100644 index 000000000..364a3bb2f --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfQuarter/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } +) => Date diff --git a/node_modules/date-fns/esm/lastDayOfQuarter/package.json b/node_modules/date-fns/esm/lastDayOfQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfWeek/index.d.ts b/node_modules/date-fns/esm/lastDayOfWeek/index.d.ts new file mode 100644 index 000000000..d29b9bf95 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfWeek } from 'date-fns' +export default lastDayOfWeek diff --git a/node_modules/date-fns/esm/lastDayOfWeek/index.js b/node_modules/date-fns/esm/lastDayOfWeek/index.js new file mode 100644 index 000000000..f5aeacf7b --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfWeek/index.js @@ -0,0 +1,48 @@ +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +/** + * @name lastDayOfWeek + * @category Week Helpers + * @summary Return the last day of a week for the given date. + * + * @description + * Return the last day of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the last day of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The last day of a week for 2 September 2014 11:55:00: + * const result = lastDayOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sat Sep 06 2014 00:00:00 + * + * @example + * // If the week starts on Monday, the last day of the week for 2 September 2014 11:55:00: + * const result = lastDayOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 }) + * //=> Sun Sep 07 2014 00:00:00 + */ +export default function lastDayOfWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6'); + } + var date = toDate(dirtyDate); + var day = date.getDay(); + var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn); + date.setHours(0, 0, 0, 0); + date.setDate(date.getDate() + diff); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfWeek/index.js.flow b/node_modules/date-fns/esm/lastDayOfWeek/index.js.flow new file mode 100644 index 000000000..9285b6736 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/esm/lastDayOfWeek/package.json b/node_modules/date-fns/esm/lastDayOfWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfYear/index.d.ts b/node_modules/date-fns/esm/lastDayOfYear/index.d.ts new file mode 100644 index 000000000..a90dc0d44 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfYear } from 'date-fns' +export default lastDayOfYear diff --git a/node_modules/date-fns/esm/lastDayOfYear/index.js b/node_modules/date-fns/esm/lastDayOfYear/index.js new file mode 100644 index 000000000..86f069608 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfYear/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name lastDayOfYear + * @category Year Helpers + * @summary Return the last day of a year for the given date. + * + * @description + * Return the last day of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of a year + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of a year for 2 September 2014 11:55:00: + * const result = lastDayOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Dec 31 2014 00:00:00 + */ +export default function lastDayOfYear(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + date.setFullYear(year + 1, 0, 0); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lastDayOfYear/index.js.flow b/node_modules/date-fns/esm/lastDayOfYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/lastDayOfYear/package.json b/node_modules/date-fns/esm/lastDayOfYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lastDayOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lightFormat/index.d.ts b/node_modules/date-fns/esm/lightFormat/index.d.ts new file mode 100644 index 000000000..4aa361b58 --- /dev/null +++ b/node_modules/date-fns/esm/lightFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lightFormat } from 'date-fns' +export default lightFormat diff --git a/node_modules/date-fns/esm/lightFormat/index.js b/node_modules/date-fns/esm/lightFormat/index.js new file mode 100644 index 000000000..919f3ad98 --- /dev/null +++ b/node_modules/date-fns/esm/lightFormat/index.js @@ -0,0 +1,118 @@ +import toDate from "../toDate/index.js"; +import formatters from "../_lib/format/lightFormatters/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import isValid from "../isValid/index.js"; +import subMilliseconds from "../subMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; // This RegExp consists of three parts separated by `|`: +// - (\w)\1* matches any sequences of the same letter +// - '' matches two quote characters in a row +// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), +// except a single quote symbol, which ends the sequence. +// Two quote characters do not end the sequence. +// If there is no matching single quote +// then the sequence will continue until the end of the string. +// - . matches any single character unmatched by previous parts of the RegExps +var formattingTokensRegExp = /(\w)\1*|''|'(''|[^'])+('|$)|./g; +var escapedStringRegExp = /^'([^]*?)'?$/; +var doubleQuoteRegExp = /''/g; +var unescapedLatinCharacterRegExp = /[a-zA-Z]/; + +/** + * @name lightFormat + * @category Common Helpers + * @summary Format the date. + * + * @description + * Return the formatted date string in the given format. Unlike `format`, + * `lightFormat` doesn't use locales and outputs date using the most popular tokens. + * + * > ⚠️ Please note that the `lightFormat` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * + * Accepted patterns: + * | Unit | Pattern | Result examples | + * |---------------------------------|---------|-----------------------------------| + * | AM, PM | a..aaa | AM, PM | + * | | aaaa | a.m., p.m. | + * | | aaaaa | a, p | + * | Calendar year | y | 44, 1, 1900, 2017 | + * | | yy | 44, 01, 00, 17 | + * | | yyy | 044, 001, 000, 017 | + * | | yyyy | 0044, 0001, 1900, 2017 | + * | Month (formatting) | M | 1, 2, ..., 12 | + * | | MM | 01, 02, ..., 12 | + * | Day of month | d | 1, 2, ..., 31 | + * | | dd | 01, 02, ..., 31 | + * | Hour [1-12] | h | 1, 2, ..., 11, 12 | + * | | hh | 01, 02, ..., 11, 12 | + * | Hour [0-23] | H | 0, 1, 2, ..., 23 | + * | | HH | 00, 01, 02, ..., 23 | + * | Minute | m | 0, 1, ..., 59 | + * | | mm | 00, 01, ..., 59 | + * | Second | s | 0, 1, ..., 59 | + * | | ss | 00, 01, ..., 59 | + * | Fraction of second | S | 0, 1, ..., 9 | + * | | SS | 00, 01, ..., 99 | + * | | SSS | 000, 001, ..., 999 | + * | | SSSS | ... | + * + * @param {Date|Number} date - the original date + * @param {String} format - the string of tokens + * @returns {String} the formatted date string + * @throws {TypeError} 2 arguments required + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * const result = lightFormat(new Date(2014, 1, 11), 'yyyy-MM-dd') + * //=> '2014-02-11' + */ + +export default function lightFormat(dirtyDate, formatStr) { + requiredArgs(2, arguments); + var originalDate = toDate(dirtyDate); + if (!isValid(originalDate)) { + throw new RangeError('Invalid time value'); + } + + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + // This ensures that when UTC functions will be implemented, locales will be compatible with them. + // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376 + var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate); + var utcDate = subMilliseconds(originalDate, timezoneOffset); + var tokens = formatStr.match(formattingTokensRegExp); + + // The only case when formattingTokensRegExp doesn't match the string is when it's empty + if (!tokens) return ''; + var result = tokens.map(function (substring) { + // Replace two single quote characters with one single quote character + if (substring === "''") { + return "'"; + } + var firstCharacter = substring[0]; + if (firstCharacter === "'") { + return cleanEscapedString(substring); + } + var formatter = formatters[firstCharacter]; + if (formatter) { + return formatter(utcDate, substring); + } + if (firstCharacter.match(unescapedLatinCharacterRegExp)) { + throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`'); + } + return substring; + }).join(''); + return result; +} +function cleanEscapedString(input) { + var matches = input.match(escapedStringRegExp); + if (!matches) { + return input; + } + return matches[1].replace(doubleQuoteRegExp, "'"); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/lightFormat/index.js.flow b/node_modules/date-fns/esm/lightFormat/index.js.flow new file mode 100644 index 000000000..818d9c4e8 --- /dev/null +++ b/node_modules/date-fns/esm/lightFormat/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, format: string) => string diff --git a/node_modules/date-fns/esm/lightFormat/package.json b/node_modules/date-fns/esm/lightFormat/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/lightFormat/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js b/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js new file mode 100644 index 000000000..1e6729989 --- /dev/null +++ b/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js @@ -0,0 +1,9 @@ +export default function buildFormatLongFn(args) { + return function () { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + // TODO: Remove String() + var width = options.width ? String(options.width) : args.defaultWidth; + var format = args.formats[width] || args.formats[args.defaultWidth]; + return format; + }; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js b/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js new file mode 100644 index 000000000..e5af8f8a6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js @@ -0,0 +1,18 @@ +export default function buildLocalizeFn(args) { + return function (dirtyIndex, options) { + var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone'; + var valuesArray; + if (context === 'formatting' && args.formattingValues) { + var defaultWidth = args.defaultFormattingWidth || args.defaultWidth; + var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth; + valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth]; + } else { + var _defaultWidth = args.defaultWidth; + var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth; + valuesArray = args.values[_width] || args.values[_defaultWidth]; + } + var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; + // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it! + return valuesArray[index]; + }; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js b/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js new file mode 100644 index 000000000..ac158b00b --- /dev/null +++ b/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js @@ -0,0 +1,42 @@ +export default function buildMatchFn(args) { + return function (string) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var width = options.width; + var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth]; + var matchResult = string.match(matchPattern); + if (!matchResult) { + return null; + } + var matchedString = matchResult[0]; + var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth]; + var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) { + return pattern.test(matchedString); + }) : findKey(parsePatterns, function (pattern) { + return pattern.test(matchedString); + }); + var value; + value = args.valueCallback ? args.valueCallback(key) : key; + value = options.valueCallback ? options.valueCallback(value) : value; + var rest = string.slice(matchedString.length); + return { + value: value, + rest: rest + }; + }; +} +function findKey(object, predicate) { + for (var key in object) { + if (object.hasOwnProperty(key) && predicate(object[key])) { + return key; + } + } + return undefined; +} +function findIndex(array, predicate) { + for (var key = 0; key < array.length; key++) { + if (predicate(array[key])) { + return key; + } + } + return undefined; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js b/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js new file mode 100644 index 000000000..85320876b --- /dev/null +++ b/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js @@ -0,0 +1,17 @@ +export default function buildMatchPatternFn(args) { + return function (string) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var matchResult = string.match(args.matchPattern); + if (!matchResult) return null; + var matchedString = matchResult[0]; + var parseResult = string.match(args.parsePattern); + if (!parseResult) return null; + var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0]; + value = options.valueCallback ? options.valueCallback(value) : value; + var rest = string.slice(matchedString.length); + return { + value: value, + rest: rest + }; + }; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/af/_lib/formatDistance/index.js new file mode 100644 index 000000000..64c191aa3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: "minder as 'n sekonde", + other: 'minder as {{count}} sekondes' + }, + xSeconds: { + one: '1 sekonde', + other: '{{count}} sekondes' + }, + halfAMinute: "'n halwe minuut", + lessThanXMinutes: { + one: "minder as 'n minuut", + other: 'minder as {{count}} minute' + }, + xMinutes: { + one: "'n minuut", + other: '{{count}} minute' + }, + aboutXHours: { + one: 'ongeveer 1 uur', + other: 'ongeveer {{count}} ure' + }, + xHours: { + one: '1 uur', + other: '{{count}} ure' + }, + xDays: { + one: '1 dag', + other: '{{count}} dae' + }, + aboutXWeeks: { + one: 'ongeveer 1 week', + other: 'ongeveer {{count}} weke' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weke' + }, + aboutXMonths: { + one: 'ongeveer 1 maand', + other: 'ongeveer {{count}} maande' + }, + xMonths: { + one: '1 maand', + other: '{{count}} maande' + }, + aboutXYears: { + one: 'ongeveer 1 jaar', + other: 'ongeveer {{count}} jaar' + }, + xYears: { + one: '1 jaar', + other: '{{count}} jaar' + }, + overXYears: { + one: 'meer as 1 jaar', + other: 'meer as {{count}} jaar' + }, + almostXYears: { + one: 'byna 1 jaar', + other: 'byna {{count}} jaar' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'oor ' + result; + } else { + return result + ' gelede'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/af/_lib/formatLong/index.js new file mode 100644 index 000000000..1486b6ab6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/af/_lib/formatRelative/index.js new file mode 100644 index 000000000..549758630 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'verlede' eeee 'om' p", + yesterday: "'gister om' p", + today: "'vandag om' p", + tomorrow: "'môre om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/_lib/localize/index.js b/node_modules/date-fns/esm/locale/af/_lib/localize/index.js new file mode 100644 index 000000000..a27cbb847 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/_lib/localize/index.js @@ -0,0 +1,129 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['vC', 'nC'], + abbreviated: ['vC', 'nC'], + wide: ['voor Christus', 'na Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1ste kwartaal', '2de kwartaal', '3de kwartaal', '4de kwartaal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], + wide: ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'W', 'D', 'V', 'S'], + short: ['So', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Sa'], + abbreviated: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'], + wide: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'middaguur', + morning: 'oggend', + afternoon: 'middag', + evening: 'laat middag', + night: 'aand' + }, + abbreviated: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'middaguur', + morning: 'oggend', + afternoon: 'middag', + evening: 'laat middag', + night: 'aand' + }, + wide: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'middaguur', + morning: 'oggend', + afternoon: 'middag', + evening: 'laat middag', + night: 'aand' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'uur die middag', + morning: 'uur die oggend', + afternoon: 'uur die middag', + evening: 'uur die aand', + night: 'uur die aand' + }, + abbreviated: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'uur die middag', + morning: 'uur die oggend', + afternoon: 'uur die middag', + evening: 'uur die aand', + night: 'uur die aand' + }, + wide: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'uur die middag', + morning: 'uur die oggend', + afternoon: 'uur die middag', + evening: 'uur die aand', + night: 'uur die aand' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 < 20) { + switch (rem100) { + case 1: + case 8: + return number + 'ste'; + default: + return number + 'de'; + } + } + return number + 'ste'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/_lib/match/index.js b/node_modules/date-fns/esm/locale/af/_lib/match/index.js new file mode 100644 index 000000000..728f09580 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(ste|de)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([vn]\.? ?C\.?)/, + abbreviated: /^([vn]\. ?C\.?)/, + wide: /^((voor|na) Christus)/ +}; +var parseEraPatterns = { + any: [/^v/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234](st|d)e kwartaal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i, + wide: /^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i +}; +var parseMonthPatterns = { + narrow: [/^J/i, /^F/i, /^M/i, /^A/i, /^M/i, /^J/i, /^J/i, /^A/i, /^S/i, /^O/i, /^N/i, /^D/i], + any: [/^Jan/i, /^Feb/i, /^Mrt/i, /^Apr/i, /^Mei/i, /^Jun/i, /^Jul/i, /^Aug/i, /^Sep/i, /^Okt/i, /^Nov/i, /^Dec/i] +}; +var matchDayPatterns = { + narrow: /^[smdwv]/i, + short: /^(So|Ma|Di|Wo|Do|Vr|Sa)/i, + abbreviated: /^(Son|Maa|Din|Woe|Don|Vry|Sat)/i, + wide: /^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i +}; +var parseDayPatterns = { + narrow: [/^S/i, /^M/i, /^D/i, /^W/i, /^D/i, /^V/i, /^S/i], + any: [/^So/i, /^Ma/i, /^Di/i, /^Wo/i, /^Do/i, /^Vr/i, /^Sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^vm/i, + pm: /^nm/i, + midnight: /^middernag/i, + noon: /^middaguur/i, + morning: /oggend/i, + afternoon: /middag/i, + evening: /laat middag/i, + night: /aand/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/index.d.ts b/node_modules/date-fns/esm/locale/af/index.d.ts new file mode 100644 index 000000000..fb278e61c --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { af } from 'date-fns/locale' +export default af diff --git a/node_modules/date-fns/esm/locale/af/index.js b/node_modules/date-fns/esm/locale/af/index.js new file mode 100644 index 000000000..3b9424500 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Afrikaans locale. + * @language Afrikaans + * @iso-639-2 afr + * @author Marnus Weststrate [@marnusw]{@link https://github.com/marnusw} + */ +var locale = { + code: 'af', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/af/index.js.flow b/node_modules/date-fns/esm/locale/af/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/af/package.json b/node_modules/date-fns/esm/locale/af/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/af/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatDistance/index.js new file mode 100644 index 000000000..9c77afac7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatDistance/index.js @@ -0,0 +1,118 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية واحدة', + two: 'أقل من ثانتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتين', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريباً', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريباً', + two: 'أسبوعين تقريباً', + threeToTen: '{{count}} أسابيع تقريباً', + other: '{{count}} أسبوع تقريباً' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريباً', + threeToTen: '{{count}} أشهر تقريباً', + other: '{{count}} شهر تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + }, + xYears: { + one: 'عام واحد', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatLong/index.js new file mode 100644 index 000000000..1cfd3a443 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'عند' {{time}}", + long: "{{date}} 'عند' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatRelative/index.js new file mode 100644 index 000000000..e4e605325 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'أخر' eeee 'عند' p", + yesterday: "'أمس عند' p", + today: "'اليوم عند' p", + tomorrow: "'غداً عند' p", + nextWeek: "eeee 'عند' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ar-DZ/_lib/localize/index.js new file mode 100644 index 000000000..91df96900 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['جانـ', 'فيفـ', 'مارس', 'أفريل', 'مايـ', 'جوانـ', 'جويـ', 'أوت', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'], + wide: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/_lib/match/index.js b/node_modules/date-fns/esm/locale/ar-DZ/_lib/match/index.js new file mode 100644 index 000000000..1737a8bf3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i, + wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ر[1234]/i, + wide: /^الربع [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[جفمأسند]/i, + abbreviated: /^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i, + wide: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i +}; +var parseMonthPatterns = { + narrow: [/^ج/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ج/i, /^ج/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^جان/i, /^فيف/i, /^مار/i, /^أفر/i, /^ماي/i, /^جوا/i, /^جوي/i, /^أوت/i, /^سبت/i, /^أكت/i, /^نوف/i, /^ديس/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return Number(index) + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/index.d.ts b/node_modules/date-fns/esm/locale/ar-DZ/index.d.ts new file mode 100644 index 000000000..97f47f111 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arDZ } from 'date-fns/locale' +export default arDZ diff --git a/node_modules/date-fns/esm/locale/ar-DZ/index.js b/node_modules/date-fns/esm/locale/ar-DZ/index.js new file mode 100644 index 000000000..3dc8b05a8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Algerian Arabic). + * @language Algerian Arabic + * @iso-639-2 ara + * @author Badreddine Boumaza [@badre429]{@link https://github.com/badre429} + * @author Ahmed ElShahat [@elshahat]{@link https://github.com/elshahat} + */ +var locale = { + code: 'ar-DZ', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-DZ/index.js.flow b/node_modules/date-fns/esm/locale/ar-DZ/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ar-DZ/package.json b/node_modules/date-fns/esm/locale/ar-DZ/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-DZ/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ar-EG/_lib/formatDistance/index.js new file mode 100644 index 000000000..92c2c4eb8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/_lib/formatDistance/index.js @@ -0,0 +1,117 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية', + two: 'أقل من ثانيتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية', + two: 'ثانيتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نص دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقايق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة', + two: 'دقيقتين', + threeToTen: '{{count}} دقايق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'حوالي ساعة', + two: 'حوالي ساعتين', + threeToTen: 'حوالي {{count}} ساعات', + other: 'حوالي {{count}} ساعة' + }, + xHours: { + one: 'ساعة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'حوالي أسبوع', + two: 'حوالي أسبوعين', + threeToTen: 'حوالي {{count}} أسابيع', + other: 'حوالي {{count}} أسبوع' + }, + xWeeks: { + one: 'أسبوع', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'حوالي شهر', + two: 'حوالي شهرين', + threeToTen: 'حوالي {{count}} أشهر', + other: 'حوالي {{count}} شهر' + }, + xMonths: { + one: 'شهر', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'حوالي سنة', + two: 'حوالي سنتين', + threeToTen: 'حوالي {{count}} سنين', + other: 'حوالي {{count}} سنة' + }, + xYears: { + one: 'عام', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من سنة', + two: 'أكثر من سنتين', + threeToTen: 'أكثر من {{count}} سنين', + other: 'أكثر من {{count}} سنة' + }, + almostXYears: { + one: 'عام تقريبًا', + two: 'عامين تقريبًا', + threeToTen: '{{count}} أعوام تقريبًا', + other: '{{count}} عام تقريبًا' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2) { + result = tokenValue.two; + } else if (count <= 10) { + result = tokenValue.threeToTen.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return "\u0641\u064A \u062E\u0644\u0627\u0644 ".concat(result); + } else { + return "\u0645\u0646\u0630 ".concat(result); + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ar-EG/_lib/formatLong/index.js new file mode 100644 index 000000000..4812040c5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE، do MMMM y', + long: 'do MMMM y', + medium: 'dd/MMM/y', + short: 'd/MM/y' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'الساعة' {{time}}", + long: "{{date}} 'الساعة' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ar-EG/_lib/formatRelative/index.js new file mode 100644 index 000000000..fc2523345 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'اللي جاي الساعة' p", + yesterday: "'إمبارح الساعة' p", + today: "'النهاردة الساعة' p", + tomorrow: "'بكرة الساعة' p", + nextWeek: "eeee 'الساعة' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ar-EG/_lib/localize/index.js new file mode 100644 index 000000000..2225abcba --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م', 'ب.م'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'مايو', 'يونـ', 'يولـ', 'أغسـ', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهراً', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهراً', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهراً', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + morning: 'في الصباح', + noon: 'ظهراً', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/_lib/match/index.js b/node_modules/date-fns/esm/locale/ar-EG/_lib/match/index.js new file mode 100644 index 000000000..eb59940df --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/_lib/match/index.js @@ -0,0 +1,101 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)/; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/g, + abbreviated: /^(ق.م|ب.م)/g, + wide: /^(قبل الميلاد|بعد الميلاد)/g +}; +var parseEraPatterns = { + any: [/^ق/g, /^ب/g] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/, + abbreviated: /^ر[1234]/, + wide: /^الربع (الأول|الثاني|الثالث|الرابع)/ +}; +var parseQuarterPatterns = { + wide: [/الربع الأول/, /الربع الثاني/, /الربع الثالث/, /الربع الرابع/], + any: [/1/, /2/, /3/, /4/] +}; +var matchMonthPatterns = { + narrow: /^(ي|ف|م|أ|س|ن|د)/, + abbreviated: /^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/, + wide: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/ +}; +var parseMonthPatterns = { + narrow: [/^ي/, /^ف/, /^م/, /^أ/, /^م/, /^ي/, /^ي/, /^أ/, /^س/, /^أ/, /^ن/, /^د/], + any: [/^ينا/, /^فبر/, /^مارس/, /^أبريل/, /^مايو/, /^يون/, /^يول/, /^أغس/, /^سبت/, /^أكت/, /^نوف/, /^ديس/] +}; +var matchDayPatterns = { + narrow: /^(ح|ن|ث|ر|خ|ج|س)/, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/, + abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/ +}; +var parseDayPatterns = { + narrow: [/^ح/, /^ن/, /^ث/, /^ر/, /^خ/, /^ج/, /^س/], + any: [/أحد/, /اثنين/, /ثلاثاء/, /أربعاء/, /خميس/, /جمعة/, /سبت/] +}; +var matchDayPeriodPatterns = { + narrow: /^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/, + abbreviated: /^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/, + wide: /^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/, + any: /^(ص|م|صباح|ظهر|مساء|ليل)/ +}; +var parseDayPeriodPatterns = { + any: { + am: /^ص/, + pm: /^م/, + midnight: /^ن/, + noon: /^ظ/, + morning: /^ص/, + afternoon: /^بعد/, + evening: /^م/, + night: /^ل/ + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/index.d.ts b/node_modules/date-fns/esm/locale/ar-EG/index.d.ts new file mode 100644 index 000000000..0d317119b --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arEG } from 'date-fns/locale' +export default arEG diff --git a/node_modules/date-fns/esm/locale/ar-EG/index.js b/node_modules/date-fns/esm/locale/ar-EG/index.js new file mode 100644 index 000000000..c02215dd3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Egypt). + * @language Arabic + * @iso-639-2 ara + * @author AbdAllah AbdElFattah [@AbdAllahAbdElFattah13]{@link https://github.com/AbdAllahAbdElFattah13} + */ +var locale = { + code: 'ar-EG', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-EG/index.js.flow b/node_modules/date-fns/esm/locale/ar-EG/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ar-EG/package.json b/node_modules/date-fns/esm/locale/ar-EG/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-EG/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ar-MA/_lib/formatDistance/index.js new file mode 100644 index 000000000..9c77afac7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/_lib/formatDistance/index.js @@ -0,0 +1,118 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية واحدة', + two: 'أقل من ثانتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتين', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريباً', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريباً', + two: 'أسبوعين تقريباً', + threeToTen: '{{count}} أسابيع تقريباً', + other: '{{count}} أسبوع تقريباً' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريباً', + threeToTen: '{{count}} أشهر تقريباً', + other: '{{count}} شهر تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + }, + xYears: { + one: 'عام واحد', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ar-MA/_lib/formatLong/index.js new file mode 100644 index 000000000..1cfd3a443 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'عند' {{time}}", + long: "{{date}} 'عند' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ar-MA/_lib/formatRelative/index.js new file mode 100644 index 000000000..e4e605325 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'أخر' eeee 'عند' p", + yesterday: "'أمس عند' p", + today: "'اليوم عند' p", + tomorrow: "'غداً عند' p", + nextWeek: "eeee 'عند' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ar-MA/_lib/localize/index.js new file mode 100644 index 000000000..b2c345e32 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'غ', 'ش', 'أ', 'ن', 'د'], + abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'ماي', 'يونـ', 'يولـ', 'غشت', 'شتنـ', 'أكتـ', 'نونـ', 'دجنـ'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'], + wide: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/_lib/match/index.js b/node_modules/date-fns/esm/locale/ar-MA/_lib/match/index.js new file mode 100644 index 000000000..a77b34dfa --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i, + wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ر[1234]/i, + wide: /^الربع [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[يفمأمسند]/i, + abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i, + wide: /^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^غ/i, /^ش/i, /^أ/i, /^ن/i, /^د/i], + any: [/^ين/i, /^فب/i, /^مار/i, /^أب/i, /^ماي/i, /^يون/i, /^يول/i, /^غشت/i, /^ش/i, /^أك/i, /^ن/i, /^د/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i, + wide: /^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الإثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^إث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return Number(index) + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/index.d.ts b/node_modules/date-fns/esm/locale/ar-MA/index.d.ts new file mode 100644 index 000000000..b12ae41c0 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arMA } from 'date-fns/locale' +export default arMA diff --git a/node_modules/date-fns/esm/locale/ar-MA/index.js b/node_modules/date-fns/esm/locale/ar-MA/index.js new file mode 100644 index 000000000..19a49d494 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Moroccan Arabic). + * @language Moroccan Arabic + * @iso-639-2 ara + * @author Achraf Rrami [@rramiachraf]{@link https://github.com/rramiachraf} + */ +var locale = { + code: 'ar-MA', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + // Monday is 1 + weekStartsOn: 1, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-MA/index.js.flow b/node_modules/date-fns/esm/locale/ar-MA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ar-MA/package.json b/node_modules/date-fns/esm/locale/ar-MA/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-MA/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ar-SA/_lib/formatDistance/index.js new file mode 100644 index 000000000..1eaa25986 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/_lib/formatDistance/index.js @@ -0,0 +1,117 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية واحدة', + two: 'أقل من ثانتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتين', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريباً', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريباً', + two: 'أسبوعين تقريباً', + threeToTen: '{{count}} أسابيع تقريباً', + other: '{{count}} أسبوع تقريباً' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريباً', + threeToTen: '{{count}} أشهر تقريباً', + other: '{{count}} شهر تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + }, + xYears: { + one: 'عام واحد', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2) { + result = tokenValue.two; + } else if (count <= 10) { + result = tokenValue.threeToTen.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ar-SA/_lib/formatLong/index.js new file mode 100644 index 000000000..1cfd3a443 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'عند' {{time}}", + long: "{{date}} 'عند' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ar-SA/_lib/formatRelative/index.js new file mode 100644 index 000000000..e4e605325 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'أخر' eeee 'عند' p", + yesterday: "'أمس عند' p", + today: "'اليوم عند' p", + tomorrow: "'غداً عند' p", + nextWeek: "eeee 'عند' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ar-SA/_lib/localize/index.js new file mode 100644 index 000000000..f22b33c6e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'مايو', 'يونـ', 'يولـ', 'أغسـ', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/_lib/match/index.js b/node_modules/date-fns/esm/locale/ar-SA/_lib/match/index.js new file mode 100644 index 000000000..d4d781216 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i, + wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ر[1234]/i, + wide: /^الربع [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[يفمأمسند]/i, + abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i, + wide: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^ين/i, /^ف/i, /^مار/i, /^أب/i, /^ماي/i, /^يون/i, /^يول/i, /^أغ/i, /^س/i, /^أك/i, /^ن/i, /^د/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/index.d.ts b/node_modules/date-fns/esm/locale/ar-SA/index.d.ts new file mode 100644 index 000000000..e1a74a056 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arSA } from 'date-fns/locale' +export default arSA diff --git a/node_modules/date-fns/esm/locale/ar-SA/index.js b/node_modules/date-fns/esm/locale/ar-SA/index.js new file mode 100644 index 000000000..c9176d9d9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Sauid Arabic). + * @language Arabic + * @iso-639-2 ara + * @author Dhaifallah Alwadani [@dalwadani]{@link https://github.com/dalwadani} + */ +var locale = { + code: 'ar-SA', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-SA/index.js.flow b/node_modules/date-fns/esm/locale/ar-SA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ar-SA/package.json b/node_modules/date-fns/esm/locale/ar-SA/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-SA/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ar-TN/_lib/formatDistance/index.js new file mode 100644 index 000000000..cbbef4386 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/_lib/formatDistance/index.js @@ -0,0 +1,117 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية', + two: 'أقل من زوز ثواني', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية', + two: 'زوز ثواني', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نص دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقايق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة', + two: 'دقيقتين', + threeToTen: '{{count}} دقايق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة تقريب', + two: 'ساعتين تقريب', + threeToTen: '{{count}} سوايع تقريب', + other: '{{count}} ساعة تقريب' + }, + xHours: { + one: 'ساعة', + two: 'ساعتين', + threeToTen: '{{count}} سوايع', + other: '{{count}} ساعة' + }, + xDays: { + one: 'نهار', + two: 'نهارين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'جمعة تقريب', + two: 'جمعتين تقريب', + threeToTen: '{{count}} جماع تقريب', + other: '{{count}} جمعة تقريب' + }, + xWeeks: { + one: 'جمعة', + two: 'جمعتين', + threeToTen: '{{count}} جماع', + other: '{{count}} جمعة' + }, + aboutXMonths: { + one: 'شهر تقريب', + two: 'شهرين تقريب', + threeToTen: '{{count}} أشهرة تقريب', + other: '{{count}} شهر تقريب' + }, + xMonths: { + one: 'شهر', + two: 'شهرين', + threeToTen: '{{count}} أشهرة', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام تقريب', + two: 'عامين تقريب', + threeToTen: '{{count}} أعوام تقريب', + other: '{{count}} عام تقريب' + }, + xYears: { + one: 'عام', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام تقريب', + two: 'عامين تقريب', + threeToTen: '{{count}} أعوام تقريب', + other: '{{count}} عام تقريب' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في ' + result; + } else { + return 'عندو ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ar-TN/_lib/formatLong/index.js new file mode 100644 index 000000000..e2f663779 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE، do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss', + long: 'HH:mm:ss', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'مع' {{time}}", + long: "{{date}} 'مع' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ar-TN/_lib/formatRelative/index.js new file mode 100644 index 000000000..0c9b1cdbc --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'إلي فات مع' p", + yesterday: "'البارح مع' p", + today: "'اليوم مع' p", + tomorrow: "'غدوة مع' p", + nextWeek: "eeee 'الجمعة الجاية مع' p 'نهار'", + other: 'P' +}; +var formatRelative = function formatRelative(token) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ar-TN/_lib/localize/index.js new file mode 100644 index 000000000..cc63234a8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['د', 'ن', 'أ', 'س', 'أ', 'ج', 'ج', 'م', 'أ', 'م', 'ف', 'ج'], + abbreviated: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'], + wide: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'ع', + morning: 'الصباح', + noon: 'القايلة', + afternoon: 'بعد القايلة', + evening: 'العشية', + night: 'الليل', + midnight: 'نص الليل' + }, + abbreviated: { + am: 'ص', + pm: 'ع', + morning: 'الصباح', + noon: 'القايلة', + afternoon: 'بعد القايلة', + evening: 'العشية', + night: 'الليل', + midnight: 'نص الليل' + }, + wide: { + am: 'ص', + pm: 'ع', + morning: 'الصباح', + noon: 'القايلة', + afternoon: 'بعد القايلة', + evening: 'العشية', + night: 'الليل', + midnight: 'نص الليل' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'ع', + morning: 'في الصباح', + noon: 'في القايلة', + afternoon: 'بعد القايلة', + evening: 'في العشية', + night: 'في الليل', + midnight: 'نص الليل' + }, + abbreviated: { + am: 'ص', + pm: 'ع', + morning: 'في الصباح', + noon: 'في القايلة', + afternoon: 'بعد القايلة', + evening: 'في العشية', + night: 'في الليل', + midnight: 'نص الليل' + }, + wide: { + am: 'ص', + pm: 'ع', + morning: 'في الصباح', + noon: 'في القايلة', + afternoon: 'بعد القايلة', + evening: 'في العشية', + night: 'في الليل', + midnight: 'نص الليل' + } +}; +var ordinalNumber = function ordinalNumber(num) { + return String(num); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/_lib/match/index.js b/node_modules/date-fns/esm/locale/ar-TN/_lib/match/index.js new file mode 100644 index 000000000..7e2df9bd9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /[قب]/, + abbreviated: /[قب]\.م\./, + wide: /(قبل|بعد) الميلاد/ +}; +var parseEraPatterns = { + any: [/قبل/, /بعد/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /ر[1234]/, + wide: /الربع (الأول|الثاني|الثالث|الرابع)/ +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[جفمأسند]/, + abbreviated: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/, + wide: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/ +}; +var parseMonthPatterns = { + narrow: [/^ج/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ج/i, /^ج/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^جانفي/i, /^فيفري/i, /^مارس/i, /^أفريل/i, /^ماي/i, /^جوان/i, /^جويلية/i, /^أوت/i, /^سبتمبر/i, /^أكتوبر/i, /^نوفمبر/i, /^ديسمبر/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ص|ع|ن ل|ل|(في|مع) (صباح|قايلة|عشية|ليل))/, + any: /^([صع]|نص الليل|قايلة|(في|مع) (صباح|قايلة|عشية|ليل))/ +}; +var parseDayPeriodPatterns = { + any: { + am: /^ص/, + pm: /^ع/, + midnight: /نص الليل/, + noon: /قايلة/, + afternoon: /بعد القايلة/, + morning: /صباح/, + evening: /عشية/, + night: /ليل/ + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/index.d.ts b/node_modules/date-fns/esm/locale/ar-TN/index.d.ts new file mode 100644 index 000000000..a793e3234 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arTN } from 'date-fns/locale' +export default arTN diff --git a/node_modules/date-fns/esm/locale/ar-TN/index.js b/node_modules/date-fns/esm/locale/ar-TN/index.js new file mode 100644 index 000000000..a3cfbd8da --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Tunisian Arabic). + * @language Arabic + * @iso-639-2 ara + * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3} + */ +var locale = { + code: 'ar-TN', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar-TN/index.js.flow b/node_modules/date-fns/esm/locale/ar-TN/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ar-TN/package.json b/node_modules/date-fns/esm/locale/ar-TN/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar-TN/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ar/_lib/formatDistance/index.js new file mode 100644 index 000000000..2c38c3202 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/_lib/formatDistance/index.js @@ -0,0 +1,117 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية', + two: 'أقل من ثانيتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانيتان', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتان', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريبا', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتان', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومان', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريبا', + two: 'أسبوعين تقريبا', + threeToTen: '{{count}} أسابيع تقريبا', + other: '{{count}} أسبوعا تقريبا' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعان', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوعا' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريبا', + threeToTen: '{{count}} أشهر تقريبا', + other: '{{count}} شهرا تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهران', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهرا' + }, + aboutXYears: { + one: 'سنة واحدة تقريباً', + two: 'سنتين تقريبا', + threeToTen: '{{count}} سنوات تقريباً', + other: '{{count}} سنة تقريباً' + }, + xYears: { + one: 'سنة واحد', + two: 'سنتان', + threeToTen: '{{count}} سنوات', + other: '{{count}} سنة' + }, + overXYears: { + one: 'أكثر من سنة', + two: 'أكثر من سنتين', + threeToTen: 'أكثر من {{count}} سنوات', + other: 'أكثر من {{count}} سنة' + }, + almostXYears: { + one: 'ما يقارب سنة واحدة', + two: 'ما يقارب سنتين', + threeToTen: 'ما يقارب {{count}} سنوات', + other: 'ما يقارب {{count}} سنة' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ar/_lib/formatLong/index.js new file mode 100644 index 000000000..290d43fc2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE، do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss', + long: 'HH:mm:ss', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'عند الساعة' {{time}}", + long: "{{date}} 'عند الساعة' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ar/_lib/formatRelative/index.js new file mode 100644 index 000000000..660e5971d --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'الماضي عند الساعة' p", + yesterday: "'الأمس عند الساعة' p", + today: "'اليوم عند الساعة' p", + tomorrow: "'غدا عند الساعة' p", + nextWeek: "eeee 'القادم عند الساعة' p", + other: 'P' +}; +var formatRelative = function formatRelative(token) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ar/_lib/localize/index.js new file mode 100644 index 000000000..c0048780a --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + morning: 'الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'المساء', + night: 'الليل', + midnight: 'منتصف الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + morning: 'الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'المساء', + night: 'الليل', + midnight: 'منتصف الليل' + }, + wide: { + am: 'ص', + pm: 'م', + morning: 'الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'المساء', + night: 'الليل', + midnight: 'منتصف الليل' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + morning: 'في الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل', + midnight: 'منتصف الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + morning: 'في الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل', + midnight: 'منتصف الليل' + }, + wide: { + am: 'ص', + pm: 'م', + morning: 'في الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل', + midnight: 'منتصف الليل' + } +}; +var ordinalNumber = function ordinalNumber(num) { + return String(num); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/_lib/match/index.js b/node_modules/date-fns/esm/locale/ar/_lib/match/index.js new file mode 100644 index 000000000..0c913498f --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /[قب]/, + abbreviated: /[قب]\.م\./, + wide: /(قبل|بعد) الميلاد/ +}; +var parseEraPatterns = { + any: [/قبل/, /بعد/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /ر[1234]/, + wide: /الربع (الأول|الثاني|الثالث|الرابع)/ +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[أيفمسند]/, + abbreviated: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/, + wide: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/ +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^يناير/i, /^فبراير/i, /^مارس/i, /^أبريل/i, /^مايو/i, /^يونيو/i, /^يوليو/i, /^أغسطس/i, /^سبتمبر/i, /^أكتوبر/i, /^نوفمبر/i, /^ديسمبر/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/, + any: /^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/ +}; +var parseDayPeriodPatterns = { + any: { + am: /^ص/, + pm: /^م/, + midnight: /منتصف الليل/, + noon: /الظهر/, + afternoon: /بعد الظهر/, + morning: /في الصباح/, + evening: /في المساء/, + night: /في الليل/ + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/index.d.ts b/node_modules/date-fns/esm/locale/ar/index.d.ts new file mode 100644 index 000000000..61adf3bab --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ar } from 'date-fns/locale' +export default ar diff --git a/node_modules/date-fns/esm/locale/ar/index.js b/node_modules/date-fns/esm/locale/ar/index.js new file mode 100644 index 000000000..8aa3a63bf --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Modern Standard Arabic - Al-fussha). + * @language Modern Standard Arabic + * @iso-639-2 ara + * @author Abdallah Hassan [@AbdallahAHO]{@link https://github.com/AbdallahAHO} + * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3} + */ +var locale = { + code: 'ar', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 6 /* Saturday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ar/index.js.flow b/node_modules/date-fns/esm/locale/ar/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ar/package.json b/node_modules/date-fns/esm/locale/ar/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ar/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/az/_lib/formatDistance/index.js new file mode 100644 index 000000000..fd07ca19e --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'bir saniyədən az', + other: '{{count}} bir saniyədən az' + }, + xSeconds: { + one: '1 saniyə', + other: '{{count}} saniyə' + }, + halfAMinute: 'yarım dəqiqə', + lessThanXMinutes: { + one: 'bir dəqiqədən az', + other: '{{count}} bir dəqiqədən az' + }, + xMinutes: { + one: 'bir dəqiqə', + other: '{{count}} dəqiqə' + }, + aboutXHours: { + one: 'təxminən 1 saat', + other: 'təxminən {{count}} saat' + }, + xHours: { + one: '1 saat', + other: '{{count}} saat' + }, + xDays: { + one: '1 gün', + other: '{{count}} gün' + }, + aboutXWeeks: { + one: 'təxminən 1 həftə', + other: 'təxminən {{count}} həftə' + }, + xWeeks: { + one: '1 həftə', + other: '{{count}} həftə' + }, + aboutXMonths: { + one: 'təxminən 1 ay', + other: 'təxminən {{count}} ay' + }, + xMonths: { + one: '1 ay', + other: '{{count}} ay' + }, + aboutXYears: { + one: 'təxminən 1 il', + other: 'təxminən {{count}} il' + }, + xYears: { + one: '1 il', + other: '{{count}} il' + }, + overXYears: { + one: '1 ildən çox', + other: '{{count}} ildən çox' + }, + almostXYears: { + one: 'demək olar ki 1 il', + other: 'demək olar ki {{count}} il' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' sonra'; + } else { + return result + ' əvvəl'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/az/_lib/formatLong/index.js new file mode 100644 index 000000000..778773299 --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, do MMMM y 'il'", + long: "do MMMM y 'il'", + medium: "d MMM y 'il'", + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} {{time}} - 'də'", + long: "{{date}} {{time}} - 'də'", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/az/_lib/formatRelative/index.js new file mode 100644 index 000000000..d9368cf34 --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'sonuncu' eeee p -'də'", + yesterday: "'dünən' p -'də'", + today: "'bugün' p -'də'", + tomorrow: "'sabah' p -'də'", + nextWeek: "eeee p -'də'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/_lib/localize/index.js b/node_modules/date-fns/esm/locale/az/_lib/localize/index.js new file mode 100644 index 000000000..0a3b5f57c --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/_lib/localize/index.js @@ -0,0 +1,157 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['e.ə', 'b.e'], + abbreviated: ['e.ə', 'b.e'], + wide: ['eramızdan əvvəl', 'bizim era'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1ci kvartal', '2ci kvartal', '3cü kvartal', '4cü kvartal'] +}; +var monthValues = { + narrow: ['Y', 'F', 'M', 'A', 'M', 'İ', 'İ', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyun', 'İyul', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'], + wide: ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr'] +}; +var dayValues = { + narrow: ['B.', 'B.e', 'Ç.a', 'Ç.', 'C.a', 'C.', 'Ş.'], + short: ['B.', 'B.e', 'Ç.a', 'Ç.', 'C.a', 'C.', 'Ş.'], + abbreviated: ['Baz', 'Baz.e', 'Çər.a', 'Çər', 'Cüm.a', 'Cüm', 'Şə'], + wide: ['Bazar', 'Bazar ertəsi', 'Çərşənbə axşamı', 'Çərşənbə', 'Cümə axşamı', 'Cümə', 'Şənbə'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + } +}; +var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı' +}; +var getSuffix = function getSuffix(number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10; + var b = number % 100 - a; + var c = number >= 100 ? 100 : null; + if (suffixes[a]) { + return suffixes[a]; + } else if (suffixes[b]) { + return suffixes[b]; + } else if (c !== null) { + return suffixes[c]; + } + return ''; +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var suffix = getSuffix(number); + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/_lib/match/index.js b/node_modules/date-fns/esm/locale/az/_lib/match/index.js new file mode 100644 index 000000000..6fe7eea10 --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/_lib/match/index.js @@ -0,0 +1,101 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(b|a)$/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i, + wide: /^(bizim eradan əvvəl|bizim era)$/i +}; +var parseEraPatterns = { + any: [/^b$/i, /^(a|c)$/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]$/i, + abbreviated: /^K[1234]$/i, + wide: /^[1234](ci)? kvartal$/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[(?-i)yfmaisond]$/i, + abbreviated: /^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i, + wide: /^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i +}; +var parseMonthPatterns = { + narrow: [/^[(?-i)y]$/i, /^[(?-i)f]$/i, /^[(?-i)m]$/i, /^[(?-i)a]$/i, /^[(?-i)m]$/i, /^[(?-i)i]$/i, /^[(?-i)i]$/i, /^[(?-i)a]$/i, /^[(?-i)s]$/i, /^[(?-i)o]$/i, /^[(?-i)n]$/i, /^[(?-i)d]$/i], + abbreviated: [/^Yan$/i, /^Fev$/i, /^Mar$/i, /^Apr$/i, /^May$/i, /^İyun$/i, /^İyul$/i, /^Avg$/i, /^Sen$/i, /^Okt$/i, /^Noy$/i, /^Dek$/i], + wide: [/^Yanvar$/i, /^Fevral$/i, /^Mart$/i, /^Aprel$/i, /^May$/i, /^İyun$/i, /^İyul$/i, /^Avgust$/i, /^Sentyabr$/i, /^Oktyabr$/i, /^Noyabr$/i, /^Dekabr$/i] +}; +var matchDayPatterns = { + narrow: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, + short: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, + abbreviated: /^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i, + wide: /^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i +}; +var parseDayPatterns = { + narrow: [/^B\.$/i, /^B\.e$/i, /^Ç\.a$/i, /^Ç\.$/i, /^C\.a$/i, /^C\.$/i, /^Ş\.$/i], + abbreviated: [/^Baz$/i, /^Baz\.e$/i, /^Çər\.a$/i, /^Çər$/i, /^Cüm\.a$/i, /^Cüm$/i, /^Şə$/i], + wide: [/^Bazar$/i, /^Bazar ertəsi$/i, /^Çərşənbə axşamı$/i, /^Çərşənbə$/i, /^Cümə axşamı$/i, /^Cümə$/i, /^Şənbə$/i], + any: [/^B\.$/i, /^B\.e$/i, /^Ç\.a$/i, /^Ç\.$/i, /^C\.a$/i, /^C\.$/i, /^Ş\.$/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i, + any: /^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a$/i, + pm: /^p$/i, + midnight: /^gecəyarı$/i, + noon: /^gün$/i, + morning: /səhər$/i, + afternoon: /gündüz$/i, + evening: /axşam$/i, + night: /gecə$/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'narrow' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/index.d.ts b/node_modules/date-fns/esm/locale/az/index.d.ts new file mode 100644 index 000000000..b2b22534a --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { az } from 'date-fns/locale' +export default az diff --git a/node_modules/date-fns/esm/locale/az/index.js b/node_modules/date-fns/esm/locale/az/index.js new file mode 100644 index 000000000..64e7932c9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/index.js @@ -0,0 +1,25 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Azerbaijani locale. + * @language Azerbaijani + * @iso-639-2 aze + */ +var locale = { + code: 'az', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/az/index.js.flow b/node_modules/date-fns/esm/locale/az/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/az/package.json b/node_modules/date-fns/esm/locale/az/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/az/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/be-tarask/_lib/formatDistance/index.js new file mode 100644 index 000000000..4b6d4cb81 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/_lib/formatDistance/index.js @@ -0,0 +1,245 @@ +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'праз ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' таму'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var halfAMinute = function halfAMinute(_, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'праз паўхвіліны'; + } else { + return 'паўхвіліны таму'; + } + } + return 'паўхвіліны'; +}; +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'менш за секунду', + singularNominative: 'менш за {{count}} секунду', + singularGenitive: 'менш за {{count}} секунды', + pluralGenitive: 'менш за {{count}} секунд' + }, + future: { + one: 'менш, чым праз секунду', + singularNominative: 'менш, чым праз {{count}} секунду', + singularGenitive: 'менш, чым праз {{count}} секунды', + pluralGenitive: 'менш, чым праз {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунды', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду таму', + singularGenitive: '{{count}} секунды таму', + pluralGenitive: '{{count}} секунд таму' + }, + future: { + singularNominative: 'праз {{count}} секунду', + singularGenitive: 'праз {{count}} секунды', + pluralGenitive: 'праз {{count}} секунд' + } + }), + halfAMinute: halfAMinute, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'менш за хвіліну', + singularNominative: 'менш за {{count}} хвіліну', + singularGenitive: 'менш за {{count}} хвіліны', + pluralGenitive: 'менш за {{count}} хвілін' + }, + future: { + one: 'менш, чым праз хвіліну', + singularNominative: 'менш, чым праз {{count}} хвіліну', + singularGenitive: 'менш, чым праз {{count}} хвіліны', + pluralGenitive: 'менш, чым праз {{count}} хвілін' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} хвіліна', + singularGenitive: '{{count}} хвіліны', + pluralGenitive: '{{count}} хвілін' + }, + past: { + singularNominative: '{{count}} хвіліну таму', + singularGenitive: '{{count}} хвіліны таму', + pluralGenitive: '{{count}} хвілін таму' + }, + future: { + singularNominative: 'праз {{count}} хвіліну', + singularGenitive: 'праз {{count}} хвіліны', + pluralGenitive: 'праз {{count}} хвілін' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} гадзіны', + singularGenitive: 'каля {{count}} гадзін', + pluralGenitive: 'каля {{count}} гадзін' + }, + future: { + singularNominative: 'прыблізна праз {{count}} гадзіну', + singularGenitive: 'прыблізна праз {{count}} гадзіны', + pluralGenitive: 'прыблізна праз {{count}} гадзін' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} гадзіна', + singularGenitive: '{{count}} гадзіны', + pluralGenitive: '{{count}} гадзін' + }, + past: { + singularNominative: '{{count}} гадзіну таму', + singularGenitive: '{{count}} гадзіны таму', + pluralGenitive: '{{count}} гадзін таму' + }, + future: { + singularNominative: 'праз {{count}} гадзіну', + singularGenitive: 'праз {{count}} гадзіны', + pluralGenitive: 'праз {{count}} гадзін' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} дзень', + singularGenitive: '{{count}} дні', + pluralGenitive: '{{count}} дзён' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + // TODO + singularGenitive: 'каля {{count}} месяцаў', + // TODO + pluralGenitive: 'каля {{count}} месяцаў' // TODO + }, + + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + // TODO + singularGenitive: 'прыблізна праз {{count}} месяцы', + // TODO + pluralGenitive: 'прыблізна праз {{count}} месяцаў' // TODO + } + }), + + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + singularGenitive: 'каля {{count}} месяцаў', + pluralGenitive: 'каля {{count}} месяцаў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + singularGenitive: 'прыблізна праз {{count}} месяцы', + pluralGenitive: 'прыблізна праз {{count}} месяцаў' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} года', + singularGenitive: 'каля {{count}} гадоў', + pluralGenitive: 'каля {{count}} гадоў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} год', + singularGenitive: 'прыблізна праз {{count}} гады', + pluralGenitive: 'прыблізна праз {{count}} гадоў' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} год', + singularGenitive: '{{count}} гады', + pluralGenitive: '{{count}} гадоў' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'больш за {{count}} год', + singularGenitive: 'больш за {{count}} гады', + pluralGenitive: 'больш за {{count}} гадоў' + }, + future: { + singularNominative: 'больш, чым праз {{count}} год', + singularGenitive: 'больш, чым праз {{count}} гады', + pluralGenitive: 'больш, чым праз {{count}} гадоў' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'амаль {{count}} год', + singularGenitive: 'амаль {{count}} гады', + pluralGenitive: 'амаль {{count}} гадоў' + }, + future: { + singularNominative: 'амаль праз {{count}} год', + singularGenitive: 'амаль праз {{count}} гады', + pluralGenitive: 'амаль праз {{count}} гадоў' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + return formatDistanceLocale[token](count, options); +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/be-tarask/_lib/formatLong/index.js new file mode 100644 index 000000000..c21b41cd5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d MMMM y 'г.'", + long: "d MMMM y 'г.'", + medium: "d MMM y 'г.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/be-tarask/_lib/formatRelative/index.js new file mode 100644 index 000000000..31aa6b6f8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/_lib/formatRelative/index.js @@ -0,0 +1,69 @@ +import { toDate } from "../../../../index.js"; +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацьвер', 'пятніцу', 'суботу']; +function lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у мінулую " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у мінулы " + weekday + " а' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'у " + weekday + " а' p"; +} +function nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у наступную " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у наступны " + weekday + " а' p"; + } +} +var lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormat, + yesterday: "'учора а' p", + today: "'сёньня а' p", + tomorrow: "'заўтра а' p", + nextWeek: nextWeekFormat, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/_lib/localize/index.js b/node_modules/date-fns/esm/locale/be-tarask/_lib/localize/index.js new file mode 100644 index 000000000..e39556322 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/_lib/localize/index.js @@ -0,0 +1,148 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['да н.э.', 'н.э.'], + abbreviated: ['да н. э.', 'н. э.'], + wide: ['да нашай эры', 'нашай эры'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ы кв.', '2-і кв.', '3-і кв.', '4-ы кв.'], + wide: ['1-ы квартал', '2-і квартал', '3-і квартал', '4-ы квартал'] +}; +var monthValues = { + narrow: ['С', 'Л', 'С', 'К', 'Т', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'трав.', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'сьнеж.'], + wide: ['студзень', 'люты', 'сакавік', 'красавік', 'травень', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'сьнежань'] +}; +var formattingMonthValues = { + narrow: ['С', 'Л', 'С', 'К', 'Т', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'трав.', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'сьнеж.'], + wide: ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'траўня', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'сьнежня'] +}; +var dayValues = { + narrow: ['Н', 'П', 'А', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + abbreviated: ['нядз', 'пан', 'аўт', 'сер', 'чаць', 'пят', 'суб'], + wide: ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацьвер', 'пятніца', 'субота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніца', + afternoon: 'дзень', + evening: 'вечар', + night: 'ноч' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніцы', + afternoon: 'дня', + evening: 'вечара', + night: 'ночы' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var number = Number(dirtyNumber); + var suffix; + + /** Though it's an incorrect ordinal form of a date we use it here for consistency with other similar locales (ru, uk) + * For date-month combinations should be used `d` formatter. + * Correct: `d MMMM` (4 верасня) + * Incorrect: `do MMMM` (4-га верасня) + * + * But following the consistency leads to mistakes for literal uses of `do` formatter (ordinal day of month). + * So for phrase "5th day of month" (`do дзень месяца`) + * library will produce: `5-га дзень месяца` + * but correct spelling should be: `5-ы дзень месяца` + * + * So I guess there should be a stand-alone and a formatting version of "day of month" formatters + */ + if (unit === 'date') { + suffix = '-га'; + } else if (unit === 'hour' || unit === 'minute' || unit === 'second') { + suffix = '-я'; + } else { + suffix = (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? '-і' : '-ы'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/_lib/match/index.js b/node_modules/date-fns/esm/locale/be-tarask/_lib/match/index.js new file mode 100644 index 000000000..71b37daab --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((да )?н\.?\s?э\.?)/i, + abbreviated: /^((да )?н\.?\s?э\.?)/i, + wide: /^(да нашай эры|нашай эры|наша эра)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[ыі]?)? кв.?/i, + wide: /^[1234](-?[ыі]?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[слкмчжв]/i, + abbreviated: /^(студз|лют|сак|крас|тр(ав)?|чэрв|ліп|жн|вер|кастр|ліст|сьнеж)\.?/i, + wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|тра(вень|ўня)|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|сьнеж(ань|ня))/i +}; +var parseMonthPatterns = { + narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i], + any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^тр/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i] +}; +var matchDayPatterns = { + narrow: /^[нпасч]/i, + short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i, + abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцьв|чаць|птн|пят|суб).?/i, + wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацьв(ер|ярга)|пятніц[аы]|субот[аы])/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + abbreviated: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^поўн/i, + noon: /^поўд/i, + morning: /^р/i, + afternoon: /^д[зн]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/index.d.ts b/node_modules/date-fns/esm/locale/be-tarask/index.d.ts new file mode 100644 index 000000000..e04bf95c2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { beTarask } from 'date-fns/locale' +export default beTarask diff --git a/node_modules/date-fns/esm/locale/be-tarask/index.js b/node_modules/date-fns/esm/locale/be-tarask/index.js new file mode 100644 index 000000000..53b33c4f4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Belarusian Classic locale. + * @language Belarusian Classic + * @iso-639-2 bel + * @author Ryhor Nopears [@nopears]{@link https://github.com/nopears} + */ +var locale = { + code: 'be-tarask', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be-tarask/index.js.flow b/node_modules/date-fns/esm/locale/be-tarask/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/be-tarask/package.json b/node_modules/date-fns/esm/locale/be-tarask/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be-tarask/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/be/_lib/formatDistance/index.js new file mode 100644 index 000000000..4b6d4cb81 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/_lib/formatDistance/index.js @@ -0,0 +1,245 @@ +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'праз ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' таму'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var halfAMinute = function halfAMinute(_, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'праз паўхвіліны'; + } else { + return 'паўхвіліны таму'; + } + } + return 'паўхвіліны'; +}; +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'менш за секунду', + singularNominative: 'менш за {{count}} секунду', + singularGenitive: 'менш за {{count}} секунды', + pluralGenitive: 'менш за {{count}} секунд' + }, + future: { + one: 'менш, чым праз секунду', + singularNominative: 'менш, чым праз {{count}} секунду', + singularGenitive: 'менш, чым праз {{count}} секунды', + pluralGenitive: 'менш, чым праз {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунды', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду таму', + singularGenitive: '{{count}} секунды таму', + pluralGenitive: '{{count}} секунд таму' + }, + future: { + singularNominative: 'праз {{count}} секунду', + singularGenitive: 'праз {{count}} секунды', + pluralGenitive: 'праз {{count}} секунд' + } + }), + halfAMinute: halfAMinute, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'менш за хвіліну', + singularNominative: 'менш за {{count}} хвіліну', + singularGenitive: 'менш за {{count}} хвіліны', + pluralGenitive: 'менш за {{count}} хвілін' + }, + future: { + one: 'менш, чым праз хвіліну', + singularNominative: 'менш, чым праз {{count}} хвіліну', + singularGenitive: 'менш, чым праз {{count}} хвіліны', + pluralGenitive: 'менш, чым праз {{count}} хвілін' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} хвіліна', + singularGenitive: '{{count}} хвіліны', + pluralGenitive: '{{count}} хвілін' + }, + past: { + singularNominative: '{{count}} хвіліну таму', + singularGenitive: '{{count}} хвіліны таму', + pluralGenitive: '{{count}} хвілін таму' + }, + future: { + singularNominative: 'праз {{count}} хвіліну', + singularGenitive: 'праз {{count}} хвіліны', + pluralGenitive: 'праз {{count}} хвілін' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} гадзіны', + singularGenitive: 'каля {{count}} гадзін', + pluralGenitive: 'каля {{count}} гадзін' + }, + future: { + singularNominative: 'прыблізна праз {{count}} гадзіну', + singularGenitive: 'прыблізна праз {{count}} гадзіны', + pluralGenitive: 'прыблізна праз {{count}} гадзін' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} гадзіна', + singularGenitive: '{{count}} гадзіны', + pluralGenitive: '{{count}} гадзін' + }, + past: { + singularNominative: '{{count}} гадзіну таму', + singularGenitive: '{{count}} гадзіны таму', + pluralGenitive: '{{count}} гадзін таму' + }, + future: { + singularNominative: 'праз {{count}} гадзіну', + singularGenitive: 'праз {{count}} гадзіны', + pluralGenitive: 'праз {{count}} гадзін' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} дзень', + singularGenitive: '{{count}} дні', + pluralGenitive: '{{count}} дзён' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + // TODO + singularGenitive: 'каля {{count}} месяцаў', + // TODO + pluralGenitive: 'каля {{count}} месяцаў' // TODO + }, + + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + // TODO + singularGenitive: 'прыблізна праз {{count}} месяцы', + // TODO + pluralGenitive: 'прыблізна праз {{count}} месяцаў' // TODO + } + }), + + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + singularGenitive: 'каля {{count}} месяцаў', + pluralGenitive: 'каля {{count}} месяцаў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + singularGenitive: 'прыблізна праз {{count}} месяцы', + pluralGenitive: 'прыблізна праз {{count}} месяцаў' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} года', + singularGenitive: 'каля {{count}} гадоў', + pluralGenitive: 'каля {{count}} гадоў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} год', + singularGenitive: 'прыблізна праз {{count}} гады', + pluralGenitive: 'прыблізна праз {{count}} гадоў' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} год', + singularGenitive: '{{count}} гады', + pluralGenitive: '{{count}} гадоў' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'больш за {{count}} год', + singularGenitive: 'больш за {{count}} гады', + pluralGenitive: 'больш за {{count}} гадоў' + }, + future: { + singularNominative: 'больш, чым праз {{count}} год', + singularGenitive: 'больш, чым праз {{count}} гады', + pluralGenitive: 'больш, чым праз {{count}} гадоў' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'амаль {{count}} год', + singularGenitive: 'амаль {{count}} гады', + pluralGenitive: 'амаль {{count}} гадоў' + }, + future: { + singularNominative: 'амаль праз {{count}} год', + singularGenitive: 'амаль праз {{count}} гады', + pluralGenitive: 'амаль праз {{count}} гадоў' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + return formatDistanceLocale[token](count, options); +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/be/_lib/formatLong/index.js new file mode 100644 index 000000000..c21b41cd5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d MMMM y 'г.'", + long: "d MMMM y 'г.'", + medium: "d MMM y 'г.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/be/_lib/formatRelative/index.js new file mode 100644 index 000000000..85ff641d8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/_lib/formatRelative/index.js @@ -0,0 +1,69 @@ +import { toDate } from "../../../../index.js"; +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацвер', 'пятніцу', 'суботу']; +function lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у мінулую " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у мінулы " + weekday + " а' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'у " + weekday + " а' p"; +} +function nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у наступную " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у наступны " + weekday + " а' p"; + } +} +var lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormat, + yesterday: "'учора а' p", + today: "'сёння а' p", + tomorrow: "'заўтра а' p", + nextWeek: nextWeekFormat, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/_lib/localize/index.js b/node_modules/date-fns/esm/locale/be/_lib/localize/index.js new file mode 100644 index 000000000..279b4e5a9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/_lib/localize/index.js @@ -0,0 +1,148 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['да н.э.', 'н.э.'], + abbreviated: ['да н. э.', 'н. э.'], + wide: ['да нашай эры', 'нашай эры'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ы кв.', '2-і кв.', '3-і кв.', '4-ы кв.'], + wide: ['1-ы квартал', '2-і квартал', '3-і квартал', '4-ы квартал'] +}; +var monthValues = { + narrow: ['С', 'Л', 'С', 'К', 'М', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'май', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'снеж.'], + wide: ['студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань'] +}; +var formattingMonthValues = { + narrow: ['С', 'Л', 'С', 'К', 'М', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'мая', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'снеж.'], + wide: ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'снежня'] +}; +var dayValues = { + narrow: ['Н', 'П', 'А', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + abbreviated: ['нядз', 'пан', 'аўт', 'сер', 'чац', 'пят', 'суб'], + wide: ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніца', + afternoon: 'дзень', + evening: 'вечар', + night: 'ноч' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніцы', + afternoon: 'дня', + evening: 'вечара', + night: 'ночы' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var number = Number(dirtyNumber); + var suffix; + + /** Though it's an incorrect ordinal form of a date we use it here for consistency with other similar locales (ru, uk) + * For date-month combinations should be used `d` formatter. + * Correct: `d MMMM` (4 верасня) + * Incorrect: `do MMMM` (4-га верасня) + * + * But following the consistency leads to mistakes for literal uses of `do` formatter (ordinal day of month). + * So for phrase "5th day of month" (`do дзень месяца`) + * library will produce: `5-га дзень месяца` + * but correct spelling should be: `5-ы дзень месяца` + * + * So I guess there should be a stand-alone and a formatting version of "day of month" formatters + */ + if (unit === 'date') { + suffix = '-га'; + } else if (unit === 'hour' || unit === 'minute' || unit === 'second') { + suffix = '-я'; + } else { + suffix = (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? '-і' : '-ы'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/_lib/match/index.js b/node_modules/date-fns/esm/locale/be/_lib/match/index.js new file mode 100644 index 000000000..fa4b1a16b --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((да )?н\.?\s?э\.?)/i, + abbreviated: /^((да )?н\.?\s?э\.?)/i, + wide: /^(да нашай эры|нашай эры|наша эра)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[ыі]?)? кв.?/i, + wide: /^[1234](-?[ыі]?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[слкмчжв]/i, + abbreviated: /^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i, + wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i +}; +var parseMonthPatterns = { + narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^м/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i], + any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^ма/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i] +}; +var matchDayPatterns = { + narrow: /^[нпасч]/i, + short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i, + abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i, + wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + abbreviated: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^поўн/i, + noon: /^поўд/i, + morning: /^р/i, + afternoon: /^д[зн]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/index.d.ts b/node_modules/date-fns/esm/locale/be/index.d.ts new file mode 100644 index 000000000..d3cec4070 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { be } from 'date-fns/locale' +export default be diff --git a/node_modules/date-fns/esm/locale/be/index.js b/node_modules/date-fns/esm/locale/be/index.js new file mode 100644 index 000000000..1251dfb52 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Belarusian locale. + * @language Belarusian + * @iso-639-2 bel + * @author Kiryl Anokhin [@alyrik]{@link https://github.com/alyrik} + * @author Martin Wind [@arvigeus]{@link https://github.com/mawi12345} + */ +var locale = { + code: 'be', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/be/index.js.flow b/node_modules/date-fns/esm/locale/be/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/be/package.json b/node_modules/date-fns/esm/locale/be/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/be/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/bg/_lib/formatDistance/index.js new file mode 100644 index 000000000..2f1877453 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'по-малко от секунда', + other: 'по-малко от {{count}} секунди' + }, + xSeconds: { + one: '1 секунда', + other: '{{count}} секунди' + }, + halfAMinute: 'половин минута', + lessThanXMinutes: { + one: 'по-малко от минута', + other: 'по-малко от {{count}} минути' + }, + xMinutes: { + one: '1 минута', + other: '{{count}} минути' + }, + aboutXHours: { + one: 'около час', + other: 'около {{count}} часа' + }, + xHours: { + one: '1 час', + other: '{{count}} часа' + }, + xDays: { + one: '1 ден', + other: '{{count}} дни' + }, + aboutXWeeks: { + one: 'около седмица', + other: 'около {{count}} седмици' + }, + xWeeks: { + one: '1 седмица', + other: '{{count}} седмици' + }, + aboutXMonths: { + one: 'около месец', + other: 'около {{count}} месеца' + }, + xMonths: { + one: '1 месец', + other: '{{count}} месеца' + }, + aboutXYears: { + one: 'около година', + other: 'около {{count}} години' + }, + xYears: { + one: '1 година', + other: '{{count}} години' + }, + overXYears: { + one: 'над година', + other: 'над {{count}} години' + }, + almostXYears: { + one: 'почти година', + other: 'почти {{count}} години' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'след ' + result; + } else { + return 'преди ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/bg/_lib/formatLong/index.js new file mode 100644 index 000000000..fd7da90c3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/bg/_lib/formatRelative/index.js new file mode 100644 index 000000000..c4aa33b19 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/_lib/formatRelative/index.js @@ -0,0 +1,75 @@ +import toDate from "../../../../toDate/index.js"; +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +// Adapted from the `ru` translation + +var weekdays = ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота']; +function lastWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'миналата " + weekday + " в' p"; + case 1: + case 2: + case 4: + case 5: + return "'миналия " + weekday + " в' p"; + } +} +function thisWeek(day) { + var weekday = weekdays[day]; + if (day === 2 /* Tue */) { + return "'във " + weekday + " в' p"; + } else { + return "'в " + weekday + " в' p"; + } +} +function nextWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'следващата " + weekday + " в' p"; + case 1: + case 2: + case 4: + case 5: + return "'следващия " + weekday + " в' p"; + } +} +var lastWeekFormatToken = function lastWeekFormatToken(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormatToken = function nextWeekFormatToken(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormatToken, + yesterday: "'вчера в' p", + today: "'днес в' p", + tomorrow: "'утре в' p", + nextWeek: nextWeekFormatToken, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/_lib/localize/index.js b/node_modules/date-fns/esm/locale/bg/_lib/localize/index.js new file mode 100644 index 000000000..6bdfc330f --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/_lib/localize/index.js @@ -0,0 +1,94 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['пр.н.е.', 'н.е.'], + abbreviated: ['преди н. е.', 'н. е.'], + wide: ['преди новата ера', 'новата ера'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-во тримес.', '2-ро тримес.', '3-то тримес.', '4-то тримес.'], + wide: ['1-во тримесечие', '2-ро тримесечие', '3-то тримесечие', '4-то тримесечие'] +}; +var monthValues = { + abbreviated: ['яну', 'фев', 'мар', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'], + wide: ['януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', 'ноември', 'декември'] +}; +var dayValues = { + narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + abbreviated: ['нед', 'пон', 'вто', 'сря', 'чет', 'пет', 'съб'], + wide: ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'] +}; +var dayPeriodValues = { + wide: { + am: 'преди обяд', + pm: 'след обяд', + midnight: 'в полунощ', + noon: 'на обяд', + morning: 'сутринта', + afternoon: 'следобед', + evening: 'вечерта', + night: 'през нощта' + } +}; +function isFeminine(unit) { + return unit === 'year' || unit === 'week' || unit === 'minute' || unit === 'second'; +} +function isNeuter(unit) { + return unit === 'quarter'; +} +function numberWithSuffix(number, unit, masculine, feminine, neuter) { + var suffix = isNeuter(unit) ? neuter : isFeminine(unit) ? feminine : masculine; + return number + '-' + suffix; +} +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (number === 0) { + return numberWithSuffix(0, unit, 'ев', 'ева', 'ево'); + } else if (number % 1000 === 0) { + return numberWithSuffix(number, unit, 'ен', 'на', 'но'); + } else if (number % 100 === 0) { + return numberWithSuffix(number, unit, 'тен', 'тна', 'тно'); + } + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return numberWithSuffix(number, unit, 'ви', 'ва', 'во'); + case 2: + return numberWithSuffix(number, unit, 'ри', 'ра', 'ро'); + case 7: + case 8: + return numberWithSuffix(number, unit, 'ми', 'ма', 'мо'); + } + } + return numberWithSuffix(number, unit, 'ти', 'та', 'то'); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/_lib/match/index.js b/node_modules/date-fns/esm/locale/bg/_lib/match/index.js new file mode 100644 index 000000000..a107f9d0e --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/_lib/match/index.js @@ -0,0 +1,95 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((пр)?н\.?\s?е\.?)/i, + abbreviated: /^((пр)?н\.?\s?е\.?)/i, + wide: /^(преди новата ера|новата ера|нова ера)/i +}; +var parseEraPatterns = { + any: [/^п/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[врт]?o?)? тримес.?/i, + wide: /^[1234](-?[врт]?о?)? тримесечие/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchDayPatterns = { + narrow: /^[нпвсч]/i, + short: /^(нд|пн|вт|ср|чт|пт|сб)/i, + abbreviated: /^(нед|пон|вто|сря|чет|пет|съб)/i, + wide: /^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[ъб]/i] +}; +var matchMonthPatterns = { + abbreviated: /^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i, + wide: /^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i +}; +var parseMonthPatterns = { + any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^юн/i, /^юл/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i] +}; +var matchDayPeriodPatterns = { + any: /^(преди о|след о|в по|на о|през|веч|сут|следо)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^преди о/i, + pm: /^след о/i, + midnight: /^в пол/i, + noon: /^на об/i, + morning: /^сут/i, + afternoon: /^следо/i, + evening: /^веч/i, + night: /^през н/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/index.d.ts b/node_modules/date-fns/esm/locale/bg/index.d.ts new file mode 100644 index 000000000..485fc5946 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { bg } from 'date-fns/locale' +export default bg diff --git a/node_modules/date-fns/esm/locale/bg/index.js b/node_modules/date-fns/esm/locale/bg/index.js new file mode 100644 index 000000000..935f4273b --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Bulgarian locale. + * @language Bulgarian + * @iso-639-2 bul + * @author Nikolay Stoynov [@arvigeus]{@link https://github.com/arvigeus} + * @author Tsvetan Ovedenski [@fintara]{@link https://github.com/fintara} + */ +var locale = { + code: 'bg', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bg/index.js.flow b/node_modules/date-fns/esm/locale/bg/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/bg/package.json b/node_modules/date-fns/esm/locale/bg/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bg/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/bn/_lib/formatDistance/index.js new file mode 100644 index 000000000..b8c570bb3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/_lib/formatDistance/index.js @@ -0,0 +1,84 @@ +import { numberToLocale } from "../localize/index.js"; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'প্রায় ১ সেকেন্ড', + other: 'প্রায় {{count}} সেকেন্ড' + }, + xSeconds: { + one: '১ সেকেন্ড', + other: '{{count}} সেকেন্ড' + }, + halfAMinute: 'আধ মিনিট', + lessThanXMinutes: { + one: 'প্রায় ১ মিনিট', + other: 'প্রায় {{count}} মিনিট' + }, + xMinutes: { + one: '১ মিনিট', + other: '{{count}} মিনিট' + }, + aboutXHours: { + one: 'প্রায় ১ ঘন্টা', + other: 'প্রায় {{count}} ঘন্টা' + }, + xHours: { + one: '১ ঘন্টা', + other: '{{count}} ঘন্টা' + }, + xDays: { + one: '১ দিন', + other: '{{count}} দিন' + }, + aboutXWeeks: { + one: 'প্রায় ১ সপ্তাহ', + other: 'প্রায় {{count}} সপ্তাহ' + }, + xWeeks: { + one: '১ সপ্তাহ', + other: '{{count}} সপ্তাহ' + }, + aboutXMonths: { + one: 'প্রায় ১ মাস', + other: 'প্রায় {{count}} মাস' + }, + xMonths: { + one: '১ মাস', + other: '{{count}} মাস' + }, + aboutXYears: { + one: 'প্রায় ১ বছর', + other: 'প্রায় {{count}} বছর' + }, + xYears: { + one: '১ বছর', + other: '{{count}} বছর' + }, + overXYears: { + one: '১ বছরের বেশি', + other: '{{count}} বছরের বেশি' + }, + almostXYears: { + one: 'প্রায় ১ বছর', + other: 'প্রায় {{count}} বছর' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', numberToLocale(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' এর মধ্যে'; + } else { + return result + ' আগে'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/bn/_lib/formatLong/index.js new file mode 100644 index 000000000..82c91f3fd --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} {{time}} 'সময়'", + long: "{{date}} {{time}} 'সময়'", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/bn/_lib/formatRelative/index.js new file mode 100644 index 000000000..dbfdbf0e4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'গত' eeee 'সময়' p", + yesterday: "'গতকাল' 'সময়' p", + today: "'আজ' 'সময়' p", + tomorrow: "'আগামীকাল' 'সময়' p", + nextWeek: "eeee 'সময়' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/_lib/localize/index.js b/node_modules/date-fns/esm/locale/bn/_lib/localize/index.js new file mode 100644 index 000000000..e0c125192 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/_lib/localize/index.js @@ -0,0 +1,192 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var numberValues = { + locale: { + '1': '১', + '2': '২', + '3': '৩', + '4': '৪', + '5': '৫', + '6': '৬', + '7': '৭', + '8': '৮', + '9': '৯', + '0': '০' + }, + number: { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' + } +}; +var eraValues = { + narrow: ['খ্রিঃপূঃ', 'খ্রিঃ'], + abbreviated: ['খ্রিঃপূর্ব', 'খ্রিঃ'], + wide: ['খ্রিস্টপূর্ব', 'খ্রিস্টাব্দ'] +}; +var quarterValues = { + narrow: ['১', '২', '৩', '৪'], + abbreviated: ['১ত্রৈ', '২ত্রৈ', '৩ত্রৈ', '৪ত্রৈ'], + wide: ['১ম ত্রৈমাসিক', '২য় ত্রৈমাসিক', '৩য় ত্রৈমাসিক', '৪র্থ ত্রৈমাসিক'] +}; +var monthValues = { + narrow: ['জানু', 'ফেব্রু', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'], + abbreviated: ['জানু', 'ফেব্রু', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'], + wide: ['জানুয়ারি', 'ফেব্রুয়ারি', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর'] +}; +var dayValues = { + narrow: ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], + short: ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্র', 'শনি'], + abbreviated: ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্র', 'শনি'], + wide: ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার ', 'শুক্রবার', 'শনিবার'] +}; +var dayPeriodValues = { + narrow: { + am: 'পূ', + pm: 'অপ', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + abbreviated: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + wide: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'পূ', + pm: 'অপ', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + abbreviated: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + wide: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + } +}; +function dateOrdinalNumber(number, localeNumber) { + if (number > 18 && number <= 31) { + return localeNumber + 'শে'; + } else { + switch (number) { + case 1: + return localeNumber + 'লা'; + case 2: + case 3: + return localeNumber + 'রা'; + case 4: + return localeNumber + 'ঠা'; + default: + return localeNumber + 'ই'; + } + } +} +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var localeNumber = numberToLocale(number); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (unit === 'date') { + return dateOrdinalNumber(number, localeNumber); + } + if (number > 10 || number === 0) return localeNumber + 'তম'; + var rem10 = number % 10; + switch (rem10) { + case 2: + case 3: + return localeNumber + 'য়'; + case 4: + return localeNumber + 'র্থ'; + case 6: + return localeNumber + 'ষ্ঠ'; + default: + return localeNumber + 'ম'; + } +}; + +// function localeToNumber(locale: string): number { +// const enNumber = locale.toString().replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { +// return numberValues.number[match as keyof typeof numberValues.number] +// }) +// return Number(enNumber) +// } + +export function numberToLocale(enNumber) { + return enNumber.toString().replace(/\d/g, function (match) { + return numberValues.locale[match]; + }); +} +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/_lib/match/index.js b/node_modules/date-fns/esm/locale/bn/_lib/match/index.js new file mode 100644 index 000000000..c830aefdd --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/_lib/match/index.js @@ -0,0 +1,102 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(খ্রিঃপূঃ|খ্রিঃ)/i, + abbreviated: /^(খ্রিঃপূর্ব|খ্রিঃ)/i, + wide: /^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i +}; +var parseEraPatterns = { + narrow: [/^খ্রিঃপূঃ/i, /^খ্রিঃ/i], + abbreviated: [/^খ্রিঃপূর্ব/i, /^খ্রিঃ/i], + wide: [/^খ্রিস্টপূর্ব/i, /^খ্রিস্টাব্দ/i] +}; +var matchQuarterPatterns = { + narrow: /^[১২৩৪]/i, + abbreviated: /^[১২৩৪]ত্রৈ/i, + wide: /^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i +}; +var parseQuarterPatterns = { + any: [/১/i, /২/i, /৩/i, /৪/i] +}; +var matchMonthPatterns = { + narrow: /^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i, + abbreviated: /^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i, + wide: /^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i +}; +var parseMonthPatterns = { + any: [/^জানু/i, /^ফেব্রু/i, /^মার্চ/i, /^এপ্রিল/i, /^মে/i, /^জুন/i, /^জুলাই/i, /^আগস্ট/i, /^সেপ্ট/i, /^অক্টো/i, /^নভে/i, /^ডিসে/i] +}; +var matchDayPatterns = { + narrow: /^(র|সো|ম|বু|বৃ|শু|শ)+/i, + short: /^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i, + abbreviated: /^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i, + wide: /^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i +}; +var parseDayPatterns = { + narrow: [/^র/i, /^সো/i, /^ম/i, /^বু/i, /^বৃ/i, /^শু/i, /^শ/i], + short: [/^রবি/i, /^সোম/i, /^মঙ্গল/i, /^বুধ/i, /^বৃহ/i, /^শুক্র/i, /^শনি/i], + abbreviated: [/^রবি/i, /^সোম/i, /^মঙ্গল/i, /^বুধ/i, /^বৃহ/i, /^শুক্র/i, /^শনি/i], + wide: [/^রবিবার/i, /^সোমবার/i, /^মঙ্গলবার/i, /^বুধবার/i, /^বৃহস্পতিবার /i, /^শুক্রবার/i, /^শনিবার/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i, + abbreviated: /^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i, + wide: /^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^পূ/i, + pm: /^অপ/i, + midnight: /^মধ্যরাত/i, + noon: /^মধ্যাহ্ন/i, + morning: /সকাল/i, + afternoon: /বিকাল/i, + evening: /সন্ধ্যা/i, + night: /রাত/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'wide' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/index.d.ts b/node_modules/date-fns/esm/locale/bn/index.d.ts new file mode 100644 index 000000000..9f9b38cd8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { bn } from 'date-fns/locale' +export default bn diff --git a/node_modules/date-fns/esm/locale/bn/index.js b/node_modules/date-fns/esm/locale/bn/index.js new file mode 100644 index 000000000..9695bec54 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Bengali locale. + * @language Bengali + * @iso-639-2 ben + * @author Touhidur Rahman [@touhidrahman]{@link https://github.com/touhidrahman} + * @author Farhad Yasir [@nutboltu]{@link https://github.com/nutboltu} + */ +var locale = { + code: 'bn', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bn/index.js.flow b/node_modules/date-fns/esm/locale/bn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/bn/package.json b/node_modules/date-fns/esm/locale/bn/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bn/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/bs/_lib/formatDistance/index.js new file mode 100644 index 000000000..01b87a0af --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/_lib/formatDistance/index.js @@ -0,0 +1,171 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'manje od 1 sekunde', + withPrepositionAgo: 'manje od 1 sekunde', + withPrepositionIn: 'manje od 1 sekundu' + }, + dual: 'manje od {{count}} sekunde', + other: 'manje od {{count}} sekundi' + }, + xSeconds: { + one: { + standalone: '1 sekunda', + withPrepositionAgo: '1 sekunde', + withPrepositionIn: '1 sekundu' + }, + dual: '{{count}} sekunde', + other: '{{count}} sekundi' + }, + halfAMinute: 'pola minute', + lessThanXMinutes: { + one: { + standalone: 'manje od 1 minute', + withPrepositionAgo: 'manje od 1 minute', + withPrepositionIn: 'manje od 1 minutu' + }, + dual: 'manje od {{count}} minute', + other: 'manje od {{count}} minuta' + }, + xMinutes: { + one: { + standalone: '1 minuta', + withPrepositionAgo: '1 minute', + withPrepositionIn: '1 minutu' + }, + dual: '{{count}} minute', + other: '{{count}} minuta' + }, + aboutXHours: { + one: { + standalone: 'oko 1 sat', + withPrepositionAgo: 'oko 1 sat', + withPrepositionIn: 'oko 1 sat' + }, + dual: 'oko {{count}} sata', + other: 'oko {{count}} sati' + }, + xHours: { + one: { + standalone: '1 sat', + withPrepositionAgo: '1 sat', + withPrepositionIn: '1 sat' + }, + dual: '{{count}} sata', + other: '{{count}} sati' + }, + xDays: { + one: { + standalone: '1 dan', + withPrepositionAgo: '1 dan', + withPrepositionIn: '1 dan' + }, + dual: '{{count}} dana', + other: '{{count}} dana' + }, + aboutXWeeks: { + one: { + standalone: 'oko 1 sedmicu', + withPrepositionAgo: 'oko 1 sedmicu', + withPrepositionIn: 'oko 1 sedmicu' + }, + dual: 'oko {{count}} sedmice', + other: 'oko {{count}} sedmice' + }, + xWeeks: { + one: { + standalone: '1 sedmicu', + withPrepositionAgo: '1 sedmicu', + withPrepositionIn: '1 sedmicu' + }, + dual: '{{count}} sedmice', + other: '{{count}} sedmice' + }, + aboutXMonths: { + one: { + standalone: 'oko 1 mjesec', + withPrepositionAgo: 'oko 1 mjesec', + withPrepositionIn: 'oko 1 mjesec' + }, + dual: 'oko {{count}} mjeseca', + other: 'oko {{count}} mjeseci' + }, + xMonths: { + one: { + standalone: '1 mjesec', + withPrepositionAgo: '1 mjesec', + withPrepositionIn: '1 mjesec' + }, + dual: '{{count}} mjeseca', + other: '{{count}} mjeseci' + }, + aboutXYears: { + one: { + standalone: 'oko 1 godinu', + withPrepositionAgo: 'oko 1 godinu', + withPrepositionIn: 'oko 1 godinu' + }, + dual: 'oko {{count}} godine', + other: 'oko {{count}} godina' + }, + xYears: { + one: { + standalone: '1 godina', + withPrepositionAgo: '1 godine', + withPrepositionIn: '1 godinu' + }, + dual: '{{count}} godine', + other: '{{count}} godina' + }, + overXYears: { + one: { + standalone: 'preko 1 godinu', + withPrepositionAgo: 'preko 1 godinu', + withPrepositionIn: 'preko 1 godinu' + }, + dual: 'preko {{count}} godine', + other: 'preko {{count}} godina' + }, + almostXYears: { + one: { + standalone: 'gotovo 1 godinu', + withPrepositionAgo: 'gotovo 1 godinu', + withPrepositionIn: 'gotovo 1 godinu' + }, + dual: 'gotovo {{count}} godine', + other: 'gotovo {{count}} godina' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'za ' + result; + } else { + return 'prije ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/bs/_lib/formatLong/index.js new file mode 100644 index 000000000..16ee53dd2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d. MMMM yyyy.', + long: 'd. MMMM yyyy.', + medium: 'd. MMM yy.', + short: 'dd. MM. yy.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'u' {{time}}", + long: "{{date}} 'u' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/bs/_lib/formatRelative/index.js new file mode 100644 index 000000000..bec27295c --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/_lib/formatRelative/index.js @@ -0,0 +1,38 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'prošle nedjelje u' p"; + case 3: + return "'prošle srijede u' p"; + case 6: + return "'prošle subote u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + yesterday: "'juče u' p", + today: "'danas u' p", + tomorrow: "'sutra u' p", + nextWeek: function nextWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'sljedeće nedjelje u' p"; + case 3: + return "'sljedeću srijedu u' p"; + case 6: + return "'sljedeću subotu u' p"; + default: + return "'sljedeći' EEEE 'u' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/_lib/localize/index.js b/node_modules/date-fns/esm/locale/bs/_lib/localize/index.js new file mode 100644 index 000000000..60600a12e --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/_lib/localize/index.js @@ -0,0 +1,126 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['pr.n.e.', 'AD'], + abbreviated: ['pr. Hr.', 'po. Hr.'], + wide: ['Prije Hrista', 'Poslije Hrista'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var dayValues = { + narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + short: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + abbreviated: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + wide: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'poslije podne', + evening: 'uveče', + night: 'noću' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'poslije podne', + evening: 'uveče', + night: 'noću' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return String(number) + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/_lib/match/index.js b/node_modules/date-fns/esm/locale/bs/_lib/match/index.js new file mode 100644 index 000000000..bd359e2e9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pr\.n\.e\.|AD)/i, + abbreviated: /^(pr\.\s?Hr\.|po\.\s?Hr\.)/i, + wide: /^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|nova)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?kv\.?/i, + wide: /^[1234]\. kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i, + wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i +}; +var parseMonthPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[npusčc]/i, + short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^pono/i, + noon: /^pod/i, + morning: /jutro/i, + afternoon: /(poslije\s|po)+podne/i, + evening: /(uvece|uveče)/i, + night: /(nocu|noću)/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/index.d.ts b/node_modules/date-fns/esm/locale/bs/index.d.ts new file mode 100644 index 000000000..cbb00d936 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { bs } from 'date-fns/locale' +export default bs diff --git a/node_modules/date-fns/esm/locale/bs/index.js b/node_modules/date-fns/esm/locale/bs/index.js new file mode 100644 index 000000000..f63882661 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Bosnian locale. + * @language Bosnian + * @iso-639-2 bos + * @author Branislav Lazić [@branislavlazic]{@link https://github.com/branislavlazic} + */ +var locale = { + code: 'bs', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/bs/index.js.flow b/node_modules/date-fns/esm/locale/bs/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/bs/package.json b/node_modules/date-fns/esm/locale/bs/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/bs/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ca/_lib/formatDistance/index.js new file mode 100644 index 000000000..8da6c7d86 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/_lib/formatDistance/index.js @@ -0,0 +1,99 @@ +/** + * Davant de les xifres que es diuen amb vocal inicial, 1 i 11, s'apostrofen els articles el i la i la preposició de igual que si estiguessin escrits amb lletres. + * l'1 de juliol ('l'u') + * l'11 de novembre ('l'onze') + * l'11a clàusula del contracte ('l'onzena') + * la contractació d'11 jugadors ('d'onze') + * l'aval d'11.000 socis ('d'onze mil') + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=apostrofaci%25F3+davant+xifres&action=Principal&method=detall_completa&numPagina=1&idHit=11236&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=11236&titol=apostrofaci%F3%20davant%20de%20xifres%20%2F%20apostrofaci%F3%20davant%20de%201%20i%2011&numeroResultat=1&clickLink=detall&tipusCerca=cerca.normes + */ + +var formatDistanceLocale = { + lessThanXSeconds: { + one: "menys d'un segon", + eleven: "menys d'onze segons", + other: 'menys de {{count}} segons' + }, + xSeconds: { + one: '1 segon', + other: '{{count}} segons' + }, + halfAMinute: 'mig minut', + lessThanXMinutes: { + one: "menys d'un minut", + eleven: "menys d'onze minuts", + other: 'menys de {{count}} minuts' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minuts' + }, + aboutXHours: { + one: 'aproximadament una hora', + other: 'aproximadament {{count}} hores' + }, + xHours: { + one: '1 hora', + other: '{{count}} hores' + }, + xDays: { + one: '1 dia', + other: '{{count}} dies' + }, + aboutXWeeks: { + one: 'aproximadament una setmana', + other: 'aproximadament {{count}} setmanes' + }, + xWeeks: { + one: '1 setmana', + other: '{{count}} setmanes' + }, + aboutXMonths: { + one: 'aproximadament un mes', + other: 'aproximadament {{count}} mesos' + }, + xMonths: { + one: '1 mes', + other: '{{count}} mesos' + }, + aboutXYears: { + one: 'aproximadament un any', + other: 'aproximadament {{count}} anys' + }, + xYears: { + one: '1 any', + other: '{{count}} anys' + }, + overXYears: { + one: "més d'un any", + eleven: "més d'onze anys", + other: 'més de {{count}} anys' + }, + almostXYears: { + one: 'gairebé un any', + other: 'gairebé {{count}} anys' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 11 && tokenValue.eleven) { + result = tokenValue.eleven; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'fa ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ca/_lib/formatLong/index.js new file mode 100644 index 000000000..da9151322 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d 'de' MMMM y", + long: "d 'de' MMMM y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'a les' {{time}}", + long: "{{date}} 'a les' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ca/_lib/formatRelative/index.js new file mode 100644 index 000000000..6f3467979 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/_lib/formatRelative/index.js @@ -0,0 +1,23 @@ +var formatRelativeLocale = { + lastWeek: "'el' eeee 'passat a la' LT", + yesterday: "'ahir a la' p", + today: "'avui a la' p", + tomorrow: "'demà a la' p", + nextWeek: "eeee 'a la' p", + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'el' eeee 'passat a les' p", + yesterday: "'ahir a les' p", + today: "'avui a les' p", + tomorrow: "'demà a les' p", + nextWeek: "eeee 'a les' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ca/_lib/localize/index.js new file mode 100644 index 000000000..1f5e39c80 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/_lib/localize/index.js @@ -0,0 +1,176 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +/** + * General information + * Reference: https://aplicacions.llengua.gencat.cat + * Reference: https://www.uoc.edu/portal/ca/servei-linguistic/convencions/abreviacions/simbols/simbols-habituals.html + */ +/** + * Abans de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abans+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6876&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6876&titol=abans%20de%20Crist%20(abreviatura)%20/%20abans%20de%20Crist%20(sigla)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes + * Desprest de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=despr%E9s+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6879&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6879&titol=despr%E9s%20de%20Crist%20(sigla)%20/%20despr%E9s%20de%20Crist%20(abreviatura)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes + */ +var eraValues = { + narrow: ['aC', 'dC'], + abbreviated: ['a. de C.', 'd. de C.'], + wide: ['abans de Crist', 'després de Crist'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1r trimestre', '2n trimestre', '3r trimestre', '4t trimestre'] +}; + +/** + * Dins d'un text convé fer servir la forma sencera dels mesos, ja que sempre és més clar el mot sencer que l'abreviatura, encara que aquesta sigui força coneguda. + * Cal reservar, doncs, les abreviatures per a les llistes o classificacions, els gràfics, les taules o quadres estadístics, els textos publicitaris, etc. + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviacions+mesos&action=Principal&method=detall_completa&numPagina=1&idHit=8402&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8402&titol=abreviatures%20dels%20mesos%20de%20l%27any&numeroResultat=5&clickLink=detall&tipusCerca=cerca.fitxes + */ +var monthValues = { + narrow: ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + /** + * Les abreviatures dels mesos de l'any es formen seguint una de les normes generals de formació d'abreviatures. + * S'escriu la primera síl·laba i les consonants de la síl·laba següent anteriors a la primera vocal. + * Els mesos de març, maig i juny no s'abreugen perquè són paraules d'una sola síl·laba. + */ + abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'], + wide: ['gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', 'novembre', 'desembre'] +}; + +/** + * Les abreviatures dels dies de la setmana comencen totes amb la lletra d. + * Tot seguit porten la consonant següent a la i, excepte en el cas de dimarts, dimecres i diumenge, en què aquesta consonant és la m i, per tant, hi podria haver confusió. + * Per evitar-ho, s'ha substituït la m per una t (en el cas de dimarts), una c (en el cas de dimecres) i una g (en el cas de diumenge), respectivament. + * + * Seguint la norma general d'ús de les abreviatures, les dels dies de la setmana sempre porten punt final. + * Igualment, van amb la primera lletra en majúscula quan la paraula sencera també hi aniria. + * En canvi, van amb la primera lletra en minúscula quan la inicial de la paraula sencera també hi aniria. + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviatures+dies&action=Principal&method=detall_completa&numPagina=1&idHit=8387&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8387&titol=abreviatures%20dels%20dies%20de%20la%20setmana&numeroResultat=1&clickLink=detall&tipusCerca=cerca.tot + */ +var dayValues = { + narrow: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'], + short: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'], + abbreviated: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'], + wide: ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] +}; + +/** + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?action=Principal&method=detall&input_cercar=parts+del+dia&numPagina=1&database=FITXES_PUB&idFont=12801&idHit=12801&tipusFont=Fitxes+de+l%27Optimot&numeroResultat=1&databases_avansada=&categories_avansada=&clickLink=detall&titol=Nom+de+les+parts+del+dia&tematica=&tipusCerca=cerca.fitxes + */ +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'mitjanit', + noon: 'migdia', + morning: 'matí', + afternoon: 'tarda', + evening: 'vespre', + night: 'nit' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'mitjanit', + noon: 'migdia', + morning: 'matí', + afternoon: 'tarda', + evening: 'vespre', + night: 'nit' + }, + wide: { + am: 'ante meridiem', + pm: 'post meridiem', + midnight: 'mitjanit', + noon: 'migdia', + morning: 'matí', + afternoon: 'tarda', + evening: 'vespre', + night: 'nit' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'de la mitjanit', + noon: 'del migdia', + morning: 'del matí', + afternoon: 'de la tarda', + evening: 'del vespre', + night: 'de la nit' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'de la mitjanit', + noon: 'del migdia', + morning: 'del matí', + afternoon: 'de la tarda', + evening: 'del vespre', + night: 'de la nit' + }, + wide: { + am: 'ante meridiem', + pm: 'post meridiem', + midnight: 'de la mitjanit', + noon: 'del migdia', + morning: 'del matí', + afternoon: 'de la tarda', + evening: 'del vespre', + night: 'de la nit' + } +}; + +/** + * Quan van en singular, els nombres ordinals es representen, en forma d’abreviatura, amb la xifra seguida de l’última lletra del mot desplegat. + * És optatiu posar punt després de la lletra. + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/pdf/abrevia.pdf#page=18 + */ +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'r'; + case 2: + return number + 'n'; + case 3: + return number + 'r'; + case 4: + return number + 't'; + } + } + return number + 'è'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/_lib/match/index.js b/node_modules/date-fns/esm/locale/ca/_lib/match/index.js new file mode 100644 index 000000000..32d6bdad4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/_lib/match/index.js @@ -0,0 +1,103 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(è|r|n|r|t)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(aC|dC)/i, + abbreviated: /^(a. de C.|d. de C.)/i, + wide: /^(abans de Crist|despr[eé]s de Crist)/i +}; +var parseEraPatterns = { + narrow: [/^aC/i, /^dC/i], + abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i], + wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](è|r|n|r|t)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i, + abbreviated: /^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i, + wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i +}; +var parseMonthPatterns = { + narrow: [/^GN/i, /^FB/i, /^MÇ/i, /^AB/i, /^MG/i, /^JN/i, /^JL/i, /^AG/i, /^ST/i, /^OC/i, /^NV/i, /^DS/i], + abbreviated: [/^gen./i, /^febr./i, /^març/i, /^abr./i, /^maig/i, /^juny/i, /^jul./i, /^ag./i, /^set./i, /^oct./i, /^nov./i, /^des./i], + wide: [/^gener/i, /^febrer/i, /^març/i, /^abril/i, /^maig/i, /^juny/i, /^juliol/i, /^agost/i, /^setembre/i, /^octubre/i, /^novembre/i, /^desembre/i] +}; +var matchDayPatterns = { + narrow: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i, + short: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i, + abbreviated: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i, + wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i +}; +var parseDayPatterns = { + narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i], + abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i], + wide: [/^diumenge/i, /^dilluns/i, /^dimarts/i, /^dimecres/i, /^dijous/i, /^divendres/i, /^disssabte/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i, + abbreviated: /^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i, + wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mitjanit/i, + noon: /^migdia/i, + morning: /matí/i, + afternoon: /tarda/i, + evening: /vespre/i, + night: /nit/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'wide' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/index.d.ts b/node_modules/date-fns/esm/locale/ca/index.d.ts new file mode 100644 index 000000000..82742f733 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ca } from 'date-fns/locale' +export default ca diff --git a/node_modules/date-fns/esm/locale/ca/index.js b/node_modules/date-fns/esm/locale/ca/index.js new file mode 100644 index 000000000..95688e700 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/index.js @@ -0,0 +1,29 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Catalan locale. + * @language Catalan + * @iso-639-2 cat + * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa} + * @author Alex Vizcaino [@avizcaino]{@link https://github.com/avizcaino} + */ +var locale = { + code: 'ca', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; + +// throw new Error('ca locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA') \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ca/index.js.flow b/node_modules/date-fns/esm/locale/ca/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ca/package.json b/node_modules/date-fns/esm/locale/ca/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ca/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/cs/_lib/formatDistance/index.js new file mode 100644 index 000000000..9469ed0fe --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/_lib/formatDistance/index.js @@ -0,0 +1,294 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + regular: 'méně než sekunda', + past: 'před méně než sekundou', + future: 'za méně než sekundu' + }, + few: { + regular: 'méně než {{count}} sekundy', + past: 'před méně než {{count}} sekundami', + future: 'za méně než {{count}} sekundy' + }, + many: { + regular: 'méně než {{count}} sekund', + past: 'před méně než {{count}} sekundami', + future: 'za méně než {{count}} sekund' + } + }, + xSeconds: { + one: { + regular: 'sekunda', + past: 'před sekundou', + future: 'za sekundu' + }, + few: { + regular: '{{count}} sekundy', + past: 'před {{count}} sekundami', + future: 'za {{count}} sekundy' + }, + many: { + regular: '{{count}} sekund', + past: 'před {{count}} sekundami', + future: 'za {{count}} sekund' + } + }, + halfAMinute: { + type: 'other', + other: { + regular: 'půl minuty', + past: 'před půl minutou', + future: 'za půl minuty' + } + }, + lessThanXMinutes: { + one: { + regular: 'méně než minuta', + past: 'před méně než minutou', + future: 'za méně než minutu' + }, + few: { + regular: 'méně než {{count}} minuty', + past: 'před méně než {{count}} minutami', + future: 'za méně než {{count}} minuty' + }, + many: { + regular: 'méně než {{count}} minut', + past: 'před méně než {{count}} minutami', + future: 'za méně než {{count}} minut' + } + }, + xMinutes: { + one: { + regular: 'minuta', + past: 'před minutou', + future: 'za minutu' + }, + few: { + regular: '{{count}} minuty', + past: 'před {{count}} minutami', + future: 'za {{count}} minuty' + }, + many: { + regular: '{{count}} minut', + past: 'před {{count}} minutami', + future: 'za {{count}} minut' + } + }, + aboutXHours: { + one: { + regular: 'přibližně hodina', + past: 'přibližně před hodinou', + future: 'přibližně za hodinu' + }, + few: { + regular: 'přibližně {{count}} hodiny', + past: 'přibližně před {{count}} hodinami', + future: 'přibližně za {{count}} hodiny' + }, + many: { + regular: 'přibližně {{count}} hodin', + past: 'přibližně před {{count}} hodinami', + future: 'přibližně za {{count}} hodin' + } + }, + xHours: { + one: { + regular: 'hodina', + past: 'před hodinou', + future: 'za hodinu' + }, + few: { + regular: '{{count}} hodiny', + past: 'před {{count}} hodinami', + future: 'za {{count}} hodiny' + }, + many: { + regular: '{{count}} hodin', + past: 'před {{count}} hodinami', + future: 'za {{count}} hodin' + } + }, + xDays: { + one: { + regular: 'den', + past: 'před dnem', + future: 'za den' + }, + few: { + regular: '{{count}} dny', + past: 'před {{count}} dny', + future: 'za {{count}} dny' + }, + many: { + regular: '{{count}} dní', + past: 'před {{count}} dny', + future: 'za {{count}} dní' + } + }, + aboutXWeeks: { + one: { + regular: 'přibližně týden', + past: 'přibližně před týdnem', + future: 'přibližně za týden' + }, + few: { + regular: 'přibližně {{count}} týdny', + past: 'přibližně před {{count}} týdny', + future: 'přibližně za {{count}} týdny' + }, + many: { + regular: 'přibližně {{count}} týdnů', + past: 'přibližně před {{count}} týdny', + future: 'přibližně za {{count}} týdnů' + } + }, + xWeeks: { + one: { + regular: 'týden', + past: 'před týdnem', + future: 'za týden' + }, + few: { + regular: '{{count}} týdny', + past: 'před {{count}} týdny', + future: 'za {{count}} týdny' + }, + many: { + regular: '{{count}} týdnů', + past: 'před {{count}} týdny', + future: 'za {{count}} týdnů' + } + }, + aboutXMonths: { + one: { + regular: 'přibližně měsíc', + past: 'přibližně před měsícem', + future: 'přibližně za měsíc' + }, + few: { + regular: 'přibližně {{count}} měsíce', + past: 'přibližně před {{count}} měsíci', + future: 'přibližně za {{count}} měsíce' + }, + many: { + regular: 'přibližně {{count}} měsíců', + past: 'přibližně před {{count}} měsíci', + future: 'přibližně za {{count}} měsíců' + } + }, + xMonths: { + one: { + regular: 'měsíc', + past: 'před měsícem', + future: 'za měsíc' + }, + few: { + regular: '{{count}} měsíce', + past: 'před {{count}} měsíci', + future: 'za {{count}} měsíce' + }, + many: { + regular: '{{count}} měsíců', + past: 'před {{count}} měsíci', + future: 'za {{count}} měsíců' + } + }, + aboutXYears: { + one: { + regular: 'přibližně rok', + past: 'přibližně před rokem', + future: 'přibližně za rok' + }, + few: { + regular: 'přibližně {{count}} roky', + past: 'přibližně před {{count}} roky', + future: 'přibližně za {{count}} roky' + }, + many: { + regular: 'přibližně {{count}} roků', + past: 'přibližně před {{count}} roky', + future: 'přibližně za {{count}} roků' + } + }, + xYears: { + one: { + regular: 'rok', + past: 'před rokem', + future: 'za rok' + }, + few: { + regular: '{{count}} roky', + past: 'před {{count}} roky', + future: 'za {{count}} roky' + }, + many: { + regular: '{{count}} roků', + past: 'před {{count}} roky', + future: 'za {{count}} roků' + } + }, + overXYears: { + one: { + regular: 'více než rok', + past: 'před více než rokem', + future: 'za více než rok' + }, + few: { + regular: 'více než {{count}} roky', + past: 'před více než {{count}} roky', + future: 'za více než {{count}} roky' + }, + many: { + regular: 'více než {{count}} roků', + past: 'před více než {{count}} roky', + future: 'za více než {{count}} roků' + } + }, + almostXYears: { + one: { + regular: 'skoro rok', + past: 'skoro před rokem', + future: 'skoro za rok' + }, + few: { + regular: 'skoro {{count}} roky', + past: 'skoro před {{count}} roky', + future: 'skoro za {{count}} roky' + }, + many: { + regular: 'skoro {{count}} roků', + past: 'skoro před {{count}} roky', + future: 'skoro za {{count}} roků' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var pluralResult; + var tokenValue = formatDistanceLocale[token]; + + // cs pluralization + if (tokenValue.type === 'other') { + pluralResult = tokenValue.other; + } else if (count === 1) { + pluralResult = tokenValue.one; + } else if (count > 1 && count < 5) { + pluralResult = tokenValue.few; + } else { + pluralResult = tokenValue.many; + } + + // times + var suffixExist = (options === null || options === void 0 ? void 0 : options.addSuffix) === true; + var comparison = options === null || options === void 0 ? void 0 : options.comparison; + var timeResult; + if (suffixExist && comparison === -1) { + timeResult = pluralResult.past; + } else if (suffixExist && comparison === 1) { + timeResult = pluralResult.future; + } else { + timeResult = pluralResult.regular; + } + return timeResult.replace('{{count}}', String(count)); +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/cs/_lib/formatLong/index.js new file mode 100644 index 000000000..d5696edc3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d. MMMM yyyy', + long: 'd. MMMM yyyy', + medium: 'd. M. yyyy', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'v' {{time}}", + long: "{{date}} 'v' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/cs/_lib/formatRelative/index.js new file mode 100644 index 000000000..9a39b8eac --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +var accusativeWeekdays = ['neděli', 'pondělí', 'úterý', 'středu', 'čtvrtek', 'pátek', 'sobotu']; +var formatRelativeLocale = { + lastWeek: "'poslední' eeee 've' p", + yesterday: "'včera v' p", + today: "'dnes v' p", + tomorrow: "'zítra v' p", + nextWeek: function nextWeek(date) { + var day = date.getUTCDay(); + return "'v " + accusativeWeekdays[day] + " o' p"; + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/_lib/localize/index.js b/node_modules/date-fns/esm/locale/cs/_lib/localize/index.js new file mode 100644 index 000000000..18010b9b4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/_lib/localize/index.js @@ -0,0 +1,126 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['př. n. l.', 'n. l.'], + abbreviated: ['př. n. l.', 'n. l.'], + wide: ['před naším letopočtem', 'našeho letopočtu'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí'], + wide: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí'] +}; +var monthValues = { + narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'], + abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], + wide: ['leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec'] +}; +var formattingMonthValues = { + narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'], + abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], + wide: ['ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října', 'listopadu', 'prosince'] +}; +var dayValues = { + narrow: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + short: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + abbreviated: ['ned', 'pon', 'úte', 'stř', 'čtv', 'pát', 'sob'], + wide: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'] +}; +var dayPeriodValues = { + narrow: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + abbreviated: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + wide: { + am: 'dopoledne', + pm: 'odpoledne', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + abbreviated: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + wide: { + am: 'dopoledne', + pm: 'odpoledne', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/_lib/match/index.js b/node_modules/date-fns/esm/locale/cs/_lib/match/index.js new file mode 100644 index 000000000..dbde77905 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i, + abbreviated: /^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i, + wide: /^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i +}; +var parseEraPatterns = { + any: [/^p[řr]/i, /^(po|n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\. [čc]tvrtlet[íi]/i, + wide: /^[1234]\. [čc]tvrtlet[íi]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[lúubdkčcszřrlp]/i, + abbreviated: /^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i, + wide: /^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i +}; +var parseMonthPatterns = { + narrow: [/^l/i, /^[úu]/i, /^b/i, /^d/i, /^k/i, /^[čc]/i, /^[čc]/i, /^s/i, /^z/i, /^[řr]/i, /^l/i, /^p/i], + any: [/^led/i, /^[úu]n/i, /^b[řr]e/i, /^dub/i, /^kv[ěe]/i, /^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i, /^[čc]vc|[čc]erven(ec|ce)/i, /^srp/i, /^z[áa][řr]/i, /^[řr][íi]j/i, /^lis/i, /^pro/i] +}; +var matchDayPatterns = { + narrow: /^[npuúsčps]/i, + short: /^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i, + abbreviated: /^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i, + wide: /^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^[úu]/i, /^s/i, /^[čc]/i, /^p/i, /^s/i], + any: [/^ne/i, /^po/i, /^[úu]t/i, /^st/i, /^[čc]t/i, /^p[áa]/i, /^so/i] +}; +var matchDayPeriodPatterns = { + any: /^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^dop/i, + pm: /^odp/i, + midnight: /^p[ůu]lnoc/i, + noon: /^poledne/i, + morning: /r[áa]no/i, + afternoon: /odpoledne/i, + evening: /ve[čc]er/i, + night: /noc/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/index.d.ts b/node_modules/date-fns/esm/locale/cs/index.d.ts new file mode 100644 index 000000000..a17dd220b --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { cs } from 'date-fns/locale' +export default cs diff --git a/node_modules/date-fns/esm/locale/cs/index.js b/node_modules/date-fns/esm/locale/cs/index.js new file mode 100644 index 000000000..5e91e273b --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Czech locale. + * @language Czech + * @iso-639-2 ces + * @author David Rus [@davidrus]{@link https://github.com/davidrus} + * @author Pavel Hrách [@SilenY]{@link https://github.com/SilenY} + * @author Jozef Bíroš [@JozefBiros]{@link https://github.com/JozefBiros} + */ +var locale = { + code: 'cs', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cs/index.js.flow b/node_modules/date-fns/esm/locale/cs/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/cs/package.json b/node_modules/date-fns/esm/locale/cs/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cs/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/cy/_lib/formatDistance/index.js new file mode 100644 index 000000000..aa4a18a49 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/_lib/formatDistance/index.js @@ -0,0 +1,96 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'llai na eiliad', + other: 'llai na {{count}} eiliad' + }, + xSeconds: { + one: '1 eiliad', + other: '{{count}} eiliad' + }, + halfAMinute: 'hanner munud', + lessThanXMinutes: { + one: 'llai na munud', + two: 'llai na 2 funud', + other: 'llai na {{count}} munud' + }, + xMinutes: { + one: '1 munud', + two: '2 funud', + other: '{{count}} munud' + }, + aboutXHours: { + one: 'tua 1 awr', + other: 'tua {{count}} awr' + }, + xHours: { + one: '1 awr', + other: '{{count}} awr' + }, + xDays: { + one: '1 diwrnod', + two: '2 ddiwrnod', + other: '{{count}} diwrnod' + }, + aboutXWeeks: { + one: 'tua 1 wythnos', + two: 'tua pythefnos', + other: 'tua {{count}} wythnos' + }, + xWeeks: { + one: '1 wythnos', + two: 'pythefnos', + other: '{{count}} wythnos' + }, + aboutXMonths: { + one: 'tua 1 mis', + two: 'tua 2 fis', + other: 'tua {{count}} mis' + }, + xMonths: { + one: '1 mis', + two: '2 fis', + other: '{{count}} mis' + }, + aboutXYears: { + one: 'tua 1 flwyddyn', + two: 'tua 2 flynedd', + other: 'tua {{count}} mlynedd' + }, + xYears: { + one: '1 flwyddyn', + two: '2 flynedd', + other: '{{count}} mlynedd' + }, + overXYears: { + one: 'dros 1 flwyddyn', + two: 'dros 2 flynedd', + other: 'dros {{count}} mlynedd' + }, + almostXYears: { + one: 'bron 1 flwyddyn', + two: 'bron 2 flynedd', + other: 'bron {{count}} mlynedd' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2 && !!tokenValue.two) { + result = tokenValue.two; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'mewn ' + result; + } else { + return result + ' yn ôl'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/cy/_lib/formatLong/index.js new file mode 100644 index 000000000..c67ac4941 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'am' {{time}}", + long: "{{date}} 'am' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/cy/_lib/formatRelative/index.js new file mode 100644 index 000000000..1056edb85 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'diwethaf am' p", + yesterday: "'ddoe am' p", + today: "'heddiw am' p", + tomorrow: "'yfory am' p", + nextWeek: "eeee 'am' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/_lib/localize/index.js b/node_modules/date-fns/esm/locale/cy/_lib/localize/index.js new file mode 100644 index 000000000..48c62b965 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/_lib/localize/index.js @@ -0,0 +1,157 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['C', 'O'], + abbreviated: ['CC', 'OC'], + wide: ['Cyn Crist', 'Ar ôl Crist'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Ch1', 'Ch2', 'Ch3', 'Ch4'], + wide: ['Chwarter 1af', '2ail chwarter', '3ydd chwarter', '4ydd chwarter'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['I', 'Ch', 'Ma', 'E', 'Mi', 'Me', 'G', 'A', 'Md', 'H', 'T', 'Rh'], + abbreviated: ['Ion', 'Chwe', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Aws', 'Med', 'Hyd', 'Tach', 'Rhag'], + wide: ['Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', 'Hydref', 'Tachwedd', 'Rhagfyr'] +}; +var dayValues = { + narrow: ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], + short: ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'], + abbreviated: ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], + wide: ['dydd Sul', 'dydd Llun', 'dydd Mawrth', 'dydd Mercher', 'dydd Iau', 'dydd Gwener', 'dydd Sadwrn'] +}; +var dayPeriodValues = { + narrow: { + am: 'b', + pm: 'h', + midnight: 'hn', + noon: 'hd', + morning: 'bore', + afternoon: 'prynhawn', + evening: "gyda'r nos", + night: 'nos' + }, + abbreviated: { + am: 'yb', + pm: 'yh', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'bore', + afternoon: 'prynhawn', + evening: "gyda'r nos", + night: 'nos' + }, + wide: { + am: 'y.b.', + pm: 'y.h.', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'bore', + afternoon: 'prynhawn', + evening: "gyda'r nos", + night: 'nos' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'b', + pm: 'h', + midnight: 'hn', + noon: 'hd', + morning: 'yn y bore', + afternoon: 'yn y prynhawn', + evening: "gyda'r nos", + night: 'yn y nos' + }, + abbreviated: { + am: 'yb', + pm: 'yh', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'yn y bore', + afternoon: 'yn y prynhawn', + evening: "gyda'r nos", + night: 'yn y nos' + }, + wide: { + am: 'y.b.', + pm: 'y.h.', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'yn y bore', + afternoon: 'yn y prynhawn', + evening: "gyda'r nos", + night: 'yn y nos' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + if (number < 20) { + switch (number) { + case 0: + return number + 'fed'; + case 1: + return number + 'af'; + case 2: + return number + 'ail'; + case 3: + case 4: + return number + 'ydd'; + case 5: + case 6: + return number + 'ed'; + case 7: + case 8: + case 9: + case 10: + case 12: + case 15: + case 18: + return number + 'fed'; + case 11: + case 13: + case 14: + case 16: + case 17: + case 19: + return number + 'eg'; + } + } else if (number >= 50 && number <= 60 || number === 80 || number >= 100) { + return number + 'fed'; + } + return number + 'ain'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/_lib/match/index.js b/node_modules/date-fns/esm/locale/cy/_lib/match/index.js new file mode 100644 index 000000000..e4698b20d --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(c|o)/i, + abbreviated: /^(c\.?\s?c\.?|o\.?\s?c\.?)/i, + wide: /^(cyn christ|ar ôl crist|ar ol crist)/i +}; +var parseEraPatterns = { + wide: [/^c/i, /^(ar ôl crist|ar ol crist)/i], + any: [/^c/i, /^o/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ch[1234]/i, + wide: /^(chwarter 1af)|([234](ail|ydd)? chwarter)/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(i|ch|m|e|g|a|h|t|rh)/i, + abbreviated: /^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i, + wide: /^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i +}; +var parseMonthPatterns = { + narrow: [/^i/i, /^ch/i, /^m/i, /^e/i, /^m/i, /^m/i, /^g/i, /^a/i, /^m/i, /^h/i, /^t/i, /^rh/i], + any: [/^io/i, /^ch/i, /^maw/i, /^e/i, /^mai/i, /^meh/i, /^g/i, /^a/i, /^med/i, /^h/i, /^t/i, /^rh/i] +}; +var matchDayPatterns = { + narrow: /^(s|ll|m|i|g)/i, + short: /^(su|ll|ma|me|ia|gw|sa)/i, + abbreviated: /^(sul|llun|maw|mer|iau|gwe|sad)/i, + wide: /^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^ll/i, /^m/i, /^m/i, /^i/i, /^g/i, /^s/i], + wide: [/^dydd su/i, /^dydd ll/i, /^dydd ma/i, /^dydd me/i, /^dydd i/i, /^dydd g/i, /^dydd sa/i], + any: [/^su/i, /^ll/i, /^ma/i, /^me/i, /^i/i, /^g/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i, + any: /^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^b|(y\.?\s?b\.?)/i, + pm: /^h|(y\.?\s?h\.?)|(yr hwyr)/i, + midnight: /^hn|hanner nos/i, + noon: /^hd|hanner dydd/i, + morning: /bore/i, + afternoon: /prynhawn/i, + evening: /^gyda'r nos$/i, + night: /blah/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/index.d.ts b/node_modules/date-fns/esm/locale/cy/index.d.ts new file mode 100644 index 000000000..8c1286beb --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { cy } from 'date-fns/locale' +export default cy diff --git a/node_modules/date-fns/esm/locale/cy/index.js b/node_modules/date-fns/esm/locale/cy/index.js new file mode 100644 index 000000000..65be851fd --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Welsh locale. + * @language Welsh + * @iso-639-2 cym + * @author Elwyn Malethan [@elmomalmo]{@link https://github.com/elmomalmo} + */ +var locale = { + code: 'cy', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/cy/index.js.flow b/node_modules/date-fns/esm/locale/cy/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/cy/package.json b/node_modules/date-fns/esm/locale/cy/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/cy/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/da/_lib/formatDistance/index.js new file mode 100644 index 000000000..be26e72a9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre end ét sekund', + other: 'mindre end {{count}} sekunder' + }, + xSeconds: { + one: '1 sekund', + other: '{{count}} sekunder' + }, + halfAMinute: 'ét halvt minut', + lessThanXMinutes: { + one: 'mindre end ét minut', + other: 'mindre end {{count}} minutter' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minutter' + }, + aboutXHours: { + one: 'cirka 1 time', + other: 'cirka {{count}} timer' + }, + xHours: { + one: '1 time', + other: '{{count}} timer' + }, + xDays: { + one: '1 dag', + other: '{{count}} dage' + }, + aboutXWeeks: { + one: 'cirka 1 uge', + other: 'cirka {{count}} uger' + }, + xWeeks: { + one: '1 uge', + other: '{{count}} uger' + }, + aboutXMonths: { + one: 'cirka 1 måned', + other: 'cirka {{count}} måneder' + }, + xMonths: { + one: '1 måned', + other: '{{count}} måneder' + }, + aboutXYears: { + one: 'cirka 1 år', + other: 'cirka {{count}} år' + }, + xYears: { + one: '1 år', + other: '{{count}} år' + }, + overXYears: { + one: 'over 1 år', + other: 'over {{count}} år' + }, + almostXYears: { + one: 'næsten 1 år', + other: 'næsten {{count}} år' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' siden'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/da/_lib/formatLong/index.js new file mode 100644 index 000000000..c0802160e --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE 'den' d. MMMM y", + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl'. {{time}}", + long: "{{date}} 'kl'. {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/da/_lib/formatRelative/index.js new file mode 100644 index 000000000..129cd2352 --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'sidste' eeee 'kl.' p", + yesterday: "'i går kl.' p", + today: "'i dag kl.' p", + tomorrow: "'i morgen kl.' p", + nextWeek: "'på' eeee 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/_lib/localize/index.js b/node_modules/date-fns/esm/locale/da/_lib/localize/index.js new file mode 100644 index 000000000..b26e10e86 --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/_lib/localize/index.js @@ -0,0 +1,123 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['fvt', 'vt'], + abbreviated: ['f.v.t.', 'v.t.'], + wide: ['før vesterlandsk tidsregning', 'vesterlandsk tidsregning'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. kvt.', '2. kvt.', '3. kvt.', '4. kvt.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december'] +}; + +// Note that 'Days - abbreviated - Formatting' has periods at the end. +// https://www.unicode.org/cldr/charts/32/summary/da.html#1760 +// This makes grammatical sense in danish, as most abbreviations have periods. +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + abbreviated: ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + wide: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnat', + noon: 'middag', + morning: 'morgen', + afternoon: 'eftermiddag', + evening: 'aften', + night: 'nat' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnat', + noon: 'middag', + morning: 'morgen', + afternoon: 'eftermiddag', + evening: 'aften', + night: 'nat' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnat', + noon: 'middag', + morning: 'morgen', + afternoon: 'eftermiddag', + evening: 'aften', + night: 'nat' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnat', + noon: 'middag', + morning: 'om morgenen', + afternoon: 'om eftermiddagen', + evening: 'om aftenen', + night: 'om natten' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnat', + noon: 'middag', + morning: 'om morgenen', + afternoon: 'om eftermiddagen', + evening: 'om aftenen', + night: 'om natten' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnat', + noon: 'middag', + morning: 'om morgenen', + afternoon: 'om eftermiddagen', + evening: 'om aftenen', + night: 'om natten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/_lib/match/index.js b/node_modules/date-fns/esm/locale/da/_lib/match/index.js new file mode 100644 index 000000000..0fd6a9796 --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(fKr|fvt|eKr|vt)/i, + abbreviated: /^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i, + wide: /^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^(v|e)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]. kvt\./i, + wide: /^[1234]\.? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, + wide: /^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i, + abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i, + wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^o/i, /^t/i, /^f/i, /^l/i], + any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i, + any: /^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /midnat/i, + noon: /middag/i, + morning: /morgen/i, + afternoon: /eftermiddag/i, + evening: /aften/i, + night: /nat/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/index.d.ts b/node_modules/date-fns/esm/locale/da/index.d.ts new file mode 100644 index 000000000..1cd188a3a --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { da } from 'date-fns/locale' +export default da diff --git a/node_modules/date-fns/esm/locale/da/index.js b/node_modules/date-fns/esm/locale/da/index.js new file mode 100644 index 000000000..764db98ee --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/index.js @@ -0,0 +1,29 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Danish locale. + * @language Danish + * @iso-639-2 dan + * @author Mathias Wøbbe [@MathiasKandelborg]{@link https://github.com/MathiasKandelborg} + * @author Anders B. Hansen [@Andersbiha]{@link https://github.com/Andersbiha} + * @author [@kgram]{@link https://github.com/kgram} + * @author [@stefanbugge]{@link https://github.com/stefanbugge} + */ +var locale = { + code: 'da', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/da/index.js.flow b/node_modules/date-fns/esm/locale/da/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/da/package.json b/node_modules/date-fns/esm/locale/da/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/da/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de-AT/_lib/localize/index.js b/node_modules/date-fns/esm/locale/de-AT/_lib/localize/index.js new file mode 100644 index 000000000..6a5cecd13 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de-AT/_lib/localize/index.js @@ -0,0 +1,134 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['v.Chr.', 'n.Chr.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['vor Christus', 'nach Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] +}; + +// Note: in German, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + wide: ['Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] +}; + +// https://st.unicode.org/cldr-apps/v#/de_AT/Gregorian/ +var formattingMonthValues = { + narrow: monthValues.narrow, + abbreviated: ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], + wide: monthValues.wide +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/de.html#1881 +var dayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachm.', + evening: 'Abend', + night: 'Nacht' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachm.', + evening: 'abends', + night: 'nachts' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + formattingValues: formattingMonthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de-AT/index.d.ts b/node_modules/date-fns/esm/locale/de-AT/index.d.ts new file mode 100644 index 000000000..a7d668012 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de-AT/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { deAT } from 'date-fns/locale' +export default deAT diff --git a/node_modules/date-fns/esm/locale/de-AT/index.js b/node_modules/date-fns/esm/locale/de-AT/index.js new file mode 100644 index 000000000..f32127b07 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de-AT/index.js @@ -0,0 +1,27 @@ +import formatDistance from "../de/_lib/formatDistance/index.js"; +import formatLong from "../de/_lib/formatLong/index.js"; +import formatRelative from "../de/_lib/formatRelative/index.js"; +import match from "../de/_lib/match/index.js"; +// difference to 'de' locale +import localize from "./_lib/localize/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary German locale (Austria). + * @language German + * @iso-639-2 deu + * @author Christoph Tobias Stenglein [@cstenglein]{@link https://github.com/cstenglein} + */ +var locale = { + code: 'de-AT', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de-AT/index.js.flow b/node_modules/date-fns/esm/locale/de-AT/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/de-AT/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/de-AT/package.json b/node_modules/date-fns/esm/locale/de-AT/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de-AT/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/de/_lib/formatDistance/index.js new file mode 100644 index 000000000..333441f9e --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/_lib/formatDistance/index.js @@ -0,0 +1,176 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'weniger als 1 Sekunde', + other: 'weniger als {{count}} Sekunden' + }, + withPreposition: { + one: 'weniger als 1 Sekunde', + other: 'weniger als {{count}} Sekunden' + } + }, + xSeconds: { + standalone: { + one: '1 Sekunde', + other: '{{count}} Sekunden' + }, + withPreposition: { + one: '1 Sekunde', + other: '{{count}} Sekunden' + } + }, + halfAMinute: { + standalone: 'halbe Minute', + withPreposition: 'halben Minute' + }, + lessThanXMinutes: { + standalone: { + one: 'weniger als 1 Minute', + other: 'weniger als {{count}} Minuten' + }, + withPreposition: { + one: 'weniger als 1 Minute', + other: 'weniger als {{count}} Minuten' + } + }, + xMinutes: { + standalone: { + one: '1 Minute', + other: '{{count}} Minuten' + }, + withPreposition: { + one: '1 Minute', + other: '{{count}} Minuten' + } + }, + aboutXHours: { + standalone: { + one: 'etwa 1 Stunde', + other: 'etwa {{count}} Stunden' + }, + withPreposition: { + one: 'etwa 1 Stunde', + other: 'etwa {{count}} Stunden' + } + }, + xHours: { + standalone: { + one: '1 Stunde', + other: '{{count}} Stunden' + }, + withPreposition: { + one: '1 Stunde', + other: '{{count}} Stunden' + } + }, + xDays: { + standalone: { + one: '1 Tag', + other: '{{count}} Tage' + }, + withPreposition: { + one: '1 Tag', + other: '{{count}} Tagen' + } + }, + aboutXWeeks: { + standalone: { + one: 'etwa 1 Woche', + other: 'etwa {{count}} Wochen' + }, + withPreposition: { + one: 'etwa 1 Woche', + other: 'etwa {{count}} Wochen' + } + }, + xWeeks: { + standalone: { + one: '1 Woche', + other: '{{count}} Wochen' + }, + withPreposition: { + one: '1 Woche', + other: '{{count}} Wochen' + } + }, + aboutXMonths: { + standalone: { + one: 'etwa 1 Monat', + other: 'etwa {{count}} Monate' + }, + withPreposition: { + one: 'etwa 1 Monat', + other: 'etwa {{count}} Monaten' + } + }, + xMonths: { + standalone: { + one: '1 Monat', + other: '{{count}} Monate' + }, + withPreposition: { + one: '1 Monat', + other: '{{count}} Monaten' + } + }, + aboutXYears: { + standalone: { + one: 'etwa 1 Jahr', + other: 'etwa {{count}} Jahre' + }, + withPreposition: { + one: 'etwa 1 Jahr', + other: 'etwa {{count}} Jahren' + } + }, + xYears: { + standalone: { + one: '1 Jahr', + other: '{{count}} Jahre' + }, + withPreposition: { + one: '1 Jahr', + other: '{{count}} Jahren' + } + }, + overXYears: { + standalone: { + one: 'mehr als 1 Jahr', + other: 'mehr als {{count}} Jahre' + }, + withPreposition: { + one: 'mehr als 1 Jahr', + other: 'mehr als {{count}} Jahren' + } + }, + almostXYears: { + standalone: { + one: 'fast 1 Jahr', + other: 'fast {{count}} Jahre' + }, + withPreposition: { + one: 'fast 1 Jahr', + other: 'fast {{count}} Jahren' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'in ' + result; + } else { + return 'vor ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/de/_lib/formatLong/index.js new file mode 100644 index 000000000..d962bde07 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/_lib/formatLong/index.js @@ -0,0 +1,39 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +// DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008 +var dateFormats = { + full: 'EEEE, do MMMM y', + // Montag, 7. Januar 2018 + long: 'do MMMM y', + // 7. Januar 2018 + medium: 'do MMM y', + // 7. Jan. 2018 + short: 'dd.MM.y' // 07.01.2018 +}; + +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'um' {{time}}", + long: "{{date}} 'um' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/de/_lib/formatRelative/index.js new file mode 100644 index 000000000..48b1fdc8d --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'letzten' eeee 'um' p", + yesterday: "'gestern um' p", + today: "'heute um' p", + tomorrow: "'morgen um' p", + nextWeek: "eeee 'um' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/_lib/localize/index.js b/node_modules/date-fns/esm/locale/de/_lib/localize/index.js new file mode 100644 index 000000000..768c717a5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/_lib/localize/index.js @@ -0,0 +1,134 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['v.Chr.', 'n.Chr.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['vor Christus', 'nach Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] +}; + +// Note: in German, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + wide: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] +}; + +// https://st.unicode.org/cldr-apps/v#/de/Gregorian/ +var formattingMonthValues = { + narrow: monthValues.narrow, + abbreviated: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], + wide: monthValues.wide +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/de.html#1881 +var dayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachm.', + evening: 'Abend', + night: 'Nacht' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachm.', + evening: 'abends', + night: 'nachts' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + formattingValues: formattingMonthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/_lib/match/index.js b/node_modules/date-fns/esm/locale/de/_lib/match/index.js new file mode 100644 index 000000000..ffeeaefe3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i +}; +var parseEraPatterns = { + any: [/^v/i, /^n/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? Quartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i, + wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^j[aä]/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smdmf]/i, + short: /^(so|mo|di|mi|do|fr|sa)/i, + abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i, + wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i +}; +var parseDayPatterns = { + any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i, + abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i, + wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^v/i, + pm: /^n/i, + midnight: /^Mitte/i, + noon: /^Mitta/i, + morning: /morgens/i, + afternoon: /nachmittags/i, + // will never be matched. Afternoon is matched by `pm` + evening: /abends/i, + night: /nachts/i // will never be matched. Night is matched by `pm` + } +}; + +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/index.d.ts b/node_modules/date-fns/esm/locale/de/index.d.ts new file mode 100644 index 000000000..ef552da81 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { de } from 'date-fns/locale' +export default de diff --git a/node_modules/date-fns/esm/locale/de/index.js b/node_modules/date-fns/esm/locale/de/index.js new file mode 100644 index 000000000..b59471328 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/index.js @@ -0,0 +1,30 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary German locale. + * @language German + * @iso-639-2 deu + * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu} + * @author Asia [@asia-t]{@link https://github.com/asia-t} + * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo} + * @author RomanErnst [@pex]{@link https://github.com/pex} + * @author Philipp Keck [@Philipp91]{@link https://github.com/Philipp91} + */ +var locale = { + code: 'de', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/de/index.js.flow b/node_modules/date-fns/esm/locale/de/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/de/package.json b/node_modules/date-fns/esm/locale/de/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/de/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/el/_lib/formatDistance/index.js new file mode 100644 index 000000000..9b55834db --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'λιγότερο από ένα δευτερόλεπτο', + other: 'λιγότερο από {{count}} δευτερόλεπτα' + }, + xSeconds: { + one: '1 δευτερόλεπτο', + other: '{{count}} δευτερόλεπτα' + }, + halfAMinute: 'μισό λεπτό', + lessThanXMinutes: { + one: 'λιγότερο από ένα λεπτό', + other: 'λιγότερο από {{count}} λεπτά' + }, + xMinutes: { + one: '1 λεπτό', + other: '{{count}} λεπτά' + }, + aboutXHours: { + one: 'περίπου 1 ώρα', + other: 'περίπου {{count}} ώρες' + }, + xHours: { + one: '1 ώρα', + other: '{{count}} ώρες' + }, + xDays: { + one: '1 ημέρα', + other: '{{count}} ημέρες' + }, + aboutXWeeks: { + one: 'περίπου 1 εβδομάδα', + other: 'περίπου {{count}} εβδομάδες' + }, + xWeeks: { + one: '1 εβδομάδα', + other: '{{count}} εβδομάδες' + }, + aboutXMonths: { + one: 'περίπου 1 μήνας', + other: 'περίπου {{count}} μήνες' + }, + xMonths: { + one: '1 μήνας', + other: '{{count}} μήνες' + }, + aboutXYears: { + one: 'περίπου 1 χρόνο', + other: 'περίπου {{count}} χρόνια' + }, + xYears: { + one: '1 χρόνο', + other: '{{count}} χρόνια' + }, + overXYears: { + one: 'πάνω από 1 χρόνο', + other: 'πάνω από {{count}} χρόνια' + }, + almostXYears: { + one: 'περίπου 1 χρόνο', + other: 'περίπου {{count}} χρόνια' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'σε ' + result; + } else { + return result + ' πριν'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/el/_lib/formatLong/index.js new file mode 100644 index 000000000..402bb1f81 --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'd/M/yy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: '{{date}} - {{time}}', + long: '{{date}} - {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/el/_lib/formatRelative/index.js new file mode 100644 index 000000000..6bda8233b --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/_lib/formatRelative/index.js @@ -0,0 +1,22 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 6: + //Σάββατο + return "'το προηγούμενο' eeee 'στις' p"; + default: + return "'την προηγούμενη' eeee 'στις' p"; + } + }, + yesterday: "'χθες στις' p", + today: "'σήμερα στις' p", + tomorrow: "'αύριο στις' p", + nextWeek: "eeee 'στις' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') return format(date); + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/_lib/localize/index.js b/node_modules/date-fns/esm/locale/el/_lib/localize/index.js new file mode 100644 index 000000000..5bb850033 --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/_lib/localize/index.js @@ -0,0 +1,101 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['πΧ', 'μΧ'], + abbreviated: ['π.Χ.', 'μ.Χ.'], + wide: ['προ Χριστού', 'μετά Χριστόν'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Τ1', 'Τ2', 'Τ3', 'Τ4'], + wide: ['1ο τρίμηνο', '2ο τρίμηνο', '3ο τρίμηνο', '4ο τρίμηνο'] +}; +var monthValues = { + narrow: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + abbreviated: ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], + wide: ['Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος'] +}; +var formattingMonthValues = { + narrow: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + abbreviated: ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], + wide: ['Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου'] +}; +var dayValues = { + narrow: ['Κ', 'Δ', 'T', 'Τ', 'Π', 'Π', 'Σ'], + short: ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'], + abbreviated: ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + wide: ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'] +}; +var dayPeriodValues = { + narrow: { + am: 'πμ', + pm: 'μμ', + midnight: 'μεσάνυχτα', + noon: 'μεσημέρι', + morning: 'πρωί', + afternoon: 'απόγευμα', + evening: 'βράδυ', + night: 'νύχτα' + }, + abbreviated: { + am: 'π.μ.', + pm: 'μ.μ.', + midnight: 'μεσάνυχτα', + noon: 'μεσημέρι', + morning: 'πρωί', + afternoon: 'απόγευμα', + evening: 'βράδυ', + night: 'νύχτα' + }, + wide: { + am: 'π.μ.', + pm: 'μ.μ.', + midnight: 'μεσάνυχτα', + noon: 'μεσημέρι', + morning: 'πρωί', + afternoon: 'απόγευμα', + evening: 'βράδυ', + night: 'νύχτα' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + var suffix; + if (unit === 'year' || unit === 'month') { + suffix = 'ος'; + } else if (unit === 'week' || unit === 'dayOfYear' || unit === 'day' || unit === 'hour' || unit === 'date') { + suffix = 'η'; + } else { + suffix = 'ο'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/_lib/match/index.js b/node_modules/date-fns/esm/locale/el/_lib/match/index.js new file mode 100644 index 000000000..f35dd5878 --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(ος|η|ο)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(πΧ|μΧ)/i, + abbreviated: /^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i, + wide: /^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i +}; +var parseEraPatterns = { + any: [/^π/i, /^(μ|κ)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^τ[1234]/i, + wide: /^[1234]ο? τρ(ί|ι)μηνο/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[ιφμαμιιασονδ]/i, + abbreviated: /^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i, + wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i +}; +var parseMonthPatterns = { + narrow: [/^ι/i, /^φ/i, /^μ/i, /^α/i, /^μ/i, /^ι/i, /^ι/i, /^α/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i], + any: [/^ια/i, /^φ/i, /^μ[άα]ρ/i, /^απ/i, /^μ[άα][ιΐ]/i, /^ιο[ύυ]ν/i, /^ιο[ύυ]λ/i, /^α[ύυ]/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i] +}; +var matchDayPatterns = { + narrow: /^[κδτπσ]/i, + short: /^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i, + abbreviated: /^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i, + wide: /^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i +}; +var parseDayPatterns = { + narrow: [/^κ/i, /^δ/i, /^τ/i, /^τ/i, /^π/i, /^π/i, /^σ/i], + any: [/^κ/i, /^δ/i, /^τρ/i, /^τε/i, /^π[εέ]/i, /^π[αά]/i, /^σ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i, + any: /^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^πμ|π\.\s?μ\./i, + pm: /^μμ|μ\.\s?μ\./i, + midnight: /^μεσάν/i, + noon: /^μεσημ(έ|ε)/i, + morning: /πρω(ί|ι)/i, + afternoon: /απ(ό|ο)γευμα/i, + evening: /βρ(ά|α)δυ/i, + night: /ν(ύ|υ)χτα/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/index.d.ts b/node_modules/date-fns/esm/locale/el/index.d.ts new file mode 100644 index 000000000..551ad06f4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { el } from 'date-fns/locale' +export default el diff --git a/node_modules/date-fns/esm/locale/el/index.js b/node_modules/date-fns/esm/locale/el/index.js new file mode 100644 index 000000000..b5b4ed074 --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Greek locale. + * @language Greek + * @iso-639-2 ell + * @author Fanis Katsimpas [@fanixk]{@link https://github.com/fanixk} + * @author Theodoros Orfanidis [@teoulas]{@link https://github.com/teoulas} + */ +var locale = { + code: 'el', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/el/index.js.flow b/node_modules/date-fns/esm/locale/el/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/el/package.json b/node_modules/date-fns/esm/locale/el/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/el/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-AU/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-AU/_lib/formatLong/index.js new file mode 100644 index 000000000..502df03c6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-AU/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-AU/index.d.ts b/node_modules/date-fns/esm/locale/en-AU/index.d.ts new file mode 100644 index 000000000..c1343a6b8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-AU/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enAU } from 'date-fns/locale' +export default enAU diff --git a/node_modules/date-fns/esm/locale/en-AU/index.js b/node_modules/date-fns/esm/locale/en-AU/index.js new file mode 100644 index 000000000..256d20784 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-AU/index.js @@ -0,0 +1,26 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (Australia). + * @language English + * @iso-639-2 eng + * @author Julien Malige [@JulienMalige]{@link https://github.com/JulienMalige} + */ +var locale = { + code: 'en-AU', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-AU/index.js.flow b/node_modules/date-fns/esm/locale/en-AU/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-AU/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-AU/package.json b/node_modules/date-fns/esm/locale/en-AU/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-AU/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-CA/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/en-CA/_lib/formatDistance/index.js new file mode 100644 index 000000000..f3042a199 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-CA/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'less than a second', + other: 'less than {{count}} seconds' + }, + xSeconds: { + one: 'a second', + other: '{{count}} seconds' + }, + halfAMinute: 'half a minute', + lessThanXMinutes: { + one: 'less than a minute', + other: 'less than {{count}} minutes' + }, + xMinutes: { + one: 'a minute', + other: '{{count}} minutes' + }, + aboutXHours: { + one: 'about an hour', + other: 'about {{count}} hours' + }, + xHours: { + one: 'an hour', + other: '{{count}} hours' + }, + xDays: { + one: 'a day', + other: '{{count}} days' + }, + aboutXWeeks: { + one: 'about a week', + other: 'about {{count}} weeks' + }, + xWeeks: { + one: 'a week', + other: '{{count}} weeks' + }, + aboutXMonths: { + one: 'about a month', + other: 'about {{count}} months' + }, + xMonths: { + one: 'a month', + other: '{{count}} months' + }, + aboutXYears: { + one: 'about a year', + other: 'about {{count}} years' + }, + xYears: { + one: 'a year', + other: '{{count}} years' + }, + overXYears: { + one: 'over a year', + other: 'over {{count}} years' + }, + almostXYears: { + one: 'almost a year', + other: 'almost {{count}} years' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'in ' + result; + } else { + return result + ' ago'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-CA/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-CA/_lib/formatLong/index.js new file mode 100644 index 000000000..20e3e95cb --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-CA/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, yyyy', + long: 'MMMM do, yyyy', + medium: 'MMM d, yyyy', + short: 'yyyy-MM-dd' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-CA/index.d.ts b/node_modules/date-fns/esm/locale/en-CA/index.d.ts new file mode 100644 index 000000000..e97efb4b1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-CA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enCA } from 'date-fns/locale' +export default enCA diff --git a/node_modules/date-fns/esm/locale/en-CA/index.js b/node_modules/date-fns/esm/locale/en-CA/index.js new file mode 100644 index 000000000..d34bab7c9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-CA/index.js @@ -0,0 +1,27 @@ +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (Canada). + * @language English + * @iso-639-2 eng + * @author Mark Owsiak [@markowsiak]{@link https://github.com/markowsiak} + * @author Marco Imperatore [@mimperatore]{@link https://github.com/mimperatore} + */ +var locale = { + code: 'en-CA', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-CA/index.js.flow b/node_modules/date-fns/esm/locale/en-CA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-CA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-CA/package.json b/node_modules/date-fns/esm/locale/en-CA/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-CA/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-GB/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-GB/_lib/formatLong/index.js new file mode 100644 index 000000000..603f2c31d --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-GB/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-GB/index.d.ts b/node_modules/date-fns/esm/locale/en-GB/index.d.ts new file mode 100644 index 000000000..74fc78410 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-GB/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enGB } from 'date-fns/locale' +export default enGB diff --git a/node_modules/date-fns/esm/locale/en-GB/index.js b/node_modules/date-fns/esm/locale/en-GB/index.js new file mode 100644 index 000000000..79d17d9cf --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-GB/index.js @@ -0,0 +1,26 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (United Kingdom). + * @language English + * @iso-639-2 eng + * @author Alex [@glintik]{@link https://github.com/glintik} + */ +var locale = { + code: 'en-GB', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-GB/index.js.flow b/node_modules/date-fns/esm/locale/en-GB/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-GB/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-GB/package.json b/node_modules/date-fns/esm/locale/en-GB/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-GB/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-IE/index.d.ts b/node_modules/date-fns/esm/locale/en-IE/index.d.ts new file mode 100644 index 000000000..042b0cafc --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IE/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enIE } from 'date-fns/locale' +export default enIE diff --git a/node_modules/date-fns/esm/locale/en-IE/index.js b/node_modules/date-fns/esm/locale/en-IE/index.js new file mode 100644 index 000000000..6bd21c1b9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IE/index.js @@ -0,0 +1,26 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatLong from "../en-GB/_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (Ireland). + * @language English + * @iso-639-2 eng + * @author Tetiana [@tan75]{@link https://github.com/tan75} + */ +var locale = { + code: 'en-IE', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-IE/index.js.flow b/node_modules/date-fns/esm/locale/en-IE/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IE/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-IE/package.json b/node_modules/date-fns/esm/locale/en-IE/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IE/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js new file mode 100644 index 000000000..fb43244d5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM, yyyy', + medium: 'd MMM, yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-IN/index.d.ts b/node_modules/date-fns/esm/locale/en-IN/index.d.ts new file mode 100644 index 000000000..a1fc542cf --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enIN } from 'date-fns/locale' +export default enIN diff --git a/node_modules/date-fns/esm/locale/en-IN/index.js b/node_modules/date-fns/esm/locale/en-IN/index.js new file mode 100644 index 000000000..030393534 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/index.js @@ -0,0 +1,28 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (India). + * @language English + * @iso-639-2 eng + * @author Galeel Bhasha Satthar [@gbhasha]{@link https://github.com/gbhasha} + */ +var locale = { + code: 'en-IN', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1, + // Monday is the first day of the week. + firstWeekContainsDate: 4 // The week that contains Jan 4th is the first week of the year. + } +}; + +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-IN/index.js.flow b/node_modules/date-fns/esm/locale/en-IN/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-IN/package.json b/node_modules/date-fns/esm/locale/en-IN/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-NZ/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-NZ/_lib/formatLong/index.js new file mode 100644 index 000000000..502df03c6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-NZ/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-NZ/index.d.ts b/node_modules/date-fns/esm/locale/en-NZ/index.d.ts new file mode 100644 index 000000000..dbf083d49 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-NZ/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enNZ } from 'date-fns/locale' +export default enNZ diff --git a/node_modules/date-fns/esm/locale/en-NZ/index.js b/node_modules/date-fns/esm/locale/en-NZ/index.js new file mode 100644 index 000000000..621f88e8a --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-NZ/index.js @@ -0,0 +1,26 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (New Zealand). + * @language English + * @iso-639-2 eng + * @author Murray Lucas [@muntact]{@link https://github.com/muntact} + */ +var locale = { + code: 'en-NZ', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-NZ/index.js.flow b/node_modules/date-fns/esm/locale/en-NZ/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-NZ/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-NZ/package.json b/node_modules/date-fns/esm/locale/en-NZ/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-NZ/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js new file mode 100644 index 000000000..b877831c8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'less than a second', + other: 'less than {{count}} seconds' + }, + xSeconds: { + one: '1 second', + other: '{{count}} seconds' + }, + halfAMinute: 'half a minute', + lessThanXMinutes: { + one: 'less than a minute', + other: 'less than {{count}} minutes' + }, + xMinutes: { + one: '1 minute', + other: '{{count}} minutes' + }, + aboutXHours: { + one: 'about 1 hour', + other: 'about {{count}} hours' + }, + xHours: { + one: '1 hour', + other: '{{count}} hours' + }, + xDays: { + one: '1 day', + other: '{{count}} days' + }, + aboutXWeeks: { + one: 'about 1 week', + other: 'about {{count}} weeks' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weeks' + }, + aboutXMonths: { + one: 'about 1 month', + other: 'about {{count}} months' + }, + xMonths: { + one: '1 month', + other: '{{count}} months' + }, + aboutXYears: { + one: 'about 1 year', + other: 'about {{count}} years' + }, + xYears: { + one: '1 year', + other: '{{count}} years' + }, + overXYears: { + one: 'over 1 year', + other: 'over {{count}} years' + }, + almostXYears: { + one: 'almost 1 year', + other: 'almost {{count}} years' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'in ' + result; + } else { + return result + ' ago'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js new file mode 100644 index 000000000..292188320 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js new file mode 100644 index 000000000..41853a828 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'last' eeee 'at' p", + yesterday: "'yesterday at' p", + today: "'today at' p", + tomorrow: "'tomorrow at' p", + nextWeek: "eeee 'at' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js b/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js new file mode 100644 index 000000000..ba43bc6b8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js @@ -0,0 +1,143 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['B', 'A'], + abbreviated: ['BC', 'AD'], + wide: ['Before Christ', 'Anno Domini'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + + // If ordinal numbers depend on context, for example, + // if they are different for different grammatical genders, + // use `options.unit`. + // + // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear', + // 'day', 'hour', 'minute', 'second'. + + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'st'; + case 2: + return number + 'nd'; + case 3: + return number + 'rd'; + } + } + return number + 'th'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js b/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js new file mode 100644 index 000000000..155d7175d --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(b|a)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(before christ|before common era|anno domini|common era)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](th|st|nd|rd)? quarter/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, + wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(su|mo|tu|we|th|fr|sa)/i, + abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, + wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/index.d.ts b/node_modules/date-fns/esm/locale/en-US/index.d.ts new file mode 100644 index 000000000..967f2570e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enUS } from 'date-fns/locale' +export default enUS diff --git a/node_modules/date-fns/esm/locale/en-US/index.js b/node_modules/date-fns/esm/locale/en-US/index.js new file mode 100644 index 000000000..6e687bf91 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (United States). + * @language English + * @iso-639-2 eng + * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp} + * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss} + */ +var locale = { + code: 'en-US', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-US/index.js.flow b/node_modules/date-fns/esm/locale/en-US/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-US/package.json b/node_modules/date-fns/esm/locale/en-US/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-US/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js new file mode 100644 index 000000000..7a0092965 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-ZA/index.d.ts b/node_modules/date-fns/esm/locale/en-ZA/index.d.ts new file mode 100644 index 000000000..ebdd1c8c5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-ZA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enZA } from 'date-fns/locale' +export default enZA diff --git a/node_modules/date-fns/esm/locale/en-ZA/index.js b/node_modules/date-fns/esm/locale/en-ZA/index.js new file mode 100644 index 000000000..2d80f7b2a --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-ZA/index.js @@ -0,0 +1,28 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (South Africa). + * @language English + * @iso-639-2 eng + * @author Shaila Kavrakova [@shaykav]{@link https://github.com/shaykav} + */ +var locale = { + code: 'en-ZA', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0, + // Sunday is the first day of the week. + firstWeekContainsDate: 1 // The week that contains Jan 1st is the first week of the year. + } +}; + +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-ZA/index.js.flow b/node_modules/date-fns/esm/locale/en-ZA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-ZA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-ZA/package.json b/node_modules/date-fns/esm/locale/en-ZA/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-ZA/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/eo/_lib/formatDistance/index.js new file mode 100644 index 000000000..7c8f4b986 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'malpli ol sekundo', + other: 'malpli ol {{count}} sekundoj' + }, + xSeconds: { + one: '1 sekundo', + other: '{{count}} sekundoj' + }, + halfAMinute: 'duonminuto', + lessThanXMinutes: { + one: 'malpli ol minuto', + other: 'malpli ol {{count}} minutoj' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutoj' + }, + aboutXHours: { + one: 'proksimume 1 horo', + other: 'proksimume {{count}} horoj' + }, + xHours: { + one: '1 horo', + other: '{{count}} horoj' + }, + xDays: { + one: '1 tago', + other: '{{count}} tagoj' + }, + aboutXMonths: { + one: 'proksimume 1 monato', + other: 'proksimume {{count}} monatoj' + }, + xWeeks: { + one: '1 semajno', + other: '{{count}} semajnoj' + }, + aboutXWeeks: { + one: 'proksimume 1 semajno', + other: 'proksimume {{count}} semajnoj' + }, + xMonths: { + one: '1 monato', + other: '{{count}} monatoj' + }, + aboutXYears: { + one: 'proksimume 1 jaro', + other: 'proksimume {{count}} jaroj' + }, + xYears: { + one: '1 jaro', + other: '{{count}} jaroj' + }, + overXYears: { + one: 'pli ol 1 jaro', + other: 'pli ol {{count}} jaroj' + }, + almostXYears: { + one: 'preskaŭ 1 jaro', + other: 'preskaŭ {{count}} jaroj' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options !== null && options !== void 0 && options.comparison && options.comparison > 0) { + return 'post ' + result; + } else { + return 'antaŭ ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/eo/_lib/formatLong/index.js new file mode 100644 index 000000000..ae7af7874 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, do 'de' MMMM y", + long: 'y-MMMM-dd', + medium: 'y-MMM-dd', + short: 'yyyy-MM-dd' +}; +var timeFormats = { + full: "Ho 'horo kaj' m:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + any: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/eo/_lib/formatRelative/index.js new file mode 100644 index 000000000..60e55ae3b --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'pasinta' eeee 'je' p", + yesterday: "'hieraŭ je' p", + today: "'hodiaŭ je' p", + tomorrow: "'morgaŭ je' p", + nextWeek: "eeee 'je' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js b/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js new file mode 100644 index 000000000..095148517 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js @@ -0,0 +1,85 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['aK', 'pK'], + abbreviated: ['a.K.E.', 'p.K.E.'], + wide: ['antaŭ Komuna Erao', 'Komuna Erao'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1-a kvaronjaro', '2-a kvaronjaro', '3-a kvaronjaro', '4-a kvaronjaro'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', 'septembro', 'oktobro', 'novembro', 'decembro'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'Ĵ', 'V', 'S'], + short: ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + abbreviated: ['dim', 'lun', 'mar', 'mer', 'ĵaŭ', 'ven', 'sab'], + wide: ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'noktomezo', + noon: 'tagmezo', + morning: 'matene', + afternoon: 'posttagmeze', + evening: 'vespere', + night: 'nokte' + }, + abbreviated: { + am: 'a.t.m.', + pm: 'p.t.m.', + midnight: 'noktomezo', + noon: 'tagmezo', + morning: 'matene', + afternoon: 'posttagmeze', + evening: 'vespere', + night: 'nokte' + }, + wide: { + am: 'antaŭtagmeze', + pm: 'posttagmeze', + midnight: 'noktomezo', + noon: 'tagmezo', + morning: 'matene', + afternoon: 'posttagmeze', + evening: 'vespere', + night: 'nokte' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + return number + '-a'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/_lib/match/index.js b/node_modules/date-fns/esm/locale/eo/_lib/match/index.js new file mode 100644 index 000000000..7e505bd1b --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?a)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([ap]k)/i, + abbreviated: /^([ap]\.?\s?k\.?\s?e\.?)/i, + wide: /^((antaǔ |post )?komuna erao)/i +}; +var parseEraPatterns = { + any: [/^a/i, /^[kp]/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^k[1234]/i, + wide: /^[1234](-?a)? kvaronjaro/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i, + wide: /^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^a(u|ŭ)/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmĵjvs]/i, + short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i, + abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i, + wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i, + abbreviated: /^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i, + wide: /^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^noktom/i, + noon: /^t/i, + morning: /^m/i, + afternoon: /^posttagmeze/i, + evening: /^v/i, + night: /^n/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/index.d.ts b/node_modules/date-fns/esm/locale/eo/index.d.ts new file mode 100644 index 000000000..40716b301 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eo } from 'date-fns/locale' +export default eo diff --git a/node_modules/date-fns/esm/locale/eo/index.js b/node_modules/date-fns/esm/locale/eo/index.js new file mode 100644 index 000000000..c6a089cbc --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Esperanto locale. + * @language Esperanto + * @iso-639-2 epo + * @author date-fns + */ +var locale = { + code: 'eo', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eo/index.js.flow b/node_modules/date-fns/esm/locale/eo/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/eo/package.json b/node_modules/date-fns/esm/locale/eo/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eo/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/es/_lib/formatDistance/index.js new file mode 100644 index 000000000..cd55233b9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos de un segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'medio minuto', + lessThanXMinutes: { + one: 'menos de un minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'alrededor de 1 hora', + other: 'alrededor de {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 día', + other: '{{count}} días' + }, + aboutXWeeks: { + one: 'alrededor de 1 semana', + other: 'alrededor de {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'alrededor de 1 mes', + other: 'alrededor de {{count}} meses' + }, + xMonths: { + one: '1 mes', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'alrededor de 1 año', + other: 'alrededor de {{count}} años' + }, + xYears: { + one: '1 año', + other: '{{count}} años' + }, + overXYears: { + one: 'más de 1 año', + other: 'más de {{count}} años' + }, + almostXYears: { + one: 'casi 1 año', + other: 'casi {{count}} años' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'hace ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/es/_lib/formatLong/index.js new file mode 100644 index 000000000..1375c91a6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d 'de' MMMM 'de' y", + long: "d 'de' MMMM 'de' y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'a las' {{time}}", + long: "{{date}} 'a las' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/es/_lib/formatRelative/index.js new file mode 100644 index 000000000..aecf5cd90 --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/_lib/formatRelative/index.js @@ -0,0 +1,24 @@ +var formatRelativeLocale = { + lastWeek: "'el' eeee 'pasado a la' p", + yesterday: "'ayer a la' p", + today: "'hoy a la' p", + tomorrow: "'mañana a la' p", + nextWeek: "eeee 'a la' p", + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'el' eeee 'pasado a las' p", + yesterday: "'ayer a las' p", + today: "'hoy a las' p", + tomorrow: "'mañana a las' p", + nextWeek: "eeee 'a las' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } else { + return formatRelativeLocale[token]; + } +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/_lib/localize/index.js b/node_modules/date-fns/esm/locale/es/_lib/localize/index.js new file mode 100644 index 000000000..00028ca10 --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['AC', 'DC'], + abbreviated: ['AC', 'DC'], + wide: ['antes de cristo', 'después de cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'], + wide: ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'] +}; +var dayValues = { + narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'], + short: ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'], + abbreviated: ['dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb'], + wide: ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'mañana', + afternoon: 'tarde', + evening: 'tarde', + night: 'noche' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'mañana', + afternoon: 'tarde', + evening: 'tarde', + night: 'noche' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'mañana', + afternoon: 'tarde', + evening: 'tarde', + night: 'noche' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'de la mañana', + afternoon: 'de la tarde', + evening: 'de la tarde', + night: 'de la noche' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'de la mañana', + afternoon: 'de la tarde', + evening: 'de la tarde', + night: 'de la noche' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'de la mañana', + afternoon: 'de la tarde', + evening: 'de la tarde', + night: 'de la noche' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/_lib/match/index.js b/node_modules/date-fns/esm/locale/es/_lib/match/index.js new file mode 100644 index 000000000..93fa36e2e --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, + wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[efmajsond]/i, + abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i, + wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i +}; +var parseMonthPatterns = { + narrow: [/^e/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^en/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i] +}; +var matchDayPatterns = { + narrow: /^[dlmjvs]/i, + short: /^(do|lu|ma|mi|ju|vi|s[áa])/i, + abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i, + wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i, + any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn/i, + noon: /^md/i, + morning: /mañana/i, + afternoon: /tarde/i, + evening: /tarde/i, + night: /noche/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/index.d.ts b/node_modules/date-fns/esm/locale/es/index.d.ts new file mode 100644 index 000000000..8b0431ecd --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { es } from 'date-fns/locale' +export default es diff --git a/node_modules/date-fns/esm/locale/es/index.js b/node_modules/date-fns/esm/locale/es/index.js new file mode 100644 index 000000000..cd69093f4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/index.js @@ -0,0 +1,30 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Spanish locale. + * @language Spanish + * @iso-639-2 spa + * @author Juan Angosto [@juanangosto]{@link https://github.com/juanangosto} + * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa} + * @author Fernando Agüero [@fjaguero]{@link https://github.com/fjaguero} + * @author Gastón Haro [@harogaston]{@link https://github.com/harogaston} + * @author Yago Carballo [@YagoCarballo]{@link https://github.com/YagoCarballo} + */ +var locale = { + code: 'es', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/es/index.js.flow b/node_modules/date-fns/esm/locale/es/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/es/package.json b/node_modules/date-fns/esm/locale/es/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/es/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/et/_lib/formatDistance/index.js new file mode 100644 index 000000000..4fdce029f --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/_lib/formatDistance/index.js @@ -0,0 +1,176 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'vähem kui üks sekund', + other: 'vähem kui {{count}} sekundit' + }, + withPreposition: { + one: 'vähem kui ühe sekundi', + other: 'vähem kui {{count}} sekundi' + } + }, + xSeconds: { + standalone: { + one: 'üks sekund', + other: '{{count}} sekundit' + }, + withPreposition: { + one: 'ühe sekundi', + other: '{{count}} sekundi' + } + }, + halfAMinute: { + standalone: 'pool minutit', + withPreposition: 'poole minuti' + }, + lessThanXMinutes: { + standalone: { + one: 'vähem kui üks minut', + other: 'vähem kui {{count}} minutit' + }, + withPreposition: { + one: 'vähem kui ühe minuti', + other: 'vähem kui {{count}} minuti' + } + }, + xMinutes: { + standalone: { + one: 'üks minut', + other: '{{count}} minutit' + }, + withPreposition: { + one: 'ühe minuti', + other: '{{count}} minuti' + } + }, + aboutXHours: { + standalone: { + one: 'umbes üks tund', + other: 'umbes {{count}} tundi' + }, + withPreposition: { + one: 'umbes ühe tunni', + other: 'umbes {{count}} tunni' + } + }, + xHours: { + standalone: { + one: 'üks tund', + other: '{{count}} tundi' + }, + withPreposition: { + one: 'ühe tunni', + other: '{{count}} tunni' + } + }, + xDays: { + standalone: { + one: 'üks päev', + other: '{{count}} päeva' + }, + withPreposition: { + one: 'ühe päeva', + other: '{{count}} päeva' + } + }, + aboutXWeeks: { + standalone: { + one: 'umbes üks nädal', + other: 'umbes {{count}} nädalat' + }, + withPreposition: { + one: 'umbes ühe nädala', + other: 'umbes {{count}} nädala' + } + }, + xWeeks: { + standalone: { + one: 'üks nädal', + other: '{{count}} nädalat' + }, + withPreposition: { + one: 'ühe nädala', + other: '{{count}} nädala' + } + }, + aboutXMonths: { + standalone: { + one: 'umbes üks kuu', + other: 'umbes {{count}} kuud' + }, + withPreposition: { + one: 'umbes ühe kuu', + other: 'umbes {{count}} kuu' + } + }, + xMonths: { + standalone: { + one: 'üks kuu', + other: '{{count}} kuud' + }, + withPreposition: { + one: 'ühe kuu', + other: '{{count}} kuu' + } + }, + aboutXYears: { + standalone: { + one: 'umbes üks aasta', + other: 'umbes {{count}} aastat' + }, + withPreposition: { + one: 'umbes ühe aasta', + other: 'umbes {{count}} aasta' + } + }, + xYears: { + standalone: { + one: 'üks aasta', + other: '{{count}} aastat' + }, + withPreposition: { + one: 'ühe aasta', + other: '{{count}} aasta' + } + }, + overXYears: { + standalone: { + one: 'rohkem kui üks aasta', + other: 'rohkem kui {{count}} aastat' + }, + withPreposition: { + one: 'rohkem kui ühe aasta', + other: 'rohkem kui {{count}} aasta' + } + }, + almostXYears: { + standalone: { + one: 'peaaegu üks aasta', + other: 'peaaegu {{count}} aastat' + }, + withPreposition: { + one: 'peaaegu ühe aasta', + other: 'peaaegu {{count}} aasta' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var usageGroup = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' pärast'; + } else { + return result + ' eest'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/et/_lib/formatLong/index.js new file mode 100644 index 000000000..a96046ea5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kell' {{time}}", + long: "{{date}} 'kell' {{time}}", + medium: '{{date}}. {{time}}', + short: '{{date}}. {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/et/_lib/formatRelative/index.js new file mode 100644 index 000000000..d3278db6f --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'eelmine' eeee 'kell' p", + yesterday: "'eile kell' p", + today: "'täna kell' p", + tomorrow: "'homme kell' p", + nextWeek: "'järgmine' eeee 'kell' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/_lib/localize/index.js b/node_modules/date-fns/esm/locale/et/_lib/localize/index.js new file mode 100644 index 000000000..96894c2da --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/_lib/localize/index.js @@ -0,0 +1,123 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['e.m.a', 'm.a.j'], + abbreviated: ['e.m.a', 'm.a.j'], + wide: ['enne meie ajaarvamist', 'meie ajaarvamise järgi'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'], + wide: ['jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember'] +}; +var dayValues = { + narrow: ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + short: ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + abbreviated: ['pühap.', 'esmasp.', 'teisip.', 'kolmap.', 'neljap.', 'reede.', 'laup.'], + wide: ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'kesköö', + noon: 'keskpäev', + morning: 'hommik', + afternoon: 'pärastlõuna', + evening: 'õhtu', + night: 'öö' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'kesköö', + noon: 'keskpäev', + morning: 'hommik', + afternoon: 'pärastlõuna', + evening: 'õhtu', + night: 'öö' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'kesköö', + noon: 'keskpäev', + morning: 'hommik', + afternoon: 'pärastlõuna', + evening: 'õhtu', + night: 'öö' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'keskööl', + noon: 'keskpäeval', + morning: 'hommikul', + afternoon: 'pärastlõunal', + evening: 'õhtul', + night: 'öösel' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'keskööl', + noon: 'keskpäeval', + morning: 'hommikul', + afternoon: 'pärastlõunal', + evening: 'õhtul', + night: 'öösel' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'keskööl', + noon: 'keskpäeval', + morning: 'hommikul', + afternoon: 'pärastlõunal', + evening: 'õhtul', + night: 'öösel' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: monthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: dayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/_lib/match/index.js b/node_modules/date-fns/esm/locale/et/_lib/match/index.js new file mode 100644 index 000000000..f5a8cf659 --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^\d+\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(e\.m\.a|m\.a\.j|eKr|pKr)/i, + abbreviated: /^(e\.m\.a|m\.a\.j|eKr|pKr)/i, + wide: /^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i +}; +var parseEraPatterns = { + any: [/^e/i, /^(m|p)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234](\.)? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jvmasond]/i, + abbreviated: /^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i, + wide: /^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^v/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^v/i, /^mär/i, /^ap/i, /^mai/i, /^juun/i, /^juul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[petknrl]/i, + short: /^[petknrl]/i, + abbreviated: /^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i, + wide: /^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i +}; +var parseDayPatterns = { + any: [/^p/i, /^e/i, /^t/i, /^k/i, /^n/i, /^r/i, /^l/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^keskö/i, + noon: /^keskp/i, + morning: /hommik/i, + afternoon: /pärastlõuna/i, + evening: /õhtu/i, + night: /öö/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/index.d.ts b/node_modules/date-fns/esm/locale/et/index.d.ts new file mode 100644 index 000000000..debd0b90d --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { et } from 'date-fns/locale' +export default et diff --git a/node_modules/date-fns/esm/locale/et/index.js b/node_modules/date-fns/esm/locale/et/index.js new file mode 100644 index 000000000..52128fc31 --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Estonian locale. + * @language Estonian + * @iso-639-2 est + * @author Priit Hansen [@HansenPriit]{@link https://github.com/priithansen} + */ +var locale = { + code: 'et', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/et/index.js.flow b/node_modules/date-fns/esm/locale/et/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/et/package.json b/node_modules/date-fns/esm/locale/et/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/et/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/eu/_lib/formatDistance/index.js new file mode 100644 index 000000000..830dd12e2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'segundo bat baino gutxiago', + other: '{{count}} segundo baino gutxiago' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundo' + }, + halfAMinute: 'minutu erdi', + lessThanXMinutes: { + one: 'minutu bat baino gutxiago', + other: '{{count}} minutu baino gutxiago' + }, + xMinutes: { + one: '1 minutu', + other: '{{count}} minutu' + }, + aboutXHours: { + one: '1 ordu gutxi gorabehera', + other: '{{count}} ordu gutxi gorabehera' + }, + xHours: { + one: '1 ordu', + other: '{{count}} ordu' + }, + xDays: { + one: '1 egun', + other: '{{count}} egun' + }, + aboutXWeeks: { + one: 'aste 1 inguru', + other: '{{count}} aste inguru' + }, + xWeeks: { + one: '1 aste', + other: '{{count}} astean' + }, + aboutXMonths: { + one: '1 hilabete gutxi gorabehera', + other: '{{count}} hilabete gutxi gorabehera' + }, + xMonths: { + one: '1 hilabete', + other: '{{count}} hilabete' + }, + aboutXYears: { + one: '1 urte gutxi gorabehera', + other: '{{count}} urte gutxi gorabehera' + }, + xYears: { + one: '1 urte', + other: '{{count}} urte' + }, + overXYears: { + one: '1 urte baino gehiago', + other: '{{count}} urte baino gehiago' + }, + almostXYears: { + one: 'ia 1 urte', + other: 'ia {{count}} urte' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'duela ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/eu/_lib/formatLong/index.js new file mode 100644 index 000000000..7dc7cdd02 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, y'ko' MMMM'ren' d'a' y'ren'", + long: "y'ko' MMMM'ren' d'a'", + medium: 'y MMM d', + short: 'yy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'tan' {{time}}", + long: "{{date}} 'tan' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/eu/_lib/formatRelative/index.js new file mode 100644 index 000000000..1b49448a2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/_lib/formatRelative/index.js @@ -0,0 +1,23 @@ +var formatRelativeLocale = { + lastWeek: "'joan den' eeee, LT", + yesterday: "'atzo,' p", + today: "'gaur,' p", + tomorrow: "'bihar,' p", + nextWeek: 'eeee, p', + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'joan den' eeee, p", + yesterday: "'atzo,' p", + today: "'gaur,' p", + tomorrow: "'bihar,' p", + nextWeek: 'eeee, p', + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/_lib/localize/index.js b/node_modules/date-fns/esm/locale/eu/_lib/localize/index.js new file mode 100644 index 000000000..0763e2231 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['k.a.', 'k.o.'], + abbreviated: ['k.a.', 'k.o.'], + wide: ['kristo aurretik', 'kristo ondoren'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1H', '2H', '3H', '4H'], + wide: ['1. hiruhilekoa', '2. hiruhilekoa', '3. hiruhilekoa', '4. hiruhilekoa'] +}; +var monthValues = { + narrow: ['u', 'o', 'm', 'a', 'm', 'e', 'u', 'a', 'i', 'u', 'a', 'a'], + abbreviated: ['urt', 'ots', 'mar', 'api', 'mai', 'eka', 'uzt', 'abu', 'ira', 'urr', 'aza', 'abe'], + wide: ['urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', 'iraila', 'urria', 'azaroa', 'abendua'] +}; +var dayValues = { + narrow: ['i', 'a', 'a', 'a', 'o', 'o', 'l'], + short: ['ig', 'al', 'as', 'az', 'og', 'or', 'lr'], + abbreviated: ['iga', 'ast', 'ast', 'ast', 'ost', 'ost', 'lar'], + wide: ['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'ge', + noon: 'eg', + morning: 'goiza', + afternoon: 'arratsaldea', + evening: 'arratsaldea', + night: 'gaua' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goiza', + afternoon: 'arratsaldea', + evening: 'arratsaldea', + night: 'gaua' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goiza', + afternoon: 'arratsaldea', + evening: 'arratsaldea', + night: 'gaua' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'ge', + noon: 'eg', + morning: 'goizean', + afternoon: 'arratsaldean', + evening: 'arratsaldean', + night: 'gauean' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goizean', + afternoon: 'arratsaldean', + evening: 'arratsaldean', + night: 'gauean' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goizean', + afternoon: 'arratsaldean', + evening: 'arratsaldean', + night: 'gauean' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/_lib/match/index.js b/node_modules/date-fns/esm/locale/eu/_lib/match/index.js new file mode 100644 index 000000000..cd11da96c --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/_lib/match/index.js @@ -0,0 +1,112 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(k.a.|k.o.)/i, + abbreviated: /^(k.a.|k.o.)/i, + wide: /^(kristo aurretik|kristo ondoren)/i +}; +var parseEraPatterns = { + narrow: [/^k.a./i, /^k.o./i], + abbreviated: [/^(k.a.)/i, /^(k.o.)/i], + wide: [/^(kristo aurretik)/i, /^(kristo ondoren)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]H/i, + wide: /^[1234](.)? hiruhilekoa/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[uomaei]/i, + abbreviated: /^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i, + wide: /^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i +}; +var parseMonthPatterns = { + narrow: [/^u/i, /^o/i, /^m/i, /^a/i, /^m/i, /^e/i, /^u/i, /^a/i, /^i/i, /^u/i, /^a/i, /^a/i], + any: [/^urt/i, /^ots/i, /^mar/i, /^api/i, /^mai/i, /^eka/i, /^uzt/i, /^abu/i, /^ira/i, /^urr/i, /^aza/i, /^abe/i] +}; +var matchDayPatterns = { + narrow: /^[iaol]/i, + short: /^(ig|al|as|az|og|or|lr)/i, + abbreviated: /^(iga|ast|ast|ast|ost|ost|lar)/i, + wide: /^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i +}; +var parseDayPatterns = { + narrow: [/^i/i, /^a/i, /^a/i, /^a/i, /^o/i, /^o/i, /^l/i], + short: [/^ig/i, /^al/i, /^as/i, /^az/i, /^og/i, /^or/i, /^lr/i], + abbreviated: [/^iga/i, /^ast/i, /^ast/i, /^ast/i, /^ost/i, /^ost/i, /^lar/i], + wide: [/^igandea/i, /^astelehena/i, /^asteartea/i, /^asteazkena/i, /^osteguna/i, /^ostirala/i, /^larunbata/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i, + any: /^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^a/i, + pm: /^p/i, + midnight: /^ge/i, + noon: /^eg/i, + morning: /goiz/i, + afternoon: /arratsaldea/i, + evening: /arratsaldea/i, + night: /gau/i + }, + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^gauerdia/i, + noon: /^eguerdia/i, + morning: /goiz/i, + afternoon: /arratsaldea/i, + evening: /arratsaldea/i, + night: /gau/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'wide' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/index.d.ts b/node_modules/date-fns/esm/locale/eu/index.d.ts new file mode 100644 index 000000000..ec841898c --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eu } from 'date-fns/locale' +export default eu diff --git a/node_modules/date-fns/esm/locale/eu/index.js b/node_modules/date-fns/esm/locale/eu/index.js new file mode 100644 index 000000000..b1f47da06 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Basque locale. + * @language Basque + * @iso-639-2 eus + * @author Jacob Söderblom [@JacobSoderblom]{@link https://github.com/JacobSoderblom} + */ +var locale = { + code: 'eu', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/eu/index.js.flow b/node_modules/date-fns/esm/locale/eu/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/eu/package.json b/node_modules/date-fns/esm/locale/eu/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/eu/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/fa-IR/_lib/formatDistance/index.js new file mode 100644 index 000000000..940587a9e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'کمتر از یک ثانیه', + other: 'کمتر از {{count}} ثانیه' + }, + xSeconds: { + one: '1 ثانیه', + other: '{{count}} ثانیه' + }, + halfAMinute: 'نیم دقیقه', + lessThanXMinutes: { + one: 'کمتر از یک دقیقه', + other: 'کمتر از {{count}} دقیقه' + }, + xMinutes: { + one: '1 دقیقه', + other: '{{count}} دقیقه' + }, + aboutXHours: { + one: 'حدود 1 ساعت', + other: 'حدود {{count}} ساعت' + }, + xHours: { + one: '1 ساعت', + other: '{{count}} ساعت' + }, + xDays: { + one: '1 روز', + other: '{{count}} روز' + }, + aboutXWeeks: { + one: 'حدود 1 هفته', + other: 'حدود {{count}} هفته' + }, + xWeeks: { + one: '1 هفته', + other: '{{count}} هفته' + }, + aboutXMonths: { + one: 'حدود 1 ماه', + other: 'حدود {{count}} ماه' + }, + xMonths: { + one: '1 ماه', + other: '{{count}} ماه' + }, + aboutXYears: { + one: 'حدود 1 سال', + other: 'حدود {{count}} سال' + }, + xYears: { + one: '1 سال', + other: '{{count}} سال' + }, + overXYears: { + one: 'بیشتر از 1 سال', + other: 'بیشتر از {{count}} سال' + }, + almostXYears: { + one: 'نزدیک 1 سال', + other: 'نزدیک {{count}} سال' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'در ' + result; + } else { + return result + ' قبل'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/fa-IR/_lib/formatLong/index.js new file mode 100644 index 000000000..f80824fa5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'در' {{time}}", + long: "{{date}} 'در' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/fa-IR/_lib/formatRelative/index.js new file mode 100644 index 000000000..d2fdfbbf6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'گذشته در' p", + yesterday: "'دیروز در' p", + today: "'امروز در' p", + tomorrow: "'فردا در' p", + nextWeek: "eeee 'در' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/_lib/localize/index.js b/node_modules/date-fns/esm/locale/fa-IR/_lib/localize/index.js new file mode 100644 index 000000000..aecb835db --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/_lib/localize/index.js @@ -0,0 +1,123 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل از میلاد', 'بعد از میلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['س‌م1', 'س‌م2', 'س‌م3', 'س‌م4'], + wide: ['سه‌ماهه 1', 'سه‌ماهه 2', 'سه‌ماهه 3', 'سه‌ماهه 4'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['ژ', 'ف', 'م', 'آ', 'م', 'ج', 'ج', 'آ', 'س', 'ا', 'ن', 'د'], + abbreviated: ['ژانـ', 'فور', 'مارس', 'آپر', 'می', 'جون', 'جولـ', 'آگو', 'سپتـ', 'اکتـ', 'نوامـ', 'دسامـ'], + wide: ['ژانویه', 'فوریه', 'مارس', 'آپریل', 'می', 'جون', 'جولای', 'آگوست', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'] +}; +var dayValues = { + narrow: ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + short: ['1ش', '2ش', '3ش', '4ش', '5ش', 'ج', 'ش'], + abbreviated: ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], + wide: ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'] +}; +var dayPeriodValues = { + narrow: { + am: 'ق', + pm: 'ب', + midnight: 'ن', + noon: 'ظ', + morning: 'ص', + afternoon: 'ب.ظ.', + evening: 'ع', + night: 'ش' + }, + abbreviated: { + am: 'ق.ظ.', + pm: 'ب.ظ.', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + }, + wide: { + am: 'قبل‌ازظهر', + pm: 'بعدازظهر', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ق', + pm: 'ب', + midnight: 'ن', + noon: 'ظ', + morning: 'ص', + afternoon: 'ب.ظ.', + evening: 'ع', + night: 'ش' + }, + abbreviated: { + am: 'ق.ظ.', + pm: 'ب.ظ.', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + }, + wide: { + am: 'قبل‌ازظهر', + pm: 'بعدازظهر', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/_lib/match/index.js b/node_modules/date-fns/esm/locale/fa-IR/_lib/match/index.js new file mode 100644 index 000000000..7e0ffae80 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i, + wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^س‌م[1234]/i, + wide: /^سه‌ماهه [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[جژفمآاماسند]/i, + abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i, + wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i +}; +var parseMonthPatterns = { + narrow: [/^(ژ|ج)/i, /^ف/i, /^م/i, /^(آ|ا)/i, /^م/i, /^(ژ|ج)/i, /^(ج|ژ)/i, /^(آ|ا)/i, /^س/i, /^ا/i, /^ن/i, /^د/i], + any: [/^ژا/i, /^ف/i, /^ما/i, /^آپ/i, /^(می|مه)/i, /^(ژوئن|جون)/i, /^(ژوئی|جول)/i, /^(اوت|آگ)/i, /^س/i, /^(اوک|اک)/i, /^ن/i, /^د/i] +}; +var matchDayPatterns = { + narrow: /^[شیدسچپج]/i, + short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i, + abbreviated: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i, + wide: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i +}; +var parseDayPatterns = { + narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i], + any: [/^(ی|1ش|یکشنبه)/i, /^(د|2ش|دوشنبه)/i, /^(س|3ش|سه‌شنبه)/i, /^(چ|4ش|چهارشنبه)/i, /^(پ|5ش|پنجشنبه)/i, /^(ج|جمعه)/i, /^(ش|شنبه)/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i, + abbreviated: /^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i, + wide: /^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(ق|ق.ظ.|قبل‌ازظهر)/i, + pm: /^(ب|ب.ظ.|بعدازظهر)/i, + midnight: /^(‌نیمه‌شب|ن)/i, + noon: /^(ظ|ظهر)/i, + morning: /(ص|صبح)/i, + afternoon: /(ب|ب.ظ.|بعدازظهر)/i, + evening: /(ع|عصر)/i, + night: /(ش|شب)/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/index.d.ts b/node_modules/date-fns/esm/locale/fa-IR/index.d.ts new file mode 100644 index 000000000..2e6e4bb2c --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { faIR } from 'date-fns/locale' +export default faIR diff --git a/node_modules/date-fns/esm/locale/fa-IR/index.js b/node_modules/date-fns/esm/locale/fa-IR/index.js new file mode 100644 index 000000000..ac2eaffc8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Persian/Farsi locale (Iran). + * @language Persian + * @iso-639-2 ira + * @author Morteza Ziyae [@mort3za]{@link https://github.com/mort3za} + */ +var locale = { + code: 'fa-IR', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 6 /* Saturday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fa-IR/index.js.flow b/node_modules/date-fns/esm/locale/fa-IR/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/fa-IR/package.json b/node_modules/date-fns/esm/locale/fa-IR/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fa-IR/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/fi/_lib/formatDistance/index.js new file mode 100644 index 000000000..426e34076 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/_lib/formatDistance/index.js @@ -0,0 +1,118 @@ +function futureSeconds(text) { + return text.replace(/sekuntia?/, 'sekunnin'); +} +function futureMinutes(text) { + return text.replace(/minuuttia?/, 'minuutin'); +} +function futureHours(text) { + return text.replace(/tuntia?/, 'tunnin'); +} +function futureDays(text) { + return text.replace(/päivää?/, 'päivän'); +} +function futureWeeks(text) { + return text.replace(/(viikko|viikkoa)/, 'viikon'); +} +function futureMonths(text) { + return text.replace(/(kuukausi|kuukautta)/, 'kuukauden'); +} +function futureYears(text) { + return text.replace(/(vuosi|vuotta)/, 'vuoden'); +} +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'alle sekunti', + other: 'alle {{count}} sekuntia', + futureTense: futureSeconds + }, + xSeconds: { + one: 'sekunti', + other: '{{count}} sekuntia', + futureTense: futureSeconds + }, + halfAMinute: { + one: 'puoli minuuttia', + other: 'puoli minuuttia', + futureTense: function futureTense(_text) { + return 'puolen minuutin'; + } + }, + lessThanXMinutes: { + one: 'alle minuutti', + other: 'alle {{count}} minuuttia', + futureTense: futureMinutes + }, + xMinutes: { + one: 'minuutti', + other: '{{count}} minuuttia', + futureTense: futureMinutes + }, + aboutXHours: { + one: 'noin tunti', + other: 'noin {{count}} tuntia', + futureTense: futureHours + }, + xHours: { + one: 'tunti', + other: '{{count}} tuntia', + futureTense: futureHours + }, + xDays: { + one: 'päivä', + other: '{{count}} päivää', + futureTense: futureDays + }, + aboutXWeeks: { + one: 'noin viikko', + other: 'noin {{count}} viikkoa', + futureTense: futureWeeks + }, + xWeeks: { + one: 'viikko', + other: '{{count}} viikkoa', + futureTense: futureWeeks + }, + aboutXMonths: { + one: 'noin kuukausi', + other: 'noin {{count}} kuukautta', + futureTense: futureMonths + }, + xMonths: { + one: 'kuukausi', + other: '{{count}} kuukautta', + futureTense: futureMonths + }, + aboutXYears: { + one: 'noin vuosi', + other: 'noin {{count}} vuotta', + futureTense: futureYears + }, + xYears: { + one: 'vuosi', + other: '{{count}} vuotta', + futureTense: futureYears + }, + overXYears: { + one: 'yli vuosi', + other: 'yli {{count}} vuotta', + futureTense: futureYears + }, + almostXYears: { + one: 'lähes vuosi', + other: 'lähes {{count}} vuotta', + futureTense: futureYears + } +}; +var formatDistance = function formatDistance(token, count, options) { + var tokenValue = formatDistanceLocale[token]; + var result = count === 1 ? tokenValue.one : tokenValue.other.replace('{{count}}', String(count)); + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return tokenValue.futureTense(result) + ' kuluttua'; + } else { + return result + ' sitten'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/fi/_lib/formatLong/index.js new file mode 100644 index 000000000..92d76e0bb --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'eeee d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'd.M.y' +}; +var timeFormats = { + full: 'HH.mm.ss zzzz', + long: 'HH.mm.ss z', + medium: 'HH.mm.ss', + short: 'HH.mm' +}; +var dateTimeFormats = { + full: "{{date}} 'klo' {{time}}", + long: "{{date}} 'klo' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/fi/_lib/formatRelative/index.js new file mode 100644 index 000000000..ffb8ae8ff --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'viime' eeee 'klo' p", + yesterday: "'eilen klo' p", + today: "'tänään klo' p", + tomorrow: "'huomenna klo' p", + nextWeek: "'ensi' eeee 'klo' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/_lib/localize/index.js b/node_modules/date-fns/esm/locale/fi/_lib/localize/index.js new file mode 100644 index 000000000..d21c8553d --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/_lib/localize/index.js @@ -0,0 +1,100 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['eaa.', 'jaa.'], + abbreviated: ['eaa.', 'jaa.'], + wide: ['ennen ajanlaskun alkua', 'jälkeen ajanlaskun alun'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. kvartaali', '2. kvartaali', '3. kvartaali', '4. kvartaali'] +}; +var monthValues = { + narrow: ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'], + abbreviated: ['tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', 'marras', 'joulu'], + wide: ['tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu'] +}; +var formattingMonthValues = { + narrow: monthValues.narrow, + abbreviated: monthValues.abbreviated, + wide: ['tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta', 'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'K', 'T', 'P', 'L'], + short: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + abbreviated: ['sunn.', 'maan.', 'tiis.', 'kesk.', 'torst.', 'perj.', 'la'], + wide: ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'] +}; +var formattingDayValues = { + narrow: dayValues.narrow, + short: dayValues.short, + abbreviated: dayValues.abbreviated, + wide: ['sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', 'lauantaina'] +}; +var dayPeriodValues = { + narrow: { + am: 'ap', + pm: 'ip', + midnight: 'keskiyö', + noon: 'keskipäivä', + morning: 'ap', + afternoon: 'ip', + evening: 'illalla', + night: 'yöllä' + }, + abbreviated: { + am: 'ap', + pm: 'ip', + midnight: 'keskiyö', + noon: 'keskipäivä', + morning: 'ap', + afternoon: 'ip', + evening: 'illalla', + night: 'yöllä' + }, + wide: { + am: 'ap', + pm: 'ip', + midnight: 'keskiyöllä', + noon: 'keskipäivällä', + morning: 'aamupäivällä', + afternoon: 'iltapäivällä', + evening: 'illalla', + night: 'yöllä' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/_lib/match/index.js b/node_modules/date-fns/esm/locale/fi/_lib/match/index.js new file mode 100644 index 000000000..5bab07bb2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(\.)/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(e|j)/i, + abbreviated: /^(eaa.|jaa.)/i, + wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i +}; +var parseEraPatterns = { + any: [/^e/i, /^j/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]\.? kvartaali/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[thmkeslj]/i, + abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i, + wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i +}; +var parseMonthPatterns = { + narrow: [/^t/i, /^h/i, /^m/i, /^h/i, /^t/i, /^k/i, /^h/i, /^e/i, /^s/i, /^l/i, /^m/i, /^j/i], + any: [/^ta/i, /^hel/i, /^maa/i, /^hu/i, /^to/i, /^k/i, /^hei/i, /^e/i, /^s/i, /^l/i, /^mar/i, /^j/i] +}; +var matchDayPatterns = { + narrow: /^[smtkpl]/i, + short: /^(su|ma|ti|ke|to|pe|la)/i, + abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i, + wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i], + any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i, + any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ap/i, + pm: /^ip/i, + midnight: /^keskiyö/i, + noon: /^keskipäivä/i, + morning: /aamupäivällä/i, + afternoon: /iltapäivällä/i, + evening: /illalla/i, + night: /yöllä/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/index.d.ts b/node_modules/date-fns/esm/locale/fi/index.d.ts new file mode 100644 index 000000000..e4007025a --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fi } from 'date-fns/locale' +export default fi diff --git a/node_modules/date-fns/esm/locale/fi/index.js b/node_modules/date-fns/esm/locale/fi/index.js new file mode 100644 index 000000000..693a6b7ef --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Finnish locale. + * @language Finnish + * @iso-639-2 fin + * @author Pyry-Samuli Lahti [@Pyppe]{@link https://github.com/Pyppe} + * @author Edo Rivai [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb} + * @author Samu Juvonen [@sjuvonen]{@link https://github.com/sjuvonen} + */ +var locale = { + code: 'fi', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fi/index.js.flow b/node_modules/date-fns/esm/locale/fi/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/fi/package.json b/node_modules/date-fns/esm/locale/fi/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fi/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CA/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/fr-CA/_lib/formatLong/index.js new file mode 100644 index 000000000..d65a8494e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CA/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'à' {{time}}", + long: "{{date}} 'à' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CA/index.d.ts b/node_modules/date-fns/esm/locale/fr-CA/index.d.ts new file mode 100644 index 000000000..533b466cb --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { frCA } from 'date-fns/locale' +export default frCA diff --git a/node_modules/date-fns/esm/locale/fr-CA/index.js b/node_modules/date-fns/esm/locale/fr-CA/index.js new file mode 100644 index 000000000..6c518c664 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CA/index.js @@ -0,0 +1,31 @@ +// Same as fr +import formatDistance from "../fr/_lib/formatDistance/index.js"; +import formatRelative from "../fr/_lib/formatRelative/index.js"; +import localize from "../fr/_lib/localize/index.js"; +import match from "../fr/_lib/match/index.js"; +// Unique for fr-CA +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary French locale (Canada). + * @language French + * @iso-639-2 fra + * @author Jean Dupouy [@izeau]{@link https://github.com/izeau} + * @author François B [@fbonzon]{@link https://github.com/fbonzon} + * @author Gabriele Petrioli [@gpetrioli]{@link https://github.com/gpetrioli} + */ +var locale = { + code: 'fr-CA', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + // Unique for fr-CA + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CA/index.js.flow b/node_modules/date-fns/esm/locale/fr-CA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/fr-CA/package.json b/node_modules/date-fns/esm/locale/fr-CA/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CA/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CH/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/fr-CH/_lib/formatLong/index.js new file mode 100644 index 000000000..b29b5b01a --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CH/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'à' {{time}}", + long: "{{date}} 'à' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CH/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/fr-CH/_lib/formatRelative/index.js new file mode 100644 index 000000000..5a92b7b6a --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CH/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'la semaine dernière à' p", + yesterday: "'hier à' p", + today: "'aujourd’hui à' p", + tomorrow: "'demain à' p'", + nextWeek: "eeee 'la semaine prochaine à' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CH/index.d.ts b/node_modules/date-fns/esm/locale/fr-CH/index.d.ts new file mode 100644 index 000000000..5fdd3c533 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CH/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { frCH } from 'date-fns/locale' +export default frCH diff --git a/node_modules/date-fns/esm/locale/fr-CH/index.js b/node_modules/date-fns/esm/locale/fr-CH/index.js new file mode 100644 index 000000000..b031707d5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CH/index.js @@ -0,0 +1,31 @@ +// Same as fr +import formatDistance from "../fr/_lib/formatDistance/index.js"; +import localize from "../fr/_lib/localize/index.js"; +import match from "../fr/_lib/match/index.js"; +// Unique for fr-CH +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary French locale (Switzerland). + * @language French + * @iso-639-2 fra + * @author Jean Dupouy [@izeau]{@link https://github.com/izeau} + * @author François B [@fbonzon]{@link https://github.com/fbonzon} + * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo} + * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn} + */ +var locale = { + code: 'fr-CH', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr-CH/index.js.flow b/node_modules/date-fns/esm/locale/fr-CH/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CH/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/fr-CH/package.json b/node_modules/date-fns/esm/locale/fr-CH/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr-CH/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/fr/_lib/formatDistance/index.js new file mode 100644 index 000000000..df2a0085b --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'moins d’une seconde', + other: 'moins de {{count}} secondes' + }, + xSeconds: { + one: '1 seconde', + other: '{{count}} secondes' + }, + halfAMinute: '30 secondes', + lessThanXMinutes: { + one: 'moins d’une minute', + other: 'moins de {{count}} minutes' + }, + xMinutes: { + one: '1 minute', + other: '{{count}} minutes' + }, + aboutXHours: { + one: 'environ 1 heure', + other: 'environ {{count}} heures' + }, + xHours: { + one: '1 heure', + other: '{{count}} heures' + }, + xDays: { + one: '1 jour', + other: '{{count}} jours' + }, + aboutXWeeks: { + one: 'environ 1 semaine', + other: 'environ {{count}} semaines' + }, + xWeeks: { + one: '1 semaine', + other: '{{count}} semaines' + }, + aboutXMonths: { + one: 'environ 1 mois', + other: 'environ {{count}} mois' + }, + xMonths: { + one: '1 mois', + other: '{{count}} mois' + }, + aboutXYears: { + one: 'environ 1 an', + other: 'environ {{count}} ans' + }, + xYears: { + one: '1 an', + other: '{{count}} ans' + }, + overXYears: { + one: 'plus d’un an', + other: 'plus de {{count}} ans' + }, + almostXYears: { + one: 'presqu’un an', + other: 'presque {{count}} ans' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var form = formatDistanceLocale[token]; + if (typeof form === 'string') { + result = form; + } else if (count === 1) { + result = form.one; + } else { + result = form.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'dans ' + result; + } else { + return 'il y a ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/fr/_lib/formatLong/index.js new file mode 100644 index 000000000..ea22c9e61 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'à' {{time}}", + long: "{{date}} 'à' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/fr/_lib/formatRelative/index.js new file mode 100644 index 000000000..ec4a2584b --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'dernier à' p", + yesterday: "'hier à' p", + today: "'aujourd’hui à' p", + tomorrow: "'demain à' p'", + nextWeek: "eeee 'prochain à' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/_lib/localize/index.js b/node_modules/date-fns/esm/locale/fr/_lib/localize/index.js new file mode 100644 index 000000000..4ece46db4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/_lib/localize/index.js @@ -0,0 +1,94 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['av. J.-C', 'ap. J.-C'], + abbreviated: ['av. J.-C', 'ap. J.-C'], + wide: ['avant Jésus-Christ', 'après Jésus-Christ'] +}; +var quarterValues = { + narrow: ['T1', 'T2', 'T3', 'T4'], + abbreviated: ['1er trim.', '2ème trim.', '3ème trim.', '4ème trim.'], + wide: ['1er trimestre', '2ème trimestre', '3ème trimestre', '4ème trimestre'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'], + wide: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + short: ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + abbreviated: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + wide: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'minuit', + noon: 'midi', + morning: 'mat.', + afternoon: 'ap.m.', + evening: 'soir', + night: 'mat.' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'minuit', + noon: 'midi', + morning: 'matin', + afternoon: 'après-midi', + evening: 'soir', + night: 'matin' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'minuit', + noon: 'midi', + morning: 'du matin', + afternoon: 'de l’après-midi', + evening: 'du soir', + night: 'du matin' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (number === 0) return '0'; + var feminineUnits = ['year', 'week', 'hour', 'minute', 'second']; + var suffix; + if (number === 1) { + suffix = unit && feminineUnits.includes(unit) ? 'ère' : 'er'; + } else { + suffix = 'ème'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/_lib/match/index.js b/node_modules/date-fns/esm/locale/fr/_lib/match/index.js new file mode 100644 index 000000000..c5628fc19 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(ième|ère|ème|er|e)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i, + abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, + wide: /^(avant Jésus-Christ|après Jésus-Christ)/i +}; +var parseEraPatterns = { + any: [/^av/i, /^ap/i] +}; +var matchQuarterPatterns = { + narrow: /^T?[1234]/i, + abbreviated: /^[1234](er|ème|e)? trim\.?/i, + wide: /^[1234](er|ème|e)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i, + wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^av/i, /^ma/i, /^juin/i, /^juil/i, /^ao/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[lmjvsd]/i, + short: /^(di|lu|ma|me|je|ve|sa)/i, + abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i, + wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i, + any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^min/i, + noon: /^mid/i, + morning: /mat/i, + afternoon: /ap/i, + evening: /soir/i, + night: /nuit/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/index.d.ts b/node_modules/date-fns/esm/locale/fr/index.d.ts new file mode 100644 index 000000000..5dc7fe00f --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fr } from 'date-fns/locale' +export default fr diff --git a/node_modules/date-fns/esm/locale/fr/index.js b/node_modules/date-fns/esm/locale/fr/index.js new file mode 100644 index 000000000..a5ad0e9bb --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary French locale. + * @language French + * @iso-639-2 fra + * @author Jean Dupouy [@izeau]{@link https://github.com/izeau} + * @author François B [@fbonzon]{@link https://github.com/fbonzon} + */ +var locale = { + code: 'fr', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fr/index.js.flow b/node_modules/date-fns/esm/locale/fr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/fr/package.json b/node_modules/date-fns/esm/locale/fr/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fr/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/fy/_lib/formatDistance/index.js new file mode 100644 index 000000000..794620502 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minder as 1 sekonde', + other: 'minder as {{count}} sekonden' + }, + xSeconds: { + one: '1 sekonde', + other: '{{count}} sekonden' + }, + halfAMinute: 'oardel minút', + lessThanXMinutes: { + one: 'minder as 1 minút', + other: 'minder as {{count}} minuten' + }, + xMinutes: { + one: '1 minút', + other: '{{count}} minuten' + }, + aboutXHours: { + one: 'sawat 1 oere', + other: 'sawat {{count}} oere' + }, + xHours: { + one: '1 oere', + other: '{{count}} oere' + }, + xDays: { + one: '1 dei', + other: '{{count}} dagen' + }, + aboutXWeeks: { + one: 'sawat 1 wike', + other: 'sawat {{count}} wiken' + }, + xWeeks: { + one: '1 wike', + other: '{{count}} wiken' + }, + aboutXMonths: { + one: 'sawat 1 moanne', + other: 'sawat {{count}} moannen' + }, + xMonths: { + one: '1 moanne', + other: '{{count}} moannen' + }, + aboutXYears: { + one: 'sawat 1 jier', + other: 'sawat {{count}} jier' + }, + xYears: { + one: '1 jier', + other: '{{count}} jier' + }, + overXYears: { + one: 'mear as 1 jier', + other: 'mear as {{count}}s jier' + }, + almostXYears: { + one: 'hast 1 jier', + other: 'hast {{count}} jier' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'oer ' + result; + } else { + return result + ' lyn'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/fy/_lib/formatLong/index.js new file mode 100644 index 000000000..1eb3157ba --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd-MM-y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/fy/_lib/formatRelative/index.js new file mode 100644 index 000000000..e5df51bc7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'ôfrûne' eeee 'om' p", + yesterday: "'juster om' p", + today: "'hjoed om' p", + tomorrow: "'moarn om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/_lib/localize/index.js b/node_modules/date-fns/esm/locale/fy/_lib/localize/index.js new file mode 100644 index 000000000..b88d8fbee --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/_lib/localize/index.js @@ -0,0 +1,85 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['f.K.', 'n.K.'], + abbreviated: ['f.Kr.', 'n.Kr.'], + wide: ['foar Kristus', 'nei Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1e fearnsjier', '2e fearnsjier', '3e fearnsjier', '4e fearnsjier'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mai.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], + wide: ['jannewaris', 'febrewaris', 'maart', 'april', 'maaie', 'juny', 'july', 'augustus', 'septimber', 'oktober', 'novimber', 'desimber'] +}; +var dayValues = { + narrow: ['s', 'm', 't', 'w', 't', 'f', 's'], + short: ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + abbreviated: ['snein', 'moa', 'tii', 'woa', 'ton', 'fre', 'sneon'], + wide: ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'middei', + morning: 'moarns', + afternoon: 'middeis', + evening: 'jûns', + night: 'nachts' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'middei', + morning: 'moarns', + afternoon: 'middeis', + evening: 'jûns', + night: 'nachts' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'middei', + morning: 'moarns', + afternoon: 'middeis', + evening: 'jûns', + night: 'nachts' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/_lib/match/index.js b/node_modules/date-fns/esm/locale/fy/_lib/match/index.js new file mode 100644 index 000000000..9e0dd7c0c --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)e?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([fn]\.? ?K\.?)/, + abbreviated: /^([fn]\. ?Kr\.?)/, + wide: /^((foar|nei) Kristus)/ +}; +var parseEraPatterns = { + any: [/^f/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234]e fearnsjier/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mrt.|apr.|mai.|jun.|jul.|aug.|sep.|okt.|nov.|des.)/i, + wide: /^(jannewaris|febrewaris|maart|april|maaie|juny|july|augustus|septimber|oktober|novimber|desimber)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^des/i] +}; +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(si|mo|ti|wo|to|fr|so)/i, + abbreviated: /^(snein|moa|tii|woa|ton|fre|sneon)/i, + wide: /^(snein|moandei|tiisdei|woansdei|tongersdei|freed|sneon)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^sn/i, /^mo/i, /^ti/i, /^wo/i, /^to/i, /^fr/i, /^sn/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|middernacht|middeis|moarns|middei|jûns|nachts)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^middernacht/i, + noon: /^middei/i, + morning: /moarns/i, + afternoon: /^middeis/i, + evening: /jûns/i, + night: /nachts/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/index.d.ts b/node_modules/date-fns/esm/locale/fy/index.d.ts new file mode 100644 index 000000000..11b41b4ba --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fy } from 'date-fns/locale' +export default fy diff --git a/node_modules/date-fns/esm/locale/fy/index.js b/node_modules/date-fns/esm/locale/fy/index.js new file mode 100644 index 000000000..fb055f8ac --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Western Frisian locale (Netherlands). + * @language West Frisian + * @iso-639-2 fry + * @author Damon Asberg [@damon02]{@link https://github.com/damon02} + */ +var locale = { + code: 'fy', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/fy/index.js.flow b/node_modules/date-fns/esm/locale/fy/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/fy/package.json b/node_modules/date-fns/esm/locale/fy/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/fy/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/gd/_lib/formatDistance/index.js new file mode 100644 index 000000000..f6967fda8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/_lib/formatDistance/index.js @@ -0,0 +1,93 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'nas lugha na diog', + other: 'nas lugha na {{count}} diogan' + }, + xSeconds: { + one: '1 diog', + two: '2 dhiog', + twenty: '20 diog', + other: '{{count}} diogan' + }, + halfAMinute: 'leth mhionaid', + lessThanXMinutes: { + one: 'nas lugha na mionaid', + other: 'nas lugha na {{count}} mionaidean' + }, + xMinutes: { + one: '1 mionaid', + two: '2 mhionaid', + twenty: '20 mionaid', + other: '{{count}} mionaidean' + }, + aboutXHours: { + one: 'mu uair de thìde', + other: 'mu {{count}} uairean de thìde' + }, + xHours: { + one: '1 uair de thìde', + two: '2 uair de thìde', + twenty: '20 uair de thìde', + other: '{{count}} uairean de thìde' + }, + xDays: { + one: '1 là', + other: '{{count}} là' + }, + aboutXWeeks: { + one: 'mu 1 seachdain', + other: 'mu {{count}} seachdainean' + }, + xWeeks: { + one: '1 seachdain', + other: '{{count}} seachdainean' + }, + aboutXMonths: { + one: 'mu mhìos', + other: 'mu {{count}} mìosan' + }, + xMonths: { + one: '1 mìos', + other: '{{count}} mìosan' + }, + aboutXYears: { + one: 'mu bhliadhna', + other: 'mu {{count}} bliadhnaichean' + }, + xYears: { + one: '1 bhliadhna', + other: '{{count}} bliadhna' + }, + overXYears: { + one: 'còrr is bliadhna', + other: 'còrr is {{count}} bliadhnaichean' + }, + almostXYears: { + one: 'cha mhòr bliadhna', + other: 'cha mhòr {{count}} bliadhnaichean' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2 && !!tokenValue.two) { + result = tokenValue.two; + } else if (count === 20 && !!tokenValue.twenty) { + result = tokenValue.twenty; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'ann an ' + result; + } else { + return 'o chionn ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/gd/_lib/formatLong/index.js new file mode 100644 index 000000000..0e81ed6e8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'aig' {{time}}", + long: "{{date}} 'aig' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/gd/_lib/formatRelative/index.js new file mode 100644 index 000000000..0eec92dc5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/_lib/formatRelative/index.js @@ -0,0 +1,13 @@ +var formatRelativeLocale = { + lastWeek: "'mu dheireadh' eeee 'aig' p", + //FIX + yesterday: "'an-dè aig' p", + today: "'an-diugh aig' p", + tomorrow: "'a-màireach aig' p", + nextWeek: "eeee 'aig' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/_lib/localize/index.js b/node_modules/date-fns/esm/locale/gd/_lib/localize/index.js new file mode 100644 index 000000000..e63858ceb --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/_lib/localize/index.js @@ -0,0 +1,136 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['R', 'A'], + abbreviated: ['RC', 'AD'], + wide: ['ro Chrìosta', 'anno domini'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['C1', 'C2', 'C3', 'C4'], + wide: ["a' chiad chairteal", 'an dàrna cairteal', 'an treas cairteal', 'an ceathramh cairteal'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], + abbreviated: ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'], + wide: ['Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'C', 'A', 'H', 'S'], + short: ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'], + abbreviated: ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + wide: ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'] +}; +var dayPeriodValues = { + narrow: { + am: 'm', + pm: 'f', + midnight: 'm.o.', + noon: 'm.l.', + morning: 'madainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'oidhche' + }, + abbreviated: { + am: 'M.', + pm: 'F.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'madainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'oidhche' + }, + wide: { + am: 'm.', + pm: 'f.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'madainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'oidhche' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'm', + pm: 'f', + midnight: 'm.o.', + noon: 'm.l.', + morning: 'sa mhadainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'air an oidhche' + }, + abbreviated: { + am: 'M.', + pm: 'F.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'sa mhadainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'air an oidhche' + }, + wide: { + am: 'm.', + pm: 'f.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'sa mhadainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'air an oidhche' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'd'; + case 2: + return number + 'na'; + } + } + if (rem100 === 12) { + return number + 'na'; + } + return number + 'mh'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/_lib/match/index.js b/node_modules/date-fns/esm/locale/gd/_lib/match/index.js new file mode 100644 index 000000000..fac49204b --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(d|na|tr|mh)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(r|a)/i, + abbreviated: /^(r\.?\s?c\.?|r\.?\s?a\.?\s?c\.?|a\.?\s?d\.?|a\.?\s?c\.?)/i, + wide: /^(ro Chrìosta|ron aois choitchinn|anno domini|aois choitcheann)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^c[1234]/i, + wide: /^[1234](cd|na|tr|mh)? cairteal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[fgmcòilsd]/i, + abbreviated: /^(faoi|gear|màrt|gibl|cèit|ògmh|iuch|lùn|sult|dàmh|samh|dùbh)/i, + wide: /^(am faoilleach|an gearran|am màrt|an giblean|an cèitean|an t-Ògmhios|an t-Iuchar|an lùnastal|an t-Sultain|an dàmhair|an t-Samhain|an dùbhlachd)/i +}; +var parseMonthPatterns = { + narrow: [/^f/i, /^g/i, /^m/i, /^g/i, /^c/i, /^ò/i, /^i/i, /^l/i, /^s/i, /^d/i, /^s/i, /^d/i], + any: [/^fa/i, /^ge/i, /^mà/i, /^gi/i, /^c/i, /^ò/i, /^i/i, /^l/i, /^su/i, /^d/i, /^sa/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmcahs]/i, + short: /^(dò|lu|mà|ci|ar|ha|sa)/i, + abbreviated: /^(did|dil|dim|dic|dia|dih|dis)/i, + wide: /^(didòmhnaich|diluain|dimàirt|diciadain|diardaoin|dihaoine|disathairne)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^c/i, /^a/i, /^h/i, /^s/i], + any: [/^d/i, /^l/i, /^m/i, /^c/i, /^a/i, /^h/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(san|aig) (madainn|feasgar|feasgar|oidhche))/i, + any: /^([ap]\.?\s?m\.?|meadhan oidhche|meadhan là|(san|aig) (madainn|feasgar|feasgar|oidhche))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^m/i, + pm: /^f/i, + midnight: /^meadhan oidhche/i, + noon: /^meadhan là/i, + morning: /sa mhadainn/i, + afternoon: /feasgar/i, + evening: /feasgar/i, + night: /air an oidhche/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/index.d.ts b/node_modules/date-fns/esm/locale/gd/index.d.ts new file mode 100644 index 000000000..2b2474424 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { gd } from 'date-fns/locale' +export default gd diff --git a/node_modules/date-fns/esm/locale/gd/index.js b/node_modules/date-fns/esm/locale/gd/index.js new file mode 100644 index 000000000..a1e02493a --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Scottish Gaelic. + * @language Scottish Gaelic + * @iso-639-2 gla + * @author Lee Driscoll [@leedriscoll]{@link https://github.com/leedriscoll} + */ +var locale = { + code: 'gd', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gd/index.js.flow b/node_modules/date-fns/esm/locale/gd/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/gd/package.json b/node_modules/date-fns/esm/locale/gd/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gd/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/gl/_lib/formatDistance/index.js new file mode 100644 index 000000000..31ef3b9ec --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos dun segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'medio minuto', + lessThanXMinutes: { + one: 'menos dun minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'arredor dunha hora', + other: 'arredor de {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 día', + other: '{{count}} días' + }, + aboutXWeeks: { + one: 'arredor dunha semana', + other: 'arredor de {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'arredor de 1 mes', + other: 'arredor de {{count}} meses' + }, + xMonths: { + one: '1 mes', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'arredor dun ano', + other: 'arredor de {{count}} anos' + }, + xYears: { + one: '1 ano', + other: '{{count}} anos' + }, + overXYears: { + one: 'máis dun ano', + other: 'máis de {{count}} anos' + }, + almostXYears: { + one: 'case un ano', + other: 'case {{count}} anos' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'hai ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/gl/_lib/formatLong/index.js new file mode 100644 index 000000000..ddcab7594 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d 'de' MMMM y", + long: "d 'de' MMMM y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'ás' {{time}}", + long: "{{date}} 'ás' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/gl/_lib/formatRelative/index.js new file mode 100644 index 000000000..d17e2a2ad --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/_lib/formatRelative/index.js @@ -0,0 +1,23 @@ +var formatRelativeLocale = { + lastWeek: "'o' eeee 'pasado á' LT", + yesterday: "'onte á' p", + today: "'hoxe á' p", + tomorrow: "'mañá á' p", + nextWeek: "eeee 'á' p", + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'o' eeee 'pasado ás' p", + yesterday: "'onte ás' p", + today: "'hoxe ás' p", + tomorrow: "'mañá ás' p", + nextWeek: "eeee 'ás' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/_lib/localize/index.js b/node_modules/date-fns/esm/locale/gl/_lib/localize/index.js new file mode 100644 index 000000000..b28b46da5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['AC', 'DC'], + abbreviated: ['AC', 'DC'], + wide: ['antes de cristo', 'despois de cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['xan', 'feb', 'mar', 'abr', 'mai', 'xun', 'xul', 'ago', 'set', 'out', 'nov', 'dec'], + wide: ['xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', 'outubro', 'novembro', 'decembro'] +}; +var dayValues = { + narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'], + short: ['do', 'lu', 'ma', 'me', 'xo', 've', 'sa'], + abbreviated: ['dom', 'lun', 'mar', 'mer', 'xov', 'ven', 'sab'], + wide: ['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'mañá', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'mañá', + afternoon: 'tarde', + evening: 'tardiña', + night: 'noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'mañá', + afternoon: 'tarde', + evening: 'tardiña', + night: 'noite' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'da mañá', + afternoon: 'da tarde', + evening: 'da tardiña', + night: 'da noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'da mañá', + afternoon: 'da tarde', + evening: 'da tardiña', + night: 'da noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'da mañá', + afternoon: 'da tarde', + evening: 'da tardiña', + night: 'da noite' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/_lib/match/index.js b/node_modules/date-fns/esm/locale/gl/_lib/match/index.js new file mode 100644 index 000000000..7e8418778 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, + wide: /^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^(antes de cristo|antes da era com[uú]n)/i, /^(despois de cristo|era com[uú]n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[xfmasond]/i, + abbreviated: /^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i, + wide: /^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i +}; +var parseMonthPatterns = { + narrow: [/^x/i, /^f/i, /^m/i, /^a/i, /^m/i, /^x/i, /^x/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^xan/i, /^feb/i, /^mar/i, /^abr/i, /^mai/i, /^xun/i, /^xul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dec/i] +}; +var matchDayPatterns = { + narrow: /^[dlmxvs]/i, + short: /^(do|lu|ma|me|xo|ve|sa)/i, + abbreviated: /^(dom|lun|mar|mer|xov|ven|sab)/i, + wide: /^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^x/i, /^v/i, /^s/i], + any: [/^do/i, /^lu/i, /^ma/i, /^me/i, /^xo/i, /^ve/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i, + any: /^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn/i, + noon: /^md/i, + morning: /mañ[aá]/i, + afternoon: /tarde/i, + evening: /tardiña/i, + night: /noite/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/index.d.ts b/node_modules/date-fns/esm/locale/gl/index.d.ts new file mode 100644 index 000000000..67954c68e --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { gl } from 'date-fns/locale' +export default gl diff --git a/node_modules/date-fns/esm/locale/gl/index.js b/node_modules/date-fns/esm/locale/gl/index.js new file mode 100644 index 000000000..9298c0021 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Galician locale. + * @language Galician + * @iso-639-2 glg + * @author Alberto Doval - Cocodin Technology[@cocodinTech]{@link https://github.com/cocodinTech} + * @author Fidel Pita [@fidelpita]{@link https://github.com/fidelpita} + */ +var locale = { + code: 'gl', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gl/index.js.flow b/node_modules/date-fns/esm/locale/gl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/gl/package.json b/node_modules/date-fns/esm/locale/gl/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gl/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/gu/_lib/formatDistance/index.js new file mode 100644 index 000000000..069a78550 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/_lib/formatDistance/index.js @@ -0,0 +1,86 @@ +// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'હમણાં', + // CLDR #1461 + other: '​આશરે {{count}} સેકંડ' + }, + xSeconds: { + one: '1 સેકંડ', + other: '{{count}} સેકંડ' + }, + halfAMinute: 'અડધી મિનિટ', + lessThanXMinutes: { + one: 'આ મિનિટ', + // CLDR #1448 + other: '​આશરે {{count}} મિનિટ' + }, + xMinutes: { + one: '1 મિનિટ', + other: '{{count}} મિનિટ' + }, + aboutXHours: { + one: '​આશરે 1 કલાક', + other: '​આશરે {{count}} કલાક' + }, + xHours: { + one: '1 કલાક', + other: '{{count}} કલાક' + }, + xDays: { + one: '1 દિવસ', + other: '{{count}} દિવસ' + }, + aboutXWeeks: { + one: 'આશરે 1 અઠવાડિયું', + other: 'આશરે {{count}} અઠવાડિયા' + }, + xWeeks: { + one: '1 અઠવાડિયું', + other: '{{count}} અઠવાડિયા' + }, + aboutXMonths: { + one: 'આશરે 1 મહિનો', + other: 'આશરે {{count}} મહિના' + }, + xMonths: { + one: '1 મહિનો', + other: '{{count}} મહિના' + }, + aboutXYears: { + one: 'આશરે 1 વર્ષ', + other: 'આશરે {{count}} વર્ષ' + }, + xYears: { + one: '1 વર્ષ', + other: '{{count}} વર્ષ' + }, + overXYears: { + one: '1 વર્ષથી વધુ', + other: '{{count}} વર્ષથી વધુ' + }, + almostXYears: { + one: 'લગભગ 1 વર્ષ', + other: 'લગભગ {{count}} વર્ષ' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'માં'; + } else { + return result + ' પહેલાં'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/gu/_lib/formatLong/index.js new file mode 100644 index 000000000..23a2ff322 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/_lib/formatLong/index.js @@ -0,0 +1,46 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; //Source: https://www.unicode.org/cldr/charts/32/summary/gu.html +var dateFormats = { + full: 'EEEE, d MMMM, y', + // CLDR #1825 + long: 'd MMMM, y', + // CLDR #1826 + medium: 'd MMM, y', + // CLDR #1827 + short: 'd/M/yy' // CLDR #1828 +}; + +var timeFormats = { + full: 'hh:mm:ss a zzzz', + // CLDR #1829 + long: 'hh:mm:ss a z', + // CLDR #1830 + medium: 'hh:mm:ss a', + // CLDR #1831 + short: 'hh:mm a' // CLDR #1832 +}; + +var dateTimeFormats = { + full: '{{date}} {{time}}', + // CLDR #1833 + long: '{{date}} {{time}}', + // CLDR #1834 + medium: '{{date}} {{time}}', + // CLDR #1835 + short: '{{date}} {{time}}' // CLDR #1836 +}; + +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/gu/_lib/formatRelative/index.js new file mode 100644 index 000000000..6f21a19ed --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/_lib/formatRelative/index.js @@ -0,0 +1,19 @@ +// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html + +var formatRelativeLocale = { + lastWeek: "'પાછલા' eeee p", + // CLDR #1384 + yesterday: "'ગઈકાલે' p", + // CLDR #1409 + today: "'આજે' p", + // CLDR #1410 + tomorrow: "'આવતીકાલે' p", + // CLDR #1411 + nextWeek: 'eeee p', + // CLDR #1386 + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/_lib/localize/index.js b/node_modules/date-fns/esm/locale/gu/_lib/localize/index.js new file mode 100644 index 000000000..a564a4c44 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/_lib/localize/index.js @@ -0,0 +1,136 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1621 - #1630 +var eraValues = { + narrow: ['ઈસપૂ', 'ઈસ'], + abbreviated: ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], + wide: ['ઈસવીસન પૂર્વે', 'ઈસવીસન'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1631 - #1654 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1લો ત્રિમાસ', '2જો ત્રિમાસ', '3જો ત્રિમાસ', '4થો ત્રિમાસ'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1655 - #1726 +var monthValues = { + narrow: ['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઓ', 'સ', 'ઓ', 'ન', 'ડિ'], + abbreviated: ['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઓક્ટો', 'નવે', 'ડિસે'], + wide: ['જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઇ', 'ઓગસ્ટ', 'સપ્ટેમ્બર', 'ઓક્ટોબર', 'નવેમ્બર', 'ડિસેમ્બર'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1727 - #1768 +var dayValues = { + narrow: ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + short: ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + abbreviated: ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'], + wide: ['રવિવાર' /* Sunday */, 'સોમવાર' /* Monday */, 'મંગળવાર' /* Tuesday */, 'બુધવાર' /* Wednesday */, 'ગુરુવાર' /* Thursday */, 'શુક્રવાર' /* Friday */, 'શનિવાર' /* Saturday */] +}; + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1783 - #1824 +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'મ.રાત્રિ', + noon: 'બ.', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: '​મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: '​મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'મ.રાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: '​મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/_lib/match/index.js b/node_modules/date-fns/esm/locale/gu/_lib/match/index.js new file mode 100644 index 000000000..7e6e6fcfb --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ઈસપૂ|ઈસ)/i, + abbreviated: /^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i, + wide: /^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i +}; +var parseEraPatterns = { + any: [/^ઈસપૂ/i, /^ઈસ/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](લો|જો|થો)? ત્રિમાસ/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[જાફેમાએમેજૂજુઓસઓનડિ]/i, + abbreviated: /^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i, + wide: /^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i +}; +var parseMonthPatterns = { + narrow: [/^જા/i, /^ફે/i, /^મા/i, /^એ/i, /^મે/i, /^જૂ/i, /^જુ/i, /^ઑગ/i, /^સ/i, /^ઓક્ટો/i, /^ન/i, /^ડિ/i], + any: [/^જા/i, /^ફે/i, /^મા/i, /^એ/i, /^મે/i, /^જૂ/i, /^જુ/i, /^ઑગ/i, /^સ/i, /^ઓક્ટો/i, /^ન/i, /^ડિ/i] +}; +var matchDayPatterns = { + narrow: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i, + short: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i, + abbreviated: /^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i, + wide: /^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i +}; +var parseDayPatterns = { + narrow: [/^ર/i, /^સો/i, /^મં/i, /^બુ/i, /^ગુ/i, /^શુ/i, /^શ/i], + any: [/^ર/i, /^સો/i, /^મં/i, /^બુ/i, /^ગુ/i, /^શુ/i, /^શ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|મ\.?|સ|બ|સાં|રા)/i, + any: /^(a|p|મ\.?|સ|બ|સાં|રા)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^મ\.?/i, + noon: /^બ/i, + morning: /સ/i, + afternoon: /બ/i, + evening: /સાં/i, + night: /રા/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/index.d.ts b/node_modules/date-fns/esm/locale/gu/index.d.ts new file mode 100644 index 000000000..42642b644 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { gu } from 'date-fns/locale' +export default gu diff --git a/node_modules/date-fns/esm/locale/gu/index.js b/node_modules/date-fns/esm/locale/gu/index.js new file mode 100644 index 000000000..336e7e8ae --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Gujarati locale (India). + * @language Gujarati + * @iso-639-2 guj + * @author Manaday Mavani [@ManadayM]{@link https://github.com/manadaym} + */ +var locale = { + code: 'gu', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/gu/index.js.flow b/node_modules/date-fns/esm/locale/gu/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/gu/package.json b/node_modules/date-fns/esm/locale/gu/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/gu/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/he/_lib/formatDistance/index.js new file mode 100644 index 000000000..1dc2ccd51 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/_lib/formatDistance/index.js @@ -0,0 +1,107 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'פחות משנייה', + two: 'פחות משתי שניות', + other: 'פחות מ־{{count}} שניות' + }, + xSeconds: { + one: 'שנייה', + two: 'שתי שניות', + other: '{{count}} שניות' + }, + halfAMinute: 'חצי דקה', + lessThanXMinutes: { + one: 'פחות מדקה', + two: 'פחות משתי דקות', + other: 'פחות מ־{{count}} דקות' + }, + xMinutes: { + one: 'דקה', + two: 'שתי דקות', + other: '{{count}} דקות' + }, + aboutXHours: { + one: 'כשעה', + two: 'כשעתיים', + other: 'כ־{{count}} שעות' + }, + xHours: { + one: 'שעה', + two: 'שעתיים', + other: '{{count}} שעות' + }, + xDays: { + one: 'יום', + two: 'יומיים', + other: '{{count}} ימים' + }, + aboutXWeeks: { + one: 'כשבוע', + two: 'כשבועיים', + other: 'כ־{{count}} שבועות' + }, + xWeeks: { + one: 'שבוע', + two: 'שבועיים', + other: '{{count}} שבועות' + }, + aboutXMonths: { + one: 'כחודש', + two: 'כחודשיים', + other: 'כ־{{count}} חודשים' + }, + xMonths: { + one: 'חודש', + two: 'חודשיים', + other: '{{count}} חודשים' + }, + aboutXYears: { + one: 'כשנה', + two: 'כשנתיים', + other: 'כ־{{count}} שנים' + }, + xYears: { + one: 'שנה', + two: 'שנתיים', + other: '{{count}} שנים' + }, + overXYears: { + one: 'יותר משנה', + two: 'יותר משנתיים', + other: 'יותר מ־{{count}} שנים' + }, + almostXYears: { + one: 'כמעט שנה', + two: 'כמעט שנתיים', + other: 'כמעט {{count}} שנים' + } +}; +var formatDistance = function formatDistance(token, count, options) { + // Return word instead of `in one day` or `one day ago` + if (token === 'xDays' && options !== null && options !== void 0 && options.addSuffix && count <= 2) { + if (options.comparison && options.comparison > 0) { + return count === 1 ? 'מחר' : 'מחרתיים'; + } + return count === 1 ? 'אתמול' : 'שלשום'; + } + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2) { + result = tokenValue.two; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'בעוד ' + result; + } else { + return 'לפני ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/he/_lib/formatLong/index.js new file mode 100644 index 000000000..6153f919d --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d בMMMM y', + long: 'd בMMMM y', + medium: 'd בMMM y', + short: 'd.M.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'בשעה' {{time}}", + long: "{{date}} 'בשעה' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/he/_lib/formatRelative/index.js new file mode 100644 index 000000000..341ac6be3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'שעבר בשעה' p", + yesterday: "'אתמול בשעה' p", + today: "'היום בשעה' p", + tomorrow: "'מחר בשעה' p", + nextWeek: "eeee 'בשעה' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/_lib/localize/index.js b/node_modules/date-fns/esm/locale/he/_lib/localize/index.js new file mode 100644 index 000000000..15b42a835 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/_lib/localize/index.js @@ -0,0 +1,127 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['לפנה״ס', 'לספירה'], + abbreviated: ['לפנה״ס', 'לספירה'], + wide: ['לפני הספירה', 'לספירה'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['רבעון 1', 'רבעון 2', 'רבעון 3', 'רבעון 4'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'], + wide: ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'] +}; +var dayValues = { + narrow: ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + short: ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + abbreviated: ['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'], + wide: ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'] +}; +var dayPeriodValues = { + narrow: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בוקר', + afternoon: 'אחר הצהריים', + evening: 'ערב', + night: 'לילה' + }, + abbreviated: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בוקר', + afternoon: 'אחר הצהריים', + evening: 'ערב', + night: 'לילה' + }, + wide: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בוקר', + afternoon: 'אחר הצהריים', + evening: 'ערב', + night: 'לילה' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בבוקר', + afternoon: 'בצהריים', + evening: 'בערב', + night: 'בלילה' + }, + abbreviated: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בבוקר', + afternoon: 'אחר הצהריים', + evening: 'בערב', + night: 'בלילה' + }, + wide: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בבוקר', + afternoon: 'אחר הצהריים', + evening: 'בערב', + night: 'בלילה' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + + // We only show words till 10 + if (number <= 0 || number > 10) return String(number); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var isFemale = ['year', 'hour', 'minute', 'second'].indexOf(unit) >= 0; + var male = ['ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שביעי', 'שמיני', 'תשיעי', 'עשירי']; + var female = ['ראשונה', 'שנייה', 'שלישית', 'רביעית', 'חמישית', 'שישית', 'שביעית', 'שמינית', 'תשיעית', 'עשירית']; + var index = number - 1; + return isFemale ? female[index] : male[index]; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/_lib/match/index.js b/node_modules/date-fns/esm/locale/he/_lib/match/index.js new file mode 100644 index 000000000..3b112f760 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i; +var parseOrdinalNumberPattern = /^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i; +var matchEraPatterns = { + narrow: /^ל(ספירה|פנה״ס)/i, + abbreviated: /^ל(ספירה|פנה״ס)/i, + wide: /^ל(פני ה)?ספירה/i +}; +var parseEraPatterns = { + any: [/^לפ/i, /^לס/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^רבעון [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^\d+/i, + abbreviated: /^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i, + wide: /^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i +}; +var parseMonthPatterns = { + narrow: [/^1$/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ינ/i, /^פ/i, /^מר/i, /^אפ/i, /^מא/i, /^יונ/i, /^יול/i, /^אוג/i, /^ס/i, /^אוק/i, /^נ/i, /^ד/i] +}; +var matchDayPatterns = { + narrow: /^[אבגדהוש]׳/i, + short: /^[אבגדהוש]׳/i, + abbreviated: /^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i, + wide: /^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i +}; +var parseDayPatterns = { + abbreviated: [/א׳$/i, /ב׳$/i, /ג׳$/i, /ד׳$/i, /ה׳$/i, /ו׳$/i, /^ש/i], + wide: [/ן$/i, /ני$/i, /לישי$/i, /עי$/i, /מישי$/i, /שישי$/i, /ת$/i], + any: [/^א/i, /^ב/i, /^ג/i, /^ד/i, /^ה/i, /^ו/i, /^ש/i] +}; +var matchDayPeriodPatterns = { + any: /^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^לפ/i, + pm: /^אחה/i, + midnight: /^ח/i, + noon: /^צ/i, + morning: /בוקר/i, + afternoon: /בצ|אחר/i, + evening: /ערב/i, + night: /לילה/i + } +}; +var ordinalName = ['רא', 'שנ', 'של', 'רב', 'ח', 'שי', 'שב', 'שמ', 'ת', 'ע']; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + var number = parseInt(value, 10); + return isNaN(number) ? ordinalName.indexOf(value) + 1 : number; + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/index.d.ts b/node_modules/date-fns/esm/locale/he/index.d.ts new file mode 100644 index 000000000..33d6042f2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { he } from 'date-fns/locale' +export default he diff --git a/node_modules/date-fns/esm/locale/he/index.js b/node_modules/date-fns/esm/locale/he/index.js new file mode 100644 index 000000000..9f57df319 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Hebrew locale. + * @language Hebrew + * @iso-639-2 heb + * @author Nir Lahad [@nirlah]{@link https://github.com/nirlah} + */ +var locale = { + code: 'he', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/he/index.js.flow b/node_modules/date-fns/esm/locale/he/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/he/package.json b/node_modules/date-fns/esm/locale/he/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/he/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/hi/_lib/formatDistance/index.js new file mode 100644 index 000000000..7250a0507 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/_lib/formatDistance/index.js @@ -0,0 +1,90 @@ +import { numberToLocale } from "../localize/index.js"; // Source: https://www.unicode.org/cldr/charts/32/summary/hi.html +var formatDistanceLocale = { + lessThanXSeconds: { + one: '१ सेकंड से कम', + // CLDR #1310 + other: '{{count}} सेकंड से कम' + }, + xSeconds: { + one: '१ सेकंड', + other: '{{count}} सेकंड' + }, + halfAMinute: 'आधा मिनट', + lessThanXMinutes: { + one: '१ मिनट से कम', + other: '{{count}} मिनट से कम' + }, + xMinutes: { + one: '१ मिनट', + // CLDR #1307 + other: '{{count}} मिनट' + }, + aboutXHours: { + one: 'लगभग १ घंटा', + other: 'लगभग {{count}} घंटे' + }, + xHours: { + one: '१ घंटा', + // CLDR #1304 + other: '{{count}} घंटे' // CLDR #4467 + }, + + xDays: { + one: '१ दिन', + // CLDR #1286 + other: '{{count}} दिन' + }, + aboutXWeeks: { + one: 'लगभग १ सप्ताह', + other: 'लगभग {{count}} सप्ताह' + }, + xWeeks: { + one: '१ सप्ताह', + other: '{{count}} सप्ताह' + }, + aboutXMonths: { + one: 'लगभग १ महीना', + other: 'लगभग {{count}} महीने' + }, + xMonths: { + one: '१ महीना', + other: '{{count}} महीने' + }, + aboutXYears: { + one: 'लगभग १ वर्ष', + other: 'लगभग {{count}} वर्ष' // CLDR #4823 + }, + + xYears: { + one: '१ वर्ष', + other: '{{count}} वर्ष' + }, + overXYears: { + one: '१ वर्ष से अधिक', + other: '{{count}} वर्ष से अधिक' + }, + almostXYears: { + one: 'लगभग १ वर्ष', + other: 'लगभग {{count}} वर्ष' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', numberToLocale(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'मे '; + } else { + return result + ' पहले'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/hi/_lib/formatLong/index.js new file mode 100644 index 000000000..3cc950ae2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/_lib/formatLong/index.js @@ -0,0 +1,46 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, do MMMM, y', + // CLDR #1787 + long: 'do MMMM, y', + // CLDR #1788 + medium: 'd MMM, y', + // CLDR #1789 + short: 'dd/MM/yyyy' // CLDR #1790 +}; + +var timeFormats = { + full: 'h:mm:ss a zzzz', + // CLDR #1791 + long: 'h:mm:ss a z', + // CLDR #1792 + medium: 'h:mm:ss a', + // CLDR #1793 + short: 'h:mm a' // CLDR #1794 +}; + +var dateTimeFormats = { + full: "{{date}} 'को' {{time}}", + // CLDR #1795 + long: "{{date}} 'को' {{time}}", + // CLDR #1796 + medium: '{{date}}, {{time}}', + // CLDR #1797 + short: '{{date}}, {{time}}' // CLDR #1798 +}; + +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/hi/_lib/formatRelative/index.js new file mode 100644 index 000000000..e2bebe0eb --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'पिछले' eeee p", + yesterday: "'कल' p", + today: "'आज' p", + tomorrow: "'कल' p", + nextWeek: "eeee 'को' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/_lib/localize/index.js b/node_modules/date-fns/esm/locale/hi/_lib/localize/index.js new file mode 100644 index 000000000..de069659f --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/_lib/localize/index.js @@ -0,0 +1,169 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var numberValues = { + locale: { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }, + number: { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + } +}; + +// CLDR #1585 - #1592 +var eraValues = { + narrow: ['ईसा-पूर्व', 'ईस्वी'], + abbreviated: ['ईसा-पूर्व', 'ईस्वी'], + wide: ['ईसा-पूर्व', 'ईसवी सन'] +}; + +// CLDR #1593 - #1616 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ति1', 'ति2', 'ति3', 'ति4'], + wide: ['पहली तिमाही', 'दूसरी तिमाही', 'तीसरी तिमाही', 'चौथी तिमाही'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +// https://www.unicode.org/cldr/charts/32/summary/hi.html +// CLDR #1617 - #1688 +var monthValues = { + narrow: ['ज', 'फ़', 'मा', 'अ', 'मई', 'जू', 'जु', 'अग', 'सि', 'अक्टू', 'न', 'दि'], + abbreviated: ['जन', 'फ़र', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल', 'अग', 'सित', 'अक्टू', 'नव', 'दिस'], + wide: ['जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्टूबर', 'नवंबर', 'दिसंबर'] +}; + +// CLDR #1689 - #1744 +var dayValues = { + narrow: ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + short: ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + abbreviated: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + wide: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'] +}; +var dayPeriodValues = { + narrow: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + abbreviated: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + wide: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + abbreviated: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + wide: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return numberToLocale(number); +}; +export function localeToNumber(locale) { + var enNumber = locale.toString().replace(/[१२३४५६७८९०]/g, function (match) { + return numberValues.number[match]; + }); + return Number(enNumber); +} +export function numberToLocale(enNumber) { + return enNumber.toString().replace(/\d/g, function (match) { + return numberValues.locale[match]; + }); +} +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/_lib/match/index.js b/node_modules/date-fns/esm/locale/hi/_lib/match/index.js new file mode 100644 index 000000000..46535db40 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import { localeToNumber } from "../localize/index.js"; +var matchOrdinalNumberPattern = /^[०१२३४५६७८९]+/i; +var parseOrdinalNumberPattern = /^[०१२३४५६७८९]+/i; +var matchEraPatterns = { + narrow: /^(ईसा-पूर्व|ईस्वी)/i, + abbreviated: /^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i, + wide: /^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ति[1234]/i, + wide: /^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i, + abbreviated: /^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i, + wide: /^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i +}; +var parseMonthPatterns = { + narrow: [/^ज/i, /^फ़/i, /^मा/i, /^अप्/i, /^मई/i, /^जू/i, /^जु/i, /^अग/i, /^सि/i, /^अक्तू/i, /^न/i, /^दि/i], + any: [/^जन/i, /^फ़/i, /^मा/i, /^अप्/i, /^मई/i, /^जू/i, /^जु/i, /^अग/i, /^सि/i, /^अक्तू/i, /^नव/i, /^दिस/i] +}; +var matchDayPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[रविसोममंगलबुधगुरुशुक्रशनि]/i, + short: /^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i, + abbreviated: /^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i, + wide: /^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i +}; +var parseDayPatterns = { + narrow: [/^रवि/i, /^सोम/i, /^मंगल/i, /^बुध/i, /^गुरु/i, /^शुक्र/i, /^शनि/i], + any: [/^रवि/i, /^सोम/i, /^मंगल/i, /^बुध/i, /^गुरु/i, /^शुक्र/i, /^शनि/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(पू|अ|म|द.\?|सु|दो|शा|रा)/i, + any: /^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^पूर्वाह्न/i, + pm: /^अपराह्न/i, + midnight: /^मध्य/i, + noon: /^दो/i, + morning: /सु/i, + afternoon: /दो/i, + evening: /शा/i, + night: /रा/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: localeToNumber + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/index.d.ts b/node_modules/date-fns/esm/locale/hi/index.d.ts new file mode 100644 index 000000000..089bdd9ea --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hi } from 'date-fns/locale' +export default hi diff --git a/node_modules/date-fns/esm/locale/hi/index.js b/node_modules/date-fns/esm/locale/hi/index.js new file mode 100644 index 000000000..334c0d0e6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Hindi locale (India). + * @language Hindi + * @iso-639-2 hin + * @author Mukesh Mandiwal [@mukeshmandiwal]{@link https://github.com/mukeshmandiwal} + */ +var locale = { + code: 'hi', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hi/index.js.flow b/node_modules/date-fns/esm/locale/hi/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/hi/package.json b/node_modules/date-fns/esm/locale/hi/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hi/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/hr/_lib/formatDistance/index.js new file mode 100644 index 000000000..c74605c5f --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/_lib/formatDistance/index.js @@ -0,0 +1,171 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'manje od 1 sekunde', + withPrepositionAgo: 'manje od 1 sekunde', + withPrepositionIn: 'manje od 1 sekundu' + }, + dual: 'manje od {{count}} sekunde', + other: 'manje od {{count}} sekundi' + }, + xSeconds: { + one: { + standalone: '1 sekunda', + withPrepositionAgo: '1 sekunde', + withPrepositionIn: '1 sekundu' + }, + dual: '{{count}} sekunde', + other: '{{count}} sekundi' + }, + halfAMinute: 'pola minute', + lessThanXMinutes: { + one: { + standalone: 'manje od 1 minute', + withPrepositionAgo: 'manje od 1 minute', + withPrepositionIn: 'manje od 1 minutu' + }, + dual: 'manje od {{count}} minute', + other: 'manje od {{count}} minuta' + }, + xMinutes: { + one: { + standalone: '1 minuta', + withPrepositionAgo: '1 minute', + withPrepositionIn: '1 minutu' + }, + dual: '{{count}} minute', + other: '{{count}} minuta' + }, + aboutXHours: { + one: { + standalone: 'oko 1 sat', + withPrepositionAgo: 'oko 1 sat', + withPrepositionIn: 'oko 1 sat' + }, + dual: 'oko {{count}} sata', + other: 'oko {{count}} sati' + }, + xHours: { + one: { + standalone: '1 sat', + withPrepositionAgo: '1 sat', + withPrepositionIn: '1 sat' + }, + dual: '{{count}} sata', + other: '{{count}} sati' + }, + xDays: { + one: { + standalone: '1 dan', + withPrepositionAgo: '1 dan', + withPrepositionIn: '1 dan' + }, + dual: '{{count}} dana', + other: '{{count}} dana' + }, + aboutXWeeks: { + one: { + standalone: 'oko 1 tjedan', + withPrepositionAgo: 'oko 1 tjedan', + withPrepositionIn: 'oko 1 tjedan' + }, + dual: 'oko {{count}} tjedna', + other: 'oko {{count}} tjedana' + }, + xWeeks: { + one: { + standalone: '1 tjedan', + withPrepositionAgo: '1 tjedan', + withPrepositionIn: '1 tjedan' + }, + dual: '{{count}} tjedna', + other: '{{count}} tjedana' + }, + aboutXMonths: { + one: { + standalone: 'oko 1 mjesec', + withPrepositionAgo: 'oko 1 mjesec', + withPrepositionIn: 'oko 1 mjesec' + }, + dual: 'oko {{count}} mjeseca', + other: 'oko {{count}} mjeseci' + }, + xMonths: { + one: { + standalone: '1 mjesec', + withPrepositionAgo: '1 mjesec', + withPrepositionIn: '1 mjesec' + }, + dual: '{{count}} mjeseca', + other: '{{count}} mjeseci' + }, + aboutXYears: { + one: { + standalone: 'oko 1 godinu', + withPrepositionAgo: 'oko 1 godinu', + withPrepositionIn: 'oko 1 godinu' + }, + dual: 'oko {{count}} godine', + other: 'oko {{count}} godina' + }, + xYears: { + one: { + standalone: '1 godina', + withPrepositionAgo: '1 godine', + withPrepositionIn: '1 godinu' + }, + dual: '{{count}} godine', + other: '{{count}} godina' + }, + overXYears: { + one: { + standalone: 'preko 1 godinu', + withPrepositionAgo: 'preko 1 godinu', + withPrepositionIn: 'preko 1 godinu' + }, + dual: 'preko {{count}} godine', + other: 'preko {{count}} godina' + }, + almostXYears: { + one: { + standalone: 'gotovo 1 godinu', + withPrepositionAgo: 'gotovo 1 godinu', + withPrepositionIn: 'gotovo 1 godinu' + }, + dual: 'gotovo {{count}} godine', + other: 'gotovo {{count}} godina' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'za ' + result; + } else { + return 'prije ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/hr/_lib/formatLong/index.js new file mode 100644 index 000000000..78e697347 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d. MMMM y.', + long: 'd. MMMM y.', + medium: 'd. MMM y.', + short: 'dd. MM. y.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'u' {{time}}", + long: "{{date}} 'u' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/hr/_lib/formatRelative/index.js new file mode 100644 index 000000000..31ea20426 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/_lib/formatRelative/index.js @@ -0,0 +1,38 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'prošlu nedjelju u' p"; + case 3: + return "'prošlu srijedu u' p"; + case 6: + return "'prošlu subotu u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + yesterday: "'jučer u' p", + today: "'danas u' p", + tomorrow: "'sutra u' p", + nextWeek: function nextWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'iduću nedjelju u' p"; + case 3: + return "'iduću srijedu u' p"; + case 6: + return "'iduću subotu u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/_lib/localize/index.js b/node_modules/date-fns/esm/locale/hr/_lib/localize/index.js new file mode 100644 index 000000000..96ff14920 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/_lib/localize/index.js @@ -0,0 +1,126 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['pr.n.e.', 'AD'], + abbreviated: ['pr. Kr.', 'po. Kr.'], + wide: ['Prije Krista', 'Poslije Krista'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + wide: ['siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + wide: ['siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenog', 'prosinca'] +}; +var dayValues = { + narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + short: ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + abbreviated: ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + wide: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'poslije podne', + evening: 'navečer', + night: 'noću' + } +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'poslije podne', + evening: 'navečer', + night: 'noću' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/_lib/match/index.js b/node_modules/date-fns/esm/locale/hr/_lib/match/index.js new file mode 100644 index 000000000..e07aaba91 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pr\.n\.e\.|AD)/i, + abbreviated: /^(pr\.\s?Kr\.|po\.\s?Kr\.)/i, + wide: /^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|nova)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?kv\.?/i, + wide: /^[1234]\. kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i, + wide: /^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i +}; +var parseMonthPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i, /8/i, /9/i, /10/i, /11/i, /12/i], + abbreviated: [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i], + wide: [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i] +}; +var matchDayPatterns = { + narrow: /^[npusčc]/i, + short: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i, + abbreviated: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i, + wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^pono/i, + noon: /^pod/i, + morning: /jutro/i, + afternoon: /(poslije\s|po)+podne/i, + evening: /(navece|naveče)/i, + night: /(nocu|noću)/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/index.d.ts b/node_modules/date-fns/esm/locale/hr/index.d.ts new file mode 100644 index 000000000..025baa3b3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hr } from 'date-fns/locale' +export default hr diff --git a/node_modules/date-fns/esm/locale/hr/index.js b/node_modules/date-fns/esm/locale/hr/index.js new file mode 100644 index 000000000..5f761ec49 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Croatian locale. + * @language Croatian + * @iso-639-2 hrv + * @author Matija Marohnić [@silvenon]{@link https://github.com/silvenon} + * @author Manico [@manico]{@link https://github.com/manico} + * @author Ivan Jeržabek [@jerzabek]{@link https://github.com/jerzabek} + */ +var locale = { + code: 'hr', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hr/index.js.flow b/node_modules/date-fns/esm/locale/hr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/hr/package.json b/node_modules/date-fns/esm/locale/hr/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hr/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ht/_lib/formatDistance/index.js new file mode 100644 index 000000000..517a789af --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mwens pase yon segond', + other: 'mwens pase {{count}} segond' + }, + xSeconds: { + one: '1 segond', + other: '{{count}} segond' + }, + halfAMinute: '30 segond', + lessThanXMinutes: { + one: 'mwens pase yon minit', + other: 'mwens pase {{count}} minit' + }, + xMinutes: { + one: '1 minit', + other: '{{count}} minit' + }, + aboutXHours: { + one: 'anviwon inè', + other: 'anviwon {{count}} è' + }, + xHours: { + one: '1 lè', + other: '{{count}} lè' + }, + xDays: { + one: '1 jou', + other: '{{count}} jou' + }, + aboutXWeeks: { + one: 'anviwon 1 semèn', + other: 'anviwon {{count}} semèn' + }, + xWeeks: { + one: '1 semèn', + other: '{{count}} semèn' + }, + aboutXMonths: { + one: 'anviwon 1 mwa', + other: 'anviwon {{count}} mwa' + }, + xMonths: { + one: '1 mwa', + other: '{{count}} mwa' + }, + aboutXYears: { + one: 'anviwon 1 an', + other: 'anviwon {{count}} an' + }, + xYears: { + one: '1 an', + other: '{{count}} an' + }, + overXYears: { + one: 'plis pase 1 an', + other: 'plis pase {{count}} an' + }, + almostXYears: { + one: 'prèske 1 an', + other: 'prèske {{count}} an' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'nan ' + result; + } else { + return 'sa fè ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ht/_lib/formatLong/index.js new file mode 100644 index 000000000..a32036628 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'nan lè' {{time}}", + long: "{{date}} 'nan lè' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ht/_lib/formatRelative/index.js new file mode 100644 index 000000000..32dc431e4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'pase nan lè' p", + yesterday: "'yè nan lè' p", + today: "'jodi a' p", + tomorrow: "'demen nan lè' p'", + nextWeek: "eeee 'pwochen nan lè' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ht/_lib/localize/index.js new file mode 100644 index 000000000..7dab06547 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/_lib/localize/index.js @@ -0,0 +1,87 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['av. J.-K', 'ap. J.-K'], + abbreviated: ['av. J.-K', 'ap. J.-K'], + wide: ['anvan Jezi Kris', 'apre Jezi Kris'] +}; +var quarterValues = { + narrow: ['T1', 'T2', 'T3', 'T4'], + abbreviated: ['1ye trim.', '2yèm trim.', '3yèm trim.', '4yèm trim.'], + wide: ['1ye trimès', '2yèm trimès', '3yèm trimès', '4yèm trimès'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'fevr.', 'mas', 'avr.', 'me', 'jen', 'jiyè', 'out', 'sept.', 'okt.', 'nov.', 'des.'], + wide: ['janvye', 'fevrye', 'mas', 'avril', 'me', 'jen', 'jiyè', 'out', 'septanm', 'oktòb', 'novanm', 'desanm'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + short: ['di', 'le', 'ma', 'mè', 'je', 'va', 'sa'], + abbreviated: ['dim.', 'len.', 'mad.', 'mèk.', 'jed.', 'van.', 'sam.'], + wide: ['dimanch', 'lendi', 'madi', 'mèkredi', 'jedi', 'vandredi', 'samdi'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'minwit', + noon: 'midi', + morning: 'mat.', + afternoon: 'ap.m.', + evening: 'swa', + night: 'mat.' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'minwit', + noon: 'midi', + morning: 'maten', + afternoon: 'aprèmidi', + evening: 'swa', + night: 'maten' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'minwit', + noon: 'midi', + morning: 'nan maten', + afternoon: 'nan aprèmidi', + evening: 'nan aswè', + night: 'nan maten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + if (number === 0) return String(number); + var suffix = number === 1 ? 'ye' : 'yèm'; + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/_lib/match/index.js b/node_modules/date-fns/esm/locale/ht/_lib/match/index.js new file mode 100644 index 000000000..a9403f59e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(ye|yèm)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(av\.J\.K|ap\.J\.K|ap\.J\.-K)/i, + abbreviated: /^(av\.J\.-K|av\.J-K|apr\.J\.-K|apr\.J-K|ap\.J-K)/i, + wide: /^(avan Jezi Kris|apre Jezi Kris)/i +}; +var parseEraPatterns = { + any: [/^av/i, /^ap/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^t[1234]/i, + wide: /^[1234](ye|yèm)? trimès/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(janv|fevr|mas|avr|me|jen|jiyè|out|sept|okt|nov|des)\.?/i, + wide: /^(janvye|fevrye|mas|avril|me|jen|jiyè|out|septanm|oktòb|novanm|desanm)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^o/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^ma/i, /^av/i, /^me/i, /^je/i, /^ji/i, /^ou/i, /^s/i, /^ok/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[lmjvsd]/i, + short: /^(di|le|ma|me|je|va|sa)/i, + abbreviated: /^(dim|len|mad|mèk|jed|van|sam)\.?/i, + wide: /^(dimanch|lendi|madi|mèkredi|jedi|vandredi|samdi)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^di/i, /^le/i, /^ma/i, /^mè/i, /^je/i, /^va/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|minwit|midi|mat\.?|ap\.?m\.?|swa)/i, + any: /^([ap]\.?\s?m\.?|nan maten|nan aprèmidi|nan aswè)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^min/i, + noon: /^mid/i, + morning: /mat/i, + afternoon: /ap/i, + evening: /sw/i, + night: /nwit/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/index.d.ts b/node_modules/date-fns/esm/locale/ht/index.d.ts new file mode 100644 index 000000000..7362d752f --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ht } from 'date-fns/locale' +export default ht diff --git a/node_modules/date-fns/esm/locale/ht/index.js b/node_modules/date-fns/esm/locale/ht/index.js new file mode 100644 index 000000000..8f4548fca --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Haitian Creole locale. + * @language Haitian Creole + * @iso-639-2 hat + * @author Rubens Mariuzzo [@rmariuzzo]{@link https://github.com/rmariuzzo} + * @author Watson Marcelain [@watsongm24]{@link https://github.com/watsongm24} + */ +var locale = { + code: 'ht', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ht/index.js.flow b/node_modules/date-fns/esm/locale/ht/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ht/package.json b/node_modules/date-fns/esm/locale/ht/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ht/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/hu/_lib/formatDistance/index.js new file mode 100644 index 000000000..78f36ca10 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/_lib/formatDistance/index.js @@ -0,0 +1,73 @@ +var translations = { + about: 'körülbelül', + over: 'több mint', + almost: 'majdnem', + lessthan: 'kevesebb mint' +}; +var withoutSuffixes = { + xseconds: ' másodperc', + halfaminute: 'fél perc', + xminutes: ' perc', + xhours: ' óra', + xdays: ' nap', + xweeks: ' hét', + xmonths: ' hónap', + xyears: ' év' +}; +var withSuffixes = { + xseconds: { + '-1': ' másodperccel ezelőtt', + '1': ' másodperc múlva', + '0': ' másodperce' + }, + halfaminute: { + '-1': 'fél perccel ezelőtt', + '1': 'fél perc múlva', + '0': 'fél perce' + }, + xminutes: { + '-1': ' perccel ezelőtt', + '1': ' perc múlva', + '0': ' perce' + }, + xhours: { + '-1': ' órával ezelőtt', + '1': ' óra múlva', + '0': ' órája' + }, + xdays: { + '-1': ' nappal ezelőtt', + '1': ' nap múlva', + '0': ' napja' + }, + xweeks: { + '-1': ' héttel ezelőtt', + '1': ' hét múlva', + '0': ' hete' + }, + xmonths: { + '-1': ' hónappal ezelőtt', + '1': ' hónap múlva', + '0': ' hónapja' + }, + xyears: { + '-1': ' évvel ezelőtt', + '1': ' év múlva', + '0': ' éve' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var adverb = token.match(/about|over|almost|lessthan/i); + var unit = adverb ? token.replace(adverb[0], '') : token; + var addSuffix = (options === null || options === void 0 ? void 0 : options.addSuffix) === true; + var key = unit.toLowerCase(); + var comparison = (options === null || options === void 0 ? void 0 : options.comparison) || 0; + var translated = addSuffix ? withSuffixes[key][comparison] : withoutSuffixes[key]; + var result = key === 'halfaminute' ? translated : count + translated; + if (adverb) { + var adv = adverb[0].toLowerCase(); + result = translations[adv] + ' ' + result; + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/hu/_lib/formatLong/index.js new file mode 100644 index 000000000..32de3f3b8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'y. MMMM d., EEEE', + long: 'y. MMMM d.', + medium: 'y. MMM d.', + short: 'y. MM. dd.' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/hu/_lib/formatRelative/index.js new file mode 100644 index 000000000..02c6d244d --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/_lib/formatRelative/index.js @@ -0,0 +1,24 @@ +var accusativeWeekdays = ['vasárnap', 'hétfőn', 'kedden', 'szerdán', 'csütörtökön', 'pénteken', 'szombaton']; +function week(isFuture) { + return function (date) { + var weekday = accusativeWeekdays[date.getUTCDay()]; + var prefix = isFuture ? '' : "'múlt' "; + return "".concat(prefix, "'").concat(weekday, "' p'-kor'"); + }; +} +var formatRelativeLocale = { + lastWeek: week(false), + yesterday: "'tegnap' p'-kor'", + today: "'ma' p'-kor'", + tomorrow: "'holnap' p'-kor'", + nextWeek: week(true), + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/_lib/localize/index.js b/node_modules/date-fns/esm/locale/hu/_lib/localize/index.js new file mode 100644 index 000000000..9b04942fb --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/_lib/localize/index.js @@ -0,0 +1,92 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ie.', 'isz.'], + abbreviated: ['i. e.', 'i. sz.'], + wide: ['Krisztus előtt', 'időszámításunk szerint'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. n.év', '2. n.év', '3. n.év', '4. n.év'], + wide: ['1. negyedév', '2. negyedév', '3. negyedév', '4. negyedév'] +}; +var formattingQuarterValues = { + narrow: ['I.', 'II.', 'III.', 'IV.'], + abbreviated: ['I. n.év', 'II. n.év', 'III. n.év', 'IV. n.év'], + wide: ['I. negyedév', 'II. negyedév', 'III. negyedév', 'IV. negyedév'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], + abbreviated: ['jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.', 'dec.'], + wide: ['január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december'] +}; +var dayValues = { + narrow: ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], + short: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + abbreviated: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + wide: ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'] +}; +var dayPeriodValues = { + narrow: { + am: 'de.', + pm: 'du.', + midnight: 'éjfél', + noon: 'dél', + morning: 'reggel', + afternoon: 'du.', + evening: 'este', + night: 'éjjel' + }, + abbreviated: { + am: 'de.', + pm: 'du.', + midnight: 'éjfél', + noon: 'dél', + morning: 'reggel', + afternoon: 'du.', + evening: 'este', + night: 'éjjel' + }, + wide: { + am: 'de.', + pm: 'du.', + midnight: 'éjfél', + noon: 'dél', + morning: 'reggel', + afternoon: 'délután', + evening: 'este', + night: 'éjjel' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + }, + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide' + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/_lib/match/index.js b/node_modules/date-fns/esm/locale/hu/_lib/match/index.js new file mode 100644 index 000000000..ff6f337d7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ie\.|isz\.)/i, + abbreviated: /^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i, + wide: /^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i +}; +var parseEraPatterns = { + narrow: [/ie/i, /isz/i], + abbreviated: [/^(i\.?\s?e\.?|b\s?ce)/i, /^(i\.?\s?sz\.?|c\s?e)/i], + any: [/előtt/i, /(szerint|i. sz.)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]\.?/i, + abbreviated: /^[1234]?\.?\s?n\.év/i, + wide: /^([1234]|I|II|III|IV)?\.?\s?negyedév/i +}; +var parseQuarterPatterns = { + any: [/1|I$/i, /2|II$/i, /3|III/i, /4|IV/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmaásond]|sz/i, + abbreviated: /^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i, + wide: /^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a|á/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s|sz/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^már/i, /^áp/i, /^máj/i, /^jún/i, /^júl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^([vhkpc]|sz|cs|sz)/i, + short: /^([vhkp]|sze|cs|szo)/i, + abbreviated: /^([vhkp]|sze|cs|szo)/i, + wide: /^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i +}; +var parseDayPatterns = { + narrow: [/^v/i, /^h/i, /^k/i, /^sz/i, /^c/i, /^p/i, /^sz/i], + any: [/^v/i, /^h/i, /^k/i, /^sze/i, /^c/i, /^p/i, /^szo/i] +}; +var matchDayPeriodPatterns = { + any: /^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^de\.?/i, + pm: /^du\.?/i, + midnight: /^éjf/i, + noon: /^dé/i, + morning: /reg/i, + afternoon: /^délu\.?/i, + evening: /es/i, + night: /éjj/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/index.d.ts b/node_modules/date-fns/esm/locale/hu/index.d.ts new file mode 100644 index 000000000..979baa6e3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hu } from 'date-fns/locale' +export default hu diff --git a/node_modules/date-fns/esm/locale/hu/index.js b/node_modules/date-fns/esm/locale/hu/index.js new file mode 100644 index 000000000..efbfc37a6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Hungarian locale. + * @language Hungarian + * @iso-639-2 hun + * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak} + * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll} + * @author Zoltan Szepesi [@twodcube]{@link https://github.com/twodcube} + */ +var locale = { + code: 'hu', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hu/index.js.flow b/node_modules/date-fns/esm/locale/hu/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/hu/package.json b/node_modules/date-fns/esm/locale/hu/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hu/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/hy/_lib/formatDistance/index.js new file mode 100644 index 000000000..9238bc111 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'ավելի քիչ քան 1 վայրկյան', + other: 'ավելի քիչ քան {{count}} վայրկյան' + }, + xSeconds: { + one: '1 վայրկյան', + other: '{{count}} վայրկյան' + }, + halfAMinute: 'կես րոպե', + lessThanXMinutes: { + one: 'ավելի քիչ քան 1 րոպե', + other: 'ավելի քիչ քան {{count}} րոպե' + }, + xMinutes: { + one: '1 րոպե', + other: '{{count}} րոպե' + }, + aboutXHours: { + one: 'մոտ 1 ժամ', + other: 'մոտ {{count}} ժամ' + }, + xHours: { + one: '1 ժամ', + other: '{{count}} ժամ' + }, + xDays: { + one: '1 օր', + other: '{{count}} օր' + }, + aboutXWeeks: { + one: 'մոտ 1 շաբաթ', + other: 'մոտ {{count}} շաբաթ' + }, + xWeeks: { + one: '1 շաբաթ', + other: '{{count}} շաբաթ' + }, + aboutXMonths: { + one: 'մոտ 1 ամիս', + other: 'մոտ {{count}} ամիս' + }, + xMonths: { + one: '1 ամիս', + other: '{{count}} ամիս' + }, + aboutXYears: { + one: 'մոտ 1 տարի', + other: 'մոտ {{count}} տարի' + }, + xYears: { + one: '1 տարի', + other: '{{count}} տարի' + }, + overXYears: { + one: 'ավելի քան 1 տարի', + other: 'ավելի քան {{count}} տարի' + }, + almostXYears: { + one: 'համարյա 1 տարի', + other: 'համարյա {{count}} տարի' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' հետո'; + } else { + return result + ' առաջ'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/hy/_lib/formatLong/index.js new file mode 100644 index 000000000..f043eef4d --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'd MMMM, y, EEEE', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'ժ․'{{time}}", + long: "{{date}} 'ժ․'{{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/hy/_lib/formatRelative/index.js new file mode 100644 index 000000000..12b07979c --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'նախորդ' eeee p'֊ին'", + yesterday: "'երեկ' p'֊ին'", + today: "'այսօր' p'֊ին'", + tomorrow: "'վաղը' p'֊ին'", + nextWeek: "'հաջորդ' eeee p'֊ին'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/_lib/localize/index.js b/node_modules/date-fns/esm/locale/hy/_lib/localize/index.js new file mode 100644 index 000000000..0868a618d --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/_lib/localize/index.js @@ -0,0 +1,133 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['Ք', 'Մ'], + abbreviated: ['ՔԱ', 'ՄԹ'], + wide: ['Քրիստոսից առաջ', 'Մեր թվարկության'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Ք1', 'Ք2', 'Ք3', 'Ք4'], + wide: ['1֊ին քառորդ', '2֊րդ քառորդ', '3֊րդ քառորդ', '4֊րդ քառորդ'] +}; +var monthValues = { + narrow: ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + abbreviated: ['հուն', 'փետ', 'մար', 'ապր', 'մայ', 'հուն', 'հուլ', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], + wide: ['հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր'] +}; +var dayValues = { + narrow: ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], + short: ['կր', 'եր', 'եք', 'չք', 'հգ', 'ուր', 'շբ'], + abbreviated: ['կիր', 'երկ', 'երք', 'չոր', 'հնգ', 'ուրբ', 'շաբ'], + wide: ['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'կեսգշ', + noon: 'կեսօր', + morning: 'առավոտ', + afternoon: 'ցերեկ', + evening: 'երեկո', + night: 'գիշեր' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'կեսգիշեր', + noon: 'կեսօր', + morning: 'առավոտ', + afternoon: 'ցերեկ', + evening: 'երեկո', + night: 'գիշեր' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'կեսգիշեր', + noon: 'կեսօր', + morning: 'առավոտ', + afternoon: 'ցերեկ', + evening: 'երեկո', + night: 'գիշեր' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'կեսգշ', + noon: 'կեսօր', + morning: 'առավոտը', + afternoon: 'ցերեկը', + evening: 'երեկոյան', + night: 'գիշերը' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'կեսգիշերին', + noon: 'կեսօրին', + morning: 'առավոտը', + afternoon: 'ցերեկը', + evening: 'երեկոյան', + night: 'գիշերը' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'կեսգիշերին', + noon: 'կեսօրին', + morning: 'առավոտը', + afternoon: 'ցերեկը', + evening: 'երեկոյան', + night: 'գիշերը' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + + // If ordinal numbers depend on context, for example, + // if they are different for different grammatical genders, + // use `options.unit`. + // + // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear', + // 'day', 'hour', 'minute', 'second'. + + var rem100 = number % 100; + if (rem100 < 10) { + if (rem100 % 10 === 1) { + return number + '֊ին'; + } + } + return number + '֊րդ'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/_lib/match/index.js b/node_modules/date-fns/esm/locale/hy/_lib/match/index.js new file mode 100644 index 000000000..53fef9446 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)((-|֊)?(ին|րդ))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(Ք|Մ)/i, + abbreviated: /^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i, + wide: /^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i +}; +var parseEraPatterns = { + any: [/^ք/i, /^մ/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ք[1234]/i, + wide: /^[1234]((-|֊)?(ին|րդ)) քառորդ/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[հփմաօսնդ]/i, + abbreviated: /^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i, + wide: /^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i +}; +var parseMonthPatterns = { + narrow: [/^հ/i, /^փ/i, /^մ/i, /^ա/i, /^մ/i, /^հ/i, /^հ/i, /^օ/i, /^ս/i, /^հ/i, /^ն/i, /^դ/i], + any: [/^հու/i, /^փ/i, /^մար/i, /^ա/i, /^մայ/i, /^հուն/i, /^հուլ/i, /^օ/i, /^ս/i, /^հոկ/i, /^ն/i, /^դ/i] +}; +var matchDayPatterns = { + narrow: /^[եչհոշկ]/i, + short: /^(կր|եր|եք|չք|հգ|ուր|շբ)/i, + abbreviated: /^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i, + wide: /^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i +}; +var parseDayPatterns = { + narrow: [/^կ/i, /^ե/i, /^ե/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i], + short: [/^կ/i, /^եր/i, /^եք/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i], + abbreviated: [/^կ/i, /^երկ/i, /^երք/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i], + wide: [/^կ/i, /^երկ/i, /^երե/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i, + any: /^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /կեսգիշեր/i, + noon: /կեսօր/i, + morning: /առավոտ/i, + afternoon: /ցերեկ/i, + evening: /երեկո/i, + night: /գիշեր/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/index.d.ts b/node_modules/date-fns/esm/locale/hy/index.d.ts new file mode 100644 index 000000000..a79f29e1a --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hy } from 'date-fns/locale' +export default hy diff --git a/node_modules/date-fns/esm/locale/hy/index.js b/node_modules/date-fns/esm/locale/hy/index.js new file mode 100644 index 000000000..f5dd13938 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Armenian locale + * @language Armenian + * @iso-639-2 arm + * @author Alex Igityan [@alexigityan]{@link https://github.com/alexigityan} + */ +var locale = { + code: 'hy', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/hy/index.js.flow b/node_modules/date-fns/esm/locale/hy/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/hy/package.json b/node_modules/date-fns/esm/locale/hy/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/hy/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/id/_lib/formatDistance/index.js new file mode 100644 index 000000000..19c129a2c --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'kurang dari 1 detik', + other: 'kurang dari {{count}} detik' + }, + xSeconds: { + one: '1 detik', + other: '{{count}} detik' + }, + halfAMinute: 'setengah menit', + lessThanXMinutes: { + one: 'kurang dari 1 menit', + other: 'kurang dari {{count}} menit' + }, + xMinutes: { + one: '1 menit', + other: '{{count}} menit' + }, + aboutXHours: { + one: 'sekitar 1 jam', + other: 'sekitar {{count}} jam' + }, + xHours: { + one: '1 jam', + other: '{{count}} jam' + }, + xDays: { + one: '1 hari', + other: '{{count}} hari' + }, + aboutXWeeks: { + one: 'sekitar 1 minggu', + other: 'sekitar {{count}} minggu' + }, + xWeeks: { + one: '1 minggu', + other: '{{count}} minggu' + }, + aboutXMonths: { + one: 'sekitar 1 bulan', + other: 'sekitar {{count}} bulan' + }, + xMonths: { + one: '1 bulan', + other: '{{count}} bulan' + }, + aboutXYears: { + one: 'sekitar 1 tahun', + other: 'sekitar {{count}} tahun' + }, + xYears: { + one: '1 tahun', + other: '{{count}} tahun' + }, + overXYears: { + one: 'lebih dari 1 tahun', + other: 'lebih dari {{count}} tahun' + }, + almostXYears: { + one: 'hampir 1 tahun', + other: 'hampir {{count}} tahun' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'dalam waktu ' + result; + } else { + return result + ' yang lalu'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/id/_lib/formatLong/index.js new file mode 100644 index 000000000..6cab57091 --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'd/M/yyyy' +}; +var timeFormats = { + full: 'HH.mm.ss', + long: 'HH.mm.ss', + medium: 'HH.mm', + short: 'HH.mm' +}; +var dateTimeFormats = { + full: "{{date}} 'pukul' {{time}}", + long: "{{date}} 'pukul' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/id/_lib/formatRelative/index.js new file mode 100644 index 000000000..d150b130b --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'lalu pukul' p", + yesterday: "'Kemarin pukul' p", + today: "'Hari ini pukul' p", + tomorrow: "'Besok pukul' p", + nextWeek: "eeee 'pukul' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/_lib/localize/index.js b/node_modules/date-fns/esm/locale/id/_lib/localize/index.js new file mode 100644 index 000000000..f5ee68f5a --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/_lib/localize/index.js @@ -0,0 +1,128 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // All data for localization are taken from this page +// https://www.unicode.org/cldr/charts/32/summary/id.html +var eraValues = { + narrow: ['SM', 'M'], + abbreviated: ['SM', 'M'], + wide: ['Sebelum Masehi', 'Masehi'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['Kuartal ke-1', 'Kuartal ke-2', 'Kuartal ke-3', 'Kuartal ke-4'] +}; + +// Note: in Indonesian, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'], + wide: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'] +}; +var dayValues = { + narrow: ['M', 'S', 'S', 'R', 'K', 'J', 'S'], + short: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + abbreviated: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + wide: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + + // Can't use "pertama", "kedua" because can't be parsed + + return 'ke-' + number; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/_lib/match/index.js b/node_modules/date-fns/esm/locale/id/_lib/match/index.js new file mode 100644 index 000000000..9e8992a71 --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^ke-(\d+)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(sm|m)/i, + abbreviated: /^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i, + wide: /^(sebelum masehi|sebelum era umum|masehi|era umum)/i +}; +var parseEraPatterns = { + any: [/^s/i, /^(m|e)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K-?\s[1234]/i, + wide: /^Kuartal ke-?\s?[1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i, + wide: /^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^ma/i, /^ap/i, /^me/i, /^jun/i, /^jul/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[srkjm]/i, + short: /^(min|sen|sel|rab|kam|jum|sab)/i, + abbreviated: /^(min|sen|sel|rab|kam|jum|sab)/i, + wide: /^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i +}; +var parseDayPatterns = { + narrow: [/^m/i, /^s/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i], + any: [/^m/i, /^sen/i, /^sel/i, /^r/i, /^k/i, /^j/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i, + any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^pm/i, + midnight: /^tengah m/i, + noon: /^tengah h/i, + morning: /pagi/i, + afternoon: /siang/i, + evening: /sore/i, + night: /malam/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/index.d.ts b/node_modules/date-fns/esm/locale/id/index.d.ts new file mode 100644 index 000000000..2bf83f4f6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { id } from 'date-fns/locale' +export default id diff --git a/node_modules/date-fns/esm/locale/id/index.js b/node_modules/date-fns/esm/locale/id/index.js new file mode 100644 index 000000000..f1fe19da6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/index.js @@ -0,0 +1,29 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Indonesian locale. + * @language Indonesian + * @iso-639-2 ind + * @author Rahmat Budiharso [@rbudiharso]{@link https://github.com/rbudiharso} + * @author Benget Nata [@bentinata]{@link https://github.com/bentinata} + * @author Budi Irawan [@deerawan]{@link https://github.com/deerawan} + * @author Try Ajitiono [@imballinst]{@link https://github.com/imballinst} + */ +var locale = { + code: 'id', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/id/index.js.flow b/node_modules/date-fns/esm/locale/id/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/id/package.json b/node_modules/date-fns/esm/locale/id/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/id/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/index.js b/node_modules/date-fns/esm/locale/index.js new file mode 100644 index 000000000..449c97ee1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/index.js @@ -0,0 +1,94 @@ +// This file is generated automatically by `scripts/build/indices.ts`. Please, don't change it. +export { default as af } from "./af/index.js"; +export { default as ar } from "./ar/index.js"; +export { default as arDZ } from "./ar-DZ/index.js"; +export { default as arEG } from "./ar-EG/index.js"; +export { default as arMA } from "./ar-MA/index.js"; +export { default as arSA } from "./ar-SA/index.js"; +export { default as arTN } from "./ar-TN/index.js"; +export { default as az } from "./az/index.js"; +export { default as be } from "./be/index.js"; +export { default as beTarask } from "./be-tarask/index.js"; +export { default as bg } from "./bg/index.js"; +export { default as bn } from "./bn/index.js"; +export { default as bs } from "./bs/index.js"; +export { default as ca } from "./ca/index.js"; +export { default as cs } from "./cs/index.js"; +export { default as cy } from "./cy/index.js"; +export { default as da } from "./da/index.js"; +export { default as de } from "./de/index.js"; +export { default as deAT } from "./de-AT/index.js"; +export { default as el } from "./el/index.js"; +export { default as enAU } from "./en-AU/index.js"; +export { default as enCA } from "./en-CA/index.js"; +export { default as enGB } from "./en-GB/index.js"; +export { default as enIE } from "./en-IE/index.js"; +export { default as enIN } from "./en-IN/index.js"; +export { default as enNZ } from "./en-NZ/index.js"; +export { default as enUS } from "./en-US/index.js"; +export { default as enZA } from "./en-ZA/index.js"; +export { default as eo } from "./eo/index.js"; +export { default as es } from "./es/index.js"; +export { default as et } from "./et/index.js"; +export { default as eu } from "./eu/index.js"; +export { default as faIR } from "./fa-IR/index.js"; +export { default as fi } from "./fi/index.js"; +export { default as fr } from "./fr/index.js"; +export { default as frCA } from "./fr-CA/index.js"; +export { default as frCH } from "./fr-CH/index.js"; +export { default as fy } from "./fy/index.js"; +export { default as gd } from "./gd/index.js"; +export { default as gl } from "./gl/index.js"; +export { default as gu } from "./gu/index.js"; +export { default as he } from "./he/index.js"; +export { default as hi } from "./hi/index.js"; +export { default as hr } from "./hr/index.js"; +export { default as ht } from "./ht/index.js"; +export { default as hu } from "./hu/index.js"; +export { default as hy } from "./hy/index.js"; +export { default as id } from "./id/index.js"; +export { default as is } from "./is/index.js"; +export { default as it } from "./it/index.js"; +export { default as itCH } from "./it-CH/index.js"; +export { default as ja } from "./ja/index.js"; +export { default as jaHira } from "./ja-Hira/index.js"; +export { default as ka } from "./ka/index.js"; +export { default as kk } from "./kk/index.js"; +export { default as km } from "./km/index.js"; +export { default as kn } from "./kn/index.js"; +export { default as ko } from "./ko/index.js"; +export { default as lb } from "./lb/index.js"; +export { default as lt } from "./lt/index.js"; +export { default as lv } from "./lv/index.js"; +export { default as mk } from "./mk/index.js"; +export { default as mn } from "./mn/index.js"; +export { default as ms } from "./ms/index.js"; +export { default as mt } from "./mt/index.js"; +export { default as nb } from "./nb/index.js"; +export { default as nl } from "./nl/index.js"; +export { default as nlBE } from "./nl-BE/index.js"; +export { default as nn } from "./nn/index.js"; +export { default as oc } from "./oc/index.js"; +export { default as pl } from "./pl/index.js"; +export { default as pt } from "./pt/index.js"; +export { default as ptBR } from "./pt-BR/index.js"; +export { default as ro } from "./ro/index.js"; +export { default as ru } from "./ru/index.js"; +export { default as sk } from "./sk/index.js"; +export { default as sl } from "./sl/index.js"; +export { default as sq } from "./sq/index.js"; +export { default as sr } from "./sr/index.js"; +export { default as srLatn } from "./sr-Latn/index.js"; +export { default as sv } from "./sv/index.js"; +export { default as ta } from "./ta/index.js"; +export { default as te } from "./te/index.js"; +export { default as th } from "./th/index.js"; +export { default as tr } from "./tr/index.js"; +export { default as ug } from "./ug/index.js"; +export { default as uk } from "./uk/index.js"; +export { default as uz } from "./uz/index.js"; +export { default as uzCyrl } from "./uz-Cyrl/index.js"; +export { default as vi } from "./vi/index.js"; +export { default as zhCN } from "./zh-CN/index.js"; +export { default as zhHK } from "./zh-HK/index.js"; +export { default as zhTW } from "./zh-TW/index.js"; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/index.js.flow b/node_modules/date-fns/esm/locale/index.js.flow new file mode 100644 index 000000000..ddcdfe793 --- /dev/null +++ b/node_modules/date-fns/esm/locale/index.js.flow @@ -0,0 +1,129 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: { + af: Locale, + ar: Locale, + arDZ: Locale, + arEG: Locale, + arMA: Locale, + arSA: Locale, + arTN: Locale, + az: Locale, + be: Locale, + beTarask: Locale, + bg: Locale, + bn: Locale, + bs: Locale, + ca: Locale, + cs: Locale, + cy: Locale, + da: Locale, + de: Locale, + deAT: Locale, + el: Locale, + enAU: Locale, + enCA: Locale, + enGB: Locale, + enIE: Locale, + enIN: Locale, + enNZ: Locale, + enUS: Locale, + enZA: Locale, + eo: Locale, + es: Locale, + et: Locale, + eu: Locale, + faIR: Locale, + fi: Locale, + fr: Locale, + frCA: Locale, + frCH: Locale, + fy: Locale, + gd: Locale, + gl: Locale, + gu: Locale, + he: Locale, + hi: Locale, + hr: Locale, + ht: Locale, + hu: Locale, + hy: Locale, + id: Locale, + is: Locale, + it: Locale, + itCH: Locale, + ja: Locale, + jaHira: Locale, + ka: Locale, + kk: Locale, + km: Locale, + kn: Locale, + ko: Locale, + lb: Locale, + lt: Locale, + lv: Locale, + mk: Locale, + mn: Locale, + ms: Locale, + mt: Locale, + nb: Locale, + nl: Locale, + nlBE: Locale, + nn: Locale, + oc: Locale, + pl: Locale, + pt: Locale, + ptBR: Locale, + ro: Locale, + ru: Locale, + sk: Locale, + sl: Locale, + sq: Locale, + sr: Locale, + srLatn: Locale, + sv: Locale, + ta: Locale, + te: Locale, + th: Locale, + tr: Locale, + ug: Locale, + uk: Locale, + uz: Locale, + uzCyrl: Locale, + vi: Locale, + zhCN: Locale, + zhHK: Locale, + zhTW: Locale, +} diff --git a/node_modules/date-fns/esm/locale/is/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/is/_lib/formatDistance/index.js new file mode 100644 index 000000000..98112595d --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minna en 1 sekúnda', + other: 'minna en {{count}} sekúndur' + }, + xSeconds: { + one: '1 sekúnda', + other: '{{count}} sekúndur' + }, + halfAMinute: 'hálf mínúta', + lessThanXMinutes: { + one: 'minna en 1 mínúta', + other: 'minna en {{count}} mínútur' + }, + xMinutes: { + one: '1 mínúta', + other: '{{count}} mínútur' + }, + aboutXHours: { + one: 'u.þ.b. 1 klukkustund', + other: 'u.þ.b. {{count}} klukkustundir' + }, + xHours: { + one: '1 klukkustund', + other: '{{count}} klukkustundir' + }, + xDays: { + one: '1 dagur', + other: '{{count}} dagar' + }, + aboutXWeeks: { + one: 'um viku', + other: 'um {{count}} vikur' + }, + xWeeks: { + one: '1 viku', + other: '{{count}} vikur' + }, + aboutXMonths: { + one: 'u.þ.b. 1 mánuður', + other: 'u.þ.b. {{count}} mánuðir' + }, + xMonths: { + one: '1 mánuður', + other: '{{count}} mánuðir' + }, + aboutXYears: { + one: 'u.þ.b. 1 ár', + other: 'u.þ.b. {{count}} ár' + }, + xYears: { + one: '1 ár', + other: '{{count}} ár' + }, + overXYears: { + one: 'meira en 1 ár', + other: 'meira en {{count}} ár' + }, + almostXYears: { + one: 'næstum 1 ár', + other: 'næstum {{count}} ár' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'í ' + result; + } else { + return result + ' síðan'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/is/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/is/_lib/formatLong/index.js new file mode 100644 index 000000000..ba979719c --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, do MMMM y', + long: 'do MMMM y', + medium: 'do MMM y', + short: 'd.MM.y' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/is/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/is/_lib/formatRelative/index.js new file mode 100644 index 000000000..6e5300e43 --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'síðasta' dddd 'kl.' p", + yesterday: "'í gær kl.' p", + today: "'í dag kl.' p", + tomorrow: "'á morgun kl.' p", + nextWeek: "dddd 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/is/_lib/localize/index.js b/node_modules/date-fns/esm/locale/is/_lib/localize/index.js new file mode 100644 index 000000000..2d3be97a7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['fyrir Krist', 'eftir Krist'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1F', '2F', '3F', '4F'], + wide: ['1. fjórðungur', '2. fjórðungur', '3. fjórðungur', '4. fjórðungur'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'Ó', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'sept.', 'okt.', 'nóv.', 'des.'], + wide: ['janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', 'nóvember', 'desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], + short: ['Su', 'Má', 'Þr', 'Mi', 'Fi', 'Fö', 'La'], + abbreviated: ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], + wide: ['sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', 'laugardagur'] +}; +var dayPeriodValues = { + narrow: { + am: 'f', + pm: 'e', + midnight: 'miðnætti', + noon: 'hádegi', + morning: 'morgunn', + afternoon: 'síðdegi', + evening: 'kvöld', + night: 'nótt' + }, + abbreviated: { + am: 'f.h.', + pm: 'e.h.', + midnight: 'miðnætti', + noon: 'hádegi', + morning: 'morgunn', + afternoon: 'síðdegi', + evening: 'kvöld', + night: 'nótt' + }, + wide: { + am: 'fyrir hádegi', + pm: 'eftir hádegi', + midnight: 'miðnætti', + noon: 'hádegi', + morning: 'morgunn', + afternoon: 'síðdegi', + evening: 'kvöld', + night: 'nótt' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'f', + pm: 'e', + midnight: 'á miðnætti', + noon: 'á hádegi', + morning: 'að morgni', + afternoon: 'síðdegis', + evening: 'um kvöld', + night: 'um nótt' + }, + abbreviated: { + am: 'f.h.', + pm: 'e.h.', + midnight: 'á miðnætti', + noon: 'á hádegi', + morning: 'að morgni', + afternoon: 'síðdegis', + evening: 'um kvöld', + night: 'um nótt' + }, + wide: { + am: 'fyrir hádegi', + pm: 'eftir hádegi', + midnight: 'á miðnætti', + noon: 'á hádegi', + morning: 'að morgni', + afternoon: 'síðdegis', + evening: 'um kvöld', + night: 'um nótt' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/is/_lib/match/index.js b/node_modules/date-fns/esm/locale/is/_lib/match/index.js new file mode 100644 index 000000000..6f7589cfb --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+(\.)?/i; +var matchEraPatterns = { + narrow: /^(f\.Kr\.|e\.Kr\.)/i, + abbreviated: /^(f\.Kr\.|e\.Kr\.)/i, + wide: /^(fyrir Krist|eftir Krist)/i +}; +var parseEraPatterns = { + any: [/^(f\.Kr\.)/i, /^(e\.Kr\.)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]\.?/i, + abbreviated: /^q[1234]\.?/i, + wide: /^[1234]\.? fjórðungur/i +}; +var parseQuarterPatterns = { + any: [/1\.?/i, /2\.?/i, /3\.?/i, /4\.?/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmásónd]/i, + abbreviated: /^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i, + wide: /^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^á/i, /^s/i, /^ó/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maí/i, /^jún/i, /^júl/i, /^áu/i, /^s/i, /^ó/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(su|má|þr|mi|fi|fö|la)/i, + abbreviated: /^(sun|mán|þri|mið|fim|fös|lau)\.?/i, + wide: /^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^þ/i, /^m/i, /^f/i, /^f/i, /^l/i], + any: [/^su/i, /^má/i, /^þr/i, /^mi/i, /^fi/i, /^fö/i, /^la/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i, + any: /^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^f/i, + pm: /^e/i, + midnight: /^mi/i, + noon: /^há/i, + morning: /morgunn/i, + afternoon: /síðdegi/i, + evening: /kvöld/i, + night: /nótt/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/is/index.d.ts b/node_modules/date-fns/esm/locale/is/index.d.ts new file mode 100644 index 000000000..0d12119bc --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { is } from 'date-fns/locale' +export default is diff --git a/node_modules/date-fns/esm/locale/is/index.js b/node_modules/date-fns/esm/locale/is/index.js new file mode 100644 index 000000000..8c9747703 --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Icelandic locale. + * @language Icelandic + * @iso-639-2 isl + * @author Derek Blank [@derekblank]{@link https://github.com/derekblank} + * @author Arnór Ýmir [@lamayg]{@link https://github.com/lamayg} + */ +var locale = { + code: 'is', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/is/index.js.flow b/node_modules/date-fns/esm/locale/is/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/is/package.json b/node_modules/date-fns/esm/locale/is/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/is/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js new file mode 100644 index 000000000..4a33dbc44 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it-CH/index.d.ts b/node_modules/date-fns/esm/locale/it-CH/index.d.ts new file mode 100644 index 000000000..43f700337 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { itCH } from 'date-fns/locale' +export default itCH diff --git a/node_modules/date-fns/esm/locale/it-CH/index.js b/node_modules/date-fns/esm/locale/it-CH/index.js new file mode 100644 index 000000000..697726cf2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/index.js @@ -0,0 +1,26 @@ +import formatDistance from "../it/_lib/formatDistance/index.js"; +import formatRelative from "../it/_lib/formatRelative/index.js"; +import localize from "../it/_lib/localize/index.js"; +import match from "../it/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Italian locale (Switzerland). + * @language Italian + * @iso-639-2 ita + * @author Mike Peyer [@maic66]{@link https://github.com/maic66} + */ +var locale = { + code: 'it-CH', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it-CH/index.js.flow b/node_modules/date-fns/esm/locale/it-CH/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/it-CH/package.json b/node_modules/date-fns/esm/locale/it-CH/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/it/_lib/formatDistance/index.js new file mode 100644 index 000000000..881f7624b --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'meno di un secondo', + other: 'meno di {{count}} secondi' + }, + xSeconds: { + one: 'un secondo', + other: '{{count}} secondi' + }, + halfAMinute: 'alcuni secondi', + lessThanXMinutes: { + one: 'meno di un minuto', + other: 'meno di {{count}} minuti' + }, + xMinutes: { + one: 'un minuto', + other: '{{count}} minuti' + }, + aboutXHours: { + one: "circa un'ora", + other: 'circa {{count}} ore' + }, + xHours: { + one: "un'ora", + other: '{{count}} ore' + }, + xDays: { + one: 'un giorno', + other: '{{count}} giorni' + }, + aboutXWeeks: { + one: 'circa una settimana', + other: 'circa {{count}} settimane' + }, + xWeeks: { + one: 'una settimana', + other: '{{count}} settimane' + }, + aboutXMonths: { + one: 'circa un mese', + other: 'circa {{count}} mesi' + }, + xMonths: { + one: 'un mese', + other: '{{count}} mesi' + }, + aboutXYears: { + one: 'circa un anno', + other: 'circa {{count}} anni' + }, + xYears: { + one: 'un anno', + other: '{{count}} anni' + }, + overXYears: { + one: 'più di un anno', + other: 'più di {{count}} anni' + }, + almostXYears: { + one: 'quasi un anno', + other: 'quasi {{count}} anni' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'tra ' + result; + } else { + return result + ' fa'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/it/_lib/formatLong/index.js new file mode 100644 index 000000000..5c746b1d7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/it/_lib/formatRelative/index.js new file mode 100644 index 000000000..14b1ad7e5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/_lib/formatRelative/index.js @@ -0,0 +1,51 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var weekdays = ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato']; +function _lastWeek(day) { + switch (day) { + case 0: + return "'domenica scorsa alle' p"; + default: + return "'" + weekdays[day] + " scorso alle' p"; + } +} +function thisWeek(day) { + return "'" + weekdays[day] + " alle' p"; +} +function _nextWeek(day) { + switch (day) { + case 0: + return "'domenica prossima alle' p"; + default: + return "'" + weekdays[day] + " prossimo alle' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'ieri alle' p", + today: "'oggi alle' p", + tomorrow: "'domani alle' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/_lib/localize/index.js b/node_modules/date-fns/esm/locale/it/_lib/localize/index.js new file mode 100644 index 000000000..91341264c --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['aC', 'dC'], + abbreviated: ['a.C.', 'd.C.'], + wide: ['avanti Cristo', 'dopo Cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + wide: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + short: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + abbreviated: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + wide: ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] +}; +var dayPeriodValues = { + narrow: { + am: 'm.', + pm: 'p.', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'mattina', + afternoon: 'pomeriggio', + evening: 'sera', + night: 'notte' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'mattina', + afternoon: 'pomeriggio', + evening: 'sera', + night: 'notte' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'mattina', + afternoon: 'pomeriggio', + evening: 'sera', + night: 'notte' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'm.', + pm: 'p.', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'di mattina', + afternoon: 'del pomeriggio', + evening: 'di sera', + night: 'di notte' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'di mattina', + afternoon: 'del pomeriggio', + evening: 'di sera', + night: 'di notte' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'di mattina', + afternoon: 'del pomeriggio', + evening: 'di sera', + night: 'di notte' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return String(number); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/_lib/match/index.js b/node_modules/date-fns/esm/locale/it/_lib/match/index.js new file mode 100644 index 000000000..2e55e0179 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(aC|dC)/i, + abbreviated: /^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i, + wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i +}; +var parseEraPatterns = { + any: [/^a/i, /^(d|e)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^t[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[gfmalsond]/i, + abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i, + wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i +}; +var parseMonthPatterns = { + narrow: [/^g/i, /^f/i, /^m/i, /^a/i, /^m/i, /^g/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ge/i, /^f/i, /^mar/i, /^ap/i, /^mag/i, /^gi/i, /^l/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmgvs]/i, + short: /^(do|lu|ma|me|gi|ve|sa)/i, + abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i, + wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i, + any: /^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mezza/i, + noon: /^mezzo/i, + morning: /mattina/i, + afternoon: /pomeriggio/i, + evening: /sera/i, + night: /notte/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/index.d.ts b/node_modules/date-fns/esm/locale/it/index.d.ts new file mode 100644 index 000000000..6e0422e97 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { it } from 'date-fns/locale' +export default it diff --git a/node_modules/date-fns/esm/locale/it/index.js b/node_modules/date-fns/esm/locale/it/index.js new file mode 100644 index 000000000..8b6a4eebc --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Italian locale. + * @language Italian + * @iso-639-2 ita + * @author Alberto Restifo [@albertorestifo]{@link https://github.com/albertorestifo} + * @author Giovanni Polimeni [@giofilo]{@link https://github.com/giofilo} + * @author Vincenzo Carrese [@vin-car]{@link https://github.com/vin-car} + */ +var locale = { + code: 'it', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it/index.js.flow b/node_modules/date-fns/esm/locale/it/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/it/package.json b/node_modules/date-fns/esm/locale/it/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatDistance/index.js new file mode 100644 index 000000000..f0d6ce96d --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatDistance/index.js @@ -0,0 +1,96 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1びょうみまん', + other: '{{count}}びょうみまん', + oneWithSuffix: 'やく1びょう', + otherWithSuffix: 'やく{{count}}びょう' + }, + xSeconds: { + one: '1びょう', + other: '{{count}}びょう' + }, + halfAMinute: '30びょう', + lessThanXMinutes: { + one: '1ぷんみまん', + other: '{{count}}ふんみまん', + oneWithSuffix: 'やく1ぷん', + otherWithSuffix: 'やく{{count}}ふん' + }, + xMinutes: { + one: '1ぷん', + other: '{{count}}ふん' + }, + aboutXHours: { + one: 'やく1じかん', + other: 'やく{{count}}じかん' + }, + xHours: { + one: '1じかん', + other: '{{count}}じかん' + }, + xDays: { + one: '1にち', + other: '{{count}}にち' + }, + aboutXWeeks: { + one: 'やく1しゅうかん', + other: 'やく{{count}}しゅうかん' + }, + xWeeks: { + one: '1しゅうかん', + other: '{{count}}しゅうかん' + }, + aboutXMonths: { + one: 'やく1かげつ', + other: 'やく{{count}}かげつ' + }, + xMonths: { + one: '1かげつ', + other: '{{count}}かげつ' + }, + aboutXYears: { + one: 'やく1ねん', + other: 'やく{{count}}ねん' + }, + xYears: { + one: '1ねん', + other: '{{count}}ねん' + }, + overXYears: { + one: '1ねんいじょう', + other: '{{count}}ねんいじょう' + }, + almostXYears: { + one: '1ねんちかく', + other: '{{count}}ねんちかく' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options.addSuffix && tokenValue.oneWithSuffix) { + result = tokenValue.oneWithSuffix; + } else { + result = tokenValue.one; + } + } else { + if (options.addSuffix && tokenValue.otherWithSuffix) { + result = tokenValue.otherWithSuffix.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'あと'; + } else { + return result + 'まえ'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatLong/index.js new file mode 100644 index 000000000..f1197efbb --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'yねんMがつdにちEEEE', + long: 'yねんMがつdにち', + medium: 'y/MM/dd', + short: 'y/MM/dd' +}; +var timeFormats = { + full: 'Hじmmふんssびょう zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatRelative/index.js new file mode 100644 index 000000000..3877f9fc4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: 'せんしゅうのeeeeのp', + yesterday: 'きのうのp', + today: 'きょうのp', + tomorrow: 'あしたのp', + nextWeek: 'よくしゅうのeeeeのp', + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ja-Hira/_lib/localize/index.js new file mode 100644 index 000000000..a5f7657e5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/_lib/localize/index.js @@ -0,0 +1,139 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['BC', 'AC'], + abbreviated: ['きげんぜん', 'せいれき'], + wide: ['きげんぜん', 'せいれき'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['だい1しはんき', 'だい2しはんき', 'だい3しはんき', 'だい4しはんき'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['1がつ', '2がつ', '3がつ', '4がつ', '5がつ', '6がつ', '7がつ', '8がつ', '9がつ', '10がつ', '11がつ', '12がつ'], + wide: ['1がつ', '2がつ', '3がつ', '4がつ', '5がつ', '6がつ', '7がつ', '8がつ', '9がつ', '10がつ', '11がつ', '12がつ'] +}; +var dayValues = { + narrow: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'], + short: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'], + abbreviated: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'], + wide: ['にちようび', 'げつようび', 'かようび', 'すいようび', 'もくようび', 'きんようび', 'どようび'] +}; +var dayPeriodValues = { + narrow: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + abbreviated: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + wide: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + abbreviated: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + wide: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + switch (unit) { + case 'year': + return "".concat(number, "\u306D\u3093"); + case 'quarter': + return "\u3060\u3044".concat(number, "\u3057\u306F\u3093\u304D"); + case 'month': + return "".concat(number, "\u304C\u3064"); + case 'week': + return "\u3060\u3044".concat(number, "\u3057\u3085\u3046"); + case 'date': + return "".concat(number, "\u306B\u3061"); + case 'hour': + return "".concat(number, "\u3058"); + case 'minute': + return "".concat(number, "\u3075\u3093"); + case 'second': + return "".concat(number, "\u3073\u3087\u3046"); + default: + return "".concat(number); + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/_lib/match/index.js b/node_modules/date-fns/esm/locale/ja-Hira/_lib/match/index.js new file mode 100644 index 000000000..0cf0464ec --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^だ?い?\d+(ねん|しはんき|がつ|しゅう|にち|じ|ふん|びょう)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(B\.?C\.?|A\.?D\.?)/i, + abbreviated: /^(きげん[前後]|せいれき)/i, + wide: /^(きげん[前後]|せいれき)/i +}; +var parseEraPatterns = { + narrow: [/^B/i, /^A/i], + any: [/^(きげんぜん)/i, /^(せいれき|きげんご)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^Q[1234]/i, + wide: /^だい[1234一二三四1234]しはんき/i +}; +var parseQuarterPatterns = { + any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i] +}; +var matchMonthPatterns = { + narrow: /^([123456789]|1[012])/, + abbreviated: /^([123456789]|1[012])がつ/i, + wide: /^([123456789]|1[012])がつ/i +}; +var parseMonthPatterns = { + any: [/^1\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/] +}; +var matchDayPatterns = { + narrow: /^(にち|げつ|か|すい|もく|きん|ど)/, + short: /^(にち|げつ|か|すい|もく|きん|ど)/, + abbreviated: /^(にち|げつ|か|すい|もく|きん|ど)/, + wide: /^(にち|げつ|か|すい|もく|きん|ど)ようび/ +}; +var parseDayPatterns = { + any: [/^にち/, /^げつ/, /^か/, /^すい/, /^もく/, /^きん/, /^ど/] +}; +var matchDayPeriodPatterns = { + any: /^(AM|PM|ごぜん|ごご|しょうご|しんや|まよなか|よる|あさ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(A|ごぜん)/i, + pm: /^(P|ごご)/i, + midnight: /^しんや|まよなか/i, + noon: /^しょうご/i, + morning: /^あさ/i, + afternoon: /^ごご/i, + evening: /^よる/i, + night: /^しんや/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/index.d.ts b/node_modules/date-fns/esm/locale/ja-Hira/index.d.ts new file mode 100644 index 000000000..9dfe12516 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { jaHira } from 'date-fns/locale' +export default jaHira diff --git a/node_modules/date-fns/esm/locale/ja-Hira/index.js b/node_modules/date-fns/esm/locale/ja-Hira/index.js new file mode 100644 index 000000000..3d165bba5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Japanese (Hiragana) locale. + * @language Japanese (Hiragana) + * @iso-639-2 jpn + * @author Eri Hiramatsu [@Eritutteo]{@link https://github.com/Eritutteo} + */ +var locale = { + code: 'ja-Hira', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja-Hira/index.js.flow b/node_modules/date-fns/esm/locale/ja-Hira/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ja-Hira/package.json b/node_modules/date-fns/esm/locale/ja-Hira/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja-Hira/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ja/_lib/formatDistance/index.js new file mode 100644 index 000000000..3692c7b19 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/_lib/formatDistance/index.js @@ -0,0 +1,96 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1秒未満', + other: '{{count}}秒未満', + oneWithSuffix: '約1秒', + otherWithSuffix: '約{{count}}秒' + }, + xSeconds: { + one: '1秒', + other: '{{count}}秒' + }, + halfAMinute: '30秒', + lessThanXMinutes: { + one: '1分未満', + other: '{{count}}分未満', + oneWithSuffix: '約1分', + otherWithSuffix: '約{{count}}分' + }, + xMinutes: { + one: '1分', + other: '{{count}}分' + }, + aboutXHours: { + one: '約1時間', + other: '約{{count}}時間' + }, + xHours: { + one: '1時間', + other: '{{count}}時間' + }, + xDays: { + one: '1日', + other: '{{count}}日' + }, + aboutXWeeks: { + one: '約1週間', + other: '約{{count}}週間' + }, + xWeeks: { + one: '1週間', + other: '{{count}}週間' + }, + aboutXMonths: { + one: '約1か月', + other: '約{{count}}か月' + }, + xMonths: { + one: '1か月', + other: '{{count}}か月' + }, + aboutXYears: { + one: '約1年', + other: '約{{count}}年' + }, + xYears: { + one: '1年', + other: '{{count}}年' + }, + overXYears: { + one: '1年以上', + other: '{{count}}年以上' + }, + almostXYears: { + one: '1年近く', + other: '{{count}}年近く' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options.addSuffix && tokenValue.oneWithSuffix) { + result = tokenValue.oneWithSuffix; + } else { + result = tokenValue.one; + } + } else { + if (options.addSuffix && tokenValue.otherWithSuffix) { + result = tokenValue.otherWithSuffix.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '後'; + } else { + return result + '前'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ja/_lib/formatLong/index.js new file mode 100644 index 000000000..eca1890d4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'y年M月d日EEEE', + long: 'y年M月d日', + medium: 'y/MM/dd', + short: 'y/MM/dd' +}; +var timeFormats = { + full: 'H時mm分ss秒 zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ja/_lib/formatRelative/index.js new file mode 100644 index 000000000..850fabc2b --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: '先週のeeeeのp', + yesterday: '昨日のp', + today: '今日のp', + tomorrow: '明日のp', + nextWeek: '翌週のeeeeのp', + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ja/_lib/localize/index.js new file mode 100644 index 000000000..9b736c06e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/_lib/localize/index.js @@ -0,0 +1,139 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['BC', 'AC'], + abbreviated: ['紀元前', '西暦'], + wide: ['紀元前', '西暦'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['第1四半期', '第2四半期', '第3四半期', '第4四半期'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'] +}; +var dayValues = { + narrow: ['日', '月', '火', '水', '木', '金', '土'], + short: ['日', '月', '火', '水', '木', '金', '土'], + abbreviated: ['日', '月', '火', '水', '木', '金', '土'], + wide: ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'] +}; +var dayPeriodValues = { + narrow: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + abbreviated: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + wide: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + abbreviated: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + wide: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + switch (unit) { + case 'year': + return "".concat(number, "\u5E74"); + case 'quarter': + return "\u7B2C".concat(number, "\u56DB\u534A\u671F"); + case 'month': + return "".concat(number, "\u6708"); + case 'week': + return "\u7B2C".concat(number, "\u9031"); + case 'date': + return "".concat(number, "\u65E5"); + case 'hour': + return "".concat(number, "\u6642"); + case 'minute': + return "".concat(number, "\u5206"); + case 'second': + return "".concat(number, "\u79D2"); + default: + return "".concat(number); + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/_lib/match/index.js b/node_modules/date-fns/esm/locale/ja/_lib/match/index.js new file mode 100644 index 000000000..5420c3c8b --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +var matchOrdinalNumberPattern = /^第?\d+(年|四半期|月|週|日|時|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(B\.?C\.?|A\.?D\.?)/i, + abbreviated: /^(紀元[前後]|西暦)/i, + wide: /^(紀元[前後]|西暦)/i +}; +var parseEraPatterns = { + narrow: [/^B/i, /^A/i], + any: [/^(紀元前)/i, /^(西暦|紀元後)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^Q[1234]/i, + wide: /^第[1234一二三四1234]四半期/i +}; +var parseQuarterPatterns = { + any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i] +}; +var matchMonthPatterns = { + narrow: /^([123456789]|1[012])/, + abbreviated: /^([123456789]|1[012])月/i, + wide: /^([123456789]|1[012])月/i +}; +var parseMonthPatterns = { + any: [/^1\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/] +}; +var matchDayPatterns = { + narrow: /^[日月火水木金土]/, + short: /^[日月火水木金土]/, + abbreviated: /^[日月火水木金土]/, + wide: /^[日月火水木金土]曜日/ +}; +var parseDayPatterns = { + any: [/^日/, /^月/, /^火/, /^水/, /^木/, /^金/, /^土/] +}; +var matchDayPeriodPatterns = { + any: /^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(A|午前)/i, + pm: /^(P|午後)/i, + midnight: /^深夜|真夜中/i, + noon: /^正午/i, + morning: /^朝/i, + afternoon: /^午後/i, + evening: /^夜/i, + night: /^深夜/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/index.d.ts b/node_modules/date-fns/esm/locale/ja/index.d.ts new file mode 100644 index 000000000..dec4f9c97 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ja } from 'date-fns/locale' +export default ja diff --git a/node_modules/date-fns/esm/locale/ja/index.js b/node_modules/date-fns/esm/locale/ja/index.js new file mode 100644 index 000000000..2b5c790ab --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/index.js @@ -0,0 +1,30 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Japanese locale. + * @language Japanese + * @iso-639-2 jpn + * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu} + * @author Yamagishi Kazutoshi [@ykzts]{@link https://github.com/ykzts} + * @author Luca Ban [@mesqueeb]{@link https://github.com/mesqueeb} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles} + */ +var locale = { + code: 'ja', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ja/index.js.flow b/node_modules/date-fns/esm/locale/ja/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ja/package.json b/node_modules/date-fns/esm/locale/ja/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ja/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ka/_lib/formatDistance/index.js new file mode 100644 index 000000000..c2d3c9429 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/_lib/formatDistance/index.js @@ -0,0 +1,97 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + past: '{{count}} წამზე ნაკლები ხნის წინ', + present: '{{count}} წამზე ნაკლები', + future: '{{count}} წამზე ნაკლებში' + }, + xSeconds: { + past: '{{count}} წამის წინ', + present: '{{count}} წამი', + future: '{{count}} წამში' + }, + halfAMinute: { + past: 'ნახევარი წუთის წინ', + present: 'ნახევარი წუთი', + future: 'ნახევარი წუთში' + }, + lessThanXMinutes: { + past: '{{count}} წუთზე ნაკლები ხნის წინ', + present: '{{count}} წუთზე ნაკლები', + future: '{{count}} წუთზე ნაკლებში' + }, + xMinutes: { + past: '{{count}} წუთის წინ', + present: '{{count}} წუთი', + future: '{{count}} წუთში' + }, + aboutXHours: { + past: 'დაახლოებით {{count}} საათის წინ', + present: 'დაახლოებით {{count}} საათი', + future: 'დაახლოებით {{count}} საათში' + }, + xHours: { + past: '{{count}} საათის წინ', + present: '{{count}} საათი', + future: '{{count}} საათში' + }, + xDays: { + past: '{{count}} დღის წინ', + present: '{{count}} დღე', + future: '{{count}} დღეში' + }, + aboutXWeeks: { + past: 'დაახლოებით {{count}} კვირას წინ', + present: 'დაახლოებით {{count}} კვირა', + future: 'დაახლოებით {{count}} კვირაში' + }, + xWeeks: { + past: '{{count}} კვირას კვირა', + present: '{{count}} კვირა', + future: '{{count}} კვირაში' + }, + aboutXMonths: { + past: 'დაახლოებით {{count}} თვის წინ', + present: 'დაახლოებით {{count}} თვე', + future: 'დაახლოებით {{count}} თვეში' + }, + xMonths: { + past: '{{count}} თვის წინ', + present: '{{count}} თვე', + future: '{{count}} თვეში' + }, + aboutXYears: { + past: 'დაახლოებით {{count}} წლის წინ', + present: 'დაახლოებით {{count}} წელი', + future: 'დაახლოებით {{count}} წელში' + }, + xYears: { + past: '{{count}} წლის წინ', + present: '{{count}} წელი', + future: '{{count}} წელში' + }, + overXYears: { + past: '{{count}} წელზე მეტი ხნის წინ', + present: '{{count}} წელზე მეტი', + future: '{{count}} წელზე მეტი ხნის შემდეგ' + }, + almostXYears: { + past: 'თითქმის {{count}} წლის წინ', + present: 'თითქმის {{count}} წელი', + future: 'თითქმის {{count}} წელში' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) { + result = tokenValue.future.replace('{{count}}', String(count)); + } else if (options !== null && options !== void 0 && options.addSuffix) { + result = tokenValue.past.replace('{{count}}', String(count)); + } else { + result = tokenValue.present.replace('{{count}}', String(count)); + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ka/_lib/formatLong/index.js new file mode 100644 index 000000000..932bbca66 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, do MMMM, y', + long: 'do, MMMM, y', + medium: 'd, MMM, y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} {{time}}'-ზე'", + long: "{{date}} {{time}}'-ზე'", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ka/_lib/formatRelative/index.js new file mode 100644 index 000000000..652dfada7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'წინა' eeee p'-ზე'", + yesterday: "'გუშინ' p'-ზე'", + today: "'დღეს' p'-ზე'", + tomorrow: "'ხვალ' p'-ზე'", + nextWeek: "'შემდეგი' eeee p'-ზე'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ka/_lib/localize/index.js new file mode 100644 index 000000000..252a0cf57 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/_lib/localize/index.js @@ -0,0 +1,127 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ჩ.წ-მდე', 'ჩ.წ'], + abbreviated: ['ჩვ.წ-მდე', 'ჩვ.წ'], + wide: ['ჩვენს წელთაღრიცხვამდე', 'ჩვენი წელთაღრიცხვით'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ლი კვ', '2-ე კვ', '3-ე კვ', '4-ე კვ'], + wide: ['1-ლი კვარტალი', '2-ე კვარტალი', '3-ე კვარტალი', '4-ე კვარტალი'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['ია', 'თე', 'მა', 'აპ', 'მს', 'ვნ', 'ვლ', 'აგ', 'სე', 'ოქ', 'ნო', 'დე'], + abbreviated: ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'], + wide: ['იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი'] +}; +var dayValues = { + narrow: ['კვ', 'ორ', 'სა', 'ოთ', 'ხუ', 'პა', 'შა'], + short: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], + abbreviated: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], + wide: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'შუაღამე', + noon: 'შუადღე', + morning: 'დილა', + afternoon: 'საღამო', + evening: 'საღამო', + night: 'ღამე' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'შუაღამე', + noon: 'შუადღე', + morning: 'დილა', + afternoon: 'საღამო', + evening: 'საღამო', + night: 'ღამე' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'შუაღამე', + noon: 'შუადღე', + morning: 'დილა', + afternoon: 'საღამო', + evening: 'საღამო', + night: 'ღამე' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'შუაღამით', + noon: 'შუადღისას', + morning: 'დილით', + afternoon: 'ნაშუადღევს', + evening: 'საღამოს', + night: 'ღამით' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'შუაღამით', + noon: 'შუადღისას', + morning: 'დილით', + afternoon: 'ნაშუადღევს', + evening: 'საღამოს', + night: 'ღამით' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'შუაღამით', + noon: 'შუადღისას', + morning: 'დილით', + afternoon: 'ნაშუადღევს', + evening: 'საღამოს', + night: 'ღამით' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + if (number === 1) { + return number + '-ლი'; + } + return number + '-ე'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/_lib/match/index.js b/node_modules/date-fns/esm/locale/ka/_lib/match/index.js new file mode 100644 index 000000000..ae93af3ad --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/_lib/match/index.js @@ -0,0 +1,92 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ჩვ?\.წ)/i, + abbreviated: /^(ჩვ?\.წ)/i, + wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i +}; +var parseEraPatterns = { + any: [/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i, /^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]-(ლი|ე)? კვ/i, + wide: /^[1234]-(ლი|ე)? კვარტალი/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i +}; +var parseMonthPatterns = { + any: [/^ია/i, /^თ/i, /^მარ/i, /^აპ/i, /^მაი/i, /^ი?ვნ/i, /^ი?ვლ/i, /^აგ/i, /^ს/i, /^ო/i, /^ნ/i, /^დ/i] +}; +var matchDayPatterns = { + narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i, + short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i, + wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i +}; +var parseDayPatterns = { + any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i] +}; +var matchDayPeriodPatterns = { + any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^შუაღ/i, + noon: /^შუადღ/i, + morning: /^დილ/i, + afternoon: /ნაშუადღევს/i, + evening: /საღამო/i, + night: /ღამ/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/index.d.ts b/node_modules/date-fns/esm/locale/ka/index.d.ts new file mode 100644 index 000000000..c0be71ad8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ka } from 'date-fns/locale' +export default ka diff --git a/node_modules/date-fns/esm/locale/ka/index.js b/node_modules/date-fns/esm/locale/ka/index.js new file mode 100644 index 000000000..464d97ae6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Georgian locale. + * @language Georgian + * @iso-639-2 geo + * @author Lado Lomidze [@Landish]{@link https://github.com/Landish} + * @author Nick Shvelidze [@shvelo]{@link https://github.com/shvelo} + */ +var locale = { + code: 'ka', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ka/index.js.flow b/node_modules/date-fns/esm/locale/ka/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ka/package.json b/node_modules/date-fns/esm/locale/ka/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ka/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/kk/_lib/formatDistance/index.js new file mode 100644 index 000000000..aa980b076 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/_lib/formatDistance/index.js @@ -0,0 +1,226 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + regular: { + one: '1 секундтан аз', + singularNominative: '{{count}} секундтан аз', + singularGenitive: '{{count}} секундтан аз', + pluralGenitive: '{{count}} секундтан аз' + }, + future: { + one: 'бір секундтан кейін', + singularNominative: '{{count}} секундтан кейін', + singularGenitive: '{{count}} секундтан кейін', + pluralGenitive: '{{count}} секундтан кейін' + } + }, + xSeconds: { + regular: { + singularNominative: '{{count}} секунд', + singularGenitive: '{{count}} секунд', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунд бұрын', + singularGenitive: '{{count}} секунд бұрын', + pluralGenitive: '{{count}} секунд бұрын' + }, + future: { + singularNominative: '{{count}} секундтан кейін', + singularGenitive: '{{count}} секундтан кейін', + pluralGenitive: '{{count}} секундтан кейін' + } + }, + halfAMinute: function halfAMinute(options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'жарты минут ішінде'; + } else { + return 'жарты минут бұрын'; + } + } + return 'жарты минут'; + }, + lessThanXMinutes: { + regular: { + one: '1 минуттан аз', + singularNominative: '{{count}} минуттан аз', + singularGenitive: '{{count}} минуттан аз', + pluralGenitive: '{{count}} минуттан аз' + }, + future: { + one: 'минуттан кем ', + singularNominative: '{{count}} минуттан кем', + singularGenitive: '{{count}} минуттан кем', + pluralGenitive: '{{count}} минуттан кем' + } + }, + xMinutes: { + regular: { + singularNominative: '{{count}} минут', + singularGenitive: '{{count}} минут', + pluralGenitive: '{{count}} минут' + }, + past: { + singularNominative: '{{count}} минут бұрын', + singularGenitive: '{{count}} минут бұрын', + pluralGenitive: '{{count}} минут бұрын' + }, + future: { + singularNominative: '{{count}} минуттан кейін', + singularGenitive: '{{count}} минуттан кейін', + pluralGenitive: '{{count}} минуттан кейін' + } + }, + aboutXHours: { + regular: { + singularNominative: 'шамамен {{count}} сағат', + singularGenitive: 'шамамен {{count}} сағат', + pluralGenitive: 'шамамен {{count}} сағат' + }, + future: { + singularNominative: 'шамамен {{count}} сағаттан кейін', + singularGenitive: 'шамамен {{count}} сағаттан кейін', + pluralGenitive: 'шамамен {{count}} сағаттан кейін' + } + }, + xHours: { + regular: { + singularNominative: '{{count}} сағат', + singularGenitive: '{{count}} сағат', + pluralGenitive: '{{count}} сағат' + } + }, + xDays: { + regular: { + singularNominative: '{{count}} күн', + singularGenitive: '{{count}} күн', + pluralGenitive: '{{count}} күн' + }, + future: { + singularNominative: '{{count}} күннен кейін', + singularGenitive: '{{count}} күннен кейін', + pluralGenitive: '{{count}} күннен кейін' + } + }, + aboutXWeeks: { + type: 'weeks', + one: 'шамамен 1 апта', + other: 'шамамен {{count}} апта' + }, + xWeeks: { + type: 'weeks', + one: '1 апта', + other: '{{count}} апта' + }, + aboutXMonths: { + regular: { + singularNominative: 'шамамен {{count}} ай', + singularGenitive: 'шамамен {{count}} ай', + pluralGenitive: 'шамамен {{count}} ай' + }, + future: { + singularNominative: 'шамамен {{count}} айдан кейін', + singularGenitive: 'шамамен {{count}} айдан кейін', + pluralGenitive: 'шамамен {{count}} айдан кейін' + } + }, + xMonths: { + regular: { + singularNominative: '{{count}} ай', + singularGenitive: '{{count}} ай', + pluralGenitive: '{{count}} ай' + } + }, + aboutXYears: { + regular: { + singularNominative: 'шамамен {{count}} жыл', + singularGenitive: 'шамамен {{count}} жыл', + pluralGenitive: 'шамамен {{count}} жыл' + }, + future: { + singularNominative: 'шамамен {{count}} жылдан кейін', + singularGenitive: 'шамамен {{count}} жылдан кейін', + pluralGenitive: 'шамамен {{count}} жылдан кейін' + } + }, + xYears: { + regular: { + singularNominative: '{{count}} жыл', + singularGenitive: '{{count}} жыл', + pluralGenitive: '{{count}} жыл' + }, + future: { + singularNominative: '{{count}} жылдан кейін', + singularGenitive: '{{count}} жылдан кейін', + pluralGenitive: '{{count}} жылдан кейін' + } + }, + overXYears: { + regular: { + singularNominative: '{{count}} жылдан астам', + singularGenitive: '{{count}} жылдан астам', + pluralGenitive: '{{count}} жылдан астам' + }, + future: { + singularNominative: '{{count}} жылдан астам', + singularGenitive: '{{count}} жылдан астам', + pluralGenitive: '{{count}} жылдан астам' + } + }, + almostXYears: { + regular: { + singularNominative: '{{count}} жылға жақын', + singularGenitive: '{{count}} жылға жақын', + pluralGenitive: '{{count}} жылға жақын' + }, + future: { + singularNominative: '{{count}} жылдан кейін', + singularGenitive: '{{count}} жылдан кейін', + pluralGenitive: '{{count}} жылдан кейін' + } + } +}; +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one && count === 1) return scheme.one; + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +var formatDistance = function formatDistance(token, count, options) { + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'function') return tokenValue(options); + if (tokenValue.type === 'weeks') { + return count === 1 ? tokenValue.one : tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (tokenValue.future) { + return declension(tokenValue.future, count); + } else { + return declension(tokenValue.regular, count) + ' кейін'; + } + } else { + if (tokenValue.past) { + return declension(tokenValue.past, count); + } else { + return declension(tokenValue.regular, count) + ' бұрын'; + } + } + } else { + return declension(tokenValue.regular, count); + } +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/kk/_lib/formatLong/index.js new file mode 100644 index 000000000..ae92947e0 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, do MMMM y 'ж.'", + long: "do MMMM y 'ж.'", + medium: "d MMM y 'ж.'", + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/kk/_lib/formatRelative/index.js new file mode 100644 index 000000000..2b3e04ddb --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/_lib/formatRelative/index.js @@ -0,0 +1,44 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var accusativeWeekdays = ['жексенбіде', 'дүйсенбіде', 'сейсенбіде', 'сәрсенбіде', 'бейсенбіде', 'жұмада', 'сенбіде']; +function _lastWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'өткен " + weekday + " сағат' p'-де'"; +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'" + weekday + " сағат' p'-де'"; +} +function _nextWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'келесі " + weekday + " сағат' p'-де'"; +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'кеше сағат' p'-де'", + today: "'бүгін сағат' p'-де'", + tomorrow: "'ертең сағат' p'-де'", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/_lib/localize/index.js b/node_modules/date-fns/esm/locale/kk/_lib/localize/index.js new file mode 100644 index 000000000..288b3214b --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/_lib/localize/index.js @@ -0,0 +1,131 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['б.з.д.', 'б.з.'], + abbreviated: ['б.з.д.', 'б.з.'], + wide: ['біздің заманымызға дейін', 'біздің заманымыз'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ші тоқ.', '2-ші тоқ.', '3-ші тоқ.', '4-ші тоқ.'], + wide: ['1-ші тоқсан', '2-ші тоқсан', '3-ші тоқсан', '4-ші тоқсан'] +}; +var monthValues = { + narrow: ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + abbreviated: ['қаң', 'ақп', 'нау', 'сәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'], + wide: ['қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқсан'] +}; +var formattingMonthValues = { + narrow: ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + abbreviated: ['қаң', 'ақп', 'нау', 'сәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'], + wide: ['қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқсан'] +}; +var dayValues = { + narrow: ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], + short: ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], + abbreviated: ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], + wide: ['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі'] +}; +var dayPeriodValues = { + narrow: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасы', + noon: 'түс', + morning: 'таң', + afternoon: 'күндіз', + evening: 'кеш', + night: 'түн' + }, + wide: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасы', + noon: 'түс', + morning: 'таң', + afternoon: 'күндіз', + evening: 'кеш', + night: 'түн' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасында', + noon: 'түс', + morning: 'таң', + afternoon: 'күн', + evening: 'кеш', + night: 'түн' + }, + wide: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасында', + noon: 'түсте', + morning: 'таңертең', + afternoon: 'күндіз', + evening: 'кеште', + night: 'түнде' + } +}; +var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші' +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var mod10 = number % 10; + var b = number >= 100 ? 100 : null; + var suffix = suffixes[number] || suffixes[mod10] || b && suffixes[b] || ''; + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/_lib/match/index.js b/node_modules/date-fns/esm/locale/kk/_lib/match/index.js new file mode 100644 index 000000000..518087932 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?(ші|шы))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((б )?з\.?\s?д\.?)/i, + abbreviated: /^((б )?з\.?\s?д\.?)/i, + wide: /^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i +}; +var parseEraPatterns = { + any: [/^б/i, /^з/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?ші)? тоқ.?/i, + wide: /^[1234](-?ші)? тоқсан/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i, + abbreviated: /^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i, + wide: /^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i +}; +var parseMonthPatterns = { + narrow: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i], + abbreviated: [/^қаң/i, /^ақп/i, /^нау/i, /^сәу/i, /^мам/i, /^мау/i, /^шіл/i, /^там/i, /^қыр/i, /^қаз/i, /^қар/i, /^жел/i], + any: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i] +}; +var matchDayPatterns = { + narrow: /^(ж|д|с|с|б|ж|с)/i, + short: /^(жс|дс|сс|ср|бс|жм|сб)/i, + wide: /^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i +}; +var parseDayPatterns = { + narrow: [/^ж/i, /^д/i, /^с/i, /^с/i, /^б/i, /^ж/i, /^с/i], + short: [/^жс/i, /^дс/i, /^сс/i, /^ср/i, /^бс/i, /^жм/i, /^сб/i], + any: [/^ж[ек]/i, /^д[үй]/i, /^сe[й]/i, /^сә[р]/i, /^б[ей]/i, /^ж[ұм]/i, /^се[н]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i, + wide: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i, + any: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ТД/i, + pm: /^ТК/i, + midnight: /^түн орта/i, + noon: /^күндіз/i, + morning: /таң/i, + afternoon: /түс/i, + evening: /кеш/i, + night: /түн/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/index.d.ts b/node_modules/date-fns/esm/locale/kk/index.d.ts new file mode 100644 index 000000000..8ccf1a7f1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { kk } from 'date-fns/locale' +export default kk diff --git a/node_modules/date-fns/esm/locale/kk/index.js b/node_modules/date-fns/esm/locale/kk/index.js new file mode 100644 index 000000000..67fbe66ed --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Kazakh locale. + * @language Kazakh + * @iso-639-2 kaz + * @author Nikita Bayev [@drugoi]{@link https://github.com/drugoi} + */ +var locale = { + code: 'kk', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kk/index.js.flow b/node_modules/date-fns/esm/locale/kk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/kk/package.json b/node_modules/date-fns/esm/locale/kk/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kk/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/km/_lib/formatDistance/index.js new file mode 100644 index 000000000..ec813aabe --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/_lib/formatDistance/index.js @@ -0,0 +1,34 @@ +var formatDistanceLocale = { + lessThanXSeconds: 'តិចជាង {{count}} វិនាទី', + xSeconds: '{{count}} វិនាទី', + halfAMinute: 'កន្លះនាទី', + lessThanXMinutes: 'តិចជាង {{count}} នាទី', + xMinutes: '{{count}} នាទី', + aboutXHours: 'ប្រហែល {{count}} ម៉ោង', + xHours: '{{count}} ម៉ោង', + xDays: '{{count}} ថ្ងៃ', + aboutXWeeks: 'ប្រហែល {{count}} សប្តាហ៍', + xWeeks: '{{count}} សប្តាហ៍', + aboutXMonths: 'ប្រហែល {{count}} ខែ', + xMonths: '{{count}} ខែ', + aboutXYears: 'ប្រហែល {{count}} ឆ្នាំ', + xYears: '{{count}} ឆ្នាំ', + overXYears: 'ជាង {{count}} ឆ្នាំ', + almostXYears: 'ជិត {{count}} ឆ្នាំ' +}; +var formatDistance = function formatDistance(token, count, options) { + var tokenValue = formatDistanceLocale[token]; + var result = tokenValue; + if (typeof count === 'number') { + result = result.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'ក្នុងរយៈពេល ' + result; + } else { + return result + 'មុន'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/km/_lib/formatLong/index.js new file mode 100644 index 000000000..13931835d --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a', + long: 'h:mm:ss a', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'ម៉ោង' {{time}}", + long: "{{date}} 'ម៉ោង' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/km/_lib/formatRelative/index.js new file mode 100644 index 000000000..ef1f197c4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​មុនម៉ោង' p", + yesterday: "'ម្សិលមិញនៅម៉ោង' p", + today: "'ថ្ងៃនេះម៉ោង' p", + tomorrow: "'ថ្ងៃស្អែកម៉ោង' p", + nextWeek: "'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​ក្រោយម៉ោង' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/_lib/localize/index.js b/node_modules/date-fns/esm/locale/km/_lib/localize/index.js new file mode 100644 index 000000000..797f90e23 --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ម.គស', 'គស'], + abbreviated: ['មុនគ.ស', 'គ.ស'], + wide: ['មុនគ្រិស្តសករាជ', 'នៃគ្រិស្តសករាជ'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['ត្រីមាសទី 1', 'ត្រីមាសទី 2', 'ត្រីមាសទី 3', 'ត្រីមាសទី 4'] +}; +var monthValues = { + narrow: ['ម.ក', 'ក.ម', 'មិ', 'ម.ស', 'ឧ.ស', 'ម.ថ', 'ក.ដ', 'សី', 'កញ', 'តុ', 'វិ', 'ធ'], + abbreviated: ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'], + wide: ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'] +}; +var dayValues = { + narrow: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'], + short: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'], + abbreviated: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'], + wide: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'] +}; +var dayPeriodValues = { + narrow: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + abbreviated: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + wide: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + abbreviated: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + wide: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _) { + var number = Number(dirtyNumber); + return number.toString(); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/_lib/match/index.js b/node_modules/date-fns/esm/locale/km/_lib/match/index.js new file mode 100644 index 000000000..7ce8a9837 --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ម\.)?គស/i, + abbreviated: /^(មុន)?គ\.ស/i, + wide: /^(មុន|នៃ)គ្រិស្តសករាជ/i +}; +var parseEraPatterns = { + any: [/^(ម|មុន)គ\.?ស/i, /^(នៃ)?គ\.?ស/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^(ត្រីមាស)(ទី)?\s?[1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(ម\.ក|ក\.ម|មិ|ម\.ស|ឧ\.ស|ម\.ថ|ក\.ដ|សី|កញ|តុ|វិ|ធ)/i, + abbreviated: /^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i, + wide: /^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i +}; +var parseMonthPatterns = { + narrow: [/^ម\.ក/i, /^ក\.ម/i, /^មិ/i, /^ម\.ស/i, /^ឧ\.ស/i, /^ម\.ថ/i, /^ក\.ដ/i, /^សី/i, /^កញ/i, /^តុ/i, /^វិ/i, /^ធ/i], + any: [/^មក/i, /^កុ/i, /^មីន/i, /^មេ/i, /^ឧស/i, /^មិថ/i, /^កក/i, /^សី/i, /^កញ/i, /^តុ/i, /^វិច/i, /^ធ/i] +}; +var matchDayPatterns = { + narrow: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i, + short: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i, + abbreviated: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i, + wide: /^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i +}; +var parseDayPatterns = { + narrow: [/^អា/i, /^ច/i, /^អ/i, /^ព/i, /^ព្រ/i, /^សុ/i, /^ស/i], + any: [/^អា/i, /^ច/i, /^អ/i, /^ព/i, /^ព្រ/i, /^សុ/i, /^សៅ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i, + any: /^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ព្រឹក/i, + pm: /^ល្ងាច/i, + midnight: /^ពេលកណ្ដាលអធ្រាត្រ/i, + noon: /^ពេលថ្ងៃត្រង់/i, + morning: /ពេលព្រឹក/i, + afternoon: /ពេលរសៀល/i, + evening: /ពេលល្ងាច/i, + night: /ពេលយប់/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/index.d.ts b/node_modules/date-fns/esm/locale/km/index.d.ts new file mode 100644 index 000000000..82f582cd1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { km } from 'date-fns/locale' +export default km diff --git a/node_modules/date-fns/esm/locale/km/index.js b/node_modules/date-fns/esm/locale/km/index.js new file mode 100644 index 000000000..4ee16a546 --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Khmer locale (Cambodian). + * @language Khmer + * @iso-639-2 khm + * @author Seanghay Yath [@seanghay]{@link https://github.com/seanghay} + */ +var locale = { + code: 'km', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/km/index.js.flow b/node_modules/date-fns/esm/locale/km/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/km/package.json b/node_modules/date-fns/esm/locale/km/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/km/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/kn/_lib/formatDistance/index.js new file mode 100644 index 000000000..a4553e632 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/_lib/formatDistance/index.js @@ -0,0 +1,194 @@ +// note: no implementation for weeks + +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + default: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + future: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + past: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ' + }, + other: { + default: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + future: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + past: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ' + } + }, + xSeconds: { + one: { + default: '1 ಸೆಕೆಂಡ್', + future: '1 ಸೆಕೆಂಡ್‌ನಲ್ಲಿ', + past: '1 ಸೆಕೆಂಡ್ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ಸೆಕೆಂಡುಗಳು', + future: '{{count}} ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ', + past: '{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ' + } + }, + halfAMinute: { + other: { + default: 'ಅರ್ಧ ನಿಮಿಷ', + future: 'ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ', + past: 'ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ' + } + }, + lessThanXMinutes: { + one: { + default: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + future: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + past: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ' + }, + other: { + default: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + future: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + past: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ' + } + }, + xMinutes: { + one: { + default: '1 ನಿಮಿಷ', + future: '1 ನಿಮಿಷದಲ್ಲಿ', + past: '1 ನಿಮಿಷದ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ನಿಮಿಷಗಳು', + future: '{{count}} ನಿಮಿಷಗಳಲ್ಲಿ', + past: '{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ' + } + }, + aboutXHours: { + one: { + default: 'ಸುಮಾರು 1 ಗಂಟೆ', + future: 'ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ', + past: 'ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ' + }, + other: { + default: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳು', + future: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ' + } + }, + xHours: { + one: { + default: '1 ಗಂಟೆ', + future: '1 ಗಂಟೆಯಲ್ಲಿ', + past: '1 ಗಂಟೆ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ಗಂಟೆಗಳು', + future: '{{count}} ಗಂಟೆಗಳಲ್ಲಿ', + past: '{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ' + } + }, + xDays: { + one: { + default: '1 ದಿನ', + future: '1 ದಿನದಲ್ಲಿ', + past: '1 ದಿನದ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ದಿನಗಳು', + future: '{{count}} ದಿನಗಳಲ್ಲಿ', + past: '{{count}} ದಿನಗಳ ಹಿಂದೆ' + } + }, + // TODO + // aboutXWeeks: {}, + + // TODO + // xWeeks: {}, + + aboutXMonths: { + one: { + default: 'ಸುಮಾರು 1 ತಿಂಗಳು', + future: 'ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ' + }, + other: { + default: 'ಸುಮಾರು {{count}} ತಿಂಗಳು', + future: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ' + } + }, + xMonths: { + one: { + default: '1 ತಿಂಗಳು', + future: '1 ತಿಂಗಳಲ್ಲಿ', + past: '1 ತಿಂಗಳ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ತಿಂಗಳು', + future: '{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ', + past: '{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ' + } + }, + aboutXYears: { + one: { + default: 'ಸುಮಾರು 1 ವರ್ಷ', + future: 'ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ', + past: 'ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ' + }, + other: { + default: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳು', + future: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ' + } + }, + xYears: { + one: { + default: '1 ವರ್ಷ', + future: '1 ವರ್ಷದಲ್ಲಿ', + past: '1 ವರ್ಷದ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ವರ್ಷಗಳು', + future: '{{count}} ವರ್ಷಗಳಲ್ಲಿ', + past: '{{count}} ವರ್ಷಗಳ ಹಿಂದೆ' + } + }, + overXYears: { + one: { + default: '1 ವರ್ಷದ ಮೇಲೆ', + future: '1 ವರ್ಷದ ಮೇಲೆ', + past: '1 ವರ್ಷದ ಮೇಲೆ' + }, + other: { + default: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ', + future: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ', + past: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ' + } + }, + almostXYears: { + one: { + default: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ', + future: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ', + past: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ' + }, + other: { + default: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ', + future: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ', + past: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ' + } + } +}; +function getResultByTense(parentToken, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return parentToken.future; + } else { + return parentToken.past; + } + } + return parentToken.default; +} +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (tokenValue.one && count === 1) { + result = getResultByTense(tokenValue.one, options); + } else { + result = getResultByTense(tokenValue.other, options); + } + return result.replace('{{count}}', String(count)); +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/kn/_lib/formatLong/index.js new file mode 100644 index 000000000..f9948b400 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/_lib/formatLong/index.js @@ -0,0 +1,46 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; // Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html +var dateFormats = { + full: 'EEEE, MMMM d, y', + // CLDR 1816 + long: 'MMMM d, y', + // CLDR 1817 + medium: 'MMM d, y', + // CLDR 1818 + short: 'd/M/yy' // CLDR 1819 +}; + +var timeFormats = { + full: 'hh:mm:ss a zzzz', + // CLDR 1820 + long: 'hh:mm:ss a z', + // CLDR 1821 + medium: 'hh:mm:ss a', + // CLDR 1822 + short: 'hh:mm a' // CLDR 1823 +}; + +var dateTimeFormats = { + full: '{{date}} {{time}}', + // CLDR 1824 + long: '{{date}} {{time}}', + // CLDR 1825 + medium: '{{date}} {{time}}', + // CLDR 1826 + short: '{{date}} {{time}}' // CLDR 1827 +}; + +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/kn/_lib/formatRelative/index.js new file mode 100644 index 000000000..8dcb1e28c --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'ಕಳೆದ' eeee p 'ಕ್ಕೆ'", + yesterday: "'ನಿನ್ನೆ' p 'ಕ್ಕೆ'", + today: "'ಇಂದು' p 'ಕ್ಕೆ'", + tomorrow: "'ನಾಳೆ' p 'ಕ್ಕೆ'", + nextWeek: "eeee p 'ಕ್ಕೆ'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/_lib/localize/index.js b/node_modules/date-fns/esm/locale/kn/_lib/localize/index.js new file mode 100644 index 000000000..6cac66c72 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/_lib/localize/index.js @@ -0,0 +1,128 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html +var eraValues = { + narrow: ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], + abbreviated: ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], + // CLDR #1618, #1620 + wide: ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ'] // CLDR #1614, #1616 +}; + +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ತ್ರೈ 1', 'ತ್ರೈ 2', 'ತ್ರೈ 3', 'ತ್ರೈ 4'], + // CLDR #1630 - #1638 + wide: ['1ನೇ ತ್ರೈಮಾಸಿಕ', '2ನೇ ತ್ರೈಮಾಸಿಕ', '3ನೇ ತ್ರೈಮಾಸಿಕ', '4ನೇ ತ್ರೈಮಾಸಿಕ'] // CLDR #1622 - #1629 +}; + +// CLDR #1646 - #1717 +var monthValues = { + narrow: ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], + abbreviated: ['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], + wide: ['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', 'ಡಿಸೆಂಬರ್'] +}; + +// CLDR #1718 - #1773 +var dayValues = { + narrow: ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], + short: ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], + abbreviated: ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], + wide: ['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ'] +}; + +// CLDR #1774 - #1815 +var dayPeriodValues = { + narrow: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾಹ್ನ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾಹ್ನ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + abbreviated: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + wide: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ಪೂ', + pm: 'ಅ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + abbreviated: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯ ರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + wide: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯ ರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'ನೇ'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/_lib/match/index.js b/node_modules/date-fns/esm/locale/kn/_lib/match/index.js new file mode 100644 index 000000000..f248c9438 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(ನೇ|ನೆ)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i, + abbreviated: /^(ಕ್ರಿ\.?\s?ಪೂ\.?|ಕ್ರಿ\.?\s?ಶ\.?|ಪ್ರ\.?\s?ಶ\.?)/i, + wide: /^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i +}; +var parseEraPatterns = { + any: [/^ಪೂ/i, /^(ಶ|ಪ್ರ)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i, + wide: /^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i, + abbreviated: /^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i, + wide: /^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i +}; +var parseMonthPatterns = { + narrow: [/^ಜ$/i, /^ಫೆ/i, /^ಮಾ/i, /^ಏ/i, /^ಮೇ/i, /^ಜೂ/i, /^ಜು$/i, /^ಆ/i, /^ಸೆ/i, /^ಅ/i, /^ನ/i, /^ಡಿ/i], + any: [/^ಜನ/i, /^ಫೆ/i, /^ಮಾ/i, /^ಏ/i, /^ಮೇ/i, /^ಜೂನ್/i, /^ಜುಲೈ/i, /^ಆ/i, /^ಸೆ/i, /^ಅ/i, /^ನ/i, /^ಡಿ/i] +}; +var matchDayPatterns = { + narrow: /^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i, + short: /^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i, + abbreviated: /^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i, + wide: /^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i +}; +var parseDayPatterns = { + narrow: [/^ಭಾ/i, /^ಸೋ/i, /^ಮ/i, /^ಬು/i, /^ಗು/i, /^ಶು/i, /^ಶ/i], + any: [/^ಭಾ/i, /^ಸೋ/i, /^ಮ/i, /^ಬು/i, /^ಗು/i, /^ಶು/i, /^ಶ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i, + any: /^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ಪೂ/i, + pm: /^ಅ/i, + midnight: /ಮಧ್ಯರಾತ್ರಿ/i, + noon: /ಮಧ್ಯಾನ್ಹ/i, + morning: /ಬೆಳಗ್ಗೆ/i, + afternoon: /ಮಧ್ಯಾನ್ಹ/i, + evening: /ಸಂಜೆ/i, + night: /ರಾತ್ರಿ/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/index.d.ts b/node_modules/date-fns/esm/locale/kn/index.d.ts new file mode 100644 index 000000000..85a2ed5c2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { kn } from 'date-fns/locale' +export default kn diff --git a/node_modules/date-fns/esm/locale/kn/index.js b/node_modules/date-fns/esm/locale/kn/index.js new file mode 100644 index 000000000..dcda821f7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Kannada locale (India). + * @language Kannada + * @iso-639-2 kan + * @author Manjunatha Gouli [@developergouli]{@link https://github.com/developergouli} + */ +var locale = { + code: 'kn', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/kn/index.js.flow b/node_modules/date-fns/esm/locale/kn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/kn/package.json b/node_modules/date-fns/esm/locale/kn/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/kn/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.js new file mode 100644 index 000000000..2329440a8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1초 미만', + other: '{{count}}초 미만' + }, + xSeconds: { + one: '1초', + other: '{{count}}초' + }, + halfAMinute: '30초', + lessThanXMinutes: { + one: '1분 미만', + other: '{{count}}분 미만' + }, + xMinutes: { + one: '1분', + other: '{{count}}분' + }, + aboutXHours: { + one: '약 1시간', + other: '약 {{count}}시간' + }, + xHours: { + one: '1시간', + other: '{{count}}시간' + }, + xDays: { + one: '1일', + other: '{{count}}일' + }, + aboutXWeeks: { + one: '약 1주', + other: '약 {{count}}주' + }, + xWeeks: { + one: '1주', + other: '{{count}}주' + }, + aboutXMonths: { + one: '약 1개월', + other: '약 {{count}}개월' + }, + xMonths: { + one: '1개월', + other: '{{count}}개월' + }, + aboutXYears: { + one: '약 1년', + other: '약 {{count}}년' + }, + xYears: { + one: '1년', + other: '{{count}}년' + }, + overXYears: { + one: '1년 이상', + other: '{{count}}년 이상' + }, + almostXYears: { + one: '거의 1년', + other: '거의 {{count}}년' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' 후'; + } else { + return result + ' 전'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.js new file mode 100644 index 000000000..2e226072f --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'y년 M월 d일 EEEE', + long: 'y년 M월 d일', + medium: 'y.MM.dd', + short: 'y.MM.dd' +}; +var timeFormats = { + full: 'a H시 mm분 ss초 zzzz', + long: 'a H:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.js new file mode 100644 index 000000000..a52473982 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'지난' eeee p", + yesterday: "'어제' p", + today: "'오늘' p", + tomorrow: "'내일' p", + nextWeek: "'다음' eeee p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ko/_lib/localize/index.js new file mode 100644 index 000000000..224f36898 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/_lib/localize/index.js @@ -0,0 +1,128 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['BC', 'AD'], + abbreviated: ['BC', 'AD'], + wide: ['기원전', '서기'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1분기', '2분기', '3분기', '4분기'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], + wide: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'] +}; +var dayValues = { + narrow: ['일', '월', '화', '수', '목', '금', '토'], + short: ['일', '월', '화', '수', '목', '금', '토'], + abbreviated: ['일', '월', '화', '수', '목', '금', '토'], + wide: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'] +}; +var dayPeriodValues = { + narrow: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + abbreviated: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + wide: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + abbreviated: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + wide: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + switch (unit) { + case 'minute': + case 'second': + return String(number); + case 'date': + return number + '일'; + default: + return number + '번째'; + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/_lib/match/index.js b/node_modules/date-fns/esm/locale/ko/_lib/match/index.js new file mode 100644 index 000000000..d1860f26d --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/_lib/match/index.js @@ -0,0 +1,95 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(일|번째)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(기원전|서기)/i +}; +var parseEraPatterns = { + any: [/^(bc|기원전)/i, /^(ad|서기)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]사?분기/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(1[012]|[123456789])/, + abbreviated: /^(1[012]|[123456789])월/i, + wide: /^(1[012]|[123456789])월/i +}; +var parseMonthPatterns = { + any: [/^1월?$/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/] +}; +var matchDayPatterns = { + narrow: /^[일월화수목금토]/, + short: /^[일월화수목금토]/, + abbreviated: /^[일월화수목금토]/, + wide: /^[일월화수목금토]요일/ +}; +var parseDayPatterns = { + any: [/^일/, /^월/, /^화/, /^수/, /^목/, /^금/, /^토/] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(am|오전)/i, + pm: /^(pm|오후)/i, + midnight: /^자정/i, + noon: /^정오/i, + morning: /^아침/i, + afternoon: /^오후/i, + evening: /^저녁/i, + night: /^밤/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/index.d.ts b/node_modules/date-fns/esm/locale/ko/index.d.ts new file mode 100644 index 000000000..eac82282c --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ko } from 'date-fns/locale' +export default ko diff --git a/node_modules/date-fns/esm/locale/ko/index.js b/node_modules/date-fns/esm/locale/ko/index.js new file mode 100644 index 000000000..475b5e15c --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Korean locale. + * @language Korean + * @iso-639-2 kor + * @author Hong Chulju [@angdev]{@link https://github.com/angdev} + * @author Lee Seoyoen [@iamssen]{@link https://github.com/iamssen} + * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles} + */ +var locale = { + code: 'ko', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ko/index.js.flow b/node_modules/date-fns/esm/locale/ko/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ko/package.json b/node_modules/date-fns/esm/locale/ko/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ko/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/lb/_lib/formatDistance/index.js new file mode 100644 index 000000000..45d5ad9d5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/_lib/formatDistance/index.js @@ -0,0 +1,200 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'manner wéi eng Sekonn', + other: 'manner wéi {{count}} Sekonnen' + }, + withPreposition: { + one: 'manner wéi enger Sekonn', + other: 'manner wéi {{count}} Sekonnen' + } + }, + xSeconds: { + standalone: { + one: 'eng Sekonn', + other: '{{count}} Sekonnen' + }, + withPreposition: { + one: 'enger Sekonn', + other: '{{count}} Sekonnen' + } + }, + halfAMinute: { + standalone: 'eng hallef Minutt', + withPreposition: 'enger hallwer Minutt' + }, + lessThanXMinutes: { + standalone: { + one: 'manner wéi eng Minutt', + other: 'manner wéi {{count}} Minutten' + }, + withPreposition: { + one: 'manner wéi enger Minutt', + other: 'manner wéi {{count}} Minutten' + } + }, + xMinutes: { + standalone: { + one: 'eng Minutt', + other: '{{count}} Minutten' + }, + withPreposition: { + one: 'enger Minutt', + other: '{{count}} Minutten' + } + }, + aboutXHours: { + standalone: { + one: 'ongeféier eng Stonn', + other: 'ongeféier {{count}} Stonnen' + }, + withPreposition: { + one: 'ongeféier enger Stonn', + other: 'ongeféier {{count}} Stonnen' + } + }, + xHours: { + standalone: { + one: 'eng Stonn', + other: '{{count}} Stonnen' + }, + withPreposition: { + one: 'enger Stonn', + other: '{{count}} Stonnen' + } + }, + xDays: { + standalone: { + one: 'een Dag', + other: '{{count}} Deeg' + }, + withPreposition: { + one: 'engem Dag', + other: '{{count}} Deeg' + } + }, + aboutXWeeks: { + standalone: { + one: 'ongeféier eng Woch', + other: 'ongeféier {{count}} Wochen' + }, + withPreposition: { + one: 'ongeféier enger Woche', + other: 'ongeféier {{count}} Wochen' + } + }, + xWeeks: { + standalone: { + one: 'eng Woch', + other: '{{count}} Wochen' + }, + withPreposition: { + one: 'enger Woch', + other: '{{count}} Wochen' + } + }, + aboutXMonths: { + standalone: { + one: 'ongeféier ee Mount', + other: 'ongeféier {{count}} Méint' + }, + withPreposition: { + one: 'ongeféier engem Mount', + other: 'ongeféier {{count}} Méint' + } + }, + xMonths: { + standalone: { + one: 'ee Mount', + other: '{{count}} Méint' + }, + withPreposition: { + one: 'engem Mount', + other: '{{count}} Méint' + } + }, + aboutXYears: { + standalone: { + one: 'ongeféier ee Joer', + other: 'ongeféier {{count}} Joer' + }, + withPreposition: { + one: 'ongeféier engem Joer', + other: 'ongeféier {{count}} Joer' + } + }, + xYears: { + standalone: { + one: 'ee Joer', + other: '{{count}} Joer' + }, + withPreposition: { + one: 'engem Joer', + other: '{{count}} Joer' + } + }, + overXYears: { + standalone: { + one: 'méi wéi ee Joer', + other: 'méi wéi {{count}} Joer' + }, + withPreposition: { + one: 'méi wéi engem Joer', + other: 'méi wéi {{count}} Joer' + } + }, + almostXYears: { + standalone: { + one: 'bal ee Joer', + other: 'bal {{count}} Joer' + }, + withPreposition: { + one: 'bal engem Joer', + other: 'bal {{count}} Joer' + } + } +}; +var EXCEPTION_CONSONANTS = ['d', 'h', 'n', 't', 'z']; +var VOWELS = ['a,', 'e', 'i', 'o', 'u']; +var DIGITS_SPOKEN_N_NEEDED = [0, 1, 2, 3, 8, 9]; +var FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED = [40, 50, 60, 70]; + +// Eifeler Regel +function isFinalNNeeded(nextWords) { + var firstLetter = nextWords.charAt(0).toLowerCase(); + if (VOWELS.indexOf(firstLetter) != -1 || EXCEPTION_CONSONANTS.indexOf(firstLetter) != -1) { + return true; + } + + // Numbers would need to converted into words for checking. + // Therefore, I have listed the digits that require a preceeding n with a few exceptions. + var firstWord = nextWords.split(' ')[0]; + var number = parseInt(firstWord); + if (!isNaN(number) && DIGITS_SPOKEN_N_NEEDED.indexOf(number % 10) != -1 && FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED.indexOf(parseInt(firstWord.substring(0, 2))) == -1) { + return true; + } + + // Omit other checks as they are not expected here. + return false; +} +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + var usageGroup = options !== null && options !== void 0 && options.addSuffix ? tokenValue.withPreposition : tokenValue.standalone; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'a' + (isFinalNNeeded(result) ? 'n' : '') + ' ' + result; + } else { + return 'viru' + (isFinalNNeeded(result) ? 'n' : '') + ' ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/lb/_lib/formatLong/index.js new file mode 100644 index 000000000..1f5d7cf3a --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/_lib/formatLong/index.js @@ -0,0 +1,38 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; // DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008 +var dateFormats = { + full: 'EEEE, do MMMM y', + // Méindeg, 7. Januar 2018 + long: 'do MMMM y', + // 7. Januar 2018 + medium: 'do MMM y', + // 7. Jan 2018 + short: 'dd.MM.yy' // 07.01.18 +}; + +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'um' {{time}}", + long: "{{date}} 'um' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/lb/_lib/formatRelative/index.js new file mode 100644 index 000000000..5d63214f1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/_lib/formatRelative/index.js @@ -0,0 +1,25 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var day = date.getUTCDay(); + var result = "'läschte"; + if (day === 2 || day === 4) { + // Eifeler Regel: Add an n before the consonant d; Here "Dënschdeg" "and Donneschde". + result += 'n'; + } + result += "' eeee 'um' p"; + return result; + }, + yesterday: "'gëschter um' p", + today: "'haut um' p", + tomorrow: "'moien um' p", + nextWeek: "eeee 'um' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/_lib/localize/index.js b/node_modules/date-fns/esm/locale/lb/_lib/localize/index.js new file mode 100644 index 000000000..ac5d928b4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['v.Chr.', 'n.Chr.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['viru Christus', 'no Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + wide: ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + short: ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'], + abbreviated: ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'], + wide: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'] +}; +var dayPeriodValues = { + narrow: { + am: 'mo.', + pm: 'nomë.', + midnight: 'Mëtternuecht', + noon: 'Mëtteg', + morning: 'Moien', + afternoon: 'Nomëtteg', + evening: 'Owend', + night: 'Nuecht' + }, + abbreviated: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'Mëtteg', + morning: 'Moien', + afternoon: 'Nomëtteg', + evening: 'Owend', + night: 'Nuecht' + }, + wide: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'Mëtteg', + morning: 'Moien', + afternoon: 'Nomëtteg', + evening: 'Owend', + night: 'Nuecht' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'mo.', + pm: 'nom.', + midnight: 'Mëtternuecht', + noon: 'mëttes', + morning: 'moies', + afternoon: 'nomëttes', + evening: 'owes', + night: 'nuets' + }, + abbreviated: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'mëttes', + morning: 'moies', + afternoon: 'nomëttes', + evening: 'owes', + night: 'nuets' + }, + wide: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'mëttes', + morning: 'moies', + afternoon: 'nomëttes', + evening: 'owes', + night: 'nuets' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/_lib/match/index.js b/node_modules/date-fns/esm/locale/lb/_lib/match/index.js new file mode 100644 index 000000000..df43ffb9c --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + wide: /^(viru Christus|virun eiser Zäitrechnung|no Christus|eiser Zäitrechnung)/i +}; +var parseEraPatterns = { + any: [/^v/i, /^n/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? Quartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mäe|abr|mee|jun|jul|aug|sep|okt|nov|dez)/i, + wide: /^(januar|februar|mäerz|abrëll|mee|juni|juli|august|september|oktober|november|dezember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mä/i, /^ab/i, /^me/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smdf]/i, + short: /^(so|mé|dë|më|do|fr|sa)/i, + abbreviated: /^(son?|méi?|dën?|mët?|don?|fre?|sam?)\.?/i, + wide: /^(sonndeg|méindeg|dënschdeg|mëttwoch|donneschdeg|freideg|samschdeg)/i +}; +var parseDayPatterns = { + any: [/^so/i, /^mé/i, /^dë/i, /^më/i, /^do/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(mo\.?|nomë\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i, + abbreviated: /^(moi\.?|nomët\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i, + wide: /^(moies|nomëttes|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^m/i, + pm: /^n/i, + midnight: /^Mëtter/i, + noon: /^mëttes/i, + morning: /moies/i, + afternoon: /nomëttes/i, + // will never be matched. Afternoon is matched by `pm` + evening: /owes/i, + night: /nuets/i // will never be matched. Night is matched by `pm` + } +}; + +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/index.d.ts b/node_modules/date-fns/esm/locale/lb/index.d.ts new file mode 100644 index 000000000..727529bb2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lb } from 'date-fns/locale' +export default lb diff --git a/node_modules/date-fns/esm/locale/lb/index.js b/node_modules/date-fns/esm/locale/lb/index.js new file mode 100644 index 000000000..25f67b475 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Luxembourgish locale. + * @language Luxembourgish + * @iso-639-2 ltz + * @author Daniel Waxweiler [@dwaxweiler]{@link https://github.com/dwaxweiler} + */ +var locale = { + code: 'lb', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lb/index.js.flow b/node_modules/date-fns/esm/locale/lb/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/lb/package.json b/node_modules/date-fns/esm/locale/lb/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lb/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/lt/_lib/formatDistance/index.js new file mode 100644 index 000000000..82d4806e2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/_lib/formatDistance/index.js @@ -0,0 +1,139 @@ +var translations = { + xseconds_other: 'sekundė_sekundžių_sekundes', + xminutes_one: 'minutė_minutės_minutę', + xminutes_other: 'minutės_minučių_minutes', + xhours_one: 'valanda_valandos_valandą', + xhours_other: 'valandos_valandų_valandas', + xdays_one: 'diena_dienos_dieną', + xdays_other: 'dienos_dienų_dienas', + xweeks_one: 'savaitė_savaitės_savaitę', + xweeks_other: 'savaitės_savaičių_savaites', + xmonths_one: 'mėnuo_mėnesio_mėnesį', + xmonths_other: 'mėnesiai_mėnesių_mėnesius', + xyears_one: 'metai_metų_metus', + xyears_other: 'metai_metų_metus', + about: 'apie', + over: 'daugiau nei', + almost: 'beveik', + lessthan: 'mažiau nei' +}; +var translateSeconds = function translateSeconds(_number, addSuffix, _key, isFuture) { + if (!addSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } +}; +var translateSingular = function translateSingular(_number, addSuffix, key, isFuture) { + return !addSuffix ? forms(key)[0] : isFuture ? forms(key)[1] : forms(key)[2]; +}; +var translate = function translate(number, addSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return result + translateSingular(number, addSuffix, key, isFuture); + } else if (!addSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } +}; +function special(number) { + return number % 10 === 0 || number > 10 && number < 20; +} +function forms(key) { + return translations[key].split('_'); +} +var formatDistanceLocale = { + lessThanXSeconds: { + one: translateSeconds, + other: translate + }, + xSeconds: { + one: translateSeconds, + other: translate + }, + halfAMinute: 'pusė minutės', + lessThanXMinutes: { + one: translateSingular, + other: translate + }, + xMinutes: { + one: translateSingular, + other: translate + }, + aboutXHours: { + one: translateSingular, + other: translate + }, + xHours: { + one: translateSingular, + other: translate + }, + xDays: { + one: translateSingular, + other: translate + }, + aboutXWeeks: { + one: translateSingular, + other: translate + }, + xWeeks: { + one: translateSingular, + other: translate + }, + aboutXMonths: { + one: translateSingular, + other: translate + }, + xMonths: { + one: translateSingular, + other: translate + }, + aboutXYears: { + one: translateSingular, + other: translate + }, + xYears: { + one: translateSingular, + other: translate + }, + overXYears: { + one: translateSingular, + other: translate + }, + almostXYears: { + one: translateSingular, + other: translate + } +}; +var formatDistance = function formatDistance(token, count, options) { + var adverb = token.match(/about|over|almost|lessthan/i); + var unit = adverb ? token.replace(adverb[0], '') : token; + var isFuture = (options === null || options === void 0 ? void 0 : options.comparison) !== undefined && options.comparison > 0; + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one(count, (options === null || options === void 0 ? void 0 : options.addSuffix) === true, unit.toLowerCase() + '_one', isFuture); + } else { + result = tokenValue.other(count, (options === null || options === void 0 ? void 0 : options.addSuffix) === true, unit.toLowerCase() + '_other', isFuture); + } + if (adverb) { + var _key2 = adverb[0].toLowerCase(); + result = translations[_key2] + ' ' + result; + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'po ' + result; + } else { + return 'prieš ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/lt/_lib/formatLong/index.js new file mode 100644 index 000000000..94982a08d --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "y 'm'. MMMM d 'd'., EEEE", + long: "y 'm'. MMMM d 'd'.", + medium: 'y-MM-dd', + short: 'y-MM-dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/lt/_lib/formatRelative/index.js new file mode 100644 index 000000000..77bbf333b --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'Praėjusį' eeee p", + yesterday: "'Vakar' p", + today: "'Šiandien' p", + tomorrow: "'Rytoj' p", + nextWeek: 'eeee p', + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/_lib/localize/index.js b/node_modules/date-fns/esm/locale/lt/_lib/localize/index.js new file mode 100644 index 000000000..46000f50f --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/_lib/localize/index.js @@ -0,0 +1,141 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['pr. Kr.', 'po Kr.'], + abbreviated: ['pr. Kr.', 'po Kr.'], + wide: ['prieš Kristų', 'po Kristaus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['I ketv.', 'II ketv.', 'III ketv.', 'IV ketv.'], + wide: ['I ketvirtis', 'II ketvirtis', 'III ketvirtis', 'IV ketvirtis'] +}; +var formattingQuarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['I k.', 'II k.', 'III k.', 'IV k.'], + wide: ['I ketvirtis', 'II ketvirtis', 'III ketvirtis', 'IV ketvirtis'] +}; +var monthValues = { + narrow: ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + abbreviated: ['saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', 'lapkr.', 'gruod.'], + wide: ['sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', 'rugsėjis', 'spalis', 'lapkritis', 'gruodis'] +}; +var formattingMonthValues = { + narrow: ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + abbreviated: ['saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', 'lapkr.', 'gruod.'], + wide: ['sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjūčio', 'rugsėjo', 'spalio', 'lapkričio', 'gruodžio'] +}; +var dayValues = { + narrow: ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], + short: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], + abbreviated: ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + wide: ['sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis', 'šeštadienis'] +}; +var formattingDayValues = { + narrow: ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], + short: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], + abbreviated: ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + wide: ['sekmadienį', 'pirmadienį', 'antradienį', 'trečiadienį', 'ketvirtadienį', 'penktadienį', 'šeštadienį'] +}; +var dayPeriodValues = { + narrow: { + am: 'pr. p.', + pm: 'pop.', + midnight: 'vidurnaktis', + noon: 'vidurdienis', + morning: 'rytas', + afternoon: 'diena', + evening: 'vakaras', + night: 'naktis' + }, + abbreviated: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'vidurdienis', + morning: 'rytas', + afternoon: 'diena', + evening: 'vakaras', + night: 'naktis' + }, + wide: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'vidurdienis', + morning: 'rytas', + afternoon: 'diena', + evening: 'vakaras', + night: 'naktis' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'pr. p.', + pm: 'pop.', + midnight: 'vidurnaktis', + noon: 'perpiet', + morning: 'rytas', + afternoon: 'popietė', + evening: 'vakaras', + night: 'naktis' + }, + abbreviated: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'perpiet', + morning: 'rytas', + afternoon: 'popietė', + evening: 'vakaras', + night: 'naktis' + }, + wide: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'perpiet', + morning: 'rytas', + afternoon: 'popietė', + evening: 'vakaras', + night: 'naktis' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '-oji'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/_lib/match/index.js b/node_modules/date-fns/esm/locale/lt/_lib/match/index.js new file mode 100644 index 000000000..617673c49 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/_lib/match/index.js @@ -0,0 +1,111 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-oji)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^p(r|o)\.?\s?(kr\.?|me)/i, + abbreviated: /^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i, + wide: /^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i +}; +var parseEraPatterns = { + wide: [/prieš/i, /(po|mūsų)/i], + any: [/^pr/i, /^(po|m)/i] +}; +var matchQuarterPatterns = { + narrow: /^([1234])/i, + abbreviated: /^(I|II|III|IV)\s?ketv?\.?/i, + wide: /^(I|II|III|IV)\s?ketvirtis/i +}; +var parseQuarterPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i], + any: [/I$/i, /II$/i, /III/i, /IV/i] +}; +var matchMonthPatterns = { + narrow: /^[svkbglr]/i, + abbreviated: /^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i, + wide: /^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i +}; +var parseMonthPatterns = { + narrow: [/^s/i, /^v/i, /^k/i, /^b/i, /^g/i, /^b/i, /^l/i, /^r/i, /^r/i, /^s/i, /^l/i, /^g/i], + any: [/^saus/i, /^vas/i, /^kov/i, /^bal/i, /^geg/i, /^birž/i, /^liep/i, /^rugp/i, /^rugs/i, /^spal/i, /^lapkr/i, /^gruod/i] +}; +var matchDayPatterns = { + narrow: /^[spatkš]/i, + short: /^(sk|pr|an|tr|kt|pn|št)/i, + abbreviated: /^(sk|pr|an|tr|kt|pn|št)/i, + wide: /^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^p/i, /^a/i, /^t/i, /^k/i, /^p/i, /^š/i], + wide: [/^se/i, /^pi/i, /^an/i, /^tr/i, /^ke/i, /^pe/i, /^še/i], + any: [/^sk/i, /^pr/i, /^an/i, /^tr/i, /^kt/i, /^pn/i, /^št/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i, + any: /^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^pr/i, + pm: /^pop./i, + midnight: /^vidurnaktis/i, + noon: /^(vidurdienis|perp)/i, + morning: /rytas/i, + afternoon: /(die|popietė)/i, + evening: /vakaras/i, + night: /naktis/i + }, + any: { + am: /^pr/i, + pm: /^popiet$/i, + midnight: /^vidurnaktis/i, + noon: /^(vidurdienis|perp)/i, + morning: /rytas/i, + afternoon: /(die|popietė)/i, + evening: /vakaras/i, + night: /naktis/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/index.d.ts b/node_modules/date-fns/esm/locale/lt/index.d.ts new file mode 100644 index 000000000..573a84029 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lt } from 'date-fns/locale' +export default lt diff --git a/node_modules/date-fns/esm/locale/lt/index.js b/node_modules/date-fns/esm/locale/lt/index.js new file mode 100644 index 000000000..28776e581 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Lithuanian locale. + * @language Lithuanian + * @iso-639-2 lit + * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak} + * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll} + */ +var locale = { + code: 'lt', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lt/index.js.flow b/node_modules/date-fns/esm/locale/lt/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/lt/package.json b/node_modules/date-fns/esm/locale/lt/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lt/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/lv/_lib/formatDistance/index.js new file mode 100644 index 000000000..c03c8b67b --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/_lib/formatDistance/index.js @@ -0,0 +1,101 @@ +function buildLocalizeTokenFn(schema) { + return function (count, options) { + if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + return schema.one[0].replace('{{time}}', schema.one[2]); + } else { + return schema.one[0].replace('{{time}}', schema.one[1]); + } + } else { + var rem = count % 10 === 1 && count % 100 !== 11; + if (options !== null && options !== void 0 && options.addSuffix) { + return schema.other[0].replace('{{time}}', rem ? schema.other[3] : schema.other[4]).replace('{{count}}', String(count)); + } else { + return schema.other[0].replace('{{time}}', rem ? schema.other[1] : schema.other[2]).replace('{{count}}', String(count)); + } + } + }; +} +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + one: ['mazāk par {{time}}', 'sekundi', 'sekundi'], + other: ['mazāk nekā {{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm'] + }), + xSeconds: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'sekunde', 'sekundes'], + other: ['{{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm'] + }), + halfAMinute: function halfAMinute(_count, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + return 'pusminūtes'; + } else { + return 'pusminūte'; + } + }, + lessThanXMinutes: buildLocalizeTokenFn({ + one: ['mazāk par {{time}}', 'minūti', 'minūti'], + other: ['mazāk nekā {{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm'] + }), + xMinutes: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'minūte', 'minūtes'], + other: ['{{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm'] + }), + aboutXHours: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'stunda', 'stundas'], + other: ['apmēram {{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām'] + }), + xHours: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'stunda', 'stundas'], + other: ['{{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām'] + }), + xDays: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'diena', 'dienas'], + other: ['{{count}} {{time}}', 'diena', 'dienas', 'dienas', 'dienām'] + }), + aboutXWeeks: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'nedēļa', 'nedēļas'], + other: ['apmēram {{count}} {{time}}', 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām'] + }), + xWeeks: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'nedēļa', 'nedēļas'], + other: ['{{count}} {{time}}', + // TODO + 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām'] + }), + aboutXMonths: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'mēnesis', 'mēneša'], + other: ['apmēram {{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem'] + }), + xMonths: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'mēnesis', 'mēneša'], + other: ['{{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem'] + }), + aboutXYears: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'gads', 'gada'], + other: ['apmēram {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }), + xYears: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'gads', 'gada'], + other: ['{{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }), + overXYears: buildLocalizeTokenFn({ + one: ['ilgāk par 1 {{time}}', 'gadu', 'gadu'], + other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }), + almostXYears: buildLocalizeTokenFn({ + one: ['gandrīz 1 {{time}}', 'gads', 'gada'], + other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }) +}; +var formatDistance = function formatDistance(token, count, options) { + var result = formatDistanceLocale[token](count, options); + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'pēc ' + result; + } else { + return 'pirms ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/lv/_lib/formatLong/index.js new file mode 100644 index 000000000..dbf9256fa --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, y. 'gada' d. MMMM", + long: "y. 'gada' d. MMMM", + medium: 'dd.MM.y.', + short: 'dd.MM.y.' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'plkst.' {{time}}", + long: "{{date}} 'plkst.' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/lv/_lib/formatRelative/index.js new file mode 100644 index 000000000..0412e8e97 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/_lib/formatRelative/index.js @@ -0,0 +1,30 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var weekdays = ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā']; +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + if (isSameUTCWeek(date, baseDate, options)) { + return "eeee 'plkst.' p"; + } + var weekday = weekdays[date.getUTCDay()]; + return "'Pagājušā " + weekday + " plkst.' p"; + }, + yesterday: "'Vakar plkst.' p", + today: "'Šodien plkst.' p", + tomorrow: "'Rīt plkst.' p", + nextWeek: function nextWeek(date, baseDate, options) { + if (isSameUTCWeek(date, baseDate, options)) { + return "eeee 'plkst.' p"; + } + var weekday = weekdays[date.getUTCDay()]; + return "'Nākamajā " + weekday + " plkst.' p"; + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/_lib/localize/index.js b/node_modules/date-fns/esm/locale/lv/_lib/localize/index.js new file mode 100644 index 000000000..e24384a5e --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/_lib/localize/index.js @@ -0,0 +1,141 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['p.m.ē', 'm.ē'], + abbreviated: ['p. m. ē.', 'm. ē.'], + wide: ['pirms mūsu ēras', 'mūsu ērā'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'], + wide: ['pirmais ceturksnis', 'otrais ceturksnis', 'trešais ceturksnis', 'ceturtais ceturksnis'] +}; +var formattingQuarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'], + wide: ['pirmajā ceturksnī', 'otrajā ceturksnī', 'trešajā ceturksnī', 'ceturtajā ceturksnī'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'], + wide: ['janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', 'septembris', 'oktobris', 'novembris', 'decembris'] +}; +var formattingMonthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'febr.', 'martā', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'], + wide: ['janvārī', 'februārī', 'martā', 'aprīlī', 'maijā', 'jūnijā', 'jūlijā', 'augustā', 'septembrī', 'oktobrī', 'novembrī', 'decembrī'] +}; +var dayValues = { + narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'], + abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], + wide: ['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena'] +}; +var formattingDayValues = { + narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'], + abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], + wide: ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rīts', + afternoon: 'diena', + evening: 'vakars', + night: 'nakts' + }, + abbreviated: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rīts', + afternoon: 'pēcpusd.', + evening: 'vakars', + night: 'nakts' + }, + wide: { + am: 'am', + pm: 'pm', + midnight: 'pusnakts', + noon: 'pusdienlaiks', + morning: 'rīts', + afternoon: 'pēcpusdiena', + evening: 'vakars', + night: 'nakts' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rītā', + afternoon: 'dienā', + evening: 'vakarā', + night: 'naktī' + }, + abbreviated: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rītā', + afternoon: 'pēcpusd.', + evening: 'vakarā', + night: 'naktī' + }, + wide: { + am: 'am', + pm: 'pm', + midnight: 'pusnaktī', + noon: 'pusdienlaikā', + morning: 'rītā', + afternoon: 'pēcpusdienā', + evening: 'vakarā', + night: 'naktī' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/_lib/match/index.js b/node_modules/date-fns/esm/locale/lv/_lib/match/index.js new file mode 100644 index 000000000..219c6a762 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/_lib/match/index.js @@ -0,0 +1,101 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p\.m\.ē|m\.ē)/i, + abbreviated: /^(p\. m\. ē\.|m\. ē\.)/i, + wide: /^(pirms mūsu ēras|mūsu ērā)/i +}; +var parseEraPatterns = { + any: [/^p/i, /^m/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](\. cet\.)/i, + wide: /^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i +}; +var parseQuarterPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i], + abbreviated: [/^1/i, /^2/i, /^3/i, /^4/i], + wide: [/^p/i, /^o/i, /^t/i, /^c/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i, + wide: /^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jūn/i, /^jūl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[spotc]/i, + short: /^(sv|pi|o|t|c|pk|s)/i, + abbreviated: /^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i, + wide: /^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^p/i, /^o/i, /^t/i, /^c/i, /^p/i, /^s/i], + any: [/^sv/i, /^pi/i, /^o/i, /^t/i, /^c/i, /^p/i, /^se/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/, + abbreviated: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/, + wide: /^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^pusn/i, + noon: /^pusd/i, + morning: /^r/i, + afternoon: /^(d|pēc)/i, + evening: /^v/i, + night: /^n/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'wide', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/index.d.ts b/node_modules/date-fns/esm/locale/lv/index.d.ts new file mode 100644 index 000000000..14686a268 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lv } from 'date-fns/locale' +export default lv diff --git a/node_modules/date-fns/esm/locale/lv/index.js b/node_modules/date-fns/esm/locale/lv/index.js new file mode 100644 index 000000000..317b57637 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Latvian locale (Latvia). + * @language Latvian + * @iso-639-2 lav + * @author Rūdolfs Puķītis [@prudolfs]{@link https://github.com/prudolfs} + */ +var locale = { + code: 'lv', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/lv/index.js.flow b/node_modules/date-fns/esm/locale/lv/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/lv/package.json b/node_modules/date-fns/esm/locale/lv/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/lv/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/mk/_lib/formatDistance/index.js new file mode 100644 index 000000000..cd5bf0b4b --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'помалку од секунда', + other: 'помалку од {{count}} секунди' + }, + xSeconds: { + one: '1 секунда', + other: '{{count}} секунди' + }, + halfAMinute: 'половина минута', + lessThanXMinutes: { + one: 'помалку од минута', + other: 'помалку од {{count}} минути' + }, + xMinutes: { + one: '1 минута', + other: '{{count}} минути' + }, + aboutXHours: { + one: 'околу 1 час', + other: 'околу {{count}} часа' + }, + xHours: { + one: '1 час', + other: '{{count}} часа' + }, + xDays: { + one: '1 ден', + other: '{{count}} дена' + }, + aboutXWeeks: { + one: 'околу 1 недела', + other: 'околу {{count}} месеци' + }, + xWeeks: { + one: '1 недела', + other: '{{count}} недели' + }, + aboutXMonths: { + one: 'околу 1 месец', + other: 'околу {{count}} недели' + }, + xMonths: { + one: '1 месец', + other: '{{count}} месеци' + }, + aboutXYears: { + one: 'околу 1 година', + other: 'околу {{count}} години' + }, + xYears: { + one: '1 година', + other: '{{count}} години' + }, + overXYears: { + one: 'повеќе од 1 година', + other: 'повеќе од {{count}} години' + }, + almostXYears: { + one: 'безмалку 1 година', + other: 'безмалку {{count}} години' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'за ' + result; + } else { + return 'пред ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/mk/_lib/formatLong/index.js new file mode 100644 index 000000000..fd7da90c3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/mk/_lib/formatRelative/index.js new file mode 100644 index 000000000..d6f1e4865 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/_lib/formatRelative/index.js @@ -0,0 +1,74 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var weekdays = ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота']; +function _lastWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'минатата " + weekday + " во' p"; + case 1: + case 2: + case 4: + case 5: + return "'минатиот " + weekday + " во' p"; + } +} +function thisWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'ова " + weekday + " вo' p"; + case 1: + case 2: + case 4: + case 5: + return "'овој " + weekday + " вo' p"; + } +} +function _nextWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'следната " + weekday + " вo' p"; + case 1: + case 2: + case 4: + case 5: + return "'следниот " + weekday + " вo' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'вчера во' p", + today: "'денес во' p", + tomorrow: "'утре во' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/_lib/localize/index.js b/node_modules/date-fns/esm/locale/mk/_lib/localize/index.js new file mode 100644 index 000000000..9e8cfcf72 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/_lib/localize/index.js @@ -0,0 +1,76 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['пр.н.е.', 'н.е.'], + abbreviated: ['пред н. е.', 'н. е.'], + wide: ['пред нашата ера', 'нашата ера'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ви кв.', '2-ри кв.', '3-ти кв.', '4-ти кв.'], + wide: ['1-ви квартал', '2-ри квартал', '3-ти квартал', '4-ти квартал'] +}; +var monthValues = { + abbreviated: ['јан', 'фев', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'ноем', 'дек'], + wide: ['јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември', 'октомври', 'ноември', 'декември'] +}; +var dayValues = { + narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['не', 'по', 'вт', 'ср', 'че', 'пе', 'са'], + abbreviated: ['нед', 'пон', 'вто', 'сре', 'чет', 'пет', 'саб'], + wide: ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'] +}; +var dayPeriodValues = { + wide: { + am: 'претпладне', + pm: 'попладне', + midnight: 'полноќ', + noon: 'напладне', + morning: 'наутро', + afternoon: 'попладне', + evening: 'навечер', + night: 'ноќе' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + '-ви'; + case 2: + return number + '-ри'; + case 7: + case 8: + return number + '-ми'; + } + } + return number + '-ти'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/_lib/match/index.js b/node_modules/date-fns/esm/locale/mk/_lib/match/index.js new file mode 100644 index 000000000..4846c349c --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/_lib/match/index.js @@ -0,0 +1,95 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?[врмт][и])?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((пр)?н\.?\s?е\.?)/i, + abbreviated: /^((пр)?н\.?\s?е\.?)/i, + wide: /^(пред нашата ера|нашата ера)/i +}; +var parseEraPatterns = { + any: [/^п/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[врт]?и?)? кв.?/i, + wide: /^[1234](-?[врт]?и?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchDayPatterns = { + narrow: /^[нпвсч]/i, + short: /^(не|по|вт|ср|че|пе|са)/i, + abbreviated: /^(нед|пон|вто|сре|чет|пет|саб)/i, + wide: /^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[аб]/i] +}; +var matchMonthPatterns = { + abbreviated: /^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i, + wide: /^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i +}; +var parseMonthPatterns = { + any: [/^ја/i, /^Ф/i, /^мар/i, /^ап/i, /^мај/i, /^јун/i, /^јул/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i] +}; +var matchDayPeriodPatterns = { + any: /^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /претпладне/i, + pm: /попладне/i, + midnight: /полноќ/i, + noon: /напладне/i, + morning: /наутро/i, + afternoon: /попладне/i, + evening: /навечер/i, + night: /ноќе/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/index.d.ts b/node_modules/date-fns/esm/locale/mk/index.d.ts new file mode 100644 index 000000000..b845b31d2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { mk } from 'date-fns/locale' +export default mk diff --git a/node_modules/date-fns/esm/locale/mk/index.js b/node_modules/date-fns/esm/locale/mk/index.js new file mode 100644 index 000000000..70f4018df --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Macedonian locale. + * @language Macedonian + * @iso-639-2 mkd + * @author Petar Vlahu [@vlahupetar]{@link https://github.com/vlahupetar} + * @author Altrim Beqiri [@altrim]{@link https://github.com/altrim} + */ +var locale = { + code: 'mk', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mk/index.js.flow b/node_modules/date-fns/esm/locale/mk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/mk/package.json b/node_modules/date-fns/esm/locale/mk/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mk/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/mn/_lib/formatDistance/index.js new file mode 100644 index 000000000..027f51a82 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/_lib/formatDistance/index.js @@ -0,0 +1,120 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'секунд хүрэхгүй', + other: '{{count}} секунд хүрэхгүй' + }, + xSeconds: { + one: '1 секунд', + other: '{{count}} секунд' + }, + halfAMinute: 'хагас минут', + lessThanXMinutes: { + one: 'минут хүрэхгүй', + other: '{{count}} минут хүрэхгүй' + }, + xMinutes: { + one: '1 минут', + other: '{{count}} минут' + }, + aboutXHours: { + one: 'ойролцоогоор 1 цаг', + other: 'ойролцоогоор {{count}} цаг' + }, + xHours: { + one: '1 цаг', + other: '{{count}} цаг' + }, + xDays: { + one: '1 өдөр', + other: '{{count}} өдөр' + }, + aboutXWeeks: { + one: 'ойролцоогоор 1 долоо хоног', + other: 'ойролцоогоор {{count}} долоо хоног' + }, + xWeeks: { + one: '1 долоо хоног', + other: '{{count}} долоо хоног' + }, + aboutXMonths: { + one: 'ойролцоогоор 1 сар', + other: 'ойролцоогоор {{count}} сар' + }, + xMonths: { + one: '1 сар', + other: '{{count}} сар' + }, + aboutXYears: { + one: 'ойролцоогоор 1 жил', + other: 'ойролцоогоор {{count}} жил' + }, + xYears: { + one: '1 жил', + other: '{{count}} жил' + }, + overXYears: { + one: '1 жил гаран', + other: '{{count}} жил гаран' + }, + almostXYears: { + one: 'бараг 1 жил', + other: 'бараг {{count}} жил' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + /** + * Append genitive case + */ + var words = result.split(' '); + var lastword = words.pop(); + result = words.join(' '); + switch (lastword) { + case 'секунд': + result += ' секундийн'; + break; + case 'минут': + result += ' минутын'; + break; + case 'цаг': + result += ' цагийн'; + break; + case 'өдөр': + result += ' өдрийн'; + break; + case 'сар': + result += ' сарын'; + break; + case 'жил': + result += ' жилийн'; + break; + case 'хоног': + result += ' хоногийн'; + break; + case 'гаран': + result += ' гараны'; + break; + case 'хүрэхгүй': + result += ' хүрэхгүй хугацааны'; + break; + default: + result += lastword + '-н'; + } + if (options.comparison && options.comparison > 0) { + return result + ' дараа'; + } else { + return result + ' өмнө'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/mn/_lib/formatLong/index.js new file mode 100644 index 000000000..991e3731c --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "y 'оны' MMMM'ын' d, EEEE 'гараг'", + long: "y 'оны' MMMM'ын' d", + medium: "y 'оны' MMM'ын' d", + short: 'y.MM.dd' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/mn/_lib/formatRelative/index.js new file mode 100644 index 000000000..9ec5315a9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'өнгөрсөн' eeee 'гарагийн' p 'цагт'", + yesterday: "'өчигдөр' p 'цагт'", + today: "'өнөөдөр' p 'цагт'", + tomorrow: "'маргааш' p 'цагт'", + nextWeek: "'ирэх' eeee 'гарагийн' p 'цагт'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/_lib/localize/index.js b/node_modules/date-fns/esm/locale/mn/_lib/localize/index.js new file mode 100644 index 000000000..e8d8de58d --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/_lib/localize/index.js @@ -0,0 +1,104 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['НТӨ', 'НТ'], + abbreviated: ['НТӨ', 'НТ'], + wide: ['нийтийн тооллын өмнөх', 'нийтийн тооллын'] +}; +var quarterValues = { + narrow: ['I', 'II', 'III', 'IV'], + abbreviated: ['I улирал', 'II улирал', 'III улирал', 'IV улирал'], + wide: ['1-р улирал', '2-р улирал', '3-р улирал', '4-р улирал'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], + abbreviated: ['1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар'], + wide: ['Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар', 'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', 'Арваннэгдүгээр сар', 'Арван хоёрдугаар сар'] +}; +var formattingMonthValues = { + narrow: ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], + abbreviated: ['1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар'], + wide: ['нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар', 'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', 'арваннэгдүгээр сар', 'арван хоёрдугаар сар'] +}; +var dayValues = { + narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'], + short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'], + wide: ['Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', 'Бямба'] +}; +var formattingDayValues = { + narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'], + short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'], + wide: ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба'] +}; +var dayPeriodValues = { + narrow: { + am: 'ү.ө.', + pm: 'ү.х.', + midnight: 'шөнө дунд', + noon: 'үд дунд', + morning: 'өглөө', + afternoon: 'өдөр', + evening: 'орой', + night: 'шөнө' + }, + abbreviated: { + am: 'ү.ө.', + pm: 'ү.х.', + midnight: 'шөнө дунд', + noon: 'үд дунд', + morning: 'өглөө', + afternoon: 'өдөр', + evening: 'орой', + night: 'шөнө' + }, + wide: { + am: 'ү.ө.', + pm: 'ү.х.', + midnight: 'шөнө дунд', + noon: 'үд дунд', + morning: 'өглөө', + afternoon: 'өдөр', + evening: 'орой', + night: 'шөнө' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/_lib/match/index.js b/node_modules/date-fns/esm/locale/mn/_lib/match/index.js new file mode 100644 index 000000000..d566852da --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /\d+/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(нтө|нт)/i, + abbreviated: /^(нтө|нт)/i, + wide: /^(нийтийн тооллын өмнө|нийтийн тооллын)/i +}; +var parseEraPatterns = { + any: [/^(нтө|нийтийн тооллын өмнө)/i, /^(нт|нийтийн тооллын)/i] +}; +var matchQuarterPatterns = { + narrow: /^(iv|iii|ii|i)/i, + abbreviated: /^(iv|iii|ii|i) улирал/i, + wide: /^[1-4]-р улирал/i +}; +var parseQuarterPatterns = { + any: [/^(i(\s|$)|1)/i, /^(ii(\s|$)|2)/i, /^(iii(\s|$)|3)/i, /^(iv(\s|$)|4)/i] +}; +var matchMonthPatterns = { + narrow: /^(xii|xi|x|ix|viii|vii|vi|v|iv|iii|ii|i)/i, + abbreviated: /^(1-р сар|2-р сар|3-р сар|4-р сар|5-р сар|6-р сар|7-р сар|8-р сар|9-р сар|10-р сар|11-р сар|12-р сар)/i, + wide: /^(нэгдүгээр сар|хоёрдугаар сар|гуравдугаар сар|дөрөвдүгээр сар|тавдугаар сар|зургаадугаар сар|долоодугаар сар|наймдугаар сар|есдүгээр сар|аравдугаар сар|арван нэгдүгээр сар|арван хоёрдугаар сар)/i +}; +var parseMonthPatterns = { + narrow: [/^i$/i, /^ii$/i, /^iii$/i, /^iv$/i, /^v$/i, /^vi$/i, /^vii$/i, /^viii$/i, /^ix$/i, /^x$/i, /^xi$/i, /^xii$/i], + any: [/^(1|нэгдүгээр)/i, /^(2|хоёрдугаар)/i, /^(3|гуравдугаар)/i, /^(4|дөрөвдүгээр)/i, /^(5|тавдугаар)/i, /^(6|зургаадугаар)/i, /^(7|долоодугаар)/i, /^(8|наймдугаар)/i, /^(9|есдүгээр)/i, /^(10|аравдугаар)/i, /^(11|арван нэгдүгээр)/i, /^(12|арван хоёрдугаар)/i] +}; +var matchDayPatterns = { + narrow: /^[ндмлпбб]/i, + short: /^(ня|да|мя|лх|пү|ба|бя)/i, + abbreviated: /^(ням|дав|мяг|лха|пүр|баа|бям)/i, + wide: /^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^д/i, /^м/i, /^л/i, /^п/i, /^б/i, /^б/i], + any: [/^ня/i, /^да/i, /^мя/i, /^лх/i, /^пү/i, /^ба/i, /^бя/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i, + any: /^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ү\.ө\./i, + pm: /^ү\.х\./i, + midnight: /^шөнө дунд/i, + noon: /^үд дунд/i, + morning: /өглөө/i, + afternoon: /өдөр/i, + evening: /орой/i, + night: /шөнө/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/index.d.ts b/node_modules/date-fns/esm/locale/mn/index.d.ts new file mode 100644 index 000000000..9b27ad912 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { mn } from 'date-fns/locale' +export default mn diff --git a/node_modules/date-fns/esm/locale/mn/index.js b/node_modules/date-fns/esm/locale/mn/index.js new file mode 100644 index 000000000..d01f1709a --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Mongolian locale. + * @language Mongolian + * @iso-639-2 mon + * @author Bilguun Ochirbat [@bilguun0203]{@link https://github.com/bilguun0203} + */ +var locale = { + code: 'mn', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mn/index.js.flow b/node_modules/date-fns/esm/locale/mn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/mn/package.json b/node_modules/date-fns/esm/locale/mn/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mn/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ms/_lib/formatDistance/index.js new file mode 100644 index 000000000..6d384b03a --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'kurang dari 1 saat', + other: 'kurang dari {{count}} saat' + }, + xSeconds: { + one: '1 saat', + other: '{{count}} saat' + }, + halfAMinute: 'setengah minit', + lessThanXMinutes: { + one: 'kurang dari 1 minit', + other: 'kurang dari {{count}} minit' + }, + xMinutes: { + one: '1 minit', + other: '{{count}} minit' + }, + aboutXHours: { + one: 'sekitar 1 jam', + other: 'sekitar {{count}} jam' + }, + xHours: { + one: '1 jam', + other: '{{count}} jam' + }, + xDays: { + one: '1 hari', + other: '{{count}} hari' + }, + aboutXWeeks: { + one: 'sekitar 1 minggu', + other: 'sekitar {{count}} minggu' + }, + xWeeks: { + one: '1 minggu', + other: '{{count}} minggu' + }, + aboutXMonths: { + one: 'sekitar 1 bulan', + other: 'sekitar {{count}} bulan' + }, + xMonths: { + one: '1 bulan', + other: '{{count}} bulan' + }, + aboutXYears: { + one: 'sekitar 1 tahun', + other: 'sekitar {{count}} tahun' + }, + xYears: { + one: '1 tahun', + other: '{{count}} tahun' + }, + overXYears: { + one: 'lebih dari 1 tahun', + other: 'lebih dari {{count}} tahun' + }, + almostXYears: { + one: 'hampir 1 tahun', + other: 'hampir {{count}} tahun' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'dalam masa ' + result; + } else { + return result + ' yang lalu'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ms/_lib/formatLong/index.js new file mode 100644 index 000000000..6cab57091 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'd/M/yyyy' +}; +var timeFormats = { + full: 'HH.mm.ss', + long: 'HH.mm.ss', + medium: 'HH.mm', + short: 'HH.mm' +}; +var dateTimeFormats = { + full: "{{date}} 'pukul' {{time}}", + long: "{{date}} 'pukul' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ms/_lib/formatRelative/index.js new file mode 100644 index 000000000..f3a5a4800 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'lepas pada jam' p", + yesterday: "'Semalam pada jam' p", + today: "'Hari ini pada jam' p", + tomorrow: "'Esok pada jam' p", + nextWeek: "eeee 'pada jam' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ms/_lib/localize/index.js new file mode 100644 index 000000000..c45f98b9b --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/_lib/localize/index.js @@ -0,0 +1,125 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // Most data for localization are taken from this page +// https://www.unicode.org/cldr/charts/32/summary/ms.html +var eraValues = { + narrow: ['SM', 'M'], + abbreviated: ['SM', 'M'], + wide: ['Sebelum Masihi', 'Masihi'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['S1', 'S2', 'S3', 'S4'], + wide: ['Suku pertama', 'Suku kedua', 'Suku ketiga', 'Suku keempat'] +}; + +// Note: in Malay, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + wide: ['Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', 'November', 'Disember'] +}; +var dayValues = { + narrow: ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + short: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + abbreviated: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + wide: ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'tgh malam', + noon: 'tgh hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + // Can't use "pertama", "kedua" because can't be parsed + return 'ke-' + Number(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/_lib/match/index.js b/node_modules/date-fns/esm/locale/ms/_lib/match/index.js new file mode 100644 index 000000000..6535378e4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^ke-(\d+)?/i; +var parseOrdinalNumberPattern = /petama|\d+/i; +var matchEraPatterns = { + narrow: /^(sm|m)/i, + abbreviated: /^(s\.?\s?m\.?|m\.?)/i, + wide: /^(sebelum masihi|masihi)/i +}; +var parseEraPatterns = { + any: [/^s/i, /^(m)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^S[1234]/i, + wide: /Suku (pertama|kedua|ketiga|keempat)/i +}; +var parseQuarterPatterns = { + any: [/pertama|1/i, /kedua|2/i, /ketiga|3/i, /keempat|4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i, + wide: /^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^o/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^ma/i, /^ap/i, /^me/i, /^jun/i, /^jul/i, /^og/i, /^s/i, /^ok/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[aisrkj]/i, + short: /^(ahd|isn|sel|rab|kha|jum|sab)/i, + abbreviated: /^(ahd|isn|sel|rab|kha|jum|sab)/i, + wide: /^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i +}; +var parseDayPatterns = { + narrow: [/^a/i, /^i/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i], + any: [/^a/i, /^i/i, /^se/i, /^r/i, /^k/i, /^j/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i, + any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^pm/i, + midnight: /^tengah m/i, + noon: /^tengah h/i, + morning: /pa/i, + afternoon: /tengah h/i, + evening: /pe/i, + night: /m/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/index.d.ts b/node_modules/date-fns/esm/locale/ms/index.d.ts new file mode 100644 index 000000000..d7450bdd7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ms } from 'date-fns/locale' +export default ms diff --git a/node_modules/date-fns/esm/locale/ms/index.js b/node_modules/date-fns/esm/locale/ms/index.js new file mode 100644 index 000000000..eaee679c7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Malay locale. + * @language Malay + * @iso-639-2 msa + * @author Ruban Selvarajah [@Zyten]{@link https://github.com/Zyten} + */ +var locale = { + code: 'ms', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ms/index.js.flow b/node_modules/date-fns/esm/locale/ms/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ms/package.json b/node_modules/date-fns/esm/locale/ms/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ms/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/mt/_lib/formatDistance/index.js new file mode 100644 index 000000000..fc95fd02f --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/_lib/formatDistance/index.js @@ -0,0 +1,89 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'inqas minn sekonda', + other: 'inqas minn {{count}} sekondi' + }, + xSeconds: { + one: 'sekonda', + other: '{{count}} sekondi' + }, + halfAMinute: 'nofs minuta', + lessThanXMinutes: { + one: 'inqas minn minuta', + other: 'inqas minn {{count}} minuti' + }, + xMinutes: { + one: 'minuta', + other: '{{count}} minuti' + }, + aboutXHours: { + one: 'madwar siegħa', + other: 'madwar {{count}} siegħat' + }, + xHours: { + one: 'siegħa', + other: '{{count}} siegħat' + }, + xDays: { + one: 'ġurnata', + other: '{{count}} ġranet' + }, + aboutXWeeks: { + one: 'madwar ġimgħa', + other: 'madwar {{count}} ġimgħat' + }, + xWeeks: { + one: 'ġimgħa', + other: '{{count}} ġimgħat' + }, + aboutXMonths: { + one: 'madwar xahar', + other: 'madwar {{count}} xhur' + }, + xMonths: { + one: 'xahar', + other: '{{count}} xhur' + }, + aboutXYears: { + one: 'madwar sena', + two: 'madwar sentejn', + other: 'madwar {{count}} snin' + }, + xYears: { + one: 'sena', + two: 'sentejn', + other: '{{count}} snin' + }, + overXYears: { + one: 'aktar minn sena', + two: 'aktar minn sentejn', + other: 'aktar minn {{count}} snin' + }, + almostXYears: { + one: 'kważi sena', + two: 'kważi sentejn', + other: 'kważi {{count}} snin' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2 && tokenValue.two) { + result = tokenValue.two; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return "f'" + result; + } else { + return result + ' ilu'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/mt/_lib/formatLong/index.js new file mode 100644 index 000000000..f08860c37 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/mt/_lib/formatRelative/index.js new file mode 100644 index 000000000..165bb0a77 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'li għadda' 'fil-'p", + yesterday: "'Il-bieraħ fil-'p", + today: "'Illum fil-'p", + tomorrow: "'Għada fil-'p", + nextWeek: "eeee 'fil-'p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/_lib/localize/index.js b/node_modules/date-fns/esm/locale/mt/_lib/localize/index.js new file mode 100644 index 000000000..06c3c3226 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['Q', 'W'], + abbreviated: ['QK', 'WK'], + wide: ['qabel Kristu', 'wara Kristu'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1. kwart', '2. kwart', '3. kwart', '4. kwart'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], + wide: ['Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', 'Ottubru', 'Novembru', 'Diċembru'] +}; +var dayValues = { + narrow: ['Ħ', 'T', 'T', 'E', 'Ħ', 'Ġ', 'S'], + short: ['Ħa', 'Tn', 'Tl', 'Er', 'Ħa', 'Ġi', 'Si'], + abbreviated: ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + wide: ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'nofsillejl', + noon: 'nofsinhar', + morning: 'għodwa', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'lejl' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'nofsillejl', + noon: 'nofsinhar', + morning: 'għodwa', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'lejl' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'nofsillejl', + noon: 'nofsinhar', + morning: 'għodwa', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'lejl' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: "f'nofsillejl", + noon: "f'nofsinhar", + morning: 'filgħodu', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'billejl' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: "f'nofsillejl", + noon: "f'nofsinhar", + morning: 'filgħodu', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'billejl' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: "f'nofsillejl", + noon: "f'nofsinhar", + morning: 'filgħodu', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'billejl' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/_lib/match/index.js b/node_modules/date-fns/esm/locale/mt/_lib/match/index.js new file mode 100644 index 000000000..24139b96f --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(q|w)/i, + abbreviated: /^(q\.?\s?k\.?|b\.?\s?c\.?\s?e\.?|w\.?\s?k\.?)/i, + wide: /^(qabel kristu|before common era|wara kristu|common era)/i +}; +var parseEraPatterns = { + any: [/^(q|b)/i, /^(w|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^k[1234]/i, + wide: /^[1234](\.)? kwart/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmaglsond]/i, + abbreviated: /^(jan|fra|mar|apr|mej|ġun|lul|aww|set|ott|nov|diċ)/i, + wide: /^(jannar|frar|marzu|april|mejju|ġunju|lulju|awwissu|settembru|ottubru|novembru|diċembru)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^ġ/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mej/i, /^ġ/i, /^l/i, /^aw/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[ħteġs]/i, + short: /^(ħa|tn|tl|er|ħa|ġi|si)/i, + abbreviated: /^(ħad|tne|tli|erb|ħam|ġim|sib)/i, + wide: /^(il-ħadd|it-tnejn|it-tlieta|l-erbgħa|il-ħamis|il-ġimgħa|is-sibt)/i +}; +var parseDayPatterns = { + narrow: [/^ħ/i, /^t/i, /^t/i, /^e/i, /^ħ/i, /^ġ/i, /^s/i], + any: [/^(il-)?ħad/i, /^(it-)?tn/i, /^(it-)?tl/i, /^(l-)?er/i, /^(il-)?ham/i, /^(il-)?ġi/i, /^(is-)?si/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i, + any: /^([ap]\.?\s?m\.?|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^f'nofsillejl/i, + noon: /^f'nofsinhar/i, + morning: /għodwa/i, + afternoon: /wara(\s.*)nofsinhar/i, + evening: /filgħaxija/i, + night: /lejl/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/index.d.ts b/node_modules/date-fns/esm/locale/mt/index.d.ts new file mode 100644 index 000000000..a845625b6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { mt } from 'date-fns/locale' +export default mt diff --git a/node_modules/date-fns/esm/locale/mt/index.js b/node_modules/date-fns/esm/locale/mt/index.js new file mode 100644 index 000000000..f917ffb61 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Maltese locale. + * @language Maltese + * @iso-639-2 mlt + * @author Andras Matzon [@amatzon](@link https://github.com/amatzon) + * @author Bryan Borg [@bryanMt](@link https://github.com/bryanMt) + */ +var locale = { + code: 'mt', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/mt/index.js.flow b/node_modules/date-fns/esm/locale/mt/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/mt/package.json b/node_modules/date-fns/esm/locale/mt/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/mt/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/nb/_lib/formatDistance/index.js new file mode 100644 index 000000000..3a16bfb11 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre enn ett sekund', + other: 'mindre enn {{count}} sekunder' + }, + xSeconds: { + one: 'ett sekund', + other: '{{count}} sekunder' + }, + halfAMinute: 'et halvt minutt', + lessThanXMinutes: { + one: 'mindre enn ett minutt', + other: 'mindre enn {{count}} minutter' + }, + xMinutes: { + one: 'ett minutt', + other: '{{count}} minutter' + }, + aboutXHours: { + one: 'omtrent en time', + other: 'omtrent {{count}} timer' + }, + xHours: { + one: 'en time', + other: '{{count}} timer' + }, + xDays: { + one: 'en dag', + other: '{{count}} dager' + }, + aboutXWeeks: { + one: 'omtrent en uke', + other: 'omtrent {{count}} uker' + }, + xWeeks: { + one: 'en uke', + other: '{{count}} uker' + }, + aboutXMonths: { + one: 'omtrent en måned', + other: 'omtrent {{count}} måneder' + }, + xMonths: { + one: 'en måned', + other: '{{count}} måneder' + }, + aboutXYears: { + one: 'omtrent ett år', + other: 'omtrent {{count}} år' + }, + xYears: { + one: 'ett år', + other: '{{count}} år' + }, + overXYears: { + one: 'over ett år', + other: 'over {{count}} år' + }, + almostXYears: { + one: 'nesten ett år', + other: 'nesten {{count}} år' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' siden'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/nb/_lib/formatLong/index.js new file mode 100644 index 000000000..eff17baa4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/nb/_lib/formatRelative/index.js new file mode 100644 index 000000000..9ea3b52a4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'forrige' eeee 'kl.' p", + yesterday: "'i går kl.' p", + today: "'i dag kl.' p", + tomorrow: "'i morgen kl.' p", + nextWeek: "EEEE 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/_lib/localize/index.js b/node_modules/date-fns/esm/locale/nb/_lib/localize/index.js new file mode 100644 index 000000000..eac82f3d8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/_lib/localize/index.js @@ -0,0 +1,85 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['før Kristus', 'etter Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], + wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + abbreviated: ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], + wide: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natten' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natten' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morgenen', + afternoon: 'på ettermiddagen', + evening: 'på kvelden', + night: 'på natten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/_lib/match/index.js b/node_modules/date-fns/esm/locale/nb/_lib/match/index.js new file mode 100644 index 000000000..47ffe11d3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^e/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i, + wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(sø|ma|ti|on|to|fr|lø)/i, + abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i, + wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i +}; +var parseDayPatterns = { + any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i, + any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a(\.?\s?m\.?)?$/i, + pm: /^p(\.?\s?m\.?)?$/i, + midnight: /^midn/i, + noon: /^midd/i, + morning: /morgen/i, + afternoon: /ettermiddag/i, + evening: /kveld/i, + night: /natt/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/index.d.ts b/node_modules/date-fns/esm/locale/nb/index.d.ts new file mode 100644 index 000000000..75c06bb92 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nb } from 'date-fns/locale' +export default nb diff --git a/node_modules/date-fns/esm/locale/nb/index.js b/node_modules/date-fns/esm/locale/nb/index.js new file mode 100644 index 000000000..e24a9113f --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Norwegian Bokmål locale. + * @language Norwegian Bokmål + * @iso-639-2 nob + * @author Hans-Kristian Koren [@Hanse]{@link https://github.com/Hanse} + * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb} + * @author Dag Stuan [@dagstuan]{@link https://github.com/dagstuan} + */ +var locale = { + code: 'nb', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nb/index.js.flow b/node_modules/date-fns/esm/locale/nb/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/nb/package.json b/node_modules/date-fns/esm/locale/nb/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nb/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/nl-BE/_lib/formatDistance/index.js new file mode 100644 index 000000000..91c71817d --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minder dan een seconde', + other: 'minder dan {{count}} seconden' + }, + xSeconds: { + one: '1 seconde', + other: '{{count}} seconden' + }, + halfAMinute: 'een halve minuut', + lessThanXMinutes: { + one: 'minder dan een minuut', + other: 'minder dan {{count}} minuten' + }, + xMinutes: { + one: 'een minuut', + other: '{{count}} minuten' + }, + aboutXHours: { + one: 'ongeveer 1 uur', + other: 'ongeveer {{count}} uur' + }, + xHours: { + one: '1 uur', + other: '{{count}} uur' + }, + xDays: { + one: '1 dag', + other: '{{count}} dagen' + }, + aboutXWeeks: { + one: 'ongeveer 1 week', + other: 'ongeveer {{count}} weken' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weken' + }, + aboutXMonths: { + one: 'ongeveer 1 maand', + other: 'ongeveer {{count}} maanden' + }, + xMonths: { + one: '1 maand', + other: '{{count}} maanden' + }, + aboutXYears: { + one: 'ongeveer 1 jaar', + other: 'ongeveer {{count}} jaar' + }, + xYears: { + one: '1 jaar', + other: '{{count}} jaar' + }, + overXYears: { + one: 'meer dan 1 jaar', + other: 'meer dan {{count}} jaar' + }, + almostXYears: { + one: 'bijna 1 jaar', + other: 'bijna {{count}} jaar' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'over ' + result; + } else { + return result + ' geleden'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/nl-BE/_lib/formatLong/index.js new file mode 100644 index 000000000..221514868 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/nl-BE/_lib/formatRelative/index.js new file mode 100644 index 000000000..cc6b19932 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'vorige' eeee 'om' p", + yesterday: "'gisteren om' p", + today: "'vandaag om' p", + tomorrow: "'morgen om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/_lib/localize/index.js b/node_modules/date-fns/esm/locale/nl-BE/_lib/localize/index.js new file mode 100644 index 000000000..9b85ed818 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/_lib/localize/index.js @@ -0,0 +1,85 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['v.C.', 'n.C.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['voor Christus', 'na Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + short: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middag', + morning: "'s ochtends", + afternoon: "'s namiddags", + evening: "'s avonds", + night: "'s nachts" + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middag', + morning: "'s ochtends", + afternoon: "'s namiddags", + evening: "'s avonds", + night: "'s nachts" + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middag', + morning: "'s ochtends", + afternoon: "'s namiddags", + evening: "'s avonds", + night: "'s nachts" + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/_lib/match/index.js b/node_modules/date-fns/esm/locale/nl-BE/_lib/match/index.js new file mode 100644 index 000000000..24af1a001 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)e?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([vn]\.? ?C\.?)/, + abbreviated: /^([vn]\. ?Chr\.?)/, + wide: /^((voor|na) Christus)/ +}; +var parseEraPatterns = { + any: [/^v/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234]e kwartaal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, + wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i] +}; +var matchDayPatterns = { + narrow: /^[zmdwv]/i, + short: /^(zo|ma|di|wo|do|vr|za)/i, + abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i, + wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i +}; +var parseDayPatterns = { + narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i], + any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^middernacht/i, + noon: /^het middaguur/i, + morning: /ochtend/i, + afternoon: /middag/i, + evening: /avond/i, + night: /nacht/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/index.d.ts b/node_modules/date-fns/esm/locale/nl-BE/index.d.ts new file mode 100644 index 000000000..c2970a4e6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nlBE } from 'date-fns/locale' +export default nlBE diff --git a/node_modules/date-fns/esm/locale/nl-BE/index.js b/node_modules/date-fns/esm/locale/nl-BE/index.js new file mode 100644 index 000000000..de597d0ea --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/index.js @@ -0,0 +1,29 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Dutch locale. + * @language Dutch + * @iso-639-2 nld + * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder} + * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk} + * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb} + * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn} + */ +var locale = { + code: 'nl-BE', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl-BE/index.js.flow b/node_modules/date-fns/esm/locale/nl-BE/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/nl-BE/package.json b/node_modules/date-fns/esm/locale/nl-BE/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl-BE/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/nl/_lib/formatDistance/index.js new file mode 100644 index 000000000..91c71817d --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minder dan een seconde', + other: 'minder dan {{count}} seconden' + }, + xSeconds: { + one: '1 seconde', + other: '{{count}} seconden' + }, + halfAMinute: 'een halve minuut', + lessThanXMinutes: { + one: 'minder dan een minuut', + other: 'minder dan {{count}} minuten' + }, + xMinutes: { + one: 'een minuut', + other: '{{count}} minuten' + }, + aboutXHours: { + one: 'ongeveer 1 uur', + other: 'ongeveer {{count}} uur' + }, + xHours: { + one: '1 uur', + other: '{{count}} uur' + }, + xDays: { + one: '1 dag', + other: '{{count}} dagen' + }, + aboutXWeeks: { + one: 'ongeveer 1 week', + other: 'ongeveer {{count}} weken' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weken' + }, + aboutXMonths: { + one: 'ongeveer 1 maand', + other: 'ongeveer {{count}} maanden' + }, + xMonths: { + one: '1 maand', + other: '{{count}} maanden' + }, + aboutXYears: { + one: 'ongeveer 1 jaar', + other: 'ongeveer {{count}} jaar' + }, + xYears: { + one: '1 jaar', + other: '{{count}} jaar' + }, + overXYears: { + one: 'meer dan 1 jaar', + other: 'meer dan {{count}} jaar' + }, + almostXYears: { + one: 'bijna 1 jaar', + other: 'bijna {{count}} jaar' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'over ' + result; + } else { + return result + ' geleden'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/nl/_lib/formatLong/index.js new file mode 100644 index 000000000..1eb3157ba --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd-MM-y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/nl/_lib/formatRelative/index.js new file mode 100644 index 000000000..6f5ca8f88 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'afgelopen' eeee 'om' p", + yesterday: "'gisteren om' p", + today: "'vandaag om' p", + tomorrow: "'morgen om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/_lib/localize/index.js b/node_modules/date-fns/esm/locale/nl/_lib/localize/index.js new file mode 100644 index 000000000..e43e389fc --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/_lib/localize/index.js @@ -0,0 +1,85 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['v.C.', 'n.C.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['voor Christus', 'na Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + short: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middaguur', + morning: "'s ochtends", + afternoon: "'s middags", + evening: "'s avonds", + night: "'s nachts" + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middaguur', + morning: "'s ochtends", + afternoon: "'s middags", + evening: "'s avonds", + night: "'s nachts" + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middaguur', + morning: "'s ochtends", + afternoon: "'s middags", + evening: "'s avonds", + night: "'s nachts" + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/_lib/match/index.js b/node_modules/date-fns/esm/locale/nl/_lib/match/index.js new file mode 100644 index 000000000..24af1a001 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)e?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([vn]\.? ?C\.?)/, + abbreviated: /^([vn]\. ?Chr\.?)/, + wide: /^((voor|na) Christus)/ +}; +var parseEraPatterns = { + any: [/^v/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234]e kwartaal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, + wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i] +}; +var matchDayPatterns = { + narrow: /^[zmdwv]/i, + short: /^(zo|ma|di|wo|do|vr|za)/i, + abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i, + wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i +}; +var parseDayPatterns = { + narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i], + any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^middernacht/i, + noon: /^het middaguur/i, + morning: /ochtend/i, + afternoon: /middag/i, + evening: /avond/i, + night: /nacht/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/index.d.ts b/node_modules/date-fns/esm/locale/nl/index.d.ts new file mode 100644 index 000000000..eb92f4eaa --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nl } from 'date-fns/locale' +export default nl diff --git a/node_modules/date-fns/esm/locale/nl/index.js b/node_modules/date-fns/esm/locale/nl/index.js new file mode 100644 index 000000000..936024237 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/index.js @@ -0,0 +1,31 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Dutch locale. + * @language Dutch + * @iso-639-2 nld + * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder} + * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk} + * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb} + * @author Edo Rivai [@edorivai]{@link https://github.com/edorivai} + * @author Niels Keurentjes [@curry684]{@link https://github.com/curry684} + * @author Stefan Vermaas [@stefanvermaas]{@link https://github.com/stefanvermaas} + */ +var locale = { + code: 'nl', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nl/index.js.flow b/node_modules/date-fns/esm/locale/nl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/nl/package.json b/node_modules/date-fns/esm/locale/nl/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nl/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js new file mode 100644 index 000000000..406551e53 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js @@ -0,0 +1,88 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre enn eitt sekund', + other: 'mindre enn {{count}} sekund' + }, + xSeconds: { + one: 'eitt sekund', + other: '{{count}} sekund' + }, + halfAMinute: 'eit halvt minutt', + lessThanXMinutes: { + one: 'mindre enn eitt minutt', + other: 'mindre enn {{count}} minutt' + }, + xMinutes: { + one: 'eitt minutt', + other: '{{count}} minutt' + }, + aboutXHours: { + one: 'omtrent ein time', + other: 'omtrent {{count}} timar' + }, + xHours: { + one: 'ein time', + other: '{{count}} timar' + }, + xDays: { + one: 'ein dag', + other: '{{count}} dagar' + }, + aboutXWeeks: { + one: 'omtrent ei veke', + other: 'omtrent {{count}} veker' + }, + xWeeks: { + one: 'ei veke', + other: '{{count}} veker' + }, + aboutXMonths: { + one: 'omtrent ein månad', + other: 'omtrent {{count}} månader' + }, + xMonths: { + one: 'ein månad', + other: '{{count}} månader' + }, + aboutXYears: { + one: 'omtrent eitt år', + other: 'omtrent {{count}} år' + }, + xYears: { + one: 'eitt år', + other: '{{count}} år' + }, + overXYears: { + one: 'over eitt år', + other: 'over {{count}} år' + }, + almostXYears: { + one: 'nesten eitt år', + other: 'nesten {{count}} år' + } +}; +var wordMapping = ['null', 'ein', 'to', 'tre', 'fire', 'fem', 'seks', 'sju', 'åtte', 'ni', 'ti', 'elleve', 'tolv']; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + if (options && options.onlyNumeric) { + result = tokenValue.other.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count)); + } + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' sidan'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js new file mode 100644 index 000000000..eff17baa4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js new file mode 100644 index 000000000..38352dec5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'førre' eeee 'kl.' p", + yesterday: "'i går kl.' p", + today: "'i dag kl.' p", + tomorrow: "'i morgon kl.' p", + nextWeek: "EEEE 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js b/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js new file mode 100644 index 000000000..9e8d24226 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js @@ -0,0 +1,85 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['før Kristus', 'etter Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], + wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['su', 'må', 'ty', 'on', 'to', 'fr', 'lau'], + abbreviated: ['sun', 'mån', 'tys', 'ons', 'tor', 'fre', 'laur'], + wide: ['sundag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natta' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natta' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morgonen', + afternoon: 'på ettermiddagen', + evening: 'på kvelden', + night: 'på natta' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/_lib/match/index.js b/node_modules/date-fns/esm/locale/nn/_lib/match/index.js new file mode 100644 index 000000000..6e35ef609 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^e/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i, + wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(su|må|ty|on|to|fr|la)/i, + abbreviated: /^(sun|mån|tys|ons|tor|fre|laur)/i, + wide: /^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i +}; +var parseDayPatterns = { + any: [/^s/i, /^m/i, /^ty/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i, + any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a(\.?\s?m\.?)?$/i, + pm: /^p(\.?\s?m\.?)?$/i, + midnight: /^midn/i, + noon: /^midd/i, + morning: /morgon/i, + afternoon: /ettermiddag/i, + evening: /kveld/i, + night: /natt/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/index.d.ts b/node_modules/date-fns/esm/locale/nn/index.d.ts new file mode 100644 index 000000000..08050ed8a --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nn } from 'date-fns/locale' +export default nn diff --git a/node_modules/date-fns/esm/locale/nn/index.js b/node_modules/date-fns/esm/locale/nn/index.js new file mode 100644 index 000000000..a267d66f1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Norwegian Nynorsk locale. + * @language Norwegian Nynorsk + * @iso-639-2 nno + * @author Mats Byrkjeland [@draperunner]{@link https://github.com/draperunner} + */ +var locale = { + code: 'nn', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/nn/index.js.flow b/node_modules/date-fns/esm/locale/nn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/nn/package.json b/node_modules/date-fns/esm/locale/nn/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/nn/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js new file mode 100644 index 000000000..06dc495f3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mens d’una segonda', + other: 'mens de {{count}} segondas' + }, + xSeconds: { + one: '1 segonda', + other: '{{count}} segondas' + }, + halfAMinute: '30 segondas', + lessThanXMinutes: { + one: 'mens d’una minuta', + other: 'mens de {{count}} minutas' + }, + xMinutes: { + one: '1 minuta', + other: '{{count}} minutas' + }, + aboutXHours: { + one: 'environ 1 ora', + other: 'environ {{count}} oras' + }, + xHours: { + one: '1 ora', + other: '{{count}} oras' + }, + xDays: { + one: '1 jorn', + other: '{{count}} jorns' + }, + aboutXWeeks: { + one: 'environ 1 setmana', + other: 'environ {{count}} setmanas' + }, + xWeeks: { + one: '1 setmana', + other: '{{count}} setmanas' + }, + aboutXMonths: { + one: 'environ 1 mes', + other: 'environ {{count}} meses' + }, + xMonths: { + one: '1 mes', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'environ 1 an', + other: 'environ {{count}} ans' + }, + xYears: { + one: '1 an', + other: '{{count}} ans' + }, + overXYears: { + one: 'mai d’un an', + other: 'mai de {{count}} ans' + }, + almostXYears: { + one: 'gaireben un an', + other: 'gaireben {{count}} ans' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'd’aquí ' + result; + } else { + return 'fa ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js new file mode 100644 index 000000000..982dd7d5e --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE d 'de' MMMM y", + long: "d 'de' MMMM y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'a' {{time}}", + long: "{{date}} 'a' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js new file mode 100644 index 000000000..93942a99f --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'passat a' p", + yesterday: "'ièr a' p", + today: "'uèi a' p", + tomorrow: "'deman a' p", + nextWeek: "eeee 'a' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js b/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js new file mode 100644 index 000000000..0637ce071 --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js @@ -0,0 +1,136 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ab. J.C.', 'apr. J.C.'], + abbreviated: ['ab. J.C.', 'apr. J.C.'], + wide: ['abans Jèsus-Crist', 'après Jèsus-Crist'] +}; +var quarterValues = { + narrow: ['T1', 'T2', 'T3', 'T4'], + abbreviated: ['1èr trim.', '2nd trim.', '3en trim.', '4en trim.'], + wide: ['1èr trimèstre', '2nd trimèstre', '3en trimèstre', '4en trimèstre'] +}; +var monthValues = { + narrow: ['GN', 'FB', 'MÇ', 'AB', 'MA', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DC'], + abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'mai', 'junh', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'dec.'], + wide: ['genièr', 'febrièr', 'març', 'abril', 'mai', 'junh', 'julhet', 'agost', 'setembre', 'octòbre', 'novembre', 'decembre'] +}; +var dayValues = { + narrow: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], + short: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], + abbreviated: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], + wide: ['dimenge', 'diluns', 'dimars', 'dimècres', 'dijòus', 'divendres', 'dissabte'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'matin', + afternoon: 'aprèp-miègjorn', + evening: 'vèspre', + night: 'nuèch' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'matin', + afternoon: 'aprèp-miègjorn', + evening: 'vèspre', + night: 'nuèch' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'matin', + afternoon: 'aprèp-miègjorn', + evening: 'vèspre', + night: 'nuèch' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'del matin', + afternoon: 'de l’aprèp-miègjorn', + evening: 'del ser', + night: 'de la nuèch' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'del matin', + afternoon: 'de l’aprèp-miègjorn', + evening: 'del ser', + night: 'de la nuèch' + }, + wide: { + am: 'ante meridiem', + pm: 'post meridiem', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'del matin', + afternoon: 'de l’aprèp-miègjorn', + evening: 'del ser', + night: 'de la nuèch' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + var ordinal; + switch (number) { + case 1: + ordinal = 'èr'; + break; + case 2: + ordinal = 'nd'; + break; + default: + ordinal = 'en'; + } + + // feminine for year, week, hour, minute, second + if (unit === 'year' || unit === 'week' || unit === 'hour' || unit === 'minute' || unit === 'second') { + ordinal += 'a'; + } + return number + ordinal; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/match/index.js b/node_modules/date-fns/esm/locale/oc/_lib/match/index.js new file mode 100644 index 000000000..887d98d72 --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(èr|nd|en)?[a]?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ab\.J\.C|apr\.J\.C|apr\.J\.-C)/i, + abbreviated: /^(ab\.J\.-C|ab\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, + wide: /^(abans Jèsus-Crist|après Jèsus-Crist)/i +}; +var parseEraPatterns = { + any: [/^ab/i, /^ap/i] +}; +var matchQuarterPatterns = { + narrow: /^T[1234]/i, + abbreviated: /^[1234](èr|nd|en)? trim\.?/i, + wide: /^[1234](èr|nd|en)? trimèstre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(GN|FB|MÇ|AB|MA|JN|JL|AG|ST|OC|NV|DC)/i, + abbreviated: /^(gen|febr|març|abr|mai|junh|jul|ag|set|oct|nov|dec)\.?/i, + wide: /^(genièr|febrièr|març|abril|mai|junh|julhet|agost|setembre|octòbre|novembre|decembre)/i +}; +var parseMonthPatterns = { + any: [/^g/i, /^f/i, /^ma[r?]|MÇ/i, /^ab/i, /^ma[i?]/i, /^ju[n?]|JN/i, /^ju[l?]|JL/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^d[glmcjvs]\.?/i, + short: /^d[glmcjvs]\.?/i, + abbreviated: /^d[glmcjvs]\.?/i, + wide: /^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i +}; +var parseDayPatterns = { + narrow: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], + short: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], + abbreviated: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], + any: [/^dg|dime/i, /^dl|dil/i, /^dm|dima/i, /^dc|dimè/i, /^dj|dij/i, /^dv|div/i, /^ds|dis/i] +}; +var matchDayPeriodPatterns = { + any: /(^(a\.?m|p\.?m))|(ante meridiem|post meridiem)|((del |de la |de l’)(matin|aprèp-miègjorn|vèspre|ser|nuèch))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /(^a)|ante meridiem/i, + pm: /(^p)|post meridiem/i, + midnight: /^mièj/i, + noon: /^mièg/i, + morning: /matin/i, + afternoon: /aprèp-miègjorn/i, + evening: /vèspre|ser/i, + night: /nuèch/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/index.d.ts b/node_modules/date-fns/esm/locale/oc/index.d.ts new file mode 100644 index 000000000..39cb51b36 --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { oc } from 'date-fns/locale' +export default oc diff --git a/node_modules/date-fns/esm/locale/oc/index.js b/node_modules/date-fns/esm/locale/oc/index.js new file mode 100644 index 000000000..4656652a6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Occitan locale. + * @language Occitan + * @iso-639-2 oci + * @author Quentin PAGÈS + */ +var locale = { + code: 'oc', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/index.js.flow b/node_modules/date-fns/esm/locale/oc/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/oc/package.json b/node_modules/date-fns/esm/locale/oc/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/oc/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/package.json b/node_modules/date-fns/esm/locale/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/locale/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/pl/_lib/formatDistance/index.js new file mode 100644 index 000000000..8a3d3b05e --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/_lib/formatDistance/index.js @@ -0,0 +1,145 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + regular: 'mniej niż sekunda', + past: 'mniej niż sekundę', + future: 'mniej niż sekundę' + }, + twoFour: 'mniej niż {{count}} sekundy', + other: 'mniej niż {{count}} sekund' + }, + xSeconds: { + one: { + regular: 'sekunda', + past: 'sekundę', + future: 'sekundę' + }, + twoFour: '{{count}} sekundy', + other: '{{count}} sekund' + }, + halfAMinute: { + one: 'pół minuty', + twoFour: 'pół minuty', + other: 'pół minuty' + }, + lessThanXMinutes: { + one: { + regular: 'mniej niż minuta', + past: 'mniej niż minutę', + future: 'mniej niż minutę' + }, + twoFour: 'mniej niż {{count}} minuty', + other: 'mniej niż {{count}} minut' + }, + xMinutes: { + one: { + regular: 'minuta', + past: 'minutę', + future: 'minutę' + }, + twoFour: '{{count}} minuty', + other: '{{count}} minut' + }, + aboutXHours: { + one: { + regular: 'około godziny', + past: 'około godziny', + future: 'około godzinę' + }, + twoFour: 'około {{count}} godziny', + other: 'około {{count}} godzin' + }, + xHours: { + one: { + regular: 'godzina', + past: 'godzinę', + future: 'godzinę' + }, + twoFour: '{{count}} godziny', + other: '{{count}} godzin' + }, + xDays: { + one: { + regular: 'dzień', + past: 'dzień', + future: '1 dzień' + }, + twoFour: '{{count}} dni', + other: '{{count}} dni' + }, + aboutXWeeks: { + one: 'około tygodnia', + twoFour: 'około {{count}} tygodni', + other: 'około {{count}} tygodni' + }, + xWeeks: { + one: 'tydzień', + twoFour: '{{count}} tygodnie', + other: '{{count}} tygodni' + }, + aboutXMonths: { + one: 'około miesiąc', + twoFour: 'około {{count}} miesiące', + other: 'około {{count}} miesięcy' + }, + xMonths: { + one: 'miesiąc', + twoFour: '{{count}} miesiące', + other: '{{count}} miesięcy' + }, + aboutXYears: { + one: 'około rok', + twoFour: 'około {{count}} lata', + other: 'około {{count}} lat' + }, + xYears: { + one: 'rok', + twoFour: '{{count}} lata', + other: '{{count}} lat' + }, + overXYears: { + one: 'ponad rok', + twoFour: 'ponad {{count}} lata', + other: 'ponad {{count}} lat' + }, + almostXYears: { + one: 'prawie rok', + twoFour: 'prawie {{count}} lata', + other: 'prawie {{count}} lat' + } +}; +function declensionGroup(scheme, count) { + if (count === 1) { + return scheme.one; + } + var rem100 = count % 100; + + // ends with 11-20 + if (rem100 <= 20 && rem100 > 10) { + return scheme.other; + } + var rem10 = rem100 % 10; + + // ends with 2, 3, 4 + if (rem10 >= 2 && rem10 <= 4) { + return scheme.twoFour; + } + return scheme.other; +} +function declension(scheme, count, time) { + var group = declensionGroup(scheme, count); + var finalText = typeof group === 'string' ? group : group[time]; + return finalText.replace('{{count}}', String(count)); +} +var formatDistance = function formatDistance(token, count, options) { + var scheme = formatDistanceLocale[token]; + if (!(options !== null && options !== void 0 && options.addSuffix)) { + return declension(scheme, count, 'regular'); + } + if (options.comparison && options.comparison > 0) { + return 'za ' + declension(scheme, count, 'future'); + } else { + return declension(scheme, count, 'past') + ' temu'; + } +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/pl/_lib/formatLong/index.js new file mode 100644 index 000000000..254331801 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, do MMMM y', + long: 'do MMMM y', + medium: 'do MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/pl/_lib/formatRelative/index.js new file mode 100644 index 000000000..9da8456c2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/_lib/formatRelative/index.js @@ -0,0 +1,54 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var adjectivesLastWeek = { + masculine: 'ostatni', + feminine: 'ostatnia' +}; +var adjectivesThisWeek = { + masculine: 'ten', + feminine: 'ta' +}; +var adjectivesNextWeek = { + masculine: 'następny', + feminine: 'następna' +}; +var dayGrammaticalGender = { + 0: 'feminine', + 1: 'masculine', + 2: 'masculine', + 3: 'feminine', + 4: 'masculine', + 5: 'masculine', + 6: 'feminine' +}; +function dayAndTimeWithAdjective(token, date, baseDate, options) { + var adjectives; + if (isSameUTCWeek(date, baseDate, options)) { + adjectives = adjectivesThisWeek; + } else if (token === 'lastWeek') { + adjectives = adjectivesLastWeek; + } else if (token === 'nextWeek') { + adjectives = adjectivesNextWeek; + } else { + throw new Error("Cannot determine adjectives for token ".concat(token)); + } + var day = date.getUTCDay(); + var grammaticalGender = dayGrammaticalGender[day]; + var adjective = adjectives[grammaticalGender]; + return "'".concat(adjective, "' eeee 'o' p"); +} +var formatRelativeLocale = { + lastWeek: dayAndTimeWithAdjective, + yesterday: "'wczoraj o' p", + today: "'dzisiaj o' p", + tomorrow: "'jutro o' p", + nextWeek: dayAndTimeWithAdjective, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(token, date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/_lib/localize/index.js b/node_modules/date-fns/esm/locale/pl/_lib/localize/index.js new file mode 100644 index 000000000..c2496b873 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/_lib/localize/index.js @@ -0,0 +1,133 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['p.n.e.', 'n.e.'], + abbreviated: ['p.n.e.', 'n.e.'], + wide: ['przed naszą erą', 'naszej ery'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['I kw.', 'II kw.', 'III kw.', 'IV kw.'], + wide: ['I kwartał', 'II kwartał', 'III kwartał', 'IV kwartał'] +}; +var monthValues = { + narrow: ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'], + abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + wide: ['styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień'] +}; +var monthFormattingValues = { + narrow: ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'], + abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + wide: ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia'] +}; +var dayValues = { + narrow: ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'], + short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'], + abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'] +}; +var dayFormattingValues = { + narrow: ['n', 'p', 'w', 'ś', 'c', 'p', 's'], + short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'], + abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'półn.', + noon: 'poł', + morning: 'rano', + afternoon: 'popoł.', + evening: 'wiecz.', + night: 'noc' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'północ', + noon: 'południe', + morning: 'rano', + afternoon: 'popołudnie', + evening: 'wieczór', + night: 'noc' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'północ', + noon: 'południe', + morning: 'rano', + afternoon: 'popołudnie', + evening: 'wieczór', + night: 'noc' + } +}; +var dayPeriodFormattingValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'o półn.', + noon: 'w poł.', + morning: 'rano', + afternoon: 'po poł.', + evening: 'wiecz.', + night: 'w nocy' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'o północy', + noon: 'w południe', + morning: 'rano', + afternoon: 'po południu', + evening: 'wieczorem', + night: 'w nocy' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'o północy', + noon: 'w południe', + morning: 'rano', + afternoon: 'po południu', + evening: 'wieczorem', + night: 'w nocy' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: monthFormattingValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: dayFormattingValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: dayPeriodFormattingValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/_lib/match/index.js b/node_modules/date-fns/esm/locale/pl/_lib/match/index.js new file mode 100644 index 000000000..bd090610e --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/_lib/match/index.js @@ -0,0 +1,110 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, + abbreviated: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, + wide: /^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i +}; +var parseEraPatterns = { + any: [/^p/i, /^n/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^(I|II|III|IV)\s*kw\.?/i, + wide: /^(I|II|III|IV)\s*kwarta(ł|l)/i +}; +var parseQuarterPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i], + any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i] +}; +var matchMonthPatterns = { + narrow: /^[slmkcwpg]/i, + abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i, + wide: /^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i +}; +var parseMonthPatterns = { + narrow: [/^s/i, /^l/i, /^m/i, /^k/i, /^m/i, /^c/i, /^l/i, /^s/i, /^w/i, /^p/i, /^l/i, /^g/i], + any: [/^st/i, /^lu/i, /^mar/i, /^k/i, /^maj/i, /^c/i, /^lip/i, /^si/i, /^w/i, /^p/i, /^lis/i, /^g/i] +}; +var matchDayPatterns = { + narrow: /^[npwścs]/i, + short: /^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i, + abbreviated: /^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i, + wide: /^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^w/i, /^ś/i, /^c/i, /^p/i, /^s/i], + abbreviated: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pt/i, /^so/i], + any: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pi/i, /^so/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i, + any: /^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^a$/i, + pm: /^p$/i, + midnight: /pó(ł|l)n/i, + noon: /po(ł|l)/i, + morning: /rano/i, + afternoon: /po\s*po(ł|l)/i, + evening: /wiecz/i, + night: /noc/i + }, + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /pó(ł|l)n/i, + noon: /po(ł|l)/i, + morning: /rano/i, + afternoon: /po\s*po(ł|l)/i, + evening: /wiecz/i, + night: /noc/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/index.d.ts b/node_modules/date-fns/esm/locale/pl/index.d.ts new file mode 100644 index 000000000..1ff8b7d58 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { pl } from 'date-fns/locale' +export default pl diff --git a/node_modules/date-fns/esm/locale/pl/index.js b/node_modules/date-fns/esm/locale/pl/index.js new file mode 100644 index 000000000..56a120837 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/index.js @@ -0,0 +1,29 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Polish locale. + * @language Polish + * @iso-639-2 pol + * @author Mateusz Derks [@ertrzyiks]{@link https://github.com/ertrzyiks} + * @author Just RAG [@justrag]{@link https://github.com/justrag} + * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb} + * @author Mateusz Tokarski [@mutisz]{@link https://github.com/mutisz} + */ +var locale = { + code: 'pl', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pl/index.js.flow b/node_modules/date-fns/esm/locale/pl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/pl/package.json b/node_modules/date-fns/esm/locale/pl/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pl/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/pt-BR/_lib/formatDistance/index.js new file mode 100644 index 000000000..bde9594fc --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos de um segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'meio minuto', + lessThanXMinutes: { + one: 'menos de um minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'cerca de 1 hora', + other: 'cerca de {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 dia', + other: '{{count}} dias' + }, + aboutXWeeks: { + one: 'cerca de 1 semana', + other: 'cerca de {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'cerca de 1 mês', + other: 'cerca de {{count}} meses' + }, + xMonths: { + one: '1 mês', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'cerca de 1 ano', + other: 'cerca de {{count}} anos' + }, + xYears: { + one: '1 ano', + other: '{{count}} anos' + }, + overXYears: { + one: 'mais de 1 ano', + other: 'mais de {{count}} anos' + }, + almostXYears: { + one: 'quase 1 ano', + other: 'quase {{count}} anos' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'em ' + result; + } else { + return 'há ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/pt-BR/_lib/formatLong/index.js new file mode 100644 index 000000000..44108a1ca --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d 'de' MMMM 'de' y", + long: "d 'de' MMMM 'de' y", + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'às' {{time}}", + long: "{{date}} 'às' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/pt-BR/_lib/formatRelative/index.js new file mode 100644 index 000000000..501350c97 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var weekday = date.getUTCDay(); + var last = weekday === 0 || weekday === 6 ? 'último' : 'última'; + return "'" + last + "' eeee 'às' p"; + }, + yesterday: "'ontem às' p", + today: "'hoje às' p", + tomorrow: "'amanhã às' p", + nextWeek: "eeee 'às' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/_lib/localize/index.js b/node_modules/date-fns/esm/locale/pt-BR/_lib/localize/index.js new file mode 100644 index 000000000..86b3c24a9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/_lib/localize/index.js @@ -0,0 +1,122 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['AC', 'DC'], + abbreviated: ['AC', 'DC'], + wide: ['antes de cristo', 'depois de cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + wide: ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'] +}; +var dayValues = { + narrow: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + short: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab'], + abbreviated: ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + wide: ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'manhã', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da tarde', + night: 'da noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da tarde', + night: 'da noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da tarde', + night: 'da noite' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + if ((options === null || options === void 0 ? void 0 : options.unit) === 'week') { + return number + 'ª'; + } + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/_lib/match/index.js b/node_modules/date-fns/esm/locale/pt-BR/_lib/match/index.js new file mode 100644 index 000000000..aa56a6957 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/_lib/match/index.js @@ -0,0 +1,100 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)[ºªo]?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i, + wide: /^(antes de cristo|depois de cristo)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^antes de cristo/i, /^depois de cristo/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmajsond]/i, + abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i, + wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^fev/i, /^mar/i, /^abr/i, /^mai/i, /^jun/i, /^jul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dez/i] +}; +var matchDayPatterns = { + narrow: /^(dom|[23456]ª?|s[aá]b)/i, + short: /^(dom|[23456]ª?|s[aá]b)/i, + abbreviated: /^(dom|seg|ter|qua|qui|sex|s[aá]b)/i, + wide: /^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i +}; +var parseDayPatterns = { + short: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i], + narrow: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i], + any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[aá]b/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i, + any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn|^meia[-\s]noite/i, + noon: /^md|^meio[-\s]dia/i, + morning: /manhã/i, + afternoon: /tarde/i, + evening: /tarde/i, + night: /noite/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/index.d.ts b/node_modules/date-fns/esm/locale/pt-BR/index.d.ts new file mode 100644 index 000000000..e50a0b16d --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ptBR } from 'date-fns/locale' +export default ptBR diff --git a/node_modules/date-fns/esm/locale/pt-BR/index.js b/node_modules/date-fns/esm/locale/pt-BR/index.js new file mode 100644 index 000000000..ba6402771 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Portuguese locale (Brazil). + * @language Portuguese + * @iso-639-2 por + * @author Lucas Duailibe [@duailibe]{@link https://github.com/duailibe} + * @author Yago Carballo [@yagocarballo]{@link https://github.com/YagoCarballo} + */ +var locale = { + code: 'pt-BR', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt-BR/index.js.flow b/node_modules/date-fns/esm/locale/pt-BR/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/pt-BR/package.json b/node_modules/date-fns/esm/locale/pt-BR/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt-BR/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/pt/_lib/formatDistance/index.js new file mode 100644 index 000000000..0d1ad3b8e --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos de um segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'meio minuto', + lessThanXMinutes: { + one: 'menos de um minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'aproximadamente 1 hora', + other: 'aproximadamente {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 dia', + other: '{{count}} dias' + }, + aboutXWeeks: { + one: 'aproximadamente 1 semana', + other: 'aproximadamente {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'aproximadamente 1 mês', + other: 'aproximadamente {{count}} meses' + }, + xMonths: { + one: '1 mês', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'aproximadamente 1 ano', + other: 'aproximadamente {{count}} anos' + }, + xYears: { + one: '1 ano', + other: '{{count}} anos' + }, + overXYears: { + one: 'mais de 1 ano', + other: 'mais de {{count}} anos' + }, + almostXYears: { + one: 'quase 1 ano', + other: 'quase {{count}} anos' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'daqui a ' + result; + } else { + return 'há ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/pt/_lib/formatLong/index.js new file mode 100644 index 000000000..161d9d080 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d 'de' MMMM 'de' y", + long: "d 'de' MMMM 'de' y", + medium: "d 'de' MMM 'de' y", + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'às' {{time}}", + long: "{{date}} 'às' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/pt/_lib/formatRelative/index.js new file mode 100644 index 000000000..501350c97 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var weekday = date.getUTCDay(); + var last = weekday === 0 || weekday === 6 ? 'último' : 'última'; + return "'" + last + "' eeee 'às' p"; + }, + yesterday: "'ontem às' p", + today: "'hoje às' p", + tomorrow: "'amanhã às' p", + nextWeek: "eeee 'às' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/_lib/localize/index.js b/node_modules/date-fns/esm/locale/pt/_lib/localize/index.js new file mode 100644 index 000000000..e521f649a --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['aC', 'dC'], + abbreviated: ['a.C.', 'd.C.'], + wide: ['antes de Cristo', 'depois de Cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + wide: ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'] +}; +var dayValues = { + narrow: ['d', 's', 't', 'q', 'q', 's', 's'], + short: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + abbreviated: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + wide: ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'noite', + night: 'madrugada' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'noite', + night: 'madrugada' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'noite', + night: 'madrugada' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da noite', + night: 'da madrugada' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da noite', + night: 'da madrugada' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da noite', + night: 'da madrugada' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/_lib/match/index.js b/node_modules/date-fns/esm/locale/pt/_lib/match/index.js new file mode 100644 index 000000000..b122cf205 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(º|ª)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, + wide: /^(antes de cristo|antes da era comum|depois de cristo|era comum)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^(antes de cristo|antes da era comum)/i, /^(depois de cristo|era comum)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º|ª)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i, + wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ab/i, /^mai/i, /^jun/i, /^jul/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dstq]/i, + short: /^(dom|seg|ter|qua|qui|sex|s[áa]b)/i, + abbreviated: /^(dom|seg|ter|qua|qui|sex|s[áa]b)/i, + wide: /^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^s/i, /^t/i, /^q/i, /^q/i, /^s/i, /^s/i], + any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[áa]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i, + any: /^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^meia/i, + noon: /^meio/i, + morning: /manh[ãa]/i, + afternoon: /tarde/i, + evening: /noite/i, + night: /madrugada/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/index.d.ts b/node_modules/date-fns/esm/locale/pt/index.d.ts new file mode 100644 index 000000000..b848c9134 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { pt } from 'date-fns/locale' +export default pt diff --git a/node_modules/date-fns/esm/locale/pt/index.js b/node_modules/date-fns/esm/locale/pt/index.js new file mode 100644 index 000000000..3e66696aa --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Portuguese locale. + * @language Portuguese + * @iso-639-2 por + * @author Dário Freire [@dfreire]{@link https://github.com/dfreire} + * @author Adrián de la Rosa [@adrm]{@link https://github.com/adrm} + */ +var locale = { + code: 'pt', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/pt/index.js.flow b/node_modules/date-fns/esm/locale/pt/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/pt/package.json b/node_modules/date-fns/esm/locale/pt/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/pt/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ro/_lib/formatDistance/index.js new file mode 100644 index 000000000..3641b6b95 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mai puțin de o secundă', + other: 'mai puțin de {{count}} secunde' + }, + xSeconds: { + one: '1 secundă', + other: '{{count}} secunde' + }, + halfAMinute: 'jumătate de minut', + lessThanXMinutes: { + one: 'mai puțin de un minut', + other: 'mai puțin de {{count}} minute' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minute' + }, + aboutXHours: { + one: 'circa 1 oră', + other: 'circa {{count}} ore' + }, + xHours: { + one: '1 oră', + other: '{{count}} ore' + }, + xDays: { + one: '1 zi', + other: '{{count}} zile' + }, + aboutXWeeks: { + one: 'circa o săptămână', + other: 'circa {{count}} săptămâni' + }, + xWeeks: { + one: '1 săptămână', + other: '{{count}} săptămâni' + }, + aboutXMonths: { + one: 'circa 1 lună', + other: 'circa {{count}} luni' + }, + xMonths: { + one: '1 lună', + other: '{{count}} luni' + }, + aboutXYears: { + one: 'circa 1 an', + other: 'circa {{count}} ani' + }, + xYears: { + one: '1 an', + other: '{{count}} ani' + }, + overXYears: { + one: 'peste 1 an', + other: 'peste {{count}} ani' + }, + almostXYears: { + one: 'aproape 1 an', + other: 'aproape {{count}} ani' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'în ' + result; + } else { + return result + ' în urmă'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ro/_lib/formatLong/index.js new file mode 100644 index 000000000..59cf83d34 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'la' {{time}}", + long: "{{date}} 'la' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ro/_lib/formatRelative/index.js new file mode 100644 index 000000000..aa81a5ac7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'trecută la' p", + yesterday: "'ieri la' p", + today: "'astăzi la' p", + tomorrow: "'mâine la' p", + nextWeek: "eeee 'viitoare la' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ro/_lib/localize/index.js new file mode 100644 index 000000000..65b48a23a --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['Î', 'D'], + abbreviated: ['Î.d.C.', 'D.C.'], + wide: ['Înainte de Cristos', 'După Cristos'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['primul trimestru', 'al doilea trimestru', 'al treilea trimestru', 'al patrulea trimestru'] +}; +var monthValues = { + narrow: ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['ian', 'feb', 'mar', 'apr', 'mai', 'iun', 'iul', 'aug', 'sep', 'oct', 'noi', 'dec'], + wide: ['ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'] +}; +var dayValues = { + narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'], + short: ['du', 'lu', 'ma', 'mi', 'jo', 'vi', 'sâ'], + abbreviated: ['dum', 'lun', 'mar', 'mie', 'joi', 'vin', 'sâm'], + wide: ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'ami', + morning: 'dim', + afternoon: 'da', + evening: 's', + night: 'n' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/_lib/match/index.js b/node_modules/date-fns/esm/locale/ro/_lib/match/index.js new file mode 100644 index 000000000..92d6e75c9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(Î|D)/i, + abbreviated: /^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i, + wide: /^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i +}; +var parseEraPatterns = { + any: [/^ÎC/i, /^DC/i], + wide: [/^(Înainte de Cristos|Înaintea erei noastre)/i, /^(După Cristos|Era noastră)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^trimestrul [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[ifmaasond]/i, + abbreviated: /^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i, + wide: /^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i +}; +var parseMonthPatterns = { + narrow: [/^i/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ia/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^iun/i, /^iul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmjvs]/i, + short: /^(d|l|ma|mi|j|v|s)/i, + abbreviated: /^(dum|lun|mar|mie|jo|vi|sâ)/i, + wide: /^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^mi/i, /^j/i, /^v/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i, + any: /^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn/i, + noon: /amiaza/i, + morning: /dimineaţa/i, + afternoon: /după-amiaza/i, + evening: /seara/i, + night: /noaptea/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/index.d.ts b/node_modules/date-fns/esm/locale/ro/index.d.ts new file mode 100644 index 000000000..c19fdecb4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ro } from 'date-fns/locale' +export default ro diff --git a/node_modules/date-fns/esm/locale/ro/index.js b/node_modules/date-fns/esm/locale/ro/index.js new file mode 100644 index 000000000..9ed9c6762 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Romanian locale. + * @language Romanian + * @iso-639-2 ron + * @author Sergiu Munteanu [@jsergiu]{@link https://github.com/jsergiu} + * @author Adrian Ocneanu [@aocneanu]{@link https://github.com/aocneanu} + * @author Mihai Ocneanu [@gandesc]{@link https://github.com/gandesc} + */ +var locale = { + code: 'ro', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ro/index.js.flow b/node_modules/date-fns/esm/locale/ro/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ro/package.json b/node_modules/date-fns/esm/locale/ro/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ro/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ru/_lib/formatDistance/index.js new file mode 100644 index 000000000..b5d4bc23c --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/_lib/formatDistance/index.js @@ -0,0 +1,227 @@ +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'через ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' назад'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'меньше секунды', + singularNominative: 'меньше {{count}} секунды', + singularGenitive: 'меньше {{count}} секунд', + pluralGenitive: 'меньше {{count}} секунд' + }, + future: { + one: 'меньше, чем через секунду', + singularNominative: 'меньше, чем через {{count}} секунду', + singularGenitive: 'меньше, чем через {{count}} секунды', + pluralGenitive: 'меньше, чем через {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунды', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду назад', + singularGenitive: '{{count}} секунды назад', + pluralGenitive: '{{count}} секунд назад' + }, + future: { + singularNominative: 'через {{count}} секунду', + singularGenitive: 'через {{count}} секунды', + pluralGenitive: 'через {{count}} секунд' + } + }), + halfAMinute: function halfAMinute(_count, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'через полминуты'; + } else { + return 'полминуты назад'; + } + } + return 'полминуты'; + }, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'меньше минуты', + singularNominative: 'меньше {{count}} минуты', + singularGenitive: 'меньше {{count}} минут', + pluralGenitive: 'меньше {{count}} минут' + }, + future: { + one: 'меньше, чем через минуту', + singularNominative: 'меньше, чем через {{count}} минуту', + singularGenitive: 'меньше, чем через {{count}} минуты', + pluralGenitive: 'меньше, чем через {{count}} минут' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} минута', + singularGenitive: '{{count}} минуты', + pluralGenitive: '{{count}} минут' + }, + past: { + singularNominative: '{{count}} минуту назад', + singularGenitive: '{{count}} минуты назад', + pluralGenitive: '{{count}} минут назад' + }, + future: { + singularNominative: 'через {{count}} минуту', + singularGenitive: 'через {{count}} минуты', + pluralGenitive: 'через {{count}} минут' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} часа', + singularGenitive: 'около {{count}} часов', + pluralGenitive: 'около {{count}} часов' + }, + future: { + singularNominative: 'приблизительно через {{count}} час', + singularGenitive: 'приблизительно через {{count}} часа', + pluralGenitive: 'приблизительно через {{count}} часов' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} час', + singularGenitive: '{{count}} часа', + pluralGenitive: '{{count}} часов' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} день', + singularGenitive: '{{count}} дня', + pluralGenitive: '{{count}} дней' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} недели', + singularGenitive: 'около {{count}} недель', + pluralGenitive: 'около {{count}} недель' + }, + future: { + singularNominative: 'приблизительно через {{count}} неделю', + singularGenitive: 'приблизительно через {{count}} недели', + pluralGenitive: 'приблизительно через {{count}} недель' + } + }), + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} неделя', + singularGenitive: '{{count}} недели', + pluralGenitive: '{{count}} недель' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} месяца', + singularGenitive: 'около {{count}} месяцев', + pluralGenitive: 'около {{count}} месяцев' + }, + future: { + singularNominative: 'приблизительно через {{count}} месяц', + singularGenitive: 'приблизительно через {{count}} месяца', + pluralGenitive: 'приблизительно через {{count}} месяцев' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяца', + pluralGenitive: '{{count}} месяцев' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} года', + singularGenitive: 'около {{count}} лет', + pluralGenitive: 'около {{count}} лет' + }, + future: { + singularNominative: 'приблизительно через {{count}} год', + singularGenitive: 'приблизительно через {{count}} года', + pluralGenitive: 'приблизительно через {{count}} лет' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} год', + singularGenitive: '{{count}} года', + pluralGenitive: '{{count}} лет' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'больше {{count}} года', + singularGenitive: 'больше {{count}} лет', + pluralGenitive: 'больше {{count}} лет' + }, + future: { + singularNominative: 'больше, чем через {{count}} год', + singularGenitive: 'больше, чем через {{count}} года', + pluralGenitive: 'больше, чем через {{count}} лет' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'почти {{count}} год', + singularGenitive: 'почти {{count}} года', + pluralGenitive: 'почти {{count}} лет' + }, + future: { + singularNominative: 'почти через {{count}} год', + singularGenitive: 'почти через {{count}} года', + pluralGenitive: 'почти через {{count}} лет' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + return formatDistanceLocale[token](count, options); +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ru/_lib/formatLong/index.js new file mode 100644 index 000000000..c21b41cd5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, d MMMM y 'г.'", + long: "d MMMM y 'г.'", + medium: "d MMM y 'г.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ru/_lib/formatRelative/index.js new file mode 100644 index 000000000..a88be1721 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/_lib/formatRelative/index.js @@ -0,0 +1,70 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var accusativeWeekdays = ['воскресенье', 'понедельник', 'вторник', 'среду', 'четверг', 'пятницу', 'субботу']; +function _lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + return "'в прошлое " + weekday + " в' p"; + case 1: + case 2: + case 4: + return "'в прошлый " + weekday + " в' p"; + case 3: + case 5: + case 6: + return "'в прошлую " + weekday + " в' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + if (day === 2 /* Tue */) { + return "'во " + weekday + " в' p"; + } else { + return "'в " + weekday + " в' p"; + } +} +function _nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + return "'в следующее " + weekday + " в' p"; + case 1: + case 2: + case 4: + return "'в следующий " + weekday + " в' p"; + case 3: + case 5: + case 6: + return "'в следующую " + weekday + " в' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'вчера в' p", + today: "'сегодня в' p", + tomorrow: "'завтра в' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ru/_lib/localize/index.js new file mode 100644 index 000000000..baf92feb8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/_lib/localize/index.js @@ -0,0 +1,135 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['до н.э.', 'н.э.'], + abbreviated: ['до н. э.', 'н. э.'], + wide: ['до нашей эры', 'нашей эры'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'], + wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал'] +}; +var monthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв.', 'фев.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'], + wide: ['январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', 'декабрь'] +}; +var formattingMonthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв.', 'фев.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'], + wide: ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'] +}; +var dayValues = { + narrow: ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + abbreviated: ['вск', 'пнд', 'втр', 'срд', 'чтв', 'птн', 'суб'], + wide: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утро', + afternoon: 'день', + evening: 'веч.', + night: 'ночь' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утро', + afternoon: 'день', + evening: 'веч.', + night: 'ночь' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'полночь', + noon: 'полдень', + morning: 'утро', + afternoon: 'день', + evening: 'вечер', + night: 'ночь' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утра', + afternoon: 'дня', + evening: 'веч.', + night: 'ночи' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утра', + afternoon: 'дня', + evening: 'веч.', + night: 'ночи' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'полночь', + noon: 'полдень', + morning: 'утра', + afternoon: 'дня', + evening: 'вечера', + night: 'ночи' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + var suffix; + if (unit === 'date') { + suffix = '-е'; + } else if (unit === 'week' || unit === 'minute' || unit === 'second') { + suffix = '-я'; + } else { + suffix = '-й'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/_lib/match/index.js b/node_modules/date-fns/esm/locale/ru/_lib/match/index.js new file mode 100644 index 000000000..f6bf5f2a0 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((до )?н\.?\s?э\.?)/i, + abbreviated: /^((до )?н\.?\s?э\.?)/i, + wide: /^(до нашей эры|нашей эры|наша эра)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i, + wide: /^[1234](-?[ыои]?й?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[яфмаисонд]/i, + abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i, + wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i +}; +var parseMonthPatterns = { + narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^я/i], + any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i] +}; +var matchDayPatterns = { + narrow: /^[впсч]/i, + short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i, + abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i, + wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i +}; +var parseDayPatterns = { + narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, + abbreviated: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, + wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^полн/i, + noon: /^полд/i, + morning: /^у/i, + afternoon: /^д[ен]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/index.d.ts b/node_modules/date-fns/esm/locale/ru/index.d.ts new file mode 100644 index 000000000..1a7f74fda --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ru } from 'date-fns/locale' +export default ru diff --git a/node_modules/date-fns/esm/locale/ru/index.js b/node_modules/date-fns/esm/locale/ru/index.js new file mode 100644 index 000000000..d45204a67 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Russian locale. + * @language Russian + * @iso-639-2 rus + * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp} + * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss} + */ +var locale = { + code: 'ru', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ru/index.js.flow b/node_modules/date-fns/esm/locale/ru/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ru/package.json b/node_modules/date-fns/esm/locale/ru/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ru/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/sk/_lib/formatDistance/index.js new file mode 100644 index 000000000..b090d6b66 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/_lib/formatDistance/index.js @@ -0,0 +1,187 @@ +function declensionGroup(scheme, count) { + if (count === 1 && scheme.one) { + return scheme.one; + } + if (count >= 2 && count <= 4 && scheme.twoFour) { + return scheme.twoFour; + } + + // if count === null || count === 0 || count >= 5 + return scheme.other; +} +function declension(scheme, count, time) { + var group = declensionGroup(scheme, count); + var finalText = group[time]; + return finalText.replace('{{count}}', String(count)); +} +function extractPreposition(token) { + var result = ['lessThan', 'about', 'over', 'almost'].filter(function (preposition) { + return !!token.match(new RegExp('^' + preposition)); + }); + return result[0]; +} +function prefixPreposition(preposition) { + var translation = ''; + if (preposition === 'almost') { + translation = 'takmer'; + } + if (preposition === 'about') { + translation = 'približne'; + } + return translation.length > 0 ? translation + ' ' : ''; +} +function suffixPreposition(preposition) { + var translation = ''; + if (preposition === 'lessThan') { + translation = 'menej než'; + } + if (preposition === 'over') { + translation = 'viac než'; + } + return translation.length > 0 ? translation + ' ' : ''; +} +function lowercaseFirstLetter(string) { + return string.charAt(0).toLowerCase() + string.slice(1); +} +var formatDistanceLocale = { + xSeconds: { + one: { + present: 'sekunda', + past: 'sekundou', + future: 'sekundu' + }, + twoFour: { + present: '{{count}} sekundy', + past: '{{count}} sekundami', + future: '{{count}} sekundy' + }, + other: { + present: '{{count}} sekúnd', + past: '{{count}} sekundami', + future: '{{count}} sekúnd' + } + }, + halfAMinute: { + other: { + present: 'pol minúty', + past: 'pol minútou', + future: 'pol minúty' + } + }, + xMinutes: { + one: { + present: 'minúta', + past: 'minútou', + future: 'minútu' + }, + twoFour: { + present: '{{count}} minúty', + past: '{{count}} minútami', + future: '{{count}} minúty' + }, + other: { + present: '{{count}} minút', + past: '{{count}} minútami', + future: '{{count}} minút' + } + }, + xHours: { + one: { + present: 'hodina', + past: 'hodinou', + future: 'hodinu' + }, + twoFour: { + present: '{{count}} hodiny', + past: '{{count}} hodinami', + future: '{{count}} hodiny' + }, + other: { + present: '{{count}} hodín', + past: '{{count}} hodinami', + future: '{{count}} hodín' + } + }, + xDays: { + one: { + present: 'deň', + past: 'dňom', + future: 'deň' + }, + twoFour: { + present: '{{count}} dni', + past: '{{count}} dňami', + future: '{{count}} dni' + }, + other: { + present: '{{count}} dní', + past: '{{count}} dňami', + future: '{{count}} dní' + } + }, + xWeeks: { + one: { + present: 'týždeň', + past: 'týždňom', + future: 'týždeň' + }, + twoFour: { + present: '{{count}} týždne', + past: '{{count}} týždňami', + future: '{{count}} týždne' + }, + other: { + present: '{{count}} týždňov', + past: '{{count}} týždňami', + future: '{{count}} týždňov' + } + }, + xMonths: { + one: { + present: 'mesiac', + past: 'mesiacom', + future: 'mesiac' + }, + twoFour: { + present: '{{count}} mesiace', + past: '{{count}} mesiacmi', + future: '{{count}} mesiace' + }, + other: { + present: '{{count}} mesiacov', + past: '{{count}} mesiacmi', + future: '{{count}} mesiacov' + } + }, + xYears: { + one: { + present: 'rok', + past: 'rokom', + future: 'rok' + }, + twoFour: { + present: '{{count}} roky', + past: '{{count}} rokmi', + future: '{{count}} roky' + }, + other: { + present: '{{count}} rokov', + past: '{{count}} rokmi', + future: '{{count}} rokov' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var preposition = extractPreposition(token) || ''; + var key = lowercaseFirstLetter(token.substring(preposition.length)); + var scheme = formatDistanceLocale[key]; + if (!(options !== null && options !== void 0 && options.addSuffix)) { + return prefixPreposition(preposition) + suffixPreposition(preposition) + declension(scheme, count, 'present'); + } + if (options.comparison && options.comparison > 0) { + return prefixPreposition(preposition) + 'o ' + suffixPreposition(preposition) + declension(scheme, count, 'future'); + } else { + return prefixPreposition(preposition) + 'pred ' + suffixPreposition(preposition) + declension(scheme, count, 'past'); + } +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/sk/_lib/formatLong/index.js new file mode 100644 index 000000000..a8ee63d5e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/_lib/formatLong/index.js @@ -0,0 +1,38 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986 +var dateFormats = { + full: 'EEEE d. MMMM y', + long: 'd. MMMM y', + medium: 'd. M. y', + short: 'd. M. y' +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149 +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994 +var dateTimeFormats = { + full: '{{date}}, {{time}}', + long: '{{date}}, {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/sk/_lib/formatRelative/index.js new file mode 100644 index 000000000..ec7b212ac --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/_lib/formatRelative/index.js @@ -0,0 +1,63 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308 +var accusativeWeekdays = ['nedeľu', 'pondelok', 'utorok', 'stredu', 'štvrtok', 'piatok', 'sobotu']; +function _lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: /* Sun */ + case 3: /* Wed */ + case 6 /* Sat */: + return "'minulú " + weekday + " o' p"; + default: + return "'minulý' eeee 'o' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + if (day === 4 /* Thu */) { + return "'vo' eeee 'o' p"; + } else { + return "'v " + weekday + " o' p"; + } +} +function _nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: /* Sun */ + case 4: /* Wed */ + case 6 /* Sat */: + return "'budúcu " + weekday + " o' p"; + default: + return "'budúci' eeee 'o' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'včera o' p", + today: "'dnes o' p", + tomorrow: "'zajtra o' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/_lib/localize/index.js b/node_modules/date-fns/esm/locale/sk/_lib/localize/index.js new file mode 100644 index 000000000..767db5674 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/_lib/localize/index.js @@ -0,0 +1,134 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1772 +var eraValues = { + narrow: ['pred Kr.', 'po Kr.'], + abbreviated: ['pred Kr.', 'po Kr.'], + wide: ['pred Kristom', 'po Kristovi'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1780 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. štvrťrok', '2. štvrťrok', '3. štvrťrok', '4. štvrťrok'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1804 +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + wide: ['január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december'] +}; +var formattingMonthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + wide: ['januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', 'septembra', 'októbra', 'novembra', 'decembra'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1876 +var dayValues = { + narrow: ['n', 'p', 'u', 's', 'š', 'p', 's'], + short: ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + abbreviated: ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + wide: ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1932 +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'poln.', + noon: 'pol.', + morning: 'ráno', + afternoon: 'pop.', + evening: 'več.', + night: 'noc' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'poln.', + noon: 'pol.', + morning: 'ráno', + afternoon: 'popol.', + evening: 'večer', + night: 'noc' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'polnoc', + noon: 'poludnie', + morning: 'ráno', + afternoon: 'popoludnie', + evening: 'večer', + night: 'noc' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'o poln.', + noon: 'nap.', + morning: 'ráno', + afternoon: 'pop.', + evening: 'več.', + night: 'v n.' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'o poln.', + noon: 'napol.', + morning: 'ráno', + afternoon: 'popol.', + evening: 'večer', + night: 'v noci' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'o polnoci', + noon: 'napoludnie', + morning: 'ráno', + afternoon: 'popoludní', + evening: 'večer', + night: 'v noci' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/_lib/match/index.js b/node_modules/date-fns/esm/locale/sk/_lib/match/index.js new file mode 100644 index 000000000..f7a29681e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i, + abbreviated: /^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i, + wide: /^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]\. [šs]tvr[ťt]rok/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i, + wide: /^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^m[áa]j/i, /^j[úu]n/i, /^j[úu]l/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[npusšp]/i, + short: /^(ne|po|ut|st|št|pi|so)/i, + abbreviated: /^(ne|po|ut|st|št|pi|so)/i, + wide: /^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^u/i, /^s/i, /^š/i, /^p/i, /^s/i], + any: [/^n/i, /^po/i, /^u/i, /^st/i, /^(št|stv)/i, /^pi/i, /^so/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i, + abbreviated: /^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i, + any: /^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /poln/i, + noon: /^(nap|(na)?pol(\.|u))/i, + morning: /^r[áa]no/i, + afternoon: /^pop/i, + evening: /^ve[čc]/i, + night: /^(noc|v n\.)/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/index.d.ts b/node_modules/date-fns/esm/locale/sk/index.d.ts new file mode 100644 index 000000000..362dd321b --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sk } from 'date-fns/locale' +export default sk diff --git a/node_modules/date-fns/esm/locale/sk/index.js b/node_modules/date-fns/esm/locale/sk/index.js new file mode 100644 index 000000000..bea45ad26 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Slovak locale. + * @language Slovak + * @iso-639-2 slk + * @author Marek Suscak [@mareksuscak]{@link https://github.com/mareksuscak} + */ +var locale = { + code: 'sk', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sk/index.js.flow b/node_modules/date-fns/esm/locale/sk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/sk/package.json b/node_modules/date-fns/esm/locale/sk/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sk/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/sl/_lib/formatDistance/index.js new file mode 100644 index 000000000..f911c77e2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/_lib/formatDistance/index.js @@ -0,0 +1,319 @@ +function isPluralType(val) { + return val.one !== undefined; +} +var formatDistanceLocale = { + lessThanXSeconds: { + present: { + one: 'manj kot {{count}} sekunda', + two: 'manj kot {{count}} sekundi', + few: 'manj kot {{count}} sekunde', + other: 'manj kot {{count}} sekund' + }, + past: { + one: 'manj kot {{count}} sekundo', + two: 'manj kot {{count}} sekundama', + few: 'manj kot {{count}} sekundami', + other: 'manj kot {{count}} sekundami' + }, + future: { + one: 'manj kot {{count}} sekundo', + two: 'manj kot {{count}} sekundi', + few: 'manj kot {{count}} sekunde', + other: 'manj kot {{count}} sekund' + } + }, + xSeconds: { + present: { + one: '{{count}} sekunda', + two: '{{count}} sekundi', + few: '{{count}} sekunde', + other: '{{count}} sekund' + }, + past: { + one: '{{count}} sekundo', + two: '{{count}} sekundama', + few: '{{count}} sekundami', + other: '{{count}} sekundami' + }, + future: { + one: '{{count}} sekundo', + two: '{{count}} sekundi', + few: '{{count}} sekunde', + other: '{{count}} sekund' + } + }, + halfAMinute: 'pol minute', + lessThanXMinutes: { + present: { + one: 'manj kot {{count}} minuta', + two: 'manj kot {{count}} minuti', + few: 'manj kot {{count}} minute', + other: 'manj kot {{count}} minut' + }, + past: { + one: 'manj kot {{count}} minuto', + two: 'manj kot {{count}} minutama', + few: 'manj kot {{count}} minutami', + other: 'manj kot {{count}} minutami' + }, + future: { + one: 'manj kot {{count}} minuto', + two: 'manj kot {{count}} minuti', + few: 'manj kot {{count}} minute', + other: 'manj kot {{count}} minut' + } + }, + xMinutes: { + present: { + one: '{{count}} minuta', + two: '{{count}} minuti', + few: '{{count}} minute', + other: '{{count}} minut' + }, + past: { + one: '{{count}} minuto', + two: '{{count}} minutama', + few: '{{count}} minutami', + other: '{{count}} minutami' + }, + future: { + one: '{{count}} minuto', + two: '{{count}} minuti', + few: '{{count}} minute', + other: '{{count}} minut' + } + }, + aboutXHours: { + present: { + one: 'približno {{count}} ura', + two: 'približno {{count}} uri', + few: 'približno {{count}} ure', + other: 'približno {{count}} ur' + }, + past: { + one: 'približno {{count}} uro', + two: 'približno {{count}} urama', + few: 'približno {{count}} urami', + other: 'približno {{count}} urami' + }, + future: { + one: 'približno {{count}} uro', + two: 'približno {{count}} uri', + few: 'približno {{count}} ure', + other: 'približno {{count}} ur' + } + }, + xHours: { + present: { + one: '{{count}} ura', + two: '{{count}} uri', + few: '{{count}} ure', + other: '{{count}} ur' + }, + past: { + one: '{{count}} uro', + two: '{{count}} urama', + few: '{{count}} urami', + other: '{{count}} urami' + }, + future: { + one: '{{count}} uro', + two: '{{count}} uri', + few: '{{count}} ure', + other: '{{count}} ur' + } + }, + xDays: { + present: { + one: '{{count}} dan', + two: '{{count}} dni', + few: '{{count}} dni', + other: '{{count}} dni' + }, + past: { + one: '{{count}} dnem', + two: '{{count}} dnevoma', + few: '{{count}} dnevi', + other: '{{count}} dnevi' + }, + future: { + one: '{{count}} dan', + two: '{{count}} dni', + few: '{{count}} dni', + other: '{{count}} dni' + } + }, + // no tenses for weeks? + aboutXWeeks: { + one: 'približno {{count}} teden', + two: 'približno {{count}} tedna', + few: 'približno {{count}} tedne', + other: 'približno {{count}} tednov' + }, + // no tenses for weeks? + xWeeks: { + one: '{{count}} teden', + two: '{{count}} tedna', + few: '{{count}} tedne', + other: '{{count}} tednov' + }, + aboutXMonths: { + present: { + one: 'približno {{count}} mesec', + two: 'približno {{count}} meseca', + few: 'približno {{count}} mesece', + other: 'približno {{count}} mesecev' + }, + past: { + one: 'približno {{count}} mesecem', + two: 'približno {{count}} mesecema', + few: 'približno {{count}} meseci', + other: 'približno {{count}} meseci' + }, + future: { + one: 'približno {{count}} mesec', + two: 'približno {{count}} meseca', + few: 'približno {{count}} mesece', + other: 'približno {{count}} mesecev' + } + }, + xMonths: { + present: { + one: '{{count}} mesec', + two: '{{count}} meseca', + few: '{{count}} meseci', + other: '{{count}} mesecev' + }, + past: { + one: '{{count}} mesecem', + two: '{{count}} mesecema', + few: '{{count}} meseci', + other: '{{count}} meseci' + }, + future: { + one: '{{count}} mesec', + two: '{{count}} meseca', + few: '{{count}} mesece', + other: '{{count}} mesecev' + } + }, + aboutXYears: { + present: { + one: 'približno {{count}} leto', + two: 'približno {{count}} leti', + few: 'približno {{count}} leta', + other: 'približno {{count}} let' + }, + past: { + one: 'približno {{count}} letom', + two: 'približno {{count}} letoma', + few: 'približno {{count}} leti', + other: 'približno {{count}} leti' + }, + future: { + one: 'približno {{count}} leto', + two: 'približno {{count}} leti', + few: 'približno {{count}} leta', + other: 'približno {{count}} let' + } + }, + xYears: { + present: { + one: '{{count}} leto', + two: '{{count}} leti', + few: '{{count}} leta', + other: '{{count}} let' + }, + past: { + one: '{{count}} letom', + two: '{{count}} letoma', + few: '{{count}} leti', + other: '{{count}} leti' + }, + future: { + one: '{{count}} leto', + two: '{{count}} leti', + few: '{{count}} leta', + other: '{{count}} let' + } + }, + overXYears: { + present: { + one: 'več kot {{count}} leto', + two: 'več kot {{count}} leti', + few: 'več kot {{count}} leta', + other: 'več kot {{count}} let' + }, + past: { + one: 'več kot {{count}} letom', + two: 'več kot {{count}} letoma', + few: 'več kot {{count}} leti', + other: 'več kot {{count}} leti' + }, + future: { + one: 'več kot {{count}} leto', + two: 'več kot {{count}} leti', + few: 'več kot {{count}} leta', + other: 'več kot {{count}} let' + } + }, + almostXYears: { + present: { + one: 'skoraj {{count}} leto', + two: 'skoraj {{count}} leti', + few: 'skoraj {{count}} leta', + other: 'skoraj {{count}} let' + }, + past: { + one: 'skoraj {{count}} letom', + two: 'skoraj {{count}} letoma', + few: 'skoraj {{count}} leti', + other: 'skoraj {{count}} leti' + }, + future: { + one: 'skoraj {{count}} leto', + two: 'skoraj {{count}} leti', + few: 'skoraj {{count}} leta', + other: 'skoraj {{count}} let' + } + } +}; +function getFormFromCount(count) { + switch (count % 100) { + case 1: + return 'one'; + case 2: + return 'two'; + case 3: + case 4: + return 'few'; + default: + return 'other'; + } +} +var formatDistance = function formatDistance(token, count, options) { + var result = ''; + var tense = 'present'; + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + tense = 'future'; + result = 'čez '; + } else { + tense = 'past'; + result = 'pred '; + } + } + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result += tokenValue; + } else { + var form = getFormFromCount(count); + if (isPluralType(tokenValue)) { + result += tokenValue[form].replace('{{count}}', String(count)); + } else { + result += tokenValue[tense][form].replace('{{count}}', String(count)); + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/sl/_lib/formatLong/index.js new file mode 100644 index 000000000..f0073e432 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, dd. MMMM y', + long: 'dd. MMMM y', + medium: 'd. MMM y', + short: 'd. MM. yy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/sl/_lib/formatRelative/index.js new file mode 100644 index 000000000..47f139463 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/_lib/formatRelative/index.js @@ -0,0 +1,40 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'prejšnjo nedeljo ob' p"; + case 3: + return "'prejšnjo sredo ob' p"; + case 6: + return "'prejšnjo soboto ob' p"; + default: + return "'prejšnji' EEEE 'ob' p"; + } + }, + yesterday: "'včeraj ob' p", + today: "'danes ob' p", + tomorrow: "'jutri ob' p", + nextWeek: function nextWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'naslednjo nedeljo ob' p"; + case 3: + return "'naslednjo sredo ob' p"; + case 6: + return "'naslednjo soboto ob' p"; + default: + return "'naslednji' EEEE 'ob' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/_lib/localize/index.js b/node_modules/date-fns/esm/locale/sl/_lib/localize/index.js new file mode 100644 index 000000000..db4fbf5d2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['pr. n. št.', 'po n. št.'], + abbreviated: ['pr. n. št.', 'po n. št.'], + wide: ['pred našim štetjem', 'po našem štetju'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. čet.', '2. čet.', '3. čet.', '4. čet.'], + wide: ['1. četrtletje', '2. četrtletje', '3. četrtletje', '4. četrtletje'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['n', 'p', 't', 's', 'č', 'p', 's'], + short: ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + abbreviated: ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + wide: ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'] +}; +var dayPeriodValues = { + narrow: { + am: 'd', + pm: 'p', + midnight: '24.00', + noon: '12.00', + morning: 'j', + afternoon: 'p', + evening: 'v', + night: 'n' + }, + abbreviated: { + am: 'dop.', + pm: 'pop.', + midnight: 'poln.', + noon: 'pold.', + morning: 'jut.', + afternoon: 'pop.', + evening: 'več.', + night: 'noč' + }, + wide: { + am: 'dop.', + pm: 'pop.', + midnight: 'polnoč', + noon: 'poldne', + morning: 'jutro', + afternoon: 'popoldne', + evening: 'večer', + night: 'noč' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'd', + pm: 'p', + midnight: '24.00', + noon: '12.00', + morning: 'zj', + afternoon: 'p', + evening: 'zv', + night: 'po' + }, + abbreviated: { + am: 'dop.', + pm: 'pop.', + midnight: 'opoln.', + noon: 'opold.', + morning: 'zjut.', + afternoon: 'pop.', + evening: 'zveč.', + night: 'ponoči' + }, + wide: { + am: 'dop.', + pm: 'pop.', + midnight: 'opolnoči', + noon: 'opoldne', + morning: 'zjutraj', + afternoon: 'popoldan', + evening: 'zvečer', + night: 'ponoči' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/_lib/match/index.js b/node_modules/date-fns/esm/locale/sl/_lib/match/index.js new file mode 100644 index 000000000..9808c1b89 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/_lib/match/index.js @@ -0,0 +1,108 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i, + wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|na[sš]em)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?[čc]et\.?/i, + wide: /^[1234]\. [čc]etrtletje/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i, + wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + abbreviated: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i], + wide: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[nptsčc]/i, + short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i, + abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i, + wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i], + any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i, + any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^d/i, + pm: /^p/i, + midnight: /^24/i, + noon: /^12/i, + morning: /^(z?j)/i, + afternoon: /^p/i, + evening: /^(z?v)/i, + night: /^(n|po)/i + }, + any: { + am: /^dop\./i, + pm: /^pop\./i, + midnight: /^o?poln/i, + noon: /^o?pold/i, + morning: /j/i, + afternoon: /^pop\./i, + evening: /^z?ve/i, + night: /(po)?no/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/index.d.ts b/node_modules/date-fns/esm/locale/sl/index.d.ts new file mode 100644 index 000000000..fbe964aa8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sl } from 'date-fns/locale' +export default sl diff --git a/node_modules/date-fns/esm/locale/sl/index.js b/node_modules/date-fns/esm/locale/sl/index.js new file mode 100644 index 000000000..1bca4bea1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Slovenian locale. + * @language Slovenian + * @iso-639-2 slv + * @author Adam Stradovnik [@Neoglyph]{@link https://github.com/Neoglyph} + * @author Mato Žgajner [@mzgajner]{@link https://github.com/mzgajner} + */ +var locale = { + code: 'sl', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sl/index.js.flow b/node_modules/date-fns/esm/locale/sl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/sl/package.json b/node_modules/date-fns/esm/locale/sl/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sl/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/sq/_lib/formatDistance/index.js new file mode 100644 index 000000000..2cbf6e5d8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'më pak se një sekondë', + other: 'më pak se {{count}} sekonda' + }, + xSeconds: { + one: '1 sekondë', + other: '{{count}} sekonda' + }, + halfAMinute: 'gjysëm minuti', + lessThanXMinutes: { + one: 'më pak se një minute', + other: 'më pak se {{count}} minuta' + }, + xMinutes: { + one: '1 minutë', + other: '{{count}} minuta' + }, + aboutXHours: { + one: 'rreth 1 orë', + other: 'rreth {{count}} orë' + }, + xHours: { + one: '1 orë', + other: '{{count}} orë' + }, + xDays: { + one: '1 ditë', + other: '{{count}} ditë' + }, + aboutXWeeks: { + one: 'rreth 1 javë', + other: 'rreth {{count}} javë' + }, + xWeeks: { + one: '1 javë', + other: '{{count}} javë' + }, + aboutXMonths: { + one: 'rreth 1 muaj', + other: 'rreth {{count}} muaj' + }, + xMonths: { + one: '1 muaj', + other: '{{count}} muaj' + }, + aboutXYears: { + one: 'rreth 1 vit', + other: 'rreth {{count}} vite' + }, + xYears: { + one: '1 vit', + other: '{{count}} vite' + }, + overXYears: { + one: 'mbi 1 vit', + other: 'mbi {{count}} vite' + }, + almostXYears: { + one: 'pothuajse 1 vit', + other: 'pothuajse {{count}} vite' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'në ' + result; + } else { + return result + ' më parë'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/sq/_lib/formatLong/index.js new file mode 100644 index 000000000..96c238fd6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'në' {{time}}", + long: "{{date}} 'në' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/sq/_lib/formatRelative/index.js new file mode 100644 index 000000000..d6d2f9595 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'të' eeee 'e shkuar në' p", + yesterday: "'dje në' p", + today: "'sot në' p", + tomorrow: "'nesër në' p", + nextWeek: "eeee 'at' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/_lib/localize/index.js b/node_modules/date-fns/esm/locale/sq/_lib/localize/index.js new file mode 100644 index 000000000..4d82f3ba0 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/_lib/localize/index.js @@ -0,0 +1,127 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['P', 'M'], + abbreviated: ['PK', 'MK'], + wide: ['Para Krishtit', 'Mbas Krishtit'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['4-mujori I', '4-mujori II', '4-mujori III', '4-mujori IV'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'S', 'M', 'P', 'M', 'Q', 'K', 'G', 'S', 'T', 'N', 'D'], + abbreviated: ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gus', 'Sht', 'Tet', 'Nën', 'Dhj'], + wide: ['Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', 'Tetor', 'Nëntor', 'Dhjetor'] +}; +var dayValues = { + narrow: ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + short: ['Di', 'Hë', 'Ma', 'Më', 'En', 'Pr', 'Sh'], + abbreviated: ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + wide: ['Dielë', 'Hënë', 'Martë', 'Mërkurë', 'Enjte', 'Premte', 'Shtunë'] +}; +var dayPeriodValues = { + narrow: { + am: 'p', + pm: 'm', + midnight: 'm', + noon: 'd', + morning: 'mëngjes', + afternoon: 'dite', + evening: 'mbrëmje', + night: 'natë' + }, + abbreviated: { + am: 'PD', + pm: 'MD', + midnight: 'mesnëtë', + noon: 'drek', + morning: 'mëngjes', + afternoon: 'mbasdite', + evening: 'mbrëmje', + night: 'natë' + }, + wide: { + am: 'p.d.', + pm: 'm.d.', + midnight: 'mesnëtë', + noon: 'drek', + morning: 'mëngjes', + afternoon: 'mbasdite', + evening: 'mbrëmje', + night: 'natë' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'p', + pm: 'm', + midnight: 'm', + noon: 'd', + morning: 'në mëngjes', + afternoon: 'në mbasdite', + evening: 'në mbrëmje', + night: 'në mesnatë' + }, + abbreviated: { + am: 'PD', + pm: 'MD', + midnight: 'mesnatë', + noon: 'drek', + morning: 'në mëngjes', + afternoon: 'në mbasdite', + evening: 'në mbrëmje', + night: 'në mesnatë' + }, + wide: { + am: 'p.d.', + pm: 'm.d.', + midnight: 'mesnatë', + noon: 'drek', + morning: 'në mëngjes', + afternoon: 'në mbasdite', + evening: 'në mbrëmje', + night: 'në mesnatë' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + if ((options === null || options === void 0 ? void 0 : options.unit) === 'hour') return String(number); + if (number === 1) return number + '-rë'; + if (number === 4) return number + 't'; + return number + '-të'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/_lib/match/index.js b/node_modules/date-fns/esm/locale/sq/_lib/match/index.js new file mode 100644 index 000000000..e9887ccc3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-rë|-të|t|)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p|m)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(para krishtit|mbas krishtit)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(p|m)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]-mujori (i{1,3}|iv)/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jsmpqkftnd]/i, + abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i, + wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^s/i, /^m/i, /^p/i, /^m/i, /^q/i, /^k/i, /^g/i, /^s/i, /^t/i, /^n/i, /^d/i], + any: [/^ja/i, /^shk/i, /^mar/i, /^pri/i, /^maj/i, /^qer/i, /^kor/i, /^gu/i, /^sht/i, /^tet/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dhmeps]/i, + short: /^(di|hë|ma|më|en|pr|sh)/i, + abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i, + wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i], + any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i, + any: /^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^p/i, + pm: /^m/i, + midnight: /^me/i, + noon: /^dr/i, + morning: /mëngjes/i, + afternoon: /mbasdite/i, + evening: /mbrëmje/i, + night: /natë/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/index.d.ts b/node_modules/date-fns/esm/locale/sq/index.d.ts new file mode 100644 index 000000000..d361e22ef --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sq } from 'date-fns/locale' +export default sq diff --git a/node_modules/date-fns/esm/locale/sq/index.js b/node_modules/date-fns/esm/locale/sq/index.js new file mode 100644 index 000000000..6ed7057cc --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Albanian locale. + * @language Shqip + * @iso-639-2 sqi + * @author Ardit Dine [@arditdine]{@link https://github.com/arditdine} + */ +var locale = { + code: 'sq', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sq/index.js.flow b/node_modules/date-fns/esm/locale/sq/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/sq/package.json b/node_modules/date-fns/esm/locale/sq/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sq/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatDistance/index.js new file mode 100644 index 000000000..0cfa65345 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatDistance/index.js @@ -0,0 +1,171 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'manje od 1 sekunde', + withPrepositionAgo: 'manje od 1 sekunde', + withPrepositionIn: 'manje od 1 sekundu' + }, + dual: 'manje od {{count}} sekunde', + other: 'manje od {{count}} sekundi' + }, + xSeconds: { + one: { + standalone: '1 sekunda', + withPrepositionAgo: '1 sekunde', + withPrepositionIn: '1 sekundu' + }, + dual: '{{count}} sekunde', + other: '{{count}} sekundi' + }, + halfAMinute: 'pola minute', + lessThanXMinutes: { + one: { + standalone: 'manje od 1 minute', + withPrepositionAgo: 'manje od 1 minute', + withPrepositionIn: 'manje od 1 minutu' + }, + dual: 'manje od {{count}} minute', + other: 'manje od {{count}} minuta' + }, + xMinutes: { + one: { + standalone: '1 minuta', + withPrepositionAgo: '1 minute', + withPrepositionIn: '1 minutu' + }, + dual: '{{count}} minute', + other: '{{count}} minuta' + }, + aboutXHours: { + one: { + standalone: 'oko 1 sat', + withPrepositionAgo: 'oko 1 sat', + withPrepositionIn: 'oko 1 sat' + }, + dual: 'oko {{count}} sata', + other: 'oko {{count}} sati' + }, + xHours: { + one: { + standalone: '1 sat', + withPrepositionAgo: '1 sat', + withPrepositionIn: '1 sat' + }, + dual: '{{count}} sata', + other: '{{count}} sati' + }, + xDays: { + one: { + standalone: '1 dan', + withPrepositionAgo: '1 dan', + withPrepositionIn: '1 dan' + }, + dual: '{{count}} dana', + other: '{{count}} dana' + }, + aboutXWeeks: { + one: { + standalone: 'oko 1 nedelju', + withPrepositionAgo: 'oko 1 nedelju', + withPrepositionIn: 'oko 1 nedelju' + }, + dual: 'oko {{count}} nedelje', + other: 'oko {{count}} nedelje' + }, + xWeeks: { + one: { + standalone: '1 nedelju', + withPrepositionAgo: '1 nedelju', + withPrepositionIn: '1 nedelju' + }, + dual: '{{count}} nedelje', + other: '{{count}} nedelje' + }, + aboutXMonths: { + one: { + standalone: 'oko 1 mesec', + withPrepositionAgo: 'oko 1 mesec', + withPrepositionIn: 'oko 1 mesec' + }, + dual: 'oko {{count}} meseca', + other: 'oko {{count}} meseci' + }, + xMonths: { + one: { + standalone: '1 mesec', + withPrepositionAgo: '1 mesec', + withPrepositionIn: '1 mesec' + }, + dual: '{{count}} meseca', + other: '{{count}} meseci' + }, + aboutXYears: { + one: { + standalone: 'oko 1 godinu', + withPrepositionAgo: 'oko 1 godinu', + withPrepositionIn: 'oko 1 godinu' + }, + dual: 'oko {{count}} godine', + other: 'oko {{count}} godina' + }, + xYears: { + one: { + standalone: '1 godina', + withPrepositionAgo: '1 godine', + withPrepositionIn: '1 godinu' + }, + dual: '{{count}} godine', + other: '{{count}} godina' + }, + overXYears: { + one: { + standalone: 'preko 1 godinu', + withPrepositionAgo: 'preko 1 godinu', + withPrepositionIn: 'preko 1 godinu' + }, + dual: 'preko {{count}} godine', + other: 'preko {{count}} godina' + }, + almostXYears: { + one: { + standalone: 'gotovo 1 godinu', + withPrepositionAgo: 'gotovo 1 godinu', + withPrepositionIn: 'gotovo 1 godinu' + }, + dual: 'gotovo {{count}} godine', + other: 'gotovo {{count}} godina' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'za ' + result; + } else { + return 'pre ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatLong/index.js new file mode 100644 index 000000000..16ee53dd2 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d. MMMM yyyy.', + long: 'd. MMMM yyyy.', + medium: 'd. MMM yy.', + short: 'dd. MM. yy.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'u' {{time}}", + long: "{{date}} 'u' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatRelative/index.js new file mode 100644 index 000000000..c6850934f --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatRelative/index.js @@ -0,0 +1,38 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'prošle nedelje u' p"; + case 3: + return "'prošle srede u' p"; + case 6: + return "'prošle subote u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + yesterday: "'juče u' p", + today: "'danas u' p", + tomorrow: "'sutra u' p", + nextWeek: function nextWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'sledeće nedelje u' p"; + case 3: + return "'sledeću sredu u' p"; + case 6: + return "'sledeću subotu u' p"; + default: + return "'sledeći' EEEE 'u' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/_lib/localize/index.js b/node_modules/date-fns/esm/locale/sr-Latn/_lib/localize/index.js new file mode 100644 index 000000000..e5e33e1f9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/_lib/localize/index.js @@ -0,0 +1,126 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['pr.n.e.', 'AD'], + abbreviated: ['pr. Hr.', 'po. Hr.'], + wide: ['Pre Hrista', 'Posle Hrista'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var dayValues = { + narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + short: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + abbreviated: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + wide: ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'] +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'posle podne', + evening: 'uveče', + night: 'noću' + } +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'posle podne', + evening: 'uveče', + night: 'noću' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/_lib/match/index.js b/node_modules/date-fns/esm/locale/sr-Latn/_lib/match/index.js new file mode 100644 index 000000000..0e8e1d45b --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pr\.n\.e\.|AD)/i, + abbreviated: /^(pr\.\s?Hr\.|po\.\s?Hr\.)/i, + wide: /^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|nova)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?kv\.?/i, + wide: /^[1234]\. kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i, + wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i +}; +var parseMonthPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[npusčc]/i, + short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + wide: /^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^pono/i, + noon: /^pod/i, + morning: /jutro/i, + afternoon: /(posle\s|po)+podne/i, + evening: /(uvece|uveče)/i, + night: /(nocu|noću)/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/index.d.ts b/node_modules/date-fns/esm/locale/sr-Latn/index.d.ts new file mode 100644 index 000000000..f6313cc92 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { srLatn } from 'date-fns/locale' +export default srLatn diff --git a/node_modules/date-fns/esm/locale/sr-Latn/index.js b/node_modules/date-fns/esm/locale/sr-Latn/index.js new file mode 100644 index 000000000..dfa79bd79 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Serbian latin locale. + * @language Serbian + * @iso-639-2 srp + * @author Igor Radivojević [@rogyvoje]{@link https://github.com/rogyvoje} + */ +var locale = { + code: 'sr-Latn', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr-Latn/index.js.flow b/node_modules/date-fns/esm/locale/sr-Latn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/sr-Latn/package.json b/node_modules/date-fns/esm/locale/sr-Latn/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr-Latn/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/sr/_lib/formatDistance/index.js new file mode 100644 index 000000000..2e858b7cd --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/_lib/formatDistance/index.js @@ -0,0 +1,171 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'мање од 1 секунде', + withPrepositionAgo: 'мање од 1 секунде', + withPrepositionIn: 'мање од 1 секунду' + }, + dual: 'мање од {{count}} секунде', + other: 'мање од {{count}} секунди' + }, + xSeconds: { + one: { + standalone: '1 секунда', + withPrepositionAgo: '1 секунде', + withPrepositionIn: '1 секунду' + }, + dual: '{{count}} секунде', + other: '{{count}} секунди' + }, + halfAMinute: 'пола минуте', + lessThanXMinutes: { + one: { + standalone: 'мање од 1 минуте', + withPrepositionAgo: 'мање од 1 минуте', + withPrepositionIn: 'мање од 1 минуту' + }, + dual: 'мање од {{count}} минуте', + other: 'мање од {{count}} минута' + }, + xMinutes: { + one: { + standalone: '1 минута', + withPrepositionAgo: '1 минуте', + withPrepositionIn: '1 минуту' + }, + dual: '{{count}} минуте', + other: '{{count}} минута' + }, + aboutXHours: { + one: { + standalone: 'око 1 сат', + withPrepositionAgo: 'око 1 сат', + withPrepositionIn: 'око 1 сат' + }, + dual: 'око {{count}} сата', + other: 'око {{count}} сати' + }, + xHours: { + one: { + standalone: '1 сат', + withPrepositionAgo: '1 сат', + withPrepositionIn: '1 сат' + }, + dual: '{{count}} сата', + other: '{{count}} сати' + }, + xDays: { + one: { + standalone: '1 дан', + withPrepositionAgo: '1 дан', + withPrepositionIn: '1 дан' + }, + dual: '{{count}} дана', + other: '{{count}} дана' + }, + aboutXWeeks: { + one: { + standalone: 'око 1 недељу', + withPrepositionAgo: 'око 1 недељу', + withPrepositionIn: 'око 1 недељу' + }, + dual: 'око {{count}} недеље', + other: 'око {{count}} недеље' + }, + xWeeks: { + one: { + standalone: '1 недељу', + withPrepositionAgo: '1 недељу', + withPrepositionIn: '1 недељу' + }, + dual: '{{count}} недеље', + other: '{{count}} недеље' + }, + aboutXMonths: { + one: { + standalone: 'око 1 месец', + withPrepositionAgo: 'око 1 месец', + withPrepositionIn: 'око 1 месец' + }, + dual: 'око {{count}} месеца', + other: 'око {{count}} месеци' + }, + xMonths: { + one: { + standalone: '1 месец', + withPrepositionAgo: '1 месец', + withPrepositionIn: '1 месец' + }, + dual: '{{count}} месеца', + other: '{{count}} месеци' + }, + aboutXYears: { + one: { + standalone: 'око 1 годину', + withPrepositionAgo: 'око 1 годину', + withPrepositionIn: 'око 1 годину' + }, + dual: 'око {{count}} године', + other: 'око {{count}} година' + }, + xYears: { + one: { + standalone: '1 година', + withPrepositionAgo: '1 године', + withPrepositionIn: '1 годину' + }, + dual: '{{count}} године', + other: '{{count}} година' + }, + overXYears: { + one: { + standalone: 'преко 1 годину', + withPrepositionAgo: 'преко 1 годину', + withPrepositionIn: 'преко 1 годину' + }, + dual: 'преко {{count}} године', + other: 'преко {{count}} година' + }, + almostXYears: { + one: { + standalone: 'готово 1 годину', + withPrepositionAgo: 'готово 1 годину', + withPrepositionIn: 'готово 1 годину' + }, + dual: 'готово {{count}} године', + other: 'готово {{count}} година' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'за ' + result; + } else { + return 'пре ' + result; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/sr/_lib/formatLong/index.js new file mode 100644 index 000000000..e7586d83a --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d. MMMM yyyy.', + long: 'd. MMMM yyyy.', + medium: 'd. MMM yy.', + short: 'dd. MM. yy.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'у' {{time}}", + long: "{{date}} 'у' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/sr/_lib/formatRelative/index.js new file mode 100644 index 000000000..de321ff31 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/_lib/formatRelative/index.js @@ -0,0 +1,40 @@ +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'прошле недеље у' p"; + case 3: + return "'прошле среде у' p"; + case 6: + return "'прошле суботе у' p"; + default: + return "'прошли' EEEE 'у' p"; + } + }, + yesterday: "'јуче у' p", + today: "'данас у' p", + tomorrow: "'сутра у' p", + nextWeek: function nextWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'следеће недеље у' p"; + case 3: + return "'следећу среду у' p"; + case 6: + return "'следећу суботу у' p"; + default: + return "'следећи' EEEE 'у' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/_lib/localize/index.js b/node_modules/date-fns/esm/locale/sr/_lib/localize/index.js new file mode 100644 index 000000000..34b1e8ac6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/_lib/localize/index.js @@ -0,0 +1,126 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['пр.н.е.', 'АД'], + abbreviated: ['пр. Хр.', 'по. Хр.'], + wide: ['Пре Христа', 'После Христа'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. кв.', '2. кв.', '3. кв.', '4. кв.'], + wide: ['1. квартал', '2. квартал', '3. квартал', '4. квартал'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], + wide: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], + wide: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'] +}; +var dayValues = { + narrow: ['Н', 'П', 'У', 'С', 'Ч', 'П', 'С'], + short: ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + abbreviated: ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + wide: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'] +}; +var formattingDayPeriodValues = { + narrow: { + am: 'АМ', + pm: 'ПМ', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + abbreviated: { + am: 'АМ', + pm: 'ПМ', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'после подне', + evening: 'увече', + night: 'ноћу' + } +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'после подне', + evening: 'увече', + night: 'ноћу' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/_lib/match/index.js b/node_modules/date-fns/esm/locale/sr/_lib/match/index.js new file mode 100644 index 000000000..d4733126d --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(пр\.н\.е\.|АД)/i, + abbreviated: /^(пр\.\s?Хр\.|по\.\s?Хр\.)/i, + wide: /^(Пре Христа|пре нове ере|После Христа|нова ера)/i +}; +var parseEraPatterns = { + any: [/^пр/i, /^(по|нова)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?кв\.?/i, + wide: /^[1234]\. квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i, + wide: /^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i +}; +var parseMonthPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ја/i, /^ф/i, /^мар/i, /^ап/i, /^мај/i, /^јун/i, /^јул/i, /^авг/i, /^с/i, /^о/i, /^н/i, /^д/i] +}; +var matchDayPatterns = { + narrow: /^[пусчн]/i, + short: /^(нед|пон|уто|сре|чет|пет|суб)/i, + abbreviated: /^(нед|пон|уто|сре|чет|пет|суб)/i, + wide: /^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i +}; +var parseDayPatterns = { + narrow: [/^п/i, /^у/i, /^с/i, /^ч/i, /^п/i, /^с/i, /^н/i], + any: [/^нед/i, /^пон/i, /^уто/i, /^сре/i, /^чет/i, /^пет/i, /^суб/i] +}; +var matchDayPeriodPatterns = { + any: /^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^поно/i, + noon: /^под/i, + morning: /ујутру/i, + afternoon: /(после\s|по)+подне/i, + evening: /(увече)/i, + night: /(ноћу)/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/index.d.ts b/node_modules/date-fns/esm/locale/sr/index.d.ts new file mode 100644 index 000000000..aaede59ec --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sr } from 'date-fns/locale' +export default sr diff --git a/node_modules/date-fns/esm/locale/sr/index.js b/node_modules/date-fns/esm/locale/sr/index.js new file mode 100644 index 000000000..71b8d32a5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Serbian cyrillic locale. + * @language Serbian + * @iso-639-2 srp + * @author Igor Radivojević [@rogyvoje]{@link https://github.com/rogyvoje} + */ +var locale = { + code: 'sr', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sr/index.js.flow b/node_modules/date-fns/esm/locale/sr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/sr/package.json b/node_modules/date-fns/esm/locale/sr/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sr/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/sv/_lib/formatDistance/index.js new file mode 100644 index 000000000..c487d93fd --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/_lib/formatDistance/index.js @@ -0,0 +1,88 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre än en sekund', + other: 'mindre än {{count}} sekunder' + }, + xSeconds: { + one: 'en sekund', + other: '{{count}} sekunder' + }, + halfAMinute: 'en halv minut', + lessThanXMinutes: { + one: 'mindre än en minut', + other: 'mindre än {{count}} minuter' + }, + xMinutes: { + one: 'en minut', + other: '{{count}} minuter' + }, + aboutXHours: { + one: 'ungefär en timme', + other: 'ungefär {{count}} timmar' + }, + xHours: { + one: 'en timme', + other: '{{count}} timmar' + }, + xDays: { + one: 'en dag', + other: '{{count}} dagar' + }, + aboutXWeeks: { + one: 'ungefär en vecka', + other: 'ungefär {{count}} vecka' + }, + xWeeks: { + one: 'en vecka', + other: '{{count}} vecka' + }, + aboutXMonths: { + one: 'ungefär en månad', + other: 'ungefär {{count}} månader' + }, + xMonths: { + one: 'en månad', + other: '{{count}} månader' + }, + aboutXYears: { + one: 'ungefär ett år', + other: 'ungefär {{count}} år' + }, + xYears: { + one: 'ett år', + other: '{{count}} år' + }, + overXYears: { + one: 'över ett år', + other: 'över {{count}} år' + }, + almostXYears: { + one: 'nästan ett år', + other: 'nästan {{count}} år' + } +}; +var wordMapping = ['noll', 'en', 'två', 'tre', 'fyra', 'fem', 'sex', 'sju', 'åtta', 'nio', 'tio', 'elva', 'tolv']; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + if (options && options.onlyNumeric) { + result = tokenValue.other.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count)); + } + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' sedan'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/sv/_lib/formatLong/index.js new file mode 100644 index 000000000..17aca45aa --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'y-MM-dd' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/sv/_lib/formatRelative/index.js new file mode 100644 index 000000000..b30f9fe54 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'i' EEEE's kl.' p", + yesterday: "'igår kl.' p", + today: "'idag kl.' p", + tomorrow: "'imorgon kl.' p", + nextWeek: "EEEE 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/_lib/localize/index.js b/node_modules/date-fns/esm/locale/sv/_lib/localize/index.js new file mode 100644 index 000000000..35259dc44 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/_lib/localize/index.js @@ -0,0 +1,129 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['före Kristus', 'efter Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1:a kvartalet', '2:a kvartalet', '3:e kvartalet', '4:e kvartalet'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + abbreviated: ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + wide: ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sv.html#1888 +var dayPeriodValues = { + narrow: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'morg.', + afternoon: 'efterm.', + evening: 'kväll', + night: 'natt' + }, + abbreviated: { + am: 'f.m.', + pm: 'e.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'morgon', + afternoon: 'efterm.', + evening: 'kväll', + night: 'natt' + }, + wide: { + am: 'förmiddag', + pm: 'eftermiddag', + midnight: 'midnatt', + noon: 'middag', + morning: 'morgon', + afternoon: 'eftermiddag', + evening: 'kväll', + night: 'natt' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på efterm.', + evening: 'på kvällen', + night: 'på natten' + }, + abbreviated: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på efterm.', + evening: 'på kvällen', + night: 'på natten' + }, + wide: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morgonen', + afternoon: 'på eftermiddagen', + evening: 'på kvällen', + night: 'på natten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + case 2: + return number + ':a'; + } + } + return number + ':e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/_lib/match/index.js b/node_modules/date-fns/esm/locale/sv/_lib/match/index.js new file mode 100644 index 000000000..5b63e7c57 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(:a|:e)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i, + abbreviated: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i, + wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^[ev]/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](:a|:e)? kvartalet/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i, + wide: /^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(sö|må|ti|on|to|fr|lö)/i, + abbreviated: /^(sön|mån|tis|ons|tors|fre|lör)/i, + wide: /^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i +}; +var parseDayPatterns = { + any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + any: /^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^f/i, + pm: /^e/i, + midnight: /^midn/i, + noon: /^midd/i, + morning: /morgon/i, + afternoon: /eftermiddag/i, + evening: /kväll/i, + night: /natt/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/index.d.ts b/node_modules/date-fns/esm/locale/sv/index.d.ts new file mode 100644 index 000000000..2a7405bf7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sv } from 'date-fns/locale' +export default sv diff --git a/node_modules/date-fns/esm/locale/sv/index.js b/node_modules/date-fns/esm/locale/sv/index.js new file mode 100644 index 000000000..7dfe92161 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Swedish locale. + * @language Swedish + * @iso-639-2 swe + * @author Johannes Ulén [@ejulen]{@link https://github.com/ejulen} + * @author Alexander Nanberg [@alexandernanberg]{@link https://github.com/alexandernanberg} + * @author Henrik Andersson [@limelights]{@link https://github.com/limelights} + */ +var locale = { + code: 'sv', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/sv/index.js.flow b/node_modules/date-fns/esm/locale/sv/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/sv/package.json b/node_modules/date-fns/esm/locale/sv/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/sv/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ta/_lib/formatDistance/index.js new file mode 100644 index 000000000..2f0e9b493 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/_lib/formatDistance/index.js @@ -0,0 +1,201 @@ +function isPluralType(val) { + return val.one !== undefined; +} +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + default: 'ஒரு வினாடிக்கு குறைவாக', + in: 'ஒரு வினாடிக்குள்', + ago: 'ஒரு வினாடிக்கு முன்பு' + }, + other: { + default: '{{count}} வினாடிகளுக்கு குறைவாக', + in: '{{count}} வினாடிகளுக்குள்', + ago: '{{count}} வினாடிகளுக்கு முன்பு' + } + }, + xSeconds: { + one: { + default: '1 வினாடி', + in: '1 வினாடியில்', + ago: '1 வினாடி முன்பு' + }, + other: { + default: '{{count}} விநாடிகள்', + in: '{{count}} வினாடிகளில்', + ago: '{{count}} விநாடிகளுக்கு முன்பு' + } + }, + halfAMinute: { + default: 'அரை நிமிடம்', + in: 'அரை நிமிடத்தில்', + ago: 'அரை நிமிடம் முன்பு' + }, + lessThanXMinutes: { + one: { + default: 'ஒரு நிமிடத்திற்கும் குறைவாக', + in: 'ஒரு நிமிடத்திற்குள்', + ago: 'ஒரு நிமிடத்திற்கு முன்பு' + }, + other: { + default: '{{count}} நிமிடங்களுக்கும் குறைவாக', + in: '{{count}} நிமிடங்களுக்குள்', + ago: '{{count}} நிமிடங்களுக்கு முன்பு' + } + }, + xMinutes: { + one: { + default: '1 நிமிடம்', + in: '1 நிமிடத்தில்', + ago: '1 நிமிடம் முன்பு' + }, + other: { + default: '{{count}} நிமிடங்கள்', + in: '{{count}} நிமிடங்களில்', + ago: '{{count}} நிமிடங்களுக்கு முன்பு' + } + }, + aboutXHours: { + one: { + default: 'சுமார் 1 மணி நேரம்', + in: 'சுமார் 1 மணி நேரத்தில்', + ago: 'சுமார் 1 மணி நேரத்திற்கு முன்பு' + }, + other: { + default: 'சுமார் {{count}} மணி நேரம்', + in: 'சுமார் {{count}} மணி நேரத்திற்கு முன்பு', + ago: 'சுமார் {{count}} மணி நேரத்தில்' + } + }, + xHours: { + one: { + default: '1 மணி நேரம்', + in: '1 மணி நேரத்தில்', + ago: '1 மணி நேரத்திற்கு முன்பு' + }, + other: { + default: '{{count}} மணி நேரம்', + in: '{{count}} மணி நேரத்தில்', + ago: '{{count}} மணி நேரத்திற்கு முன்பு' + } + }, + xDays: { + one: { + default: '1 நாள்', + in: '1 நாளில்', + ago: '1 நாள் முன்பு' + }, + other: { + default: '{{count}} நாட்கள்', + in: '{{count}} நாட்களில்', + ago: '{{count}} நாட்களுக்கு முன்பு' + } + }, + aboutXWeeks: { + one: { + default: 'சுமார் 1 வாரம்', + in: 'சுமார் 1 வாரத்தில்', + ago: 'சுமார் 1 வாரம் முன்பு' + }, + other: { + default: 'சுமார் {{count}} வாரங்கள்', + in: 'சுமார் {{count}} வாரங்களில்', + ago: 'சுமார் {{count}} வாரங்களுக்கு முன்பு' + } + }, + xWeeks: { + one: { + default: '1 வாரம்', + in: '1 வாரத்தில்', + ago: '1 வாரம் முன்பு' + }, + other: { + default: '{{count}} வாரங்கள்', + in: '{{count}} வாரங்களில்', + ago: '{{count}} வாரங்களுக்கு முன்பு' + } + }, + aboutXMonths: { + one: { + default: 'சுமார் 1 மாதம்', + in: 'சுமார் 1 மாதத்தில்', + ago: 'சுமார் 1 மாதத்திற்கு முன்பு' + }, + other: { + default: 'சுமார் {{count}} மாதங்கள்', + in: 'சுமார் {{count}} மாதங்களில்', + ago: 'சுமார் {{count}} மாதங்களுக்கு முன்பு' + } + }, + xMonths: { + one: { + default: '1 மாதம்', + in: '1 மாதத்தில்', + ago: '1 மாதம் முன்பு' + }, + other: { + default: '{{count}} மாதங்கள்', + in: '{{count}} மாதங்களில்', + ago: '{{count}} மாதங்களுக்கு முன்பு' + } + }, + aboutXYears: { + one: { + default: 'சுமார் 1 வருடம்', + in: 'சுமார் 1 ஆண்டில்', + ago: 'சுமார் 1 வருடம் முன்பு' + }, + other: { + default: 'சுமார் {{count}} ஆண்டுகள்', + in: 'சுமார் {{count}} ஆண்டுகளில்', + ago: 'சுமார் {{count}} ஆண்டுகளுக்கு முன்பு' + } + }, + xYears: { + one: { + default: '1 வருடம்', + in: '1 ஆண்டில்', + ago: '1 வருடம் முன்பு' + }, + other: { + default: '{{count}} ஆண்டுகள்', + in: '{{count}} ஆண்டுகளில்', + ago: '{{count}} ஆண்டுகளுக்கு முன்பு' + } + }, + overXYears: { + one: { + default: '1 வருடத்திற்கு மேல்', + in: '1 வருடத்திற்கும் மேலாக', + ago: '1 வருடம் முன்பு' + }, + other: { + default: '{{count}} ஆண்டுகளுக்கும் மேலாக', + in: '{{count}} ஆண்டுகளில்', + ago: '{{count}} ஆண்டுகளுக்கு முன்பு' + } + }, + almostXYears: { + one: { + default: 'கிட்டத்தட்ட 1 வருடம்', + in: 'கிட்டத்தட்ட 1 ஆண்டில்', + ago: 'கிட்டத்தட்ட 1 வருடம் முன்பு' + }, + other: { + default: 'கிட்டத்தட்ட {{count}} ஆண்டுகள்', + in: 'கிட்டத்தட்ட {{count}} ஆண்டுகளில்', + ago: 'கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var tense = options !== null && options !== void 0 && options.addSuffix ? options.comparison && options.comparison > 0 ? 'in' : 'ago' : 'default'; + var tokenValue = formatDistanceLocale[token]; + if (!isPluralType(tokenValue)) return tokenValue[tense]; + if (count === 1) { + return tokenValue.one[tense]; + } else { + return tokenValue.other[tense].replace('{{count}}', String(count)); + } +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js new file mode 100644 index 000000000..1b2f9cf91 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js @@ -0,0 +1,37 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; // Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html +// CLDR #1846 - #1849 +var dateFormats = { + full: 'EEEE, d MMMM, y', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'd/M/yy' +}; + +// CLDR #1850 - #1853 +var timeFormats = { + full: 'a h:mm:ss zzzz', + long: 'a h:mm:ss z', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ta/_lib/formatRelative/index.js new file mode 100644 index 000000000..cf1630145 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'கடந்த' eeee p 'மணிக்கு'", + yesterday: "'நேற்று ' p 'மணிக்கு'", + today: "'இன்று ' p 'மணிக்கு'", + tomorrow: "'நாளை ' p 'மணிக்கு'", + nextWeek: "eeee p 'மணிக்கு'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ta/_lib/localize/index.js new file mode 100644 index 000000000..307b87a42 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/_lib/localize/index.js @@ -0,0 +1,171 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html +var eraValues = { + narrow: ['கி.மு.', 'கி.பி.'], + abbreviated: ['கி.மு.', 'கி.பி.'], + // CLDR #1624, #1626 + wide: ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி'] // CLDR #1620, #1622 +}; + +var quarterValues = { + // CLDR #1644 - #1647 + narrow: ['1', '2', '3', '4'], + // CLDR #1636 - #1639 + abbreviated: ['காலா.1', 'காலா.2', 'காலா.3', 'காலா.4'], + // CLDR #1628 - #1631 + wide: ['ஒன்றாம் காலாண்டு', 'இரண்டாம் காலாண்டு', 'மூன்றாம் காலாண்டு', 'நான்காம் காலாண்டு'] +}; +var monthValues = { + // CLDR #700 - #711 + narrow: ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + // CLDR #1676 - #1687 + abbreviated: ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], + // CLDR #1652 - #1663 + wide: ['ஜனவரி', + // January + 'பிப்ரவரி', + // February + 'மார்ச்', + // March + 'ஏப்ரல்', + // April + 'மே', + // May + 'ஜூன்', + // June + 'ஜூலை', + // July + 'ஆகஸ்ட்', + // August + 'செப்டம்பர்', + // September + 'அக்டோபர்', + // October + 'நவம்பர்', + // November + 'டிசம்பர்' // December + ] +}; + +var dayValues = { + // CLDR #1766 - #1772 + narrow: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + // CLDR #1752 - #1758 + short: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + // CLDR #1738 - #1744 + abbreviated: ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + // CLDR #1724 - #1730 + wide: ['ஞாயிறு', + // Sunday + 'திங்கள்', + // Monday + 'செவ்வாய்', + // Tuesday + 'புதன்', + // Wednesday + 'வியாழன்', + // Thursday + 'வெள்ளி', + // Friday + 'சனி' // Saturday + ] +}; + +// CLDR #1780 - #1845 +var dayPeriodValues = { + narrow: { + am: 'மு.ப', + pm: 'பி.ப', + midnight: 'நள்.', + noon: 'நண்.', + morning: 'கா.', + afternoon: 'மதி.', + evening: 'மா.', + night: 'இர.' + }, + abbreviated: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + }, + wide: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + } +}; + +// CLDR #1780 - #1845 +var formattingDayPeriodValues = { + narrow: { + am: 'மு.ப', + pm: 'பி.ப', + midnight: 'நள்.', + noon: 'நண்.', + morning: 'கா.', + afternoon: 'மதி.', + evening: 'மா.', + night: 'இர.' + }, + abbreviated: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + }, + wide: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/_lib/match/index.js b/node_modules/date-fns/esm/locale/ta/_lib/match/index.js new file mode 100644 index 000000000..93481f316 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(வது)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(கி.மு.|கி.பி.)/i, + abbreviated: /^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/, + wide: /^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i +}; +var parseEraPatterns = { + any: [/கி\.?\s?மு\.?/, /கி\.?\s?பி\.?/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^காலா.[1234]/i, + wide: /^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i +}; +var parseQuarterPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i], + any: [/(1|காலா.1|ஒன்றாம்)/i, /(2|காலா.2|இரண்டாம்)/i, /(3|காலா.3|மூன்றாம்)/i, /(4|காலா.4|நான்காம்)/i] +}; +var matchMonthPatterns = { + narrow: /^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i, + abbreviated: /^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i, + wide: /^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i +}; +var parseMonthPatterns = { + narrow: [/^ஜ$/i, /^பி/i, /^மா/i, /^ஏ/i, /^மே/i, /^ஜூ/i, /^ஜூ/i, /^ஆ/i, /^செ/i, /^அ/i, /^ந/i, /^டி/i], + any: [/^ஜன/i, /^பி/i, /^மா/i, /^ஏ/i, /^மே/i, /^ஜூன்/i, /^ஜூலை/i, /^ஆ/i, /^செ/i, /^அ/i, /^ந/i, /^டி/i] +}; +var matchDayPatterns = { + narrow: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i, + short: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i, + abbreviated: /^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i, + wide: /^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i +}; +var parseDayPatterns = { + narrow: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i], + any: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i, + any: /^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^மு/i, + pm: /^பி/i, + midnight: /^நள்/i, + noon: /^நண்/i, + morning: /காலை/i, + afternoon: /மதியம்/i, + evening: /மாலை/i, + night: /இரவு/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/index.d.ts b/node_modules/date-fns/esm/locale/ta/index.d.ts new file mode 100644 index 000000000..fb9a06a70 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ta } from 'date-fns/locale' +export default ta diff --git a/node_modules/date-fns/esm/locale/ta/index.js b/node_modules/date-fns/esm/locale/ta/index.js new file mode 100644 index 000000000..fdc681912 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Tamil locale (India). + * @language Tamil + * @iso-639-2 tam + * @author Sibiraj [@sibiraj-s]{@link https://github.com/sibiraj-s} + */ +var locale = { + code: 'ta', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ta/index.js.flow b/node_modules/date-fns/esm/locale/ta/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ta/package.json b/node_modules/date-fns/esm/locale/ta/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/te/_lib/formatDistance/index.js new file mode 100644 index 000000000..c044f4b2d --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/_lib/formatDistance/index.js @@ -0,0 +1,185 @@ +// Source: https://www.unicode.org/cldr/charts/32/summary/te.html + +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'సెకను కన్నా తక్కువ', + other: '{{count}} సెకన్ల కన్నా తక్కువ' + }, + withPreposition: { + one: 'సెకను', + other: '{{count}} సెకన్ల' + } + }, + xSeconds: { + standalone: { + one: 'ఒక సెకను', + // CLDR #1314 + other: '{{count}} సెకన్ల' + }, + withPreposition: { + one: 'ఒక సెకను', + other: '{{count}} సెకన్ల' + } + }, + halfAMinute: { + standalone: 'అర నిమిషం', + withPreposition: 'అర నిమిషం' + }, + lessThanXMinutes: { + standalone: { + one: 'ఒక నిమిషం కన్నా తక్కువ', + other: '{{count}} నిమిషాల కన్నా తక్కువ' + }, + withPreposition: { + one: 'ఒక నిమిషం', + other: '{{count}} నిమిషాల' + } + }, + xMinutes: { + standalone: { + one: 'ఒక నిమిషం', + // CLDR #1311 + other: '{{count}} నిమిషాలు' + }, + withPreposition: { + one: 'ఒక నిమిషం', + // CLDR #1311 + other: '{{count}} నిమిషాల' + } + }, + aboutXHours: { + standalone: { + one: 'సుమారు ఒక గంట', + other: 'సుమారు {{count}} గంటలు' + }, + withPreposition: { + one: 'సుమారు ఒక గంట', + other: 'సుమారు {{count}} గంటల' + } + }, + xHours: { + standalone: { + one: 'ఒక గంట', + // CLDR #1308 + other: '{{count}} గంటలు' + }, + withPreposition: { + one: 'ఒక గంట', + other: '{{count}} గంటల' + } + }, + xDays: { + standalone: { + one: 'ఒక రోజు', + // CLDR #1292 + other: '{{count}} రోజులు' + }, + withPreposition: { + one: 'ఒక రోజు', + other: '{{count}} రోజుల' + } + }, + aboutXWeeks: { + standalone: { + one: 'సుమారు ఒక వారం', + other: 'సుమారు {{count}} వారాలు' + }, + withPreposition: { + one: 'సుమారు ఒక వారం', + other: 'సుమారు {{count}} వారాలల' + } + }, + xWeeks: { + standalone: { + one: 'ఒక వారం', + other: '{{count}} వారాలు' + }, + withPreposition: { + one: 'ఒక వారం', + other: '{{count}} వారాలల' + } + }, + aboutXMonths: { + standalone: { + one: 'సుమారు ఒక నెల', + other: 'సుమారు {{count}} నెలలు' + }, + withPreposition: { + one: 'సుమారు ఒక నెల', + other: 'సుమారు {{count}} నెలల' + } + }, + xMonths: { + standalone: { + one: 'ఒక నెల', + // CLDR #1281 + other: '{{count}} నెలలు' + }, + withPreposition: { + one: 'ఒక నెల', + other: '{{count}} నెలల' + } + }, + aboutXYears: { + standalone: { + one: 'సుమారు ఒక సంవత్సరం', + other: 'సుమారు {{count}} సంవత్సరాలు' + }, + withPreposition: { + one: 'సుమారు ఒక సంవత్సరం', + other: 'సుమారు {{count}} సంవత్సరాల' + } + }, + xYears: { + standalone: { + one: 'ఒక సంవత్సరం', + // CLDR #1275 + other: '{{count}} సంవత్సరాలు' + }, + withPreposition: { + one: 'ఒక సంవత్సరం', + other: '{{count}} సంవత్సరాల' + } + }, + overXYears: { + standalone: { + one: 'ఒక సంవత్సరం పైగా', + other: '{{count}} సంవత్సరాలకు పైగా' + }, + withPreposition: { + one: 'ఒక సంవత్సరం', + other: '{{count}} సంవత్సరాల' + } + }, + almostXYears: { + standalone: { + one: 'దాదాపు ఒక సంవత్సరం', + other: 'దాదాపు {{count}} సంవత్సరాలు' + }, + withPreposition: { + one: 'దాదాపు ఒక సంవత్సరం', + other: 'దాదాపు {{count}} సంవత్సరాల' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'లో'; + } else { + return result + ' క్రితం'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/te/_lib/formatLong/index.js new file mode 100644 index 000000000..d32ac3115 --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/_lib/formatLong/index.js @@ -0,0 +1,39 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; // Source: https://www.unicode.org/cldr/charts/32/summary/te.html +// CLDR #1807 - #1811 +var dateFormats = { + full: 'd, MMMM y, EEEE', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'dd-MM-yy' +}; + +// CLDR #1807 - #1811 +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; + +// CLDR #1815 - #1818 +var dateTimeFormats = { + full: "{{date}} {{time}}'కి'", + long: "{{date}} {{time}}'కి'", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/te/_lib/formatRelative/index.js new file mode 100644 index 000000000..808ef5960 --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/_lib/formatRelative/index.js @@ -0,0 +1,19 @@ +// Source: https://www.unicode.org/cldr/charts/32/summary/te.html + +var formatRelativeLocale = { + lastWeek: "'గత' eeee p", + // CLDR #1384 + yesterday: "'నిన్న' p", + // CLDR #1393 + today: "'ఈ రోజు' p", + // CLDR #1394 + tomorrow: "'రేపు' p", + // CLDR #1395 + nextWeek: "'తదుపరి' eeee p", + // CLDR #1386 + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/_lib/localize/index.js b/node_modules/date-fns/esm/locale/te/_lib/localize/index.js new file mode 100644 index 000000000..f82ad9a79 --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/_lib/localize/index.js @@ -0,0 +1,129 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // Source: https://www.unicode.org/cldr/charts/32/summary/te.html +// Source: https://dsal.uchicago.edu/dictionaries/brown/ +// CLDR #1605 - #1608 +var eraValues = { + narrow: ['క్రీ.పూ.', 'క్రీ.శ.'], + abbreviated: ['క్రీ.పూ.', 'క్రీ.శ.'], + wide: ['క్రీస్తు పూర్వం', 'క్రీస్తుశకం'] +}; + +// CLDR #1613 - #1628 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['త్రై1', 'త్రై2', 'త్రై3', 'త్రై4'], + wide: ['1వ త్రైమాసికం', '2వ త్రైమాసికం', '3వ త్రైమాసికం', '4వ త్రైమాసికం'] +}; + +// CLDR #1637 - #1708 +var monthValues = { + narrow: ['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'], + abbreviated: ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'], + wide: ['జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', 'డిసెంబర్'] +}; + +// CLDR #1709 - #1764 +var dayValues = { + narrow: ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], + short: ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], + abbreviated: ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], + wide: ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'] +}; + +// CLDR #1767 - #1806 +var dayPeriodValues = { + narrow: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + abbreviated: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + wide: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + abbreviated: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + wide: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'వ'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/_lib/match/index.js b/node_modules/date-fns/esm/locale/te/_lib/match/index.js new file mode 100644 index 000000000..edee6bd43 --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(వ)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(క్రీ\.పూ\.|క్రీ\.శ\.)/i, + abbreviated: /^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i, + wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i +}; +var parseEraPatterns = { + any: [/^(పూ|శ)/i, /^సా/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^త్రై[1234]/i, + wide: /^[1234](వ)? త్రైమాసికం/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i, + abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i, + wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i +}; +var parseMonthPatterns = { + narrow: [/^జ/i, /^ఫి/i, /^మా/i, /^ఏ/i, /^మే/i, /^జూ/i, /^జు/i, /^ఆ/i, /^సె/i, /^అ/i, /^న/i, /^డి/i], + any: [/^జన/i, /^ఫి/i, /^మా/i, /^ఏ/i, /^మే/i, /^జూన్/i, /^జులై/i, /^ఆగ/i, /^సె/i, /^అ/i, /^న/i, /^డి/i] +}; +var matchDayPatterns = { + narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i, + short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i, + abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i, + wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i +}; +var parseDayPatterns = { + narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i], + any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i, + any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^పూర్వాహ్నం/i, + pm: /^అపరాహ్నం/i, + midnight: /^అర్ధ/i, + noon: /^మిట్ట/i, + morning: /ఉదయం/i, + afternoon: /మధ్యాహ్నం/i, + evening: /సాయంత్రం/i, + night: /రాత్రి/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/index.d.ts b/node_modules/date-fns/esm/locale/te/index.d.ts new file mode 100644 index 000000000..2dab4a836 --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { te } from 'date-fns/locale' +export default te diff --git a/node_modules/date-fns/esm/locale/te/index.js b/node_modules/date-fns/esm/locale/te/index.js new file mode 100644 index 000000000..c7251fd3c --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Telugu locale + * @language Telugu + * @iso-639-2 tel + * @author Kranthi Lakum [@kranthilakum]{@link https://github.com/kranthilakum} + */ +var locale = { + code: 'te', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/te/index.js.flow b/node_modules/date-fns/esm/locale/te/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/te/package.json b/node_modules/date-fns/esm/locale/te/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/te/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/th/_lib/formatDistance/index.js new file mode 100644 index 000000000..876925efa --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/_lib/formatDistance/index.js @@ -0,0 +1,87 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'น้อยกว่า 1 วินาที', + other: 'น้อยกว่า {{count}} วินาที' + }, + xSeconds: { + one: '1 วินาที', + other: '{{count}} วินาที' + }, + halfAMinute: 'ครึ่งนาที', + lessThanXMinutes: { + one: 'น้อยกว่า 1 นาที', + other: 'น้อยกว่า {{count}} นาที' + }, + xMinutes: { + one: '1 นาที', + other: '{{count}} นาที' + }, + aboutXHours: { + one: 'ประมาณ 1 ชั่วโมง', + other: 'ประมาณ {{count}} ชั่วโมง' + }, + xHours: { + one: '1 ชั่วโมง', + other: '{{count}} ชั่วโมง' + }, + xDays: { + one: '1 วัน', + other: '{{count}} วัน' + }, + aboutXWeeks: { + one: 'ประมาณ 1 สัปดาห์', + other: 'ประมาณ {{count}} สัปดาห์' + }, + xWeeks: { + one: '1 สัปดาห์', + other: '{{count}} สัปดาห์' + }, + aboutXMonths: { + one: 'ประมาณ 1 เดือน', + other: 'ประมาณ {{count}} เดือน' + }, + xMonths: { + one: '1 เดือน', + other: '{{count}} เดือน' + }, + aboutXYears: { + one: 'ประมาณ 1 ปี', + other: 'ประมาณ {{count}} ปี' + }, + xYears: { + one: '1 ปี', + other: '{{count}} ปี' + }, + overXYears: { + one: 'มากกว่า 1 ปี', + other: 'มากกว่า {{count}} ปี' + }, + almostXYears: { + one: 'เกือบ 1 ปี', + other: 'เกือบ {{count}} ปี' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (token === 'halfAMinute') { + return 'ใน' + result; + } else { + return 'ใน ' + result; + } + } else { + return result + 'ที่ผ่านมา'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/th/_lib/formatLong/index.js new file mode 100644 index 000000000..2fe622603 --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'วันEEEEที่ do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'H:mm:ss น. zzzz', + long: 'H:mm:ss น. z', + medium: 'H:mm:ss น.', + short: 'H:mm น.' +}; +var dateTimeFormats = { + full: "{{date}} 'เวลา' {{time}}", + long: "{{date}} 'เวลา' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'medium' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/th/_lib/formatRelative/index.js new file mode 100644 index 000000000..e96408866 --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee'ที่แล้วเวลา' p", + yesterday: "'เมื่อวานนี้เวลา' p", + today: "'วันนี้เวลา' p", + tomorrow: "'พรุ่งนี้เวลา' p", + nextWeek: "eeee 'เวลา' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/_lib/localize/index.js b/node_modules/date-fns/esm/locale/th/_lib/localize/index.js new file mode 100644 index 000000000..05c6aa0a5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/_lib/localize/index.js @@ -0,0 +1,118 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['B', 'คศ'], + abbreviated: ['BC', 'ค.ศ.'], + wide: ['ปีก่อนคริสตกาล', 'คริสต์ศักราช'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['ไตรมาสแรก', 'ไตรมาสที่สอง', 'ไตรมาสที่สาม', 'ไตรมาสที่สี่'] +}; +var dayValues = { + narrow: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + short: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + abbreviated: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + wide: ['อาทิตย์', 'จันทร์', 'อังคาร', 'พุธ', 'พฤหัสบดี', 'ศุกร์', 'เสาร์'] +}; +var monthValues = { + narrow: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'], + abbreviated: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'], + wide: ['มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'] +}; +var dayPeriodValues = { + narrow: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'เช้า', + afternoon: 'บ่าย', + evening: 'เย็น', + night: 'กลางคืน' + }, + abbreviated: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'เช้า', + afternoon: 'บ่าย', + evening: 'เย็น', + night: 'กลางคืน' + }, + wide: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'เช้า', + afternoon: 'บ่าย', + evening: 'เย็น', + night: 'กลางคืน' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'ตอนเช้า', + afternoon: 'ตอนกลางวัน', + evening: 'ตอนเย็น', + night: 'ตอนกลางคืน' + }, + abbreviated: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'ตอนเช้า', + afternoon: 'ตอนกลางวัน', + evening: 'ตอนเย็น', + night: 'ตอนกลางคืน' + }, + wide: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'ตอนเช้า', + afternoon: 'ตอนกลางวัน', + evening: 'ตอนเย็น', + night: 'ตอนกลางคืน' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/_lib/match/index.js b/node_modules/date-fns/esm/locale/th/_lib/match/index.js new file mode 100644 index 000000000..f0f7c7e80 --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^\d+/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([bB]|[aA]|คศ)/i, + abbreviated: /^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i, + wide: /^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i +}; +var parseEraPatterns = { + any: [/^[bB]/i, /^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^ไตรมาส(ที่)? ?[1234]/i +}; +var parseQuarterPatterns = { + any: [/(1|แรก|หนึ่ง)/i, /(2|สอง)/i, /(3|สาม)/i, /(4|สี่)/i] +}; +var matchMonthPatterns = { + narrow: /^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i, + abbreviated: /^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i, + wide: /^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i +}; +var parseMonthPatterns = { + wide: [/^มก/i, /^กุม/i, /^มี/i, /^เม/i, /^พฤษ/i, /^มิ/i, /^กรก/i, /^ส/i, /^กัน/i, /^ต/i, /^พฤศ/i, /^ธ/i], + any: [/^ม\.?ค\.?/i, /^ก\.?พ\.?/i, /^มี\.?ค\.?/i, /^เม\.?ย\.?/i, /^พ\.?ค\.?/i, /^มิ\.?ย\.?/i, /^ก\.?ค\.?/i, /^ส\.?ค\.?/i, /^ก\.?ย\.?/i, /^ต\.?ค\.?/i, /^พ\.?ย\.?/i, /^ธ\.?ค\.?/i] +}; +var matchDayPatterns = { + narrow: /^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i, + short: /^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i, + abbreviated: /^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i, + wide: /^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i +}; +var parseDayPatterns = { + wide: [/^อา/i, /^จั/i, /^อั/i, /^พุธ/i, /^พฤ/i, /^ศ/i, /^เส/i], + any: [/^อา/i, /^จ/i, /^อ/i, /^พ(?!ฤ)/i, /^พฤ/i, /^ศ/i, /^ส/i] +}; +var matchDayPeriodPatterns = { + any: /^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ก่อนเที่ยง/i, + pm: /^หลังเที่ยง/i, + midnight: /^เที่ยงคืน/i, + noon: /^เที่ยง/i, + morning: /เช้า/i, + afternoon: /บ่าย/i, + evening: /เย็น/i, + night: /กลางคืน/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/index.d.ts b/node_modules/date-fns/esm/locale/th/index.d.ts new file mode 100644 index 000000000..944dd874e --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { th } from 'date-fns/locale' +export default th diff --git a/node_modules/date-fns/esm/locale/th/index.js b/node_modules/date-fns/esm/locale/th/index.js new file mode 100644 index 000000000..90212d424 --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Thai locale. + * @language Thai + * @iso-639-2 tha + * @author Athiwat Hirunworawongkun [@athivvat]{@link https://github.com/athivvat} + * @author [@hawkup]{@link https://github.com/hawkup} + * @author Jirawat I. [@nodtem66]{@link https://github.com/nodtem66} + */ +var locale = { + code: 'th', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/th/index.js.flow b/node_modules/date-fns/esm/locale/th/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/th/package.json b/node_modules/date-fns/esm/locale/th/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/th/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/tr/_lib/formatDistance/index.js new file mode 100644 index 000000000..01af91690 --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'bir saniyeden az', + other: '{{count}} saniyeden az' + }, + xSeconds: { + one: '1 saniye', + other: '{{count}} saniye' + }, + halfAMinute: 'yarım dakika', + lessThanXMinutes: { + one: 'bir dakikadan az', + other: '{{count}} dakikadan az' + }, + xMinutes: { + one: '1 dakika', + other: '{{count}} dakika' + }, + aboutXHours: { + one: 'yaklaşık 1 saat', + other: 'yaklaşık {{count}} saat' + }, + xHours: { + one: '1 saat', + other: '{{count}} saat' + }, + xDays: { + one: '1 gün', + other: '{{count}} gün' + }, + aboutXWeeks: { + one: 'yaklaşık 1 hafta', + other: 'yaklaşık {{count}} hafta' + }, + xWeeks: { + one: '1 hafta', + other: '{{count}} hafta' + }, + aboutXMonths: { + one: 'yaklaşık 1 ay', + other: 'yaklaşık {{count}} ay' + }, + xMonths: { + one: '1 ay', + other: '{{count}} ay' + }, + aboutXYears: { + one: 'yaklaşık 1 yıl', + other: 'yaklaşık {{count}} yıl' + }, + xYears: { + one: '1 yıl', + other: '{{count}} yıl' + }, + overXYears: { + one: '1 yıldan fazla', + other: '{{count}} yıldan fazla' + }, + almostXYears: { + one: 'neredeyse 1 yıl', + other: 'neredeyse {{count}} yıl' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' sonra'; + } else { + return result + ' önce'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/tr/_lib/formatLong/index.js new file mode 100644 index 000000000..4f14c5776 --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'd MMMM y EEEE', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'saat' {{time}}", + long: "{{date}} 'saat' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/tr/_lib/formatRelative/index.js new file mode 100644 index 000000000..2daebeeae --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'geçen hafta' eeee 'saat' p", + yesterday: "'dün saat' p", + today: "'bugün saat' p", + tomorrow: "'yarın saat' p", + nextWeek: "eeee 'saat' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/_lib/localize/index.js b/node_modules/date-fns/esm/locale/tr/_lib/localize/index.js new file mode 100644 index 000000000..87482fcf6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/_lib/localize/index.js @@ -0,0 +1,119 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['MÖ', 'MS'], + abbreviated: ['MÖ', 'MS'], + wide: ['Milattan Önce', 'Milattan Sonra'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1Ç', '2Ç', '3Ç', '4Ç'], + wide: ['İlk çeyrek', 'İkinci Çeyrek', 'Üçüncü çeyrek', 'Son çeyrek'] +}; +var monthValues = { + narrow: ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + abbreviated: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], + wide: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'] +}; +var dayValues = { + narrow: ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], + short: ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'], + abbreviated: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'], + wide: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'] +}; +var dayPeriodValues = { + narrow: { + am: 'öö', + pm: 'ös', + midnight: 'gy', + noon: 'ö', + morning: 'sa', + afternoon: 'ös', + evening: 'ak', + night: 'ge' + }, + abbreviated: { + am: 'ÖÖ', + pm: 'ÖS', + midnight: 'gece yarısı', + noon: 'öğle', + morning: 'sabah', + afternoon: 'öğleden sonra', + evening: 'akşam', + night: 'gece' + }, + wide: { + am: 'Ö.Ö.', + pm: 'Ö.S.', + midnight: 'gece yarısı', + noon: 'öğle', + morning: 'sabah', + afternoon: 'öğleden sonra', + evening: 'akşam', + night: 'gece' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'öö', + pm: 'ös', + midnight: 'gy', + noon: 'ö', + morning: 'sa', + afternoon: 'ös', + evening: 'ak', + night: 'ge' + }, + abbreviated: { + am: 'ÖÖ', + pm: 'ÖS', + midnight: 'gece yarısı', + noon: 'öğlen', + morning: 'sabahleyin', + afternoon: 'öğleden sonra', + evening: 'akşamleyin', + night: 'geceleyin' + }, + wide: { + am: 'ö.ö.', + pm: 'ö.s.', + midnight: 'gece yarısı', + noon: 'öğlen', + morning: 'sabahleyin', + afternoon: 'öğleden sonra', + evening: 'akşamleyin', + night: 'geceleyin' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/_lib/match/index.js b/node_modules/date-fns/esm/locale/tr/_lib/match/index.js new file mode 100644 index 000000000..7a2525bcd --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/_lib/match/index.js @@ -0,0 +1,101 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(mö|ms)/i, + abbreviated: /^(mö|ms)/i, + wide: /^(milattan önce|milattan sonra)/i +}; +var parseEraPatterns = { + any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]ç/i, + wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i], + abbreviated: [/1ç/i, /2ç/i, /3ç/i, /4ç/i], + wide: [/^(i|İ)lk çeyrek/i, /(i|İ)kinci çeyrek/i, /üçüncü çeyrek/i, /son çeyrek/i] +}; +var matchMonthPatterns = { + narrow: /^[oşmnhtaek]/i, + abbreviated: /^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i, + wide: /^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i +}; +var parseMonthPatterns = { + narrow: [/^o/i, /^ş/i, /^m/i, /^n/i, /^m/i, /^h/i, /^t/i, /^a/i, /^e/i, /^e/i, /^k/i, /^a/i], + any: [/^o/i, /^ş/i, /^mar/i, /^n/i, /^may/i, /^h/i, /^t/i, /^ağ/i, /^ey/i, /^ek/i, /^k/i, /^ar/i] +}; +var matchDayPatterns = { + narrow: /^[psçc]/i, + short: /^(pz|pt|sa|ça|pe|cu|ct)/i, + abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i, + wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i +}; +var parseDayPatterns = { + narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i], + any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i], + wide: [/^pazar(?!tesi)/i, /^pazartesi/i, /^salı/i, /^çarşamba/i, /^perşembe/i, /^cuma(?!rtesi)/i, /^cumartesi/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i, + any: /^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ö\.?ö\.?/i, + pm: /^ö\.?s\.?/i, + midnight: /^(gy|gece yarısı)/i, + noon: /^öğ/i, + morning: /^sa/i, + afternoon: /^öğleden sonra/i, + evening: /^ak/i, + night: /^ge/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/index.d.ts b/node_modules/date-fns/esm/locale/tr/index.d.ts new file mode 100644 index 000000000..d4c2e0add --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { tr } from 'date-fns/locale' +export default tr diff --git a/node_modules/date-fns/esm/locale/tr/index.js b/node_modules/date-fns/esm/locale/tr/index.js new file mode 100644 index 000000000..fcaf4691b --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/index.js @@ -0,0 +1,32 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Turkish locale. + * @language Turkish + * @iso-639-2 tur + * @author Alpcan Aydın [@alpcanaydin]{@link https://github.com/alpcanaydin} + * @author Berkay Sargın [@berkaey]{@link https://github.com/berkaey} + * @author Fatih Bulut [@bulutfatih]{@link https://github.com/bulutfatih} + * @author Ismail Demirbilek [@dbtek]{@link https://github.com/dbtek} + * @author İsmail Kayar [@ikayar]{@link https://github.com/ikayar} + * + * + */ +var locale = { + code: 'tr', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/tr/index.js.flow b/node_modules/date-fns/esm/locale/tr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/tr/package.json b/node_modules/date-fns/esm/locale/tr/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/tr/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/types.js b/node_modules/date-fns/esm/locale/types.js new file mode 100644 index 000000000..8cec2e9ce --- /dev/null +++ b/node_modules/date-fns/esm/locale/types.js @@ -0,0 +1 @@ +export {}; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/ug/_lib/formatDistance/index.js new file mode 100644 index 000000000..2057ddf28 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'بىر سىكۇنت ئىچىدە', + other: 'سىكۇنت ئىچىدە {{count}}' + }, + xSeconds: { + one: 'بىر سىكۇنت', + other: 'سىكۇنت {{count}}' + }, + halfAMinute: 'يىرىم مىنۇت', + lessThanXMinutes: { + one: 'بىر مىنۇت ئىچىدە', + other: 'مىنۇت ئىچىدە {{count}}' + }, + xMinutes: { + one: 'بىر مىنۇت', + other: 'مىنۇت {{count}}' + }, + aboutXHours: { + one: 'تەخمىنەن بىر سائەت', + other: 'سائەت {{count}} تەخمىنەن' + }, + xHours: { + one: 'بىر سائەت', + other: 'سائەت {{count}}' + }, + xDays: { + one: 'بىر كۈن', + other: 'كۈن {{count}}' + }, + aboutXWeeks: { + one: 'تەخمىنەن بىرھەپتە', + other: 'ھەپتە {{count}} تەخمىنەن' + }, + xWeeks: { + one: 'بىرھەپتە', + other: 'ھەپتە {{count}}' + }, + aboutXMonths: { + one: 'تەخمىنەن بىر ئاي', + other: 'ئاي {{count}} تەخمىنەن' + }, + xMonths: { + one: 'بىر ئاي', + other: 'ئاي {{count}}' + }, + aboutXYears: { + one: 'تەخمىنەن بىر يىل', + other: 'يىل {{count}} تەخمىنەن' + }, + xYears: { + one: 'بىر يىل', + other: 'يىل {{count}}' + }, + overXYears: { + one: 'بىر يىلدىن ئارتۇق', + other: 'يىلدىن ئارتۇق {{count}}' + }, + almostXYears: { + one: 'ئاساسەن بىر يىل', + other: 'يىل {{count}} ئاساسەن' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result; + } else { + return result + ' بولدى'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ug/_lib/formatLong/index.js new file mode 100644 index 000000000..3a626b716 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'دە' {{time}}", + long: "{{date}} 'دە' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/ug/_lib/formatRelative/index.js new file mode 100644 index 000000000..fe3ba537e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'ئ‍ۆتكەن' eeee 'دە' p", + yesterday: "'تۈنۈگۈن دە' p", + today: "'بۈگۈن دە' p", + tomorrow: "'ئەتە دە' p", + nextWeek: "eeee 'دە' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/_lib/localize/index.js b/node_modules/date-fns/esm/locale/ug/_lib/localize/index.js new file mode 100644 index 000000000..520f31cf5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/_lib/localize/index.js @@ -0,0 +1,123 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['ب', 'ك'], + abbreviated: ['ب', 'ك'], + wide: ['مىيلادىدىن بۇرۇن', 'مىيلادىدىن كىيىن'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1', '2', '3', '4'], + wide: ['بىرىنجى چارەك', 'ئىككىنجى چارەك', 'ئۈچىنجى چارەك', 'تۆتىنجى چارەك'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['ي', 'ف', 'م', 'ا', 'م', 'ى', 'ى', 'ا', 'س', 'ۆ', 'ن', 'د'], + abbreviated: ['يانۋار', 'فېۋىرال', 'مارت', 'ئاپرىل', 'ماي', 'ئىيۇن', 'ئىيول', 'ئاۋغۇست', 'سىنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دىكابىر'], + wide: ['يانۋار', 'فېۋىرال', 'مارت', 'ئاپرىل', 'ماي', 'ئىيۇن', 'ئىيول', 'ئاۋغۇست', 'سىنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دىكابىر'] +}; +var dayValues = { + narrow: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + short: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + abbreviated: ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'], + wide: ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'] +}; +var dayPeriodValues = { + narrow: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەن', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشىم', + night: 'كىچە' + }, + abbreviated: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەن', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشىم', + night: 'كىچە' + }, + wide: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەن', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشىم', + night: 'كىچە' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەندە', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشامدا', + night: 'كىچىدە' + }, + abbreviated: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەندە', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشامدا', + night: 'كىچىدە' + }, + wide: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەندە', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشامدا', + night: 'كىچىدە' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/_lib/match/index.js b/node_modules/date-fns/esm/locale/ug/_lib/match/index.js new file mode 100644 index 000000000..37f927328 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ب|ك)/i, + wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i +}; +var parseEraPatterns = { + any: [/^بۇرۇن/i, /^كىيىن/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^چ[1234]/i, + wide: /^چارەك [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[يفمئامئ‍ئاسۆند]/i, + abbreviated: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i, + wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^ا/i, /^م/i, /^ى‍/i, /^ى‍/i, /^ا‍/i, /^س/i, /^ۆ/i, /^ن/i, /^د/i], + any: [/^يان/i, /^فېۋ/i, /^مار/i, /^ئاپ/i, /^ماي/i, /^ئىيۇن/i, /^ئىيول/i, /^ئاۋ/i, /^سىن/i, /^ئۆك/i, /^نوي/i, /^دىك/i] +}; +var matchDayPatterns = { + narrow: /^[دسچپجشي]/i, + short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i, + abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i, + wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i +}; +var parseDayPatterns = { + narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i], + any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i, + any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ئە/i, + pm: /^چ/i, + midnight: /^ك/i, + noon: /^چ/i, + morning: /ئەتىگەن/i, + afternoon: /چۈشتىن كىيىن/i, + evening: /ئاخشىم/i, + night: /كىچە/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/index.d.ts b/node_modules/date-fns/esm/locale/ug/index.d.ts new file mode 100644 index 000000000..a67a67951 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ug } from 'date-fns/locale' +export default ug diff --git a/node_modules/date-fns/esm/locale/ug/index.js b/node_modules/date-fns/esm/locale/ug/index.js new file mode 100644 index 000000000..c8693cb2e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Uighur locale + * @language Uighur + * @iso-639-2 uig + * @author Abduwaly M. [@abduwaly]{@link https://github.com/abduwaly} + */ +var locale = { + code: 'ug', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/ug/index.js.flow b/node_modules/date-fns/esm/locale/ug/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/ug/package.json b/node_modules/date-fns/esm/locale/ug/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/ug/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/uk/_lib/formatDistance/index.js new file mode 100644 index 000000000..4d7016d2e --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/_lib/formatDistance/index.js @@ -0,0 +1,229 @@ +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'за ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' тому'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var halfAtMinute = function halfAtMinute(_, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'за півхвилини'; + } else { + return 'півхвилини тому'; + } + } + return 'півхвилини'; +}; +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'менше секунди', + singularNominative: 'менше {{count}} секунди', + singularGenitive: 'менше {{count}} секунд', + pluralGenitive: 'менше {{count}} секунд' + }, + future: { + one: 'менше, ніж за секунду', + singularNominative: 'менше, ніж за {{count}} секунду', + singularGenitive: 'менше, ніж за {{count}} секунди', + pluralGenitive: 'менше, ніж за {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунди', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду тому', + singularGenitive: '{{count}} секунди тому', + pluralGenitive: '{{count}} секунд тому' + }, + future: { + singularNominative: 'за {{count}} секунду', + singularGenitive: 'за {{count}} секунди', + pluralGenitive: 'за {{count}} секунд' + } + }), + halfAMinute: halfAtMinute, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'менше хвилини', + singularNominative: 'менше {{count}} хвилини', + singularGenitive: 'менше {{count}} хвилин', + pluralGenitive: 'менше {{count}} хвилин' + }, + future: { + one: 'менше, ніж за хвилину', + singularNominative: 'менше, ніж за {{count}} хвилину', + singularGenitive: 'менше, ніж за {{count}} хвилини', + pluralGenitive: 'менше, ніж за {{count}} хвилин' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} хвилина', + singularGenitive: '{{count}} хвилини', + pluralGenitive: '{{count}} хвилин' + }, + past: { + singularNominative: '{{count}} хвилину тому', + singularGenitive: '{{count}} хвилини тому', + pluralGenitive: '{{count}} хвилин тому' + }, + future: { + singularNominative: 'за {{count}} хвилину', + singularGenitive: 'за {{count}} хвилини', + pluralGenitive: 'за {{count}} хвилин' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} години', + singularGenitive: 'близько {{count}} годин', + pluralGenitive: 'близько {{count}} годин' + }, + future: { + singularNominative: 'приблизно за {{count}} годину', + singularGenitive: 'приблизно за {{count}} години', + pluralGenitive: 'приблизно за {{count}} годин' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} годину', + singularGenitive: '{{count}} години', + pluralGenitive: '{{count}} годин' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} день', + singularGenitive: '{{count}} днi', + pluralGenitive: '{{count}} днів' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} тижня', + singularGenitive: 'близько {{count}} тижнів', + pluralGenitive: 'близько {{count}} тижнів' + }, + future: { + singularNominative: 'приблизно за {{count}} тиждень', + singularGenitive: 'приблизно за {{count}} тижні', + pluralGenitive: 'приблизно за {{count}} тижнів' + } + }), + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} тиждень', + singularGenitive: '{{count}} тижні', + pluralGenitive: '{{count}} тижнів' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} місяця', + singularGenitive: 'близько {{count}} місяців', + pluralGenitive: 'близько {{count}} місяців' + }, + future: { + singularNominative: 'приблизно за {{count}} місяць', + singularGenitive: 'приблизно за {{count}} місяці', + pluralGenitive: 'приблизно за {{count}} місяців' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} місяць', + singularGenitive: '{{count}} місяці', + pluralGenitive: '{{count}} місяців' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} року', + singularGenitive: 'близько {{count}} років', + pluralGenitive: 'близько {{count}} років' + }, + future: { + singularNominative: 'приблизно за {{count}} рік', + singularGenitive: 'приблизно за {{count}} роки', + pluralGenitive: 'приблизно за {{count}} років' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} рік', + singularGenitive: '{{count}} роки', + pluralGenitive: '{{count}} років' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'більше {{count}} року', + singularGenitive: 'більше {{count}} років', + pluralGenitive: 'більше {{count}} років' + }, + future: { + singularNominative: 'більше, ніж за {{count}} рік', + singularGenitive: 'більше, ніж за {{count}} роки', + pluralGenitive: 'більше, ніж за {{count}} років' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'майже {{count}} рік', + singularGenitive: 'майже {{count}} роки', + pluralGenitive: 'майже {{count}} років' + }, + future: { + singularNominative: 'майже за {{count}} рік', + singularGenitive: 'майже за {{count}} роки', + pluralGenitive: 'майже за {{count}} років' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + return formatDistanceLocale[token](count, options); +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/uk/_lib/formatLong/index.js new file mode 100644 index 000000000..0dad8b426 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "EEEE, do MMMM y 'р.'", + long: "do MMMM y 'р.'", + medium: "d MMM y 'р.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'о' {{time}}", + long: "{{date}} 'о' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/uk/_lib/formatRelative/index.js new file mode 100644 index 000000000..b70fe0af3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/_lib/formatRelative/index.js @@ -0,0 +1,69 @@ +import { toDate } from "../../../../index.js"; +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +var accusativeWeekdays = ['неділю', 'понеділок', 'вівторок', 'середу', 'четвер', 'п’ятницю', 'суботу']; +function lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у минулу " + weekday + " о' p"; + case 1: + case 2: + case 4: + return "'у минулий " + weekday + " о' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'у " + weekday + " о' p"; +} +function nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у наступну " + weekday + " о' p"; + case 1: + case 2: + case 4: + return "'у наступний " + weekday + " о' p"; + } +} +var lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) { + var date = toDate(dirtyDate); + var day = date.getUTCDay(); + if (isSameUTCWeek(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormat, + yesterday: "'вчора о' p", + today: "'сьогодні о' p", + tomorrow: "'завтра о' p", + nextWeek: nextWeekFormat, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/_lib/localize/index.js b/node_modules/date-fns/esm/locale/uk/_lib/localize/index.js new file mode 100644 index 000000000..2ad55e41f --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/_lib/localize/index.js @@ -0,0 +1,140 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['до н.е.', 'н.е.'], + abbreviated: ['до н. е.', 'н. е.'], + wide: ['до нашої ери', 'нашої ери'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'], + wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал'] +}; +var monthValues = { + // ДСТУ 3582:2013 + narrow: ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + abbreviated: ['січ.', 'лют.', 'берез.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'верес.', 'жовт.', 'листоп.', 'груд.'], + wide: ['січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень'] +}; +var formattingMonthValues = { + narrow: ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + abbreviated: ['січ.', 'лют.', 'берез.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'верес.', 'жовт.', 'листоп.', 'груд.'], + wide: ['січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', 'жовтня', 'листопада', 'грудня'] +}; +var dayValues = { + narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + abbreviated: ['нед', 'пон', 'вів', 'сер', 'чтв', 'птн', 'суб'], + wide: ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п’ятниця', 'субота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранок', + afternoon: 'день', + evening: 'веч.', + night: 'ніч' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранок', + afternoon: 'день', + evening: 'веч.', + night: 'ніч' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'північ', + noon: 'полудень', + morning: 'ранок', + afternoon: 'день', + evening: 'вечір', + night: 'ніч' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранку', + afternoon: 'дня', + evening: 'веч.', + night: 'ночі' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранку', + afternoon: 'дня', + evening: 'веч.', + night: 'ночі' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'північ', + noon: 'полудень', + morning: 'ранку', + afternoon: 'дня', + evening: 'веч.', + night: 'ночі' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var number = Number(dirtyNumber); + var suffix; + if (unit === 'date') { + if (number === 3 || number === 23) { + suffix = '-є'; + } else { + suffix = '-е'; + } + } else if (unit === 'minute' || unit === 'second' || unit === 'hour') { + suffix = '-а'; + } else { + suffix = '-й'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/_lib/match/index.js b/node_modules/date-fns/esm/locale/uk/_lib/match/index.js new file mode 100644 index 000000000..c48a4ad8c --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/_lib/match/index.js @@ -0,0 +1,99 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(-?(е|й|є|а|я))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((до )?н\.?\s?е\.?)/i, + abbreviated: /^((до )?н\.?\s?е\.?)/i, + wide: /^(до нашої ери|нашої ери|наша ера)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[иі]?й?)? кв.?/i, + wide: /^[1234](-?[иі]?й?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[слбктчвжг]/i, + abbreviated: /^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i, + wide: /^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i +}; +var parseMonthPatterns = { + narrow: [/^с/i, /^л/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^с/i, /^в/i, /^ж/i, /^л/i, /^г/i], + any: [/^сі/i, /^лю/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^лип/i, /^се/i, /^в/i, /^ж/i, /^лис/i, /^г/i] +}; +var matchDayPatterns = { + narrow: /^[нпвсч]/i, + short: /^(нд|пн|вт|ср|чт|пт|сб)\.?/i, + abbreviated: /^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i, + wide: /^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н/i, /^п[он]/i, /^в/i, /^с[ер]/i, /^ч/i, /^п\W*?[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, + abbreviated: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, + wide: /^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^півн/i, + noon: /^пол/i, + morning: /^р/i, + afternoon: /^д[ен]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/index.d.ts b/node_modules/date-fns/esm/locale/uk/index.d.ts new file mode 100644 index 000000000..972da8897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { uk } from 'date-fns/locale' +export default uk diff --git a/node_modules/date-fns/esm/locale/uk/index.js b/node_modules/date-fns/esm/locale/uk/index.js new file mode 100644 index 000000000..8e1f37483 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/index.js @@ -0,0 +1,27 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Ukrainian locale. + * @language Ukrainian + * @iso-639-2 ukr + * @author Andrii Korzh [@korzhyk]{@link https://github.com/korzhyk} + * @author Andriy Shcherbyak [@shcherbyakdev]{@link https://github.com/shcherbyakdev} + */ +var locale = { + code: 'uk', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uk/index.js.flow b/node_modules/date-fns/esm/locale/uk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/uk/package.json b/node_modules/date-fns/esm/locale/uk/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uk/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatDistance/index.js new file mode 100644 index 000000000..5c93d7dbb --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1 сониядан кам', + other: '{{count}} сониядан кам' + }, + xSeconds: { + one: '1 сония', + other: '{{count}} сония' + }, + halfAMinute: 'ярим дақиқа', + lessThanXMinutes: { + one: '1 дақиқадан кам', + other: '{{count}} дақиқадан кам' + }, + xMinutes: { + one: '1 дақиқа', + other: '{{count}} дақиқа' + }, + aboutXHours: { + one: 'тахминан 1 соат', + other: 'тахминан {{count}} соат' + }, + xHours: { + one: '1 соат', + other: '{{count}} соат' + }, + xDays: { + one: '1 кун', + other: '{{count}} кун' + }, + aboutXWeeks: { + one: 'тахминан 1 хафта', + other: 'тахминан {{count}} хафта' + }, + xWeeks: { + one: '1 хафта', + other: '{{count}} хафта' + }, + aboutXMonths: { + one: 'тахминан 1 ой', + other: 'тахминан {{count}} ой' + }, + xMonths: { + one: '1 ой', + other: '{{count}} ой' + }, + aboutXYears: { + one: 'тахминан 1 йил', + other: 'тахминан {{count}} йил' + }, + xYears: { + one: '1 йил', + other: '{{count}} йил' + }, + overXYears: { + one: '1 йилдан кўп', + other: '{{count}} йилдан кўп' + }, + almostXYears: { + one: 'деярли 1 йил', + other: 'деярли {{count}} йил' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'дан кейин'; + } else { + return result + ' олдин'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatLong/index.js new file mode 100644 index 000000000..c650ed50a --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, do MMMM, y', + long: 'do MMMM, y', + medium: 'd MMM, y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatRelative/index.js new file mode 100644 index 000000000..e741bf884 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'ўтган' eeee p 'да'", + yesterday: "'кеча' p 'да'", + today: "'бугун' p 'да'", + tomorrow: "'эртага' p 'да'", + nextWeek: "eeee p 'да'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/localize/index.js b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/localize/index.js new file mode 100644 index 000000000..36ea3a818 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/localize/index.js @@ -0,0 +1,78 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['М.А', 'М'], + abbreviated: ['М.А', 'М'], + wide: ['Милоддан Аввалги', 'Милодий'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-чор.', '2-чор.', '3-чор.', '4-чор.'], + wide: ['1-чорак', '2-чорак', '3-чорак', '4-чорак'] +}; +var monthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'], + wide: ['январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'август', 'сентабр', 'октабр', 'ноябр', 'декабр'] +}; +var dayValues = { + narrow: ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], + short: ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'], + abbreviated: ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], + wide: ['якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба'] +}; +var dayPeriodValues = { + any: { + am: 'П.О.', + pm: 'П.К.', + midnight: 'ярим тун', + noon: 'пешин', + morning: 'эрталаб', + afternoon: 'пешиндан кейин', + evening: 'кечаси', + night: 'тун' + } +}; +var formattingDayPeriodValues = { + any: { + am: 'П.О.', + pm: 'П.К.', + midnight: 'ярим тун', + noon: 'пешин', + morning: 'эрталаб', + afternoon: 'пешиндан кейин', + evening: 'кечаси', + night: 'тун' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'any' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/match/index.js b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/match/index.js new file mode 100644 index 000000000..7e524c008 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/match/index.js @@ -0,0 +1,97 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(чи)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(м\.а|м\.)/i, + abbreviated: /^(м\.а|м\.)/i, + wide: /^(милоддан аввал|милоддан кейин)/i +}; +var parseEraPatterns = { + any: [/^м/i, /^а/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]-чор./i, + wide: /^[1234]-чорак/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[яфмамииасонд]/i, + abbreviated: /^(янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек)/i, + wide: /^(январ|феврал|март|апрел|май|июн|июл|август|сентабр|октабр|ноябр|декабр)/i +}; +var parseMonthPatterns = { + narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^д/i], + any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i] +}; +var matchDayPatterns = { + narrow: /^[ядсчпжш]/i, + short: /^(як|ду|се|чо|па|жу|ша)/i, + abbreviated: /^(якш|душ|сеш|чор|пай|жум|шан)/i, + wide: /^(якшанба|душанба|сешанба|чоршанба|пайшанба|жума|шанба)/i +}; +var parseDayPatterns = { + narrow: [/^я/i, /^д/i, /^с/i, /^ч/i, /^п/i, /^ж/i, /^ш/i], + any: [/^як/i, /^ду/i, /^се/i, /^чор/i, /^пай/i, /^жу/i, /^шан/i] +}; +var matchDayPeriodPatterns = { + any: /^(п\.о\.|п\.к\.|ярим тун|пешиндан кейин|(эрталаб|пешиндан кейин|кечаси|тун))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^п\.о\./i, + pm: /^п\.к\./i, + midnight: /^ярим тун/i, + noon: /^пешиндан кейин/i, + morning: /эрталаб/i, + afternoon: /пешиндан кейин/i, + evening: /кечаси/i, + night: /тун/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/index.d.ts b/node_modules/date-fns/esm/locale/uz-Cyrl/index.d.ts new file mode 100644 index 000000000..0b0ba8d2d --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { uzCyrl } from 'date-fns/locale' +export default uzCyrl diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/index.js b/node_modules/date-fns/esm/locale/uz-Cyrl/index.js new file mode 100644 index 000000000..dd28ba808 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Uzbek Cyrillic locale. + * @language Uzbek + * @iso-639-2 uzb + * @author Kamronbek Shodmonov [@kamronbek28]{@link https://github.com/kamronbek28} + */ +var locale = { + code: 'uz-Cyrl', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/index.js.flow b/node_modules/date-fns/esm/locale/uz-Cyrl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/uz-Cyrl/package.json b/node_modules/date-fns/esm/locale/uz-Cyrl/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz-Cyrl/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/uz/_lib/formatDistance/index.js new file mode 100644 index 000000000..932304abd --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'sekunddan kam', + other: '{{count}} sekunddan kam' + }, + xSeconds: { + one: '1 sekund', + other: '{{count}} sekund' + }, + halfAMinute: 'yarim minut', + lessThanXMinutes: { + one: 'bir minutdan kam', + other: '{{count}} minutdan kam' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minut' + }, + aboutXHours: { + one: 'tahminan 1 soat', + other: 'tahminan {{count}} soat' + }, + xHours: { + one: '1 soat', + other: '{{count}} soat' + }, + xDays: { + one: '1 kun', + other: '{{count}} kun' + }, + aboutXWeeks: { + one: 'tahminan 1 hafta', + other: 'tahminan {{count}} hafta' + }, + xWeeks: { + one: '1 hafta', + other: '{{count}} hafta' + }, + aboutXMonths: { + one: 'tahminan 1 oy', + other: 'tahminan {{count}} oy' + }, + xMonths: { + one: '1 oy', + other: '{{count}} oy' + }, + aboutXYears: { + one: 'tahminan 1 yil', + other: 'tahminan {{count}} yil' + }, + xYears: { + one: '1 yil', + other: '{{count}} yil' + }, + overXYears: { + one: "1 yildan ko'p", + other: "{{count}} yildan ko'p" + }, + almostXYears: { + one: 'deyarli 1 yil', + other: 'deyarli {{count}} yil' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' dan keyin'; + } else { + return result + ' oldin'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/uz/_lib/formatLong/index.js new file mode 100644 index 000000000..72e63d9c3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/_lib/formatLong/index.js @@ -0,0 +1,31 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, do MMMM, y', + long: 'do MMMM, y', + medium: 'd MMM, y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss zzzz', + long: 'h:mm:ss z', + medium: 'h:mm:ss', + short: 'h:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/uz/_lib/formatRelative/index.js new file mode 100644 index 000000000..18ec49f85 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'oldingi' eeee p 'da'", + yesterday: "'kecha' p 'da'", + today: "'bugun' p 'da'", + tomorrow: "'ertaga' p 'da'", + nextWeek: "eeee p 'da'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/_lib/localize/index.js b/node_modules/date-fns/esm/locale/uz/_lib/localize/index.js new file mode 100644 index 000000000..ad8c4af18 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/_lib/localize/index.js @@ -0,0 +1,123 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['M.A', 'M.'], + abbreviated: ['M.A', 'M.'], + wide: ['Miloddan Avvalgi', 'Milodiy'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['CH.1', 'CH.2', 'CH.3', 'CH.4'], + wide: ['1-chi chorak', '2-chi chorak', '3-chi chorak', '4-chi chorak'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyun', 'Iyul', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], + wide: ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', 'Noyabr', 'Dekabr'] +}; +var dayValues = { + narrow: ['Y', 'D', 'S', 'CH', 'P', 'J', 'SH'], + short: ['Ya', 'Du', 'Se', 'Cho', 'Pa', 'Ju', 'Sha'], + abbreviated: ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + wide: ['Yakshanba', 'Dushanba', 'Seshanba', 'Chorshanba', 'Payshanba', 'Juma', 'Shanba'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'y.t', + noon: 'p.', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'y.t', + noon: 'p.', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/_lib/match/index.js b/node_modules/date-fns/esm/locale/uz/_lib/match/index.js new file mode 100644 index 000000000..ff1804637 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/_lib/match/index.js @@ -0,0 +1,98 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)(chi)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(m\.a|m\.)/i, + abbreviated: /^(m\.a\.?\s?m\.?)/i, + wide: /^(miloddan avval|miloddan keyin)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](chi)? chorak/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[yfmasond]/i, + abbreviated: /^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i, + wide: /^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i +}; +var parseMonthPatterns = { + narrow: [/^y/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ya/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^iyun/i, /^iyul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[ydschj]/i, + short: /^(ya|du|se|cho|pa|ju|sha)/i, + abbreviated: /^(yak|dush|sesh|chor|pay|jum|shan)/i, + wide: /^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i +}; +var parseDayPatterns = { + narrow: [/^y/i, /^d/i, /^s/i, /^ch/i, /^p/i, /^j/i, /^sh/i], + any: [/^ya/i, /^d/i, /^se/i, /^ch/i, /^p/i, /^j/i, /^sh/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|y\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i, + any: /^([ap]\.?\s?m\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^y\.t/i, + noon: /^pe/i, + morning: /ertalab/i, + afternoon: /tushdan keyin/i, + evening: /kechqurun/i, + night: /tun/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/index.d.ts b/node_modules/date-fns/esm/locale/uz/index.d.ts new file mode 100644 index 000000000..e10b1f6ad --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { uz } from 'date-fns/locale' +export default uz diff --git a/node_modules/date-fns/esm/locale/uz/index.js b/node_modules/date-fns/esm/locale/uz/index.js new file mode 100644 index 000000000..0fcd33c8e --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Uzbek locale. + * @language Uzbek + * @iso-639-2 uzb + * @author Mukhammadali [@mukhammadali]{@link https://github.com/Mukhammadali} + */ +var locale = { + code: 'uz', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/uz/index.js.flow b/node_modules/date-fns/esm/locale/uz/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/uz/package.json b/node_modules/date-fns/esm/locale/uz/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/uz/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/vi/_lib/formatDistance/index.js new file mode 100644 index 000000000..391633bfc --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'dưới 1 giây', + other: 'dưới {{count}} giây' + }, + xSeconds: { + one: '1 giây', + other: '{{count}} giây' + }, + halfAMinute: 'nửa phút', + lessThanXMinutes: { + one: 'dưới 1 phút', + other: 'dưới {{count}} phút' + }, + xMinutes: { + one: '1 phút', + other: '{{count}} phút' + }, + aboutXHours: { + one: 'khoảng 1 giờ', + other: 'khoảng {{count}} giờ' + }, + xHours: { + one: '1 giờ', + other: '{{count}} giờ' + }, + xDays: { + one: '1 ngày', + other: '{{count}} ngày' + }, + aboutXWeeks: { + one: 'khoảng 1 tuần', + other: 'khoảng {{count}} tuần' + }, + xWeeks: { + one: '1 tuần', + other: '{{count}} tuần' + }, + aboutXMonths: { + one: 'khoảng 1 tháng', + other: 'khoảng {{count}} tháng' + }, + xMonths: { + one: '1 tháng', + other: '{{count}} tháng' + }, + aboutXYears: { + one: 'khoảng 1 năm', + other: 'khoảng {{count}} năm' + }, + xYears: { + one: '1 năm', + other: '{{count}} năm' + }, + overXYears: { + one: 'hơn 1 năm', + other: 'hơn {{count}} năm' + }, + almostXYears: { + one: 'gần 1 năm', + other: 'gần {{count}} năm' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' nữa'; + } else { + return result + ' trước'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js new file mode 100644 index 000000000..ddb2a80f5 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + // thứ Sáu, ngày 25 tháng 08 năm 2017 + full: "EEEE, 'ngày' d MMMM 'năm' y", + // ngày 25 tháng 08 năm 2017 + long: "'ngày' d MMMM 'năm' y", + // 25 thg 08 năm 2017 + medium: "d MMM 'năm' y", + // 25/08/2017 + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + // thứ Sáu, ngày 25 tháng 08 năm 2017 23:25:59 + full: '{{date}} {{time}}', + // ngày 25 tháng 08 năm 2017 23:25 + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/vi/_lib/formatRelative/index.js new file mode 100644 index 000000000..577bb2485 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "eeee 'tuần trước vào lúc' p", + yesterday: "'hôm qua vào lúc' p", + today: "'hôm nay vào lúc' p", + tomorrow: "'ngày mai vào lúc' p", + nextWeek: "eeee 'tới vào lúc' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/_lib/localize/index.js b/node_modules/date-fns/esm/locale/vi/_lib/localize/index.js new file mode 100644 index 000000000..469c994a9 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/_lib/localize/index.js @@ -0,0 +1,200 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; // Vietnamese locale reference: http://www.localeplanet.com/icu/vi-VN/index.html +// Capitalization reference: http://hcmup.edu.vn/index.php?option=com_content&view=article&id=4106%3Avit-hoa-trong-vn-bn-hanh-chinh&catid=2345%3Atham-kho&Itemid=4103&lang=vi&site=134 +var eraValues = { + narrow: ['TCN', 'SCN'], + abbreviated: ['trước CN', 'sau CN'], + wide: ['trước Công Nguyên', 'sau Công Nguyên'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['Quý 1', 'Quý 2', 'Quý 3', 'Quý 4'] +}; +var formattingQuarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + // I notice many news outlet use this "quý II/2018" + wide: ['quý I', 'quý II', 'quý III', 'quý IV'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10', 'Thg 11', 'Thg 12'], + wide: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'] +}; +// In Vietnamese date formatting, month number less than 10 expected to have leading zero +var formattingMonthValues = { + narrow: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], + abbreviated: ['thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10', 'thg 11', 'thg 12'], + wide: ['tháng 01', 'tháng 02', 'tháng 03', 'tháng 04', 'tháng 05', 'tháng 06', 'tháng 07', 'tháng 08', 'tháng 09', 'tháng 10', 'tháng 11', 'tháng 12'] +}; +var dayValues = { + narrow: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + short: ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], + abbreviated: ['CN', 'Thứ 2', 'Thứ 3', 'Thứ 4', 'Thứ 5', 'Thứ 6', 'Thứ 7'], + wide: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'] +}; + +// Vietnamese are used to AM/PM borrowing from English, hence `narrow` and +// `abbreviated` are just like English but I'm leaving the `wide` +// format being localized with abbreviations found in some systems (SÁng / CHiều); +// however, personally, I don't think `Chiều` sounds appropriate for `PM` +var dayPeriodValues = { + // narrow date period is extremely rare in Vietnamese + // I used abbreviated form for noon, morning and afternoon + // which are regconizable by Vietnamese, others cannot be any shorter + narrow: { + am: 'am', + pm: 'pm', + midnight: 'nửa đêm', + noon: 'tr', + morning: 'sg', + afternoon: 'ch', + evening: 'tối', + night: 'đêm' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'nửa đêm', + noon: 'trưa', + morning: 'sáng', + afternoon: 'chiều', + evening: 'tối', + night: 'đêm' + }, + wide: { + am: 'SA', + pm: 'CH', + midnight: 'nửa đêm', + noon: 'trưa', + morning: 'sáng', + afternoon: 'chiều', + evening: 'tối', + night: 'đêm' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'nửa đêm', + noon: 'tr', + morning: 'sg', + afternoon: 'ch', + evening: 'tối', + night: 'đêm' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'nửa đêm', + noon: 'trưa', + morning: 'sáng', + afternoon: 'chiều', + evening: 'tối', + night: 'đêm' + }, + wide: { + am: 'SA', + pm: 'CH', + midnight: 'nửa đêm', + noon: 'giữa trưa', + morning: 'vào buổi sáng', + afternoon: 'vào buổi chiều', + evening: 'vào buổi tối', + night: 'vào ban đêm' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (unit === 'quarter') { + // many news outlets use "quý I"... + switch (number) { + case 1: + return 'I'; + case 2: + return 'II'; + case 3: + return 'III'; + case 4: + return 'IV'; + } + } else if (unit === 'day') { + // day of week in Vietnamese has ordinal number meaning, + // so we should use them, else it'll sound weird + switch (number) { + case 1: + return 'thứ 2'; + // meaning 2nd day but it's the first day of the week :D + case 2: + return 'thứ 3'; + // meaning 3rd day + case 3: + return 'thứ 4'; + // meaning 4th day and so on + case 4: + return 'thứ 5'; + case 5: + return 'thứ 6'; + case 6: + return 'thứ 7'; + case 7: + return 'chủ nhật'; + // meaning Sunday, there's no 8th day :D + } + } else if (unit === 'week') { + if (number === 1) { + return 'thứ nhất'; + } else { + return 'thứ ' + number; + } + } else if (unit === 'dayOfYear') { + if (number === 1) { + return 'đầu tiên'; + } else { + return 'thứ ' + number; + } + } + + // there are no different forms of ordinal numbers in Vietnamese + return String(number); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/_lib/match/index.js b/node_modules/date-fns/esm/locale/vi/_lib/match/index.js new file mode 100644 index 000000000..aa098e0d6 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/_lib/match/index.js @@ -0,0 +1,106 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(\d+)/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(tcn|scn)/i, + abbreviated: /^(trước CN|sau CN)/i, + wide: /^(trước Công Nguyên|sau Công Nguyên)/i +}; +var parseEraPatterns = { + any: [/^t/i, /^s/i] +}; +var matchQuarterPatterns = { + narrow: /^([1234]|i{1,3}v?)/i, + abbreviated: /^q([1234]|i{1,3}v?)/i, + wide: /^quý ([1234]|i{1,3}v?)/i +}; +var parseQuarterPatterns = { + any: [/(1|i)$/i, /(2|ii)$/i, /(3|iii)$/i, /(4|iv)$/i] +}; +var matchMonthPatterns = { + // month number may contain leading 0, 'thg' prefix may have space, underscore or empty before number + // note the order of '1' since it is a sub-string of '10', so must be lower priority + narrow: /^(0?[2-9]|10|11|12|0?1)/i, + // note the order of 'thg 1' since it is sub-string of 'thg 10', so must be lower priority + abbreviated: /^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i, + // note the order of 'Mười' since it is sub-string of Mười Một, so must be lower priority + wide: /^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i +}; +var parseMonthPatterns = { + narrow: [/0?1$/i, /0?2/i, /3/, /4/, /5/, /6/, /7/, /8/, /9/, /10/, /11/, /12/], + abbreviated: [/^thg[ _]?0?1(?!\d)/i, /^thg[ _]?0?2/i, /^thg[ _]?0?3/i, /^thg[ _]?0?4/i, /^thg[ _]?0?5/i, /^thg[ _]?0?6/i, /^thg[ _]?0?7/i, /^thg[ _]?0?8/i, /^thg[ _]?0?9/i, /^thg[ _]?10/i, /^thg[ _]?11/i, /^thg[ _]?12/i], + wide: [/^tháng ?(Một|0?1(?!\d))/i, /^tháng ?(Hai|0?2)/i, /^tháng ?(Ba|0?3)/i, /^tháng ?(Tư|0?4)/i, /^tháng ?(Năm|0?5)/i, /^tháng ?(Sáu|0?6)/i, /^tháng ?(Bảy|0?7)/i, /^tháng ?(Tám|0?8)/i, /^tháng ?(Chín|0?9)/i, /^tháng ?(Mười|10)/i, /^tháng ?(Mười ?Một|11)/i, /^tháng ?(Mười ?Hai|12)/i] +}; +var matchDayPatterns = { + narrow: /^(CN|T2|T3|T4|T5|T6|T7)/i, + short: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, + abbreviated: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, + wide: /^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i +}; +var parseDayPatterns = { + narrow: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], + short: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], + abbreviated: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], + wide: [/(Chủ|Chúa) ?Nhật/i, /Hai/i, /Ba/i, /Tư/i, /Năm/i, /Sáu/i, /Bảy/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, + abbreviated: /^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, + wide: /^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(a|sa)/i, + pm: /^(p|ch[^i]*)/i, + midnight: /nửa đêm/i, + noon: /trưa/i, + morning: /sáng/i, + afternoon: /chiều/i, + evening: /tối/i, + night: /^đêm/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/index.d.ts b/node_modules/date-fns/esm/locale/vi/index.d.ts new file mode 100644 index 000000000..17be5cae7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { vi } from 'date-fns/locale' +export default vi diff --git a/node_modules/date-fns/esm/locale/vi/index.js b/node_modules/date-fns/esm/locale/vi/index.js new file mode 100644 index 000000000..711a909e7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Vietnamese locale (Vietnam). + * @language Vietnamese + * @iso-639-2 vie + * @author Thanh Tran [@trongthanh]{@link https://github.com/trongthanh} + * @author Leroy Hopson [@lihop]{@link https://github.com/lihop} + */ +var locale = { + code: 'vi', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 /* First week of new year contains Jan 1st */ + } +}; + +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/vi/index.js.flow b/node_modules/date-fns/esm/locale/vi/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/vi/package.json b/node_modules/date-fns/esm/locale/vi/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/zh-CN/_lib/formatDistance/index.js new file mode 100644 index 000000000..4c1dad456 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '不到 1 秒', + other: '不到 {{count}} 秒' + }, + xSeconds: { + one: '1 秒', + other: '{{count}} 秒' + }, + halfAMinute: '半分钟', + lessThanXMinutes: { + one: '不到 1 分钟', + other: '不到 {{count}} 分钟' + }, + xMinutes: { + one: '1 分钟', + other: '{{count}} 分钟' + }, + xHours: { + one: '1 小时', + other: '{{count}} 小时' + }, + aboutXHours: { + one: '大约 1 小时', + other: '大约 {{count}} 小时' + }, + xDays: { + one: '1 天', + other: '{{count}} 天' + }, + aboutXWeeks: { + one: '大约 1 个星期', + other: '大约 {{count}} 个星期' + }, + xWeeks: { + one: '1 个星期', + other: '{{count}} 个星期' + }, + aboutXMonths: { + one: '大约 1 个月', + other: '大约 {{count}} 个月' + }, + xMonths: { + one: '1 个月', + other: '{{count}} 个月' + }, + aboutXYears: { + one: '大约 1 年', + other: '大约 {{count}} 年' + }, + xYears: { + one: '1 年', + other: '{{count}} 年' + }, + overXYears: { + one: '超过 1 年', + other: '超过 {{count}} 年' + }, + almostXYears: { + one: '将近 1 年', + other: '将近 {{count}} 年' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '内'; + } else { + return result + '前'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/zh-CN/_lib/formatLong/index.js new file mode 100644 index 000000000..be681335a --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "y'年'M'月'd'日' EEEE", + long: "y'年'M'月'd'日'", + medium: 'yyyy-MM-dd', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'zzzz a h:mm:ss', + long: 'z a h:mm:ss', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/zh-CN/_lib/formatRelative/index.js new file mode 100644 index 000000000..6714c45f7 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/_lib/formatRelative/index.js @@ -0,0 +1,30 @@ +import isSameUTCWeek from "../../../../_lib/isSameUTCWeek/index.js"; +function checkWeek(date, baseDate, options) { + var baseFormat = 'eeee p'; + if (isSameUTCWeek(date, baseDate, options)) { + return baseFormat; // in same week + } else if (date.getTime() > baseDate.getTime()) { + return "'下个'" + baseFormat; // in next week + } + + return "'上个'" + baseFormat; // in last week +} + +var formatRelativeLocale = { + lastWeek: checkWeek, + // days before yesterday, maybe in this week or last week + yesterday: "'昨天' p", + today: "'今天' p", + tomorrow: "'明天' p", + nextWeek: checkWeek, + // days after tomorrow, maybe in this week or next week + other: 'PP p' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/_lib/localize/index.js b/node_modules/date-fns/esm/locale/zh-CN/_lib/localize/index.js new file mode 100644 index 000000000..13dd15f74 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/_lib/localize/index.js @@ -0,0 +1,130 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['前', '公元'], + abbreviated: ['前', '公元'], + wide: ['公元前', '公元'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['第一季', '第二季', '第三季', '第四季'], + wide: ['第一季度', '第二季度', '第三季度', '第四季度'] +}; +var monthValues = { + narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'] +}; +var dayValues = { + narrow: ['日', '一', '二', '三', '四', '五', '六'], + short: ['日', '一', '二', '三', '四', '五', '六'], + abbreviated: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'] +}; +var dayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + switch (options === null || options === void 0 ? void 0 : options.unit) { + case 'date': + return number.toString() + '日'; + case 'hour': + return number.toString() + '时'; + case 'minute': + return number.toString() + '分'; + case 'second': + return number.toString() + '秒'; + default: + return '第 ' + number.toString(); + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/_lib/match/index.js b/node_modules/date-fns/esm/locale/zh-CN/_lib/match/index.js new file mode 100644 index 000000000..8be30cdca --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|时|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(前)/i, + abbreviated: /^(前)/i, + wide: /^(公元前|公元)/i +}; +var parseEraPatterns = { + any: [/^(前)/i, /^(公元)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^第[一二三四]刻/i, + wide: /^第[一二三四]刻钟/i +}; +var parseQuarterPatterns = { + any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i] +}; +var matchMonthPatterns = { + narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i, + abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i, + wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i +}; +var parseMonthPatterns = { + narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i], + any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i] +}; +var matchDayPatterns = { + narrow: /^[一二三四五六日]/i, + short: /^[一二三四五六日]/i, + abbreviated: /^周[一二三四五六日]/i, + wide: /^星期[一二三四五六日]/i +}; +var parseDayPatterns = { + any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i] +}; +var matchDayPeriodPatterns = { + any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^上午?/i, + pm: /^下午?/i, + midnight: /^午夜/i, + noon: /^[中正]午/i, + morning: /^早上/i, + afternoon: /^下午/i, + evening: /^晚上?/i, + night: /^凌晨/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/index.d.ts b/node_modules/date-fns/esm/locale/zh-CN/index.d.ts new file mode 100644 index 000000000..ffe2f2eb3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { zhCN } from 'date-fns/locale' +export default zhCN diff --git a/node_modules/date-fns/esm/locale/zh-CN/index.js b/node_modules/date-fns/esm/locale/zh-CN/index.js new file mode 100644 index 000000000..60e1cc5c1 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/index.js @@ -0,0 +1,30 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Chinese Simplified locale. + * @language Chinese Simplified + * @iso-639-2 zho + * @author Changyu Geng [@KingMario]{@link https://github.com/KingMario} + * @author Song Shuoyun [@fnlctrl]{@link https://github.com/fnlctrl} + * @author sabrinaM [@sabrinamiao]{@link https://github.com/sabrinamiao} + * @author Carney Wu [@cubicwork]{@link https://github.com/cubicwork} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + */ +var locale = { + code: 'zh-CN', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-CN/index.js.flow b/node_modules/date-fns/esm/locale/zh-CN/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/zh-CN/package.json b/node_modules/date-fns/esm/locale/zh-CN/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-CN/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/zh-HK/_lib/formatDistance/index.js new file mode 100644 index 000000000..5b42afac0 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '少於 1 秒', + other: '少於 {{count}} 秒' + }, + xSeconds: { + one: '1 秒', + other: '{{count}} 秒' + }, + halfAMinute: '半分鐘', + lessThanXMinutes: { + one: '少於 1 分鐘', + other: '少於 {{count}} 分鐘' + }, + xMinutes: { + one: '1 分鐘', + other: '{{count}} 分鐘' + }, + xHours: { + one: '1 小時', + other: '{{count}} 小時' + }, + aboutXHours: { + one: '大約 1 小時', + other: '大約 {{count}} 小時' + }, + xDays: { + one: '1 天', + other: '{{count}} 天' + }, + aboutXWeeks: { + one: '大約 1 個星期', + other: '大約 {{count}} 個星期' + }, + xWeeks: { + one: '1 個星期', + other: '{{count}} 個星期' + }, + aboutXMonths: { + one: '大約 1 個月', + other: '大約 {{count}} 個月' + }, + xMonths: { + one: '1 個月', + other: '{{count}} 個月' + }, + aboutXYears: { + one: '大約 1 年', + other: '大約 {{count}} 年' + }, + xYears: { + one: '1 年', + other: '{{count}} 年' + }, + overXYears: { + one: '超過 1 年', + other: '超過 {{count}} 年' + }, + almostXYears: { + one: '將近 1 年', + other: '將近 {{count}} 年' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '內'; + } else { + return result + '前'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/zh-HK/_lib/formatLong/index.js new file mode 100644 index 000000000..be681335a --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "y'年'M'月'd'日' EEEE", + long: "y'年'M'月'd'日'", + medium: 'yyyy-MM-dd', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'zzzz a h:mm:ss', + long: 'z a h:mm:ss', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/zh-HK/_lib/formatRelative/index.js new file mode 100644 index 000000000..c01aa8465 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'上個'eeee p", + yesterday: "'昨天' p", + today: "'今天' p", + tomorrow: "'明天' p", + nextWeek: "'下個'eeee p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/_lib/localize/index.js b/node_modules/date-fns/esm/locale/zh-HK/_lib/localize/index.js new file mode 100644 index 000000000..815179b5a --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/_lib/localize/index.js @@ -0,0 +1,130 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['前', '公元'], + abbreviated: ['前', '公元'], + wide: ['公元前', '公元'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['第一季', '第二季', '第三季', '第四季'], + wide: ['第一季度', '第二季度', '第三季度', '第四季度'] +}; +var monthValues = { + narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'] +}; +var dayValues = { + narrow: ['日', '一', '二', '三', '四', '五', '六'], + short: ['日', '一', '二', '三', '四', '五', '六'], + abbreviated: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'] +}; +var dayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '午夜', + noon: '晌', + morning: '早', + afternoon: '午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '午夜', + noon: '晌', + morning: '早', + afternoon: '午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + switch (options === null || options === void 0 ? void 0 : options.unit) { + case 'date': + return number + '日'; + case 'hour': + return number + '時'; + case 'minute': + return number + '分'; + case 'second': + return number + '秒'; + default: + return '第 ' + number; + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/_lib/match/index.js b/node_modules/date-fns/esm/locale/zh-HK/_lib/match/index.js new file mode 100644 index 000000000..20b6e0df4 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|時|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(前)/i, + abbreviated: /^(前)/i, + wide: /^(公元前|公元)/i +}; +var parseEraPatterns = { + any: [/^(前)/i, /^(公元)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^第[一二三四]季/i, + wide: /^第[一二三四]季度/i +}; +var parseQuarterPatterns = { + any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i] +}; +var matchMonthPatterns = { + narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i, + abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i, + wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i +}; +var parseMonthPatterns = { + narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i], + any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i] +}; +var matchDayPatterns = { + narrow: /^[一二三四五六日]/i, + short: /^[一二三四五六日]/i, + abbreviated: /^週[一二三四五六日]/i, + wide: /^星期[一二三四五六日]/i +}; +var parseDayPatterns = { + any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i] +}; +var matchDayPeriodPatterns = { + any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^上午?/i, + pm: /^下午?/i, + midnight: /^午夜/i, + noon: /^[中正]午/i, + morning: /^早上/i, + afternoon: /^下午/i, + evening: /^晚上?/i, + night: /^凌晨/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/index.d.ts b/node_modules/date-fns/esm/locale/zh-HK/index.d.ts new file mode 100644 index 000000000..81552b877 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { zhHK } from 'date-fns/locale' +export default zhHK diff --git a/node_modules/date-fns/esm/locale/zh-HK/index.js b/node_modules/date-fns/esm/locale/zh-HK/index.js new file mode 100644 index 000000000..dbb6c1bd3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/index.js @@ -0,0 +1,26 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Chinese Traditional locale. + * @language Chinese Traditional + * @iso-639-2 zho + * @author Gary Ip [@gaplo]{@link https://github.com/gaplo} + */ +var locale = { + code: 'zh-HK', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-HK/index.js.flow b/node_modules/date-fns/esm/locale/zh-HK/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/zh-HK/package.json b/node_modules/date-fns/esm/locale/zh-HK/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-HK/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/zh-TW/_lib/formatDistance/index.js new file mode 100644 index 000000000..5b42afac0 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/_lib/formatDistance/index.js @@ -0,0 +1,83 @@ +var formatDistanceLocale = { + lessThanXSeconds: { + one: '少於 1 秒', + other: '少於 {{count}} 秒' + }, + xSeconds: { + one: '1 秒', + other: '{{count}} 秒' + }, + halfAMinute: '半分鐘', + lessThanXMinutes: { + one: '少於 1 分鐘', + other: '少於 {{count}} 分鐘' + }, + xMinutes: { + one: '1 分鐘', + other: '{{count}} 分鐘' + }, + xHours: { + one: '1 小時', + other: '{{count}} 小時' + }, + aboutXHours: { + one: '大約 1 小時', + other: '大約 {{count}} 小時' + }, + xDays: { + one: '1 天', + other: '{{count}} 天' + }, + aboutXWeeks: { + one: '大約 1 個星期', + other: '大約 {{count}} 個星期' + }, + xWeeks: { + one: '1 個星期', + other: '{{count}} 個星期' + }, + aboutXMonths: { + one: '大約 1 個月', + other: '大約 {{count}} 個月' + }, + xMonths: { + one: '1 個月', + other: '{{count}} 個月' + }, + aboutXYears: { + one: '大約 1 年', + other: '大約 {{count}} 年' + }, + xYears: { + one: '1 年', + other: '{{count}} 年' + }, + overXYears: { + one: '超過 1 年', + other: '超過 {{count}} 年' + }, + almostXYears: { + one: '將近 1 年', + other: '將近 {{count}} 年' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '內'; + } else { + return result + '前'; + } + } + return result; +}; +export default formatDistance; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/zh-TW/_lib/formatLong/index.js new file mode 100644 index 000000000..be681335a --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: "y'年'M'月'd'日' EEEE", + long: "y'年'M'月'd'日'", + medium: 'yyyy-MM-dd', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'zzzz a h:mm:ss', + long: 'z a h:mm:ss', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/zh-TW/_lib/formatRelative/index.js new file mode 100644 index 000000000..c01aa8465 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/_lib/formatRelative/index.js @@ -0,0 +1,12 @@ +var formatRelativeLocale = { + lastWeek: "'上個'eeee p", + yesterday: "'昨天' p", + today: "'今天' p", + tomorrow: "'明天' p", + nextWeek: "'下個'eeee p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +export default formatRelative; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/_lib/localize/index.js b/node_modules/date-fns/esm/locale/zh-TW/_lib/localize/index.js new file mode 100644 index 000000000..476960cd3 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/_lib/localize/index.js @@ -0,0 +1,130 @@ +import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; +var eraValues = { + narrow: ['前', '公元'], + abbreviated: ['前', '公元'], + wide: ['公元前', '公元'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['第一刻', '第二刻', '第三刻', '第四刻'], + wide: ['第一刻鐘', '第二刻鐘', '第三刻鐘', '第四刻鐘'] +}; +var monthValues = { + narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'] +}; +var dayValues = { + narrow: ['日', '一', '二', '三', '四', '五', '六'], + short: ['日', '一', '二', '三', '四', '五', '六'], + abbreviated: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'] +}; +var dayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + switch (options === null || options === void 0 ? void 0 : options.unit) { + case 'date': + return number + '日'; + case 'hour': + return number + '時'; + case 'minute': + return number + '分'; + case 'second': + return number + '秒'; + default: + return '第 ' + number; + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: buildLocalizeFn({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: buildLocalizeFn({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: buildLocalizeFn({ + values: monthValues, + defaultWidth: 'wide' + }), + day: buildLocalizeFn({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: buildLocalizeFn({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +export default localize; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/_lib/match/index.js b/node_modules/date-fns/esm/locale/zh-TW/_lib/match/index.js new file mode 100644 index 000000000..3d2b51e7a --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/_lib/match/index.js @@ -0,0 +1,96 @@ +import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; +import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; +var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|時|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(前)/i, + abbreviated: /^(前)/i, + wide: /^(公元前|公元)/i +}; +var parseEraPatterns = { + any: [/^(前)/i, /^(公元)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^第[一二三四]刻/i, + wide: /^第[一二三四]刻鐘/i +}; +var parseQuarterPatterns = { + any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i] +}; +var matchMonthPatterns = { + narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i, + abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i, + wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i +}; +var parseMonthPatterns = { + narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i], + any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i] +}; +var matchDayPatterns = { + narrow: /^[一二三四五六日]/i, + short: /^[一二三四五六日]/i, + abbreviated: /^週[一二三四五六日]/i, + wide: /^星期[一二三四五六日]/i +}; +var parseDayPatterns = { + any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i] +}; +var matchDayPeriodPatterns = { + any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^上午?/i, + pm: /^下午?/i, + midnight: /^午夜/i, + noon: /^[中正]午/i, + morning: /^早上/i, + afternoon: /^下午/i, + evening: /^晚上?/i, + night: /^凌晨/i + } +}; +var match = { + ordinalNumber: buildMatchPatternFn({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: buildMatchFn({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: buildMatchFn({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: buildMatchFn({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: buildMatchFn({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: buildMatchFn({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +export default match; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/index.d.ts b/node_modules/date-fns/esm/locale/zh-TW/index.d.ts new file mode 100644 index 000000000..745a08f80 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { zhTW } from 'date-fns/locale' +export default zhTW diff --git a/node_modules/date-fns/esm/locale/zh-TW/index.js b/node_modules/date-fns/esm/locale/zh-TW/index.js new file mode 100644 index 000000000..6285a865c --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/index.js @@ -0,0 +1,28 @@ +import formatDistance from "./_lib/formatDistance/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +import formatRelative from "./_lib/formatRelative/index.js"; +import localize from "./_lib/localize/index.js"; +import match from "./_lib/match/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Chinese Traditional locale. + * @language Chinese Traditional + * @iso-639-2 zho + * @author tonypai [@tpai]{@link https://github.com/tpai} + * @author Jack Hsu [@jackhsu978]{@link https://github.com/jackhsu978} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + */ +var locale = { + code: 'zh-TW', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale; \ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/zh-TW/index.js.flow b/node_modules/date-fns/esm/locale/zh-TW/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/zh-TW/package.json b/node_modules/date-fns/esm/locale/zh-TW/package.json new file mode 100644 index 000000000..a7398d897 --- /dev/null +++ b/node_modules/date-fns/esm/locale/zh-TW/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/max/index.d.ts b/node_modules/date-fns/esm/max/index.d.ts new file mode 100644 index 000000000..733a96e37 --- /dev/null +++ b/node_modules/date-fns/esm/max/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { max } from 'date-fns' +export default max diff --git a/node_modules/date-fns/esm/max/index.js b/node_modules/date-fns/esm/max/index.js new file mode 100644 index 000000000..425e1a79e --- /dev/null +++ b/node_modules/date-fns/esm/max/index.js @@ -0,0 +1,48 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name max + * @category Common Helpers + * @summary Return the latest of the given dates. + * + * @description + * Return the latest of the given dates. + * + * @param {Date[]|Number[]} datesArray - the dates to compare + * @returns {Date} the latest of the dates + * @throws {TypeError} 1 argument required + * + * @example + * // Which of these dates is the latest? + * const result = max([ + * new Date(1989, 6, 10), + * new Date(1987, 1, 11), + * new Date(1995, 6, 2), + * new Date(1990, 0, 1) + * ]) + * //=> Sun Jul 02 1995 00:00:00 + */ +export default function max(dirtyDatesArray) { + requiredArgs(1, arguments); + var datesArray; + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + if (dirtyDatesArray && typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. + } else if (_typeof(dirtyDatesArray) === 'object' && dirtyDatesArray !== null) { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } else { + // `dirtyDatesArray` is non-iterable, return Invalid Date + return new Date(NaN); + } + var result; + datesArray.forEach(function (dirtyDate) { + var currentDate = toDate(dirtyDate); + if (result === undefined || result < currentDate || isNaN(Number(currentDate))) { + result = currentDate; + } + }); + return result || new Date(NaN); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/max/index.js.flow b/node_modules/date-fns/esm/max/index.js.flow new file mode 100644 index 000000000..85439094c --- /dev/null +++ b/node_modules/date-fns/esm/max/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (datesArray: (Date | number)[]) => Date diff --git a/node_modules/date-fns/esm/max/package.json b/node_modules/date-fns/esm/max/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/max/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/milliseconds/index.d.ts b/node_modules/date-fns/esm/milliseconds/index.d.ts new file mode 100644 index 000000000..6927b5206 --- /dev/null +++ b/node_modules/date-fns/esm/milliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { milliseconds } from 'date-fns' +export default milliseconds diff --git a/node_modules/date-fns/esm/milliseconds/index.js b/node_modules/date-fns/esm/milliseconds/index.js new file mode 100644 index 000000000..d023dec4a --- /dev/null +++ b/node_modules/date-fns/esm/milliseconds/index.js @@ -0,0 +1,54 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +// Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400. +// 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days +var daysInYear = 365.2425; + +/** + * @name milliseconds + * @category Millisecond Helpers + * @summary + * Returns the number of milliseconds in the specified, years, months, weeks, days, hours, minutes and seconds. + * + * @description + * Returns the number of milliseconds in the specified, years, months, weeks, days, hours, minutes and seconds. + * + * One years equals 365.2425 days according to the formula: + * + * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400. + * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days + * + * One month is a year divided by 12. + * + * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {number} the milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // 1 year in milliseconds + * milliseconds({ years: 1 }) + * //=> 31556952000 + * + * // 3 months in milliseconds + * milliseconds({ months: 3 }) + * //=> 7889238000 + */ +export default function milliseconds(_ref) { + var years = _ref.years, + months = _ref.months, + weeks = _ref.weeks, + days = _ref.days, + hours = _ref.hours, + minutes = _ref.minutes, + seconds = _ref.seconds; + requiredArgs(1, arguments); + var totalDays = 0; + if (years) totalDays += years * daysInYear; + if (months) totalDays += months * (daysInYear / 12); + if (weeks) totalDays += weeks * 7; + if (days) totalDays += days; + var totalSeconds = totalDays * 24 * 60 * 60; + if (hours) totalSeconds += hours * 60 * 60; + if (minutes) totalSeconds += minutes * 60; + if (seconds) totalSeconds += seconds; + return Math.round(totalSeconds * 1000); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/milliseconds/index.js.flow b/node_modules/date-fns/esm/milliseconds/index.js.flow new file mode 100644 index 000000000..5ca1b36c9 --- /dev/null +++ b/node_modules/date-fns/esm/milliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (duration: Duration) => number diff --git a/node_modules/date-fns/esm/milliseconds/package.json b/node_modules/date-fns/esm/milliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/milliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/millisecondsToHours/index.d.ts b/node_modules/date-fns/esm/millisecondsToHours/index.d.ts new file mode 100644 index 000000000..af90bf83e --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToHours } from 'date-fns' +export default millisecondsToHours diff --git a/node_modules/date-fns/esm/millisecondsToHours/index.js b/node_modules/date-fns/esm/millisecondsToHours/index.js new file mode 100644 index 000000000..cb5d5d9ee --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToHours/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { millisecondsInHour } from "../constants/index.js"; +/** + * @name millisecondsToHours + * @category Conversion Helpers + * @summary Convert milliseconds to hours. + * + * @description + * Convert a number of milliseconds to a full number of hours. + * + * @param {number} milliseconds - number of milliseconds to be converted + * + * @returns {number} the number of milliseconds converted in hours + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 7200000 milliseconds to hours: + * const result = millisecondsToHours(7200000) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = millisecondsToHours(7199999) + * //=> 1 + */ +export default function millisecondsToHours(milliseconds) { + requiredArgs(1, arguments); + var hours = milliseconds / millisecondsInHour; + return Math.floor(hours); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/millisecondsToHours/index.js.flow b/node_modules/date-fns/esm/millisecondsToHours/index.js.flow new file mode 100644 index 000000000..c998756c0 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (milliseconds: number) => number diff --git a/node_modules/date-fns/esm/millisecondsToHours/package.json b/node_modules/date-fns/esm/millisecondsToHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/millisecondsToMinutes/index.d.ts b/node_modules/date-fns/esm/millisecondsToMinutes/index.d.ts new file mode 100644 index 000000000..ea008090d --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToMinutes } from 'date-fns' +export default millisecondsToMinutes diff --git a/node_modules/date-fns/esm/millisecondsToMinutes/index.js b/node_modules/date-fns/esm/millisecondsToMinutes/index.js new file mode 100644 index 000000000..f94488f3d --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToMinutes/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { millisecondsInMinute } from "../constants/index.js"; +/** + * @name millisecondsToMinutes + * @category Conversion Helpers + * @summary Convert milliseconds to minutes. + * + * @description + * Convert a number of milliseconds to a full number of minutes. + * + * @param {number} milliseconds - number of milliseconds to be converted. + * + * @returns {number} the number of milliseconds converted in minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 60000 milliseconds to minutes: + * const result = millisecondsToMinutes(60000) + * //=> 1 + * + * @example + * // It uses floor rounding: + * const result = millisecondsToMinutes(119999) + * //=> 1 + */ +export default function millisecondsToMinutes(milliseconds) { + requiredArgs(1, arguments); + var minutes = milliseconds / millisecondsInMinute; + return Math.floor(minutes); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/millisecondsToMinutes/index.js.flow b/node_modules/date-fns/esm/millisecondsToMinutes/index.js.flow new file mode 100644 index 000000000..c998756c0 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (milliseconds: number) => number diff --git a/node_modules/date-fns/esm/millisecondsToMinutes/package.json b/node_modules/date-fns/esm/millisecondsToMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/millisecondsToSeconds/index.d.ts b/node_modules/date-fns/esm/millisecondsToSeconds/index.d.ts new file mode 100644 index 000000000..d761abd66 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToSeconds } from 'date-fns' +export default millisecondsToSeconds diff --git a/node_modules/date-fns/esm/millisecondsToSeconds/index.js b/node_modules/date-fns/esm/millisecondsToSeconds/index.js new file mode 100644 index 000000000..ae4cade29 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToSeconds/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { millisecondsInSecond } from "../constants/index.js"; +/** + * @name millisecondsToSeconds + * @category Conversion Helpers + * @summary Convert milliseconds to seconds. + * + * @description + * Convert a number of milliseconds to a full number of seconds. + * + * @param {number} milliseconds - number of milliseconds to be converted + * + * @returns {number} the number of milliseconds converted in seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 1000 miliseconds to seconds: + * const result = millisecondsToSeconds(1000) + * //=> 1 + * + * @example + * // It uses floor rounding: + * const result = millisecondsToSeconds(1999) + * //=> 1 + */ +export default function millisecondsToSeconds(milliseconds) { + requiredArgs(1, arguments); + var seconds = milliseconds / millisecondsInSecond; + return Math.floor(seconds); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/millisecondsToSeconds/index.js.flow b/node_modules/date-fns/esm/millisecondsToSeconds/index.js.flow new file mode 100644 index 000000000..c998756c0 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (milliseconds: number) => number diff --git a/node_modules/date-fns/esm/millisecondsToSeconds/package.json b/node_modules/date-fns/esm/millisecondsToSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/millisecondsToSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/min/index.d.ts b/node_modules/date-fns/esm/min/index.d.ts new file mode 100644 index 000000000..f7227e7d7 --- /dev/null +++ b/node_modules/date-fns/esm/min/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { min } from 'date-fns' +export default min diff --git a/node_modules/date-fns/esm/min/index.js b/node_modules/date-fns/esm/min/index.js new file mode 100644 index 000000000..e64aadba7 --- /dev/null +++ b/node_modules/date-fns/esm/min/index.js @@ -0,0 +1,47 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name min + * @category Common Helpers + * @summary Returns the earliest of the given dates. + * + * @description + * Returns the earliest of the given dates. + * + * @param {Date[]|Number[]} datesArray - the dates to compare + * @returns {Date} - the earliest of the dates + * @throws {TypeError} 1 argument required + * + * @example + * // Which of these dates is the earliest? + * const result = min([ + * new Date(1989, 6, 10), + * new Date(1987, 1, 11), + * new Date(1995, 6, 2), + * new Date(1990, 0, 1) + * ]) + * //=> Wed Feb 11 1987 00:00:00 + */ +export default function min(dirtyDatesArray) { + requiredArgs(1, arguments); + var datesArray; + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + if (dirtyDatesArray && typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + // If `dirtyDatesArray` is Array-like Object, convert to Array. + } else if (_typeof(dirtyDatesArray) === 'object' && dirtyDatesArray !== null) { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } else { + // `dirtyDatesArray` is non-iterable, return Invalid Date + return new Date(NaN); + } + var result; + datesArray.forEach(function (dirtyDate) { + var currentDate = toDate(dirtyDate); + if (result === undefined || result > currentDate || isNaN(currentDate.getDate())) { + result = currentDate; + } + }); + return result || new Date(NaN); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/min/index.js.flow b/node_modules/date-fns/esm/min/index.js.flow new file mode 100644 index 000000000..85439094c --- /dev/null +++ b/node_modules/date-fns/esm/min/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (datesArray: (Date | number)[]) => Date diff --git a/node_modules/date-fns/esm/min/package.json b/node_modules/date-fns/esm/min/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/min/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/minutesToHours/index.d.ts b/node_modules/date-fns/esm/minutesToHours/index.d.ts new file mode 100644 index 000000000..d29fb020c --- /dev/null +++ b/node_modules/date-fns/esm/minutesToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToHours } from 'date-fns' +export default minutesToHours diff --git a/node_modules/date-fns/esm/minutesToHours/index.js b/node_modules/date-fns/esm/minutesToHours/index.js new file mode 100644 index 000000000..670d21e20 --- /dev/null +++ b/node_modules/date-fns/esm/minutesToHours/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { minutesInHour } from "../constants/index.js"; +/** + * @name minutesToHours + * @category Conversion Helpers + * @summary Convert minutes to hours. + * + * @description + * Convert a number of minutes to a full number of hours. + * + * @param {number} minutes - number of minutes to be converted + * + * @returns {number} the number of minutes converted in hours + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 140 minutes to hours: + * const result = minutesToHours(120) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = minutesToHours(179) + * //=> 2 + */ +export default function minutesToHours(minutes) { + requiredArgs(1, arguments); + var hours = minutes / minutesInHour; + return Math.floor(hours); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/minutesToHours/index.js.flow b/node_modules/date-fns/esm/minutesToHours/index.js.flow new file mode 100644 index 000000000..efb76c7be --- /dev/null +++ b/node_modules/date-fns/esm/minutesToHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (minutes: number) => number diff --git a/node_modules/date-fns/esm/minutesToHours/package.json b/node_modules/date-fns/esm/minutesToHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/minutesToHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/minutesToMilliseconds/index.d.ts b/node_modules/date-fns/esm/minutesToMilliseconds/index.d.ts new file mode 100644 index 000000000..14b551308 --- /dev/null +++ b/node_modules/date-fns/esm/minutesToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToMilliseconds } from 'date-fns' +export default minutesToMilliseconds diff --git a/node_modules/date-fns/esm/minutesToMilliseconds/index.js b/node_modules/date-fns/esm/minutesToMilliseconds/index.js new file mode 100644 index 000000000..7cbda643b --- /dev/null +++ b/node_modules/date-fns/esm/minutesToMilliseconds/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { millisecondsInMinute } from "../constants/index.js"; +/** + * @name minutesToMilliseconds + * @category Conversion Helpers + * @summary Convert minutes to milliseconds. + * + * @description + * Convert a number of minutes to a full number of milliseconds. + * + * @param {number} minutes - number of minutes to be converted + * + * @returns {number} the number of minutes converted in milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 minutes to milliseconds + * const result = minutesToMilliseconds(2) + * //=> 120000 + */ +export default function minutesToMilliseconds(minutes) { + requiredArgs(1, arguments); + return Math.floor(minutes * millisecondsInMinute); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/minutesToMilliseconds/index.js.flow b/node_modules/date-fns/esm/minutesToMilliseconds/index.js.flow new file mode 100644 index 000000000..efb76c7be --- /dev/null +++ b/node_modules/date-fns/esm/minutesToMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (minutes: number) => number diff --git a/node_modules/date-fns/esm/minutesToMilliseconds/package.json b/node_modules/date-fns/esm/minutesToMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/minutesToMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/minutesToSeconds/index.d.ts b/node_modules/date-fns/esm/minutesToSeconds/index.d.ts new file mode 100644 index 000000000..7998c9b3e --- /dev/null +++ b/node_modules/date-fns/esm/minutesToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToSeconds } from 'date-fns' +export default minutesToSeconds diff --git a/node_modules/date-fns/esm/minutesToSeconds/index.js b/node_modules/date-fns/esm/minutesToSeconds/index.js new file mode 100644 index 000000000..ae4749892 --- /dev/null +++ b/node_modules/date-fns/esm/minutesToSeconds/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { secondsInMinute } from "../constants/index.js"; +/** + * @name minutesToSeconds + * @category Conversion Helpers + * @summary Convert minutes to seconds. + * + * @description + * Convert a number of minutes to a full number of seconds. + * + * @param { number } minutes - number of minutes to be converted + * + * @returns {number} the number of minutes converted in seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 minutes to seconds + * const result = minutesToSeconds(2) + * //=> 120 + */ +export default function minutesToSeconds(minutes) { + requiredArgs(1, arguments); + return Math.floor(minutes * secondsInMinute); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/minutesToSeconds/index.js.flow b/node_modules/date-fns/esm/minutesToSeconds/index.js.flow new file mode 100644 index 000000000..efb76c7be --- /dev/null +++ b/node_modules/date-fns/esm/minutesToSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (minutes: number) => number diff --git a/node_modules/date-fns/esm/minutesToSeconds/package.json b/node_modules/date-fns/esm/minutesToSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/minutesToSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/monthsToQuarters/index.d.ts b/node_modules/date-fns/esm/monthsToQuarters/index.d.ts new file mode 100644 index 000000000..895b1a961 --- /dev/null +++ b/node_modules/date-fns/esm/monthsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToQuarters } from 'date-fns' +export default monthsToQuarters diff --git a/node_modules/date-fns/esm/monthsToQuarters/index.js b/node_modules/date-fns/esm/monthsToQuarters/index.js new file mode 100644 index 000000000..0d29e5e0e --- /dev/null +++ b/node_modules/date-fns/esm/monthsToQuarters/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { monthsInQuarter } from "../constants/index.js"; +/** + * @name monthsToQuarters + * @category Conversion Helpers + * @summary Convert number of months to quarters. + * + * @description + * Convert a number of months to a full number of quarters. + * + * @param {number} months - number of months to be converted. + * + * @returns {number} the number of months converted in quarters + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 6 months to quarters: + * const result = monthsToQuarters(6) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = monthsToQuarters(7) + * //=> 2 + */ +export default function monthsToQuarters(months) { + requiredArgs(1, arguments); + var quarters = months / monthsInQuarter; + return Math.floor(quarters); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/monthsToQuarters/index.js.flow b/node_modules/date-fns/esm/monthsToQuarters/index.js.flow new file mode 100644 index 000000000..de9ea9b19 --- /dev/null +++ b/node_modules/date-fns/esm/monthsToQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (months: number) => number diff --git a/node_modules/date-fns/esm/monthsToQuarters/package.json b/node_modules/date-fns/esm/monthsToQuarters/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/monthsToQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/monthsToYears/index.d.ts b/node_modules/date-fns/esm/monthsToYears/index.d.ts new file mode 100644 index 000000000..16c41fb0f --- /dev/null +++ b/node_modules/date-fns/esm/monthsToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToYears } from 'date-fns' +export default monthsToYears diff --git a/node_modules/date-fns/esm/monthsToYears/index.js b/node_modules/date-fns/esm/monthsToYears/index.js new file mode 100644 index 000000000..fac3c9cd2 --- /dev/null +++ b/node_modules/date-fns/esm/monthsToYears/index.js @@ -0,0 +1,29 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { monthsInYear } from "../constants/index.js"; +/** + * @name monthsToYears + * @category Conversion Helpers + * @summary Convert number of months to years. + * + * @description + * Convert a number of months to a full number of years. + * + * @param {number} months - number of months to be converted + * + * @returns {number} the number of months converted in years + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 36 months to years: + * const result = monthsToYears(36) + * //=> 3 + * + * // It uses floor rounding: + * const result = monthsToYears(40) + * //=> 3 + */ +export default function monthsToYears(months) { + requiredArgs(1, arguments); + var years = months / monthsInYear; + return Math.floor(years); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/monthsToYears/index.js.flow b/node_modules/date-fns/esm/monthsToYears/index.js.flow new file mode 100644 index 000000000..de9ea9b19 --- /dev/null +++ b/node_modules/date-fns/esm/monthsToYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (months: number) => number diff --git a/node_modules/date-fns/esm/monthsToYears/package.json b/node_modules/date-fns/esm/monthsToYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/monthsToYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextDay/index.d.ts b/node_modules/date-fns/esm/nextDay/index.d.ts new file mode 100644 index 000000000..ed096730c --- /dev/null +++ b/node_modules/date-fns/esm/nextDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextDay } from 'date-fns' +export default nextDay diff --git a/node_modules/date-fns/esm/nextDay/index.js b/node_modules/date-fns/esm/nextDay/index.js new file mode 100644 index 000000000..84935b362 --- /dev/null +++ b/node_modules/date-fns/esm/nextDay/index.js @@ -0,0 +1,32 @@ +import addDays from "../addDays/index.js"; +import getDay from "../getDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextDay + * @category Weekday Helpers + * @summary When is the next day of the week? + * + * @description + * When is the next day of the week? 0-6 the day of the week, 0 represents Sunday. + * + * @param {Date | number} date - the date to check + * @param {Day} day - day of the week + * @returns {Date} - the date is the next day of week + * @throws {TypeError} - 2 arguments required + * + * @example + * // When is the next Monday after Mar, 20, 2020? + * const result = nextDay(new Date(2020, 2, 20), 1) + * //=> Mon Mar 23 2020 00:00:00 + * + * @example + * // When is the next Tuesday after Mar, 21, 2020? + * const result = nextDay(new Date(2020, 2, 21), 2) + * //=> Tue Mar 24 2020 00:00:00 + */ +export default function nextDay(date, day) { + requiredArgs(2, arguments); + var delta = day - getDay(date); + if (delta <= 0) delta += 7; + return addDays(date, delta); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextDay/index.js.flow b/node_modules/date-fns/esm/nextDay/index.js.flow new file mode 100644 index 000000000..4b45d7f77 --- /dev/null +++ b/node_modules/date-fns/esm/nextDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, day: Day) => Date diff --git a/node_modules/date-fns/esm/nextDay/package.json b/node_modules/date-fns/esm/nextDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextFriday/index.d.ts b/node_modules/date-fns/esm/nextFriday/index.d.ts new file mode 100644 index 000000000..1ea773cd9 --- /dev/null +++ b/node_modules/date-fns/esm/nextFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextFriday } from 'date-fns' +export default nextFriday diff --git a/node_modules/date-fns/esm/nextFriday/index.js b/node_modules/date-fns/esm/nextFriday/index.js new file mode 100644 index 000000000..28727be1e --- /dev/null +++ b/node_modules/date-fns/esm/nextFriday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextFriday + * @category Weekday Helpers + * @summary When is the next Friday? + * + * @description + * When is the next Friday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Friday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Friday after Mar, 22, 2020? + * const result = nextFriday(new Date(2020, 2, 22)) + * //=> Fri Mar 27 2020 00:00:00 + */ +export default function nextFriday(date) { + requiredArgs(1, arguments); + return nextDay(date, 5); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextFriday/index.js.flow b/node_modules/date-fns/esm/nextFriday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextFriday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextFriday/package.json b/node_modules/date-fns/esm/nextFriday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextFriday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextMonday/index.d.ts b/node_modules/date-fns/esm/nextMonday/index.d.ts new file mode 100644 index 000000000..d26688689 --- /dev/null +++ b/node_modules/date-fns/esm/nextMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextMonday } from 'date-fns' +export default nextMonday diff --git a/node_modules/date-fns/esm/nextMonday/index.js b/node_modules/date-fns/esm/nextMonday/index.js new file mode 100644 index 000000000..38980b2b1 --- /dev/null +++ b/node_modules/date-fns/esm/nextMonday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextMonday + * @category Weekday Helpers + * @summary When is the next Monday? + * + * @description + * When is the next Monday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Monday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Monday after Mar, 22, 2020? + * const result = nextMonday(new Date(2020, 2, 22)) + * //=> Mon Mar 23 2020 00:00:00 + */ +export default function nextMonday(date) { + requiredArgs(1, arguments); + return nextDay(date, 1); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextMonday/index.js.flow b/node_modules/date-fns/esm/nextMonday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextMonday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextMonday/package.json b/node_modules/date-fns/esm/nextMonday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextMonday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextSaturday/index.d.ts b/node_modules/date-fns/esm/nextSaturday/index.d.ts new file mode 100644 index 000000000..20532f750 --- /dev/null +++ b/node_modules/date-fns/esm/nextSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSaturday } from 'date-fns' +export default nextSaturday diff --git a/node_modules/date-fns/esm/nextSaturday/index.js b/node_modules/date-fns/esm/nextSaturday/index.js new file mode 100644 index 000000000..184d1d380 --- /dev/null +++ b/node_modules/date-fns/esm/nextSaturday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextSaturday + * @category Weekday Helpers + * @summary When is the next Saturday? + * + * @description + * When is the next Saturday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Saturday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Saturday after Mar, 22, 2020? + * const result = nextSaturday(new Date(2020, 2, 22)) + * //=> Sat Mar 28 2020 00:00:00 + */ +export default function nextSaturday(date) { + requiredArgs(1, arguments); + return nextDay(date, 6); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextSaturday/index.js.flow b/node_modules/date-fns/esm/nextSaturday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextSaturday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextSaturday/package.json b/node_modules/date-fns/esm/nextSaturday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextSaturday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextSunday/index.d.ts b/node_modules/date-fns/esm/nextSunday/index.d.ts new file mode 100644 index 000000000..e0a7965f1 --- /dev/null +++ b/node_modules/date-fns/esm/nextSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSunday } from 'date-fns' +export default nextSunday diff --git a/node_modules/date-fns/esm/nextSunday/index.js b/node_modules/date-fns/esm/nextSunday/index.js new file mode 100644 index 000000000..70294d81e --- /dev/null +++ b/node_modules/date-fns/esm/nextSunday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextSunday + * @category Weekday Helpers + * @summary When is the next Sunday? + * + * @description + * When is the next Sunday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Sunday after Mar, 22, 2020? + * const result = nextSunday(new Date(2020, 2, 22)) + * //=> Sun Mar 29 2020 00:00:00 + */ +export default function nextSunday(date) { + requiredArgs(1, arguments); + return nextDay(date, 0); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextSunday/index.js.flow b/node_modules/date-fns/esm/nextSunday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextSunday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextSunday/package.json b/node_modules/date-fns/esm/nextSunday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextSunday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextThursday/index.d.ts b/node_modules/date-fns/esm/nextThursday/index.d.ts new file mode 100644 index 000000000..092c3ba9a --- /dev/null +++ b/node_modules/date-fns/esm/nextThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextThursday } from 'date-fns' +export default nextThursday diff --git a/node_modules/date-fns/esm/nextThursday/index.js b/node_modules/date-fns/esm/nextThursday/index.js new file mode 100644 index 000000000..4f0b481dc --- /dev/null +++ b/node_modules/date-fns/esm/nextThursday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextThursday + * @category Weekday Helpers + * @summary When is the next Thursday? + * + * @description + * When is the next Thursday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Thursday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Thursday after Mar, 22, 2020? + * const result = nextThursday(new Date(2020, 2, 22)) + * //=> Thur Mar 26 2020 00:00:00 + */ +export default function nextThursday(date) { + requiredArgs(1, arguments); + return nextDay(date, 4); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextThursday/index.js.flow b/node_modules/date-fns/esm/nextThursday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextThursday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextThursday/package.json b/node_modules/date-fns/esm/nextThursday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextThursday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextTuesday/index.d.ts b/node_modules/date-fns/esm/nextTuesday/index.d.ts new file mode 100644 index 000000000..0e332acf8 --- /dev/null +++ b/node_modules/date-fns/esm/nextTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextTuesday } from 'date-fns' +export default nextTuesday diff --git a/node_modules/date-fns/esm/nextTuesday/index.js b/node_modules/date-fns/esm/nextTuesday/index.js new file mode 100644 index 000000000..9a87db127 --- /dev/null +++ b/node_modules/date-fns/esm/nextTuesday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextTuesday + * @category Weekday Helpers + * @summary When is the next Tuesday? + * + * @description + * When is the next Tuesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Tuesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Tuesday after Mar, 22, 2020? + * const result = nextTuesday(new Date(2020, 2, 22)) + * //=> Tue Mar 24 2020 00:00:00 + */ +export default function nextTuesday(date) { + requiredArgs(1, arguments); + return nextDay(date, 2); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextTuesday/index.js.flow b/node_modules/date-fns/esm/nextTuesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextTuesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextTuesday/package.json b/node_modules/date-fns/esm/nextTuesday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextTuesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextWednesday/index.d.ts b/node_modules/date-fns/esm/nextWednesday/index.d.ts new file mode 100644 index 000000000..42f7eb3c6 --- /dev/null +++ b/node_modules/date-fns/esm/nextWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextWednesday } from 'date-fns' +export default nextWednesday diff --git a/node_modules/date-fns/esm/nextWednesday/index.js b/node_modules/date-fns/esm/nextWednesday/index.js new file mode 100644 index 000000000..0cc03f18f --- /dev/null +++ b/node_modules/date-fns/esm/nextWednesday/index.js @@ -0,0 +1,23 @@ +import nextDay from "../nextDay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name nextWednesday + * @category Weekday Helpers + * @summary When is the next Wednesday? + * + * @description + * When is the next Wednesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Wednesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Wednesday after Mar, 22, 2020? + * const result = nextWednesday(new Date(2020, 2, 22)) + * //=> Wed Mar 25 2020 00:00:00 + */ +export default function nextWednesday(date) { + requiredArgs(1, arguments); + return nextDay(date, 3); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/nextWednesday/index.js.flow b/node_modules/date-fns/esm/nextWednesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/nextWednesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/nextWednesday/package.json b/node_modules/date-fns/esm/nextWednesday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/nextWednesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/Parser.js b/node_modules/date-fns/esm/parse/_lib/Parser.js new file mode 100644 index 000000000..b9b267879 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/Parser.js @@ -0,0 +1,31 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { ValueSetter } from "./Setter.js"; +export var Parser = /*#__PURE__*/function () { + function Parser() { + _classCallCheck(this, Parser); + _defineProperty(this, "incompatibleTokens", void 0); + _defineProperty(this, "priority", void 0); + _defineProperty(this, "subPriority", void 0); + } + _createClass(Parser, [{ + key: "run", + value: function run(dateString, token, match, options) { + var result = this.parse(dateString, token, match, options); + if (!result) { + return null; + } + return { + setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority), + rest: result.rest + }; + } + }, { + key: "validate", + value: function validate(_utcDate, _value, _options) { + return true; + } + }]); + return Parser; +}(); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/Setter.js b/node_modules/date-fns/esm/parse/_lib/Setter.js new file mode 100644 index 000000000..b73bbcf0a --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/Setter.js @@ -0,0 +1,78 @@ +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +var TIMEZONE_UNIT_PRIORITY = 10; +export var Setter = /*#__PURE__*/function () { + function Setter() { + _classCallCheck(this, Setter); + _defineProperty(this, "priority", void 0); + _defineProperty(this, "subPriority", 0); + } + _createClass(Setter, [{ + key: "validate", + value: function validate(_utcDate, _options) { + return true; + } + }]); + return Setter; +}(); +export var ValueSetter = /*#__PURE__*/function (_Setter) { + _inherits(ValueSetter, _Setter); + var _super = _createSuper(ValueSetter); + function ValueSetter(value, validateValue, setValue, priority, subPriority) { + var _this; + _classCallCheck(this, ValueSetter); + _this = _super.call(this); + _this.value = value; + _this.validateValue = validateValue; + _this.setValue = setValue; + _this.priority = priority; + if (subPriority) { + _this.subPriority = subPriority; + } + return _this; + } + _createClass(ValueSetter, [{ + key: "validate", + value: function validate(utcDate, options) { + return this.validateValue(utcDate, this.value, options); + } + }, { + key: "set", + value: function set(utcDate, flags, options) { + return this.setValue(utcDate, flags, this.value, options); + } + }]); + return ValueSetter; +}(Setter); +export var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) { + _inherits(DateToSystemTimezoneSetter, _Setter2); + var _super2 = _createSuper(DateToSystemTimezoneSetter); + function DateToSystemTimezoneSetter() { + var _this2; + _classCallCheck(this, DateToSystemTimezoneSetter); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this2 = _super2.call.apply(_super2, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this2), "priority", TIMEZONE_UNIT_PRIORITY); + _defineProperty(_assertThisInitialized(_this2), "subPriority", -1); + return _this2; + } + _createClass(DateToSystemTimezoneSetter, [{ + key: "set", + value: function set(date, flags) { + if (flags.timestampIsSet) { + return date; + } + var convertedDate = new Date(0); + convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate()); + convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds()); + return convertedDate; + } + }]); + return DateToSystemTimezoneSetter; +}(Setter); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/constants.js b/node_modules/date-fns/esm/parse/_lib/constants.js new file mode 100644 index 000000000..b095afaa6 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/constants.js @@ -0,0 +1,48 @@ +export var numericPatterns = { + month: /^(1[0-2]|0?\d)/, + // 0 to 12 + date: /^(3[0-1]|[0-2]?\d)/, + // 0 to 31 + dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/, + // 0 to 366 + week: /^(5[0-3]|[0-4]?\d)/, + // 0 to 53 + hour23h: /^(2[0-3]|[0-1]?\d)/, + // 0 to 23 + hour24h: /^(2[0-4]|[0-1]?\d)/, + // 0 to 24 + hour11h: /^(1[0-1]|0?\d)/, + // 0 to 11 + hour12h: /^(1[0-2]|0?\d)/, + // 0 to 12 + minute: /^[0-5]?\d/, + // 0 to 59 + second: /^[0-5]?\d/, + // 0 to 59 + + singleDigit: /^\d/, + // 0 to 9 + twoDigits: /^\d{1,2}/, + // 0 to 99 + threeDigits: /^\d{1,3}/, + // 0 to 999 + fourDigits: /^\d{1,4}/, + // 0 to 9999 + + anyDigitsSigned: /^-?\d+/, + singleDigitSigned: /^-?\d/, + // 0 to 9, -0 to -9 + twoDigitsSigned: /^-?\d{1,2}/, + // 0 to 99, -0 to -99 + threeDigitsSigned: /^-?\d{1,3}/, + // 0 to 999, -0 to -999 + fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999 +}; + +export var timezonePatterns = { + basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/, + basic: /^([+-])(\d{2})(\d{2})|Z/, + basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/, + extended: /^([+-])(\d{2}):(\d{2})|Z/, + extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/ +}; \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js new file mode 100644 index 000000000..0ce43739c --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js @@ -0,0 +1,64 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { dayPeriodEnumToHours } from "../utils.js"; +export var AMPMMidnightParser = /*#__PURE__*/function (_Parser) { + _inherits(AMPMMidnightParser, _Parser); + var _super = _createSuper(AMPMMidnightParser); + function AMPMMidnightParser() { + var _this; + _classCallCheck(this, AMPMMidnightParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 80); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'B', 'H', 'k', 't', 'T']); + return _this; + } + _createClass(AMPMMidnightParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'b': + case 'bb': + case 'bbb': + return match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbbb': + return match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbb': + default: + return match.dayPeriod(dateString, { + width: 'wide', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0); + return date; + } + }]); + return AMPMMidnightParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js new file mode 100644 index 000000000..1e89dacc8 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js @@ -0,0 +1,64 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { dayPeriodEnumToHours } from "../utils.js"; +export var AMPMParser = /*#__PURE__*/function (_Parser) { + _inherits(AMPMParser, _Parser); + var _super = _createSuper(AMPMParser); + function AMPMParser() { + var _this; + _classCallCheck(this, AMPMParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 80); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['b', 'B', 'H', 'k', 't', 'T']); + return _this; + } + _createClass(AMPMParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'a': + case 'aa': + case 'aaa': + return match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaaa': + return match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaa': + default: + return match.dayPeriod(dateString, { + width: 'wide', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0); + return date; + } + }]); + return AMPMParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js new file mode 100644 index 000000000..6e94944d3 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js @@ -0,0 +1,64 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { isLeapYearIndex, parseNDigits, parseNumericPattern } from "../utils.js"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + +// Day of the month +export var DateParser = /*#__PURE__*/function (_Parser) { + _inherits(DateParser, _Parser); + var _super = _createSuper(DateParser); + function DateParser() { + var _this; + _classCallCheck(this, DateParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 90); + _defineProperty(_assertThisInitialized(_this), "subPriority", 1); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(DateParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'd': + return parseNumericPattern(numericPatterns.date, dateString); + case 'do': + return match.ordinalNumber(dateString, { + unit: 'date' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(date, value) { + var year = date.getUTCFullYear(); + var isLeapYear = isLeapYearIndex(year); + var month = date.getUTCMonth(); + if (isLeapYear) { + return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month]; + } else { + return value >= 1 && value <= DAYS_IN_MONTH[month]; + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCDate(value); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return DateParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js new file mode 100644 index 000000000..0a0ef4577 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js @@ -0,0 +1,60 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits, isLeapYearIndex } from "../utils.js"; +export var DayOfYearParser = /*#__PURE__*/function (_Parser) { + _inherits(DayOfYearParser, _Parser); + var _super = _createSuper(DayOfYearParser); + function DayOfYearParser() { + var _this; + _classCallCheck(this, DayOfYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 90); + _defineProperty(_assertThisInitialized(_this), "subpriority", 1); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(DayOfYearParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'D': + case 'DD': + return parseNumericPattern(numericPatterns.dayOfYear, dateString); + case 'Do': + return match.ordinalNumber(dateString, { + unit: 'date' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(date, value) { + var year = date.getUTCFullYear(); + var isLeapYear = isLeapYearIndex(year); + if (isLeapYear) { + return value >= 1 && value <= 366; + } else { + return value >= 1 && value <= 365; + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth(0, value); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return DayOfYearParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js new file mode 100644 index 000000000..ad8a70ea6 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js @@ -0,0 +1,88 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import setUTCDay from "../../../_lib/setUTCDay/index.js"; // Day of week +export var DayParser = /*#__PURE__*/function (_Parser) { + _inherits(DayParser, _Parser); + var _super = _createSuper(DayParser); + function DayParser() { + var _this; + _classCallCheck(this, DayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 90); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(DayParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // Tue + case 'E': + case 'EE': + case 'EEE': + return match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // T + case 'EEEEE': + return match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'EEEEEE': + return match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tuesday + case 'EEEE': + default: + return match.day(dateString, { + width: 'wide', + context: 'formatting' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 6; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + date = setUTCDay(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return DayParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js new file mode 100644 index 000000000..ec4c4d822 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js @@ -0,0 +1,64 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { dayPeriodEnumToHours } from "../utils.js"; // in the morning, in the afternoon, in the evening, at night +export var DayPeriodParser = /*#__PURE__*/function (_Parser) { + _inherits(DayPeriodParser, _Parser); + var _super = _createSuper(DayPeriodParser); + function DayPeriodParser() { + var _this; + _classCallCheck(this, DayPeriodParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 80); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'b', 't', 'T']); + return _this; + } + _createClass(DayPeriodParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'B': + case 'BB': + case 'BBB': + return match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBBB': + return match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBB': + default: + return match.dayPeriod(dateString, { + width: 'wide', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0); + return date; + } + }]); + return DayPeriodParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js new file mode 100644 index 000000000..8a5954d4d --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js @@ -0,0 +1,62 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +export var EraParser = /*#__PURE__*/function (_Parser) { + _inherits(EraParser, _Parser); + var _super = _createSuper(EraParser); + function EraParser() { + var _this; + _classCallCheck(this, EraParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 140); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['R', 'u', 't', 'T']); + return _this; + } + _createClass(EraParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // AD, BC + case 'G': + case 'GG': + case 'GGG': + return match.era(dateString, { + width: 'abbreviated' + }) || match.era(dateString, { + width: 'narrow' + }); + // A, B + case 'GGGGG': + return match.era(dateString, { + width: 'narrow' + }); + // Anno Domini, Before Christ + case 'GGGG': + default: + return match.era(dateString, { + width: 'wide' + }) || match.era(dateString, { + width: 'abbreviated' + }) || match.era(dateString, { + width: 'narrow' + }); + } + } + }, { + key: "set", + value: function set(date, flags, value) { + flags.era = value; + date.setUTCFullYear(value, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return EraParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js new file mode 100644 index 000000000..8bf8dcd29 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js @@ -0,0 +1,40 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseNDigitsSigned } from "../utils.js"; +export var ExtendedYearParser = /*#__PURE__*/function (_Parser) { + _inherits(ExtendedYearParser, _Parser); + var _super = _createSuper(ExtendedYearParser); + function ExtendedYearParser() { + var _this; + _classCallCheck(this, ExtendedYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 130); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(ExtendedYearParser, [{ + key: "parse", + value: function parse(dateString, token) { + if (token === 'u') { + return parseNDigitsSigned(4, dateString); + } + return parseNDigitsSigned(token.length, dateString); + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCFullYear(value, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return ExtendedYearParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js new file mode 100644 index 000000000..c5b7b9b61 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js @@ -0,0 +1,39 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { mapValue, parseNDigits } from "../utils.js"; +export var FractionOfSecondParser = /*#__PURE__*/function (_Parser) { + _inherits(FractionOfSecondParser, _Parser); + var _super = _createSuper(FractionOfSecondParser); + function FractionOfSecondParser() { + var _this; + _classCallCheck(this, FractionOfSecondParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 30); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T']); + return _this; + } + _createClass(FractionOfSecondParser, [{ + key: "parse", + value: function parse(dateString, token) { + var valueCallback = function valueCallback(value) { + return Math.floor(value * Math.pow(10, -token.length + 3)); + }; + return mapValue(parseNDigits(token.length, dateString), valueCallback); + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMilliseconds(value); + return date; + } + }]); + return FractionOfSecondParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js b/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js new file mode 100644 index 000000000..57af2baaf --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js @@ -0,0 +1,56 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +export var Hour0To11Parser = /*#__PURE__*/function (_Parser) { + _inherits(Hour0To11Parser, _Parser); + var _super = _createSuper(Hour0To11Parser); + function Hour0To11Parser() { + var _this; + _classCallCheck(this, Hour0To11Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 70); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['h', 'H', 'k', 't', 'T']); + return _this; + } + _createClass(Hour0To11Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'K': + return parseNumericPattern(numericPatterns.hour11h, dateString); + case 'Ko': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 11; + } + }, { + key: "set", + value: function set(date, _flags, value) { + var isPM = date.getUTCHours() >= 12; + if (isPM && value < 12) { + date.setUTCHours(value + 12, 0, 0, 0); + } else { + date.setUTCHours(value, 0, 0, 0); + } + return date; + } + }]); + return Hour0To11Parser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js b/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js new file mode 100644 index 000000000..d77b32193 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js @@ -0,0 +1,51 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +export var Hour0to23Parser = /*#__PURE__*/function (_Parser) { + _inherits(Hour0to23Parser, _Parser); + var _super = _createSuper(Hour0to23Parser); + function Hour0to23Parser() { + var _this; + _classCallCheck(this, Hour0to23Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 70); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'b', 'h', 'K', 'k', 't', 'T']); + return _this; + } + _createClass(Hour0to23Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'H': + return parseNumericPattern(numericPatterns.hour23h, dateString); + case 'Ho': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 23; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours(value, 0, 0, 0); + return date; + } + }]); + return Hour0to23Parser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js b/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js new file mode 100644 index 000000000..f4f801b81 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js @@ -0,0 +1,52 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +export var Hour1To24Parser = /*#__PURE__*/function (_Parser) { + _inherits(Hour1To24Parser, _Parser); + var _super = _createSuper(Hour1To24Parser); + function Hour1To24Parser() { + var _this; + _classCallCheck(this, Hour1To24Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 70); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'b', 'h', 'H', 'K', 't', 'T']); + return _this; + } + _createClass(Hour1To24Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'k': + return parseNumericPattern(numericPatterns.hour24h, dateString); + case 'ko': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 24; + } + }, { + key: "set", + value: function set(date, _flags, value) { + var hours = value <= 24 ? value % 24 : value; + date.setUTCHours(hours, 0, 0, 0); + return date; + } + }]); + return Hour1To24Parser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js b/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js new file mode 100644 index 000000000..26f849fbb --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js @@ -0,0 +1,58 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +export var Hour1to12Parser = /*#__PURE__*/function (_Parser) { + _inherits(Hour1to12Parser, _Parser); + var _super = _createSuper(Hour1to12Parser); + function Hour1to12Parser() { + var _this; + _classCallCheck(this, Hour1to12Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 70); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['H', 'K', 'k', 't', 'T']); + return _this; + } + _createClass(Hour1to12Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'h': + return parseNumericPattern(numericPatterns.hour12h, dateString); + case 'ho': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 12; + } + }, { + key: "set", + value: function set(date, _flags, value) { + var isPM = date.getUTCHours() >= 12; + if (isPM && value < 12) { + date.setUTCHours(value + 12, 0, 0, 0); + } else if (!isPM && value === 12) { + date.setUTCHours(0, 0, 0, 0); + } else { + date.setUTCHours(value, 0, 0, 0); + } + return date; + } + }]); + return Hour1to12Parser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js new file mode 100644 index 000000000..ae1e5a814 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js @@ -0,0 +1,103 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { mapValue, parseNDigits } from "../utils.js"; +import setUTCISODay from "../../../_lib/setUTCISODay/index.js"; // ISO day of week +export var ISODayParser = /*#__PURE__*/function (_Parser) { + _inherits(ISODayParser, _Parser); + var _super = _createSuper(ISODayParser); + function ISODayParser() { + var _this; + _classCallCheck(this, ISODayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 90); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(ISODayParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(value) { + if (value === 0) { + return 7; + } + return value; + }; + switch (token) { + // 2 + case 'i': + case 'ii': + // 02 + return parseNDigits(token.length, dateString); + // 2nd + case 'io': + return match.ordinalNumber(dateString, { + unit: 'day' + }); + // Tue + case 'iii': + return mapValue(match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + // T + case 'iiiii': + return mapValue(match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + // Tu + case 'iiiiii': + return mapValue(match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + // Tuesday + case 'iiii': + default: + return mapValue(match.day(dateString, { + width: 'wide', + context: 'formatting' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 7; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date = setUTCISODay(date, value); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return ISODayParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js new file mode 100644 index 000000000..0f5f28a36 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js @@ -0,0 +1,51 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { timezonePatterns } from "../constants.js"; +import { parseTimezonePattern } from "../utils.js"; // Timezone (ISO-8601) +export var ISOTimezoneParser = /*#__PURE__*/function (_Parser) { + _inherits(ISOTimezoneParser, _Parser); + var _super = _createSuper(ISOTimezoneParser); + function ISOTimezoneParser() { + var _this; + _classCallCheck(this, ISOTimezoneParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 10); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T', 'X']); + return _this; + } + _createClass(ISOTimezoneParser, [{ + key: "parse", + value: function parse(dateString, token) { + switch (token) { + case 'x': + return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString); + case 'xx': + return parseTimezonePattern(timezonePatterns.basic, dateString); + case 'xxxx': + return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString); + case 'xxxxx': + return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString); + case 'xxx': + default: + return parseTimezonePattern(timezonePatterns.extended, dateString); + } + } + }, { + key: "set", + value: function set(date, flags, value) { + if (flags.timestampIsSet) { + return date; + } + return new Date(date.getTime() - value); + } + }]); + return ISOTimezoneParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js new file mode 100644 index 000000000..c214d847d --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js @@ -0,0 +1,51 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { timezonePatterns } from "../constants.js"; +import { parseTimezonePattern } from "../utils.js"; // Timezone (ISO-8601. +00:00 is `'Z'`) +export var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) { + _inherits(ISOTimezoneWithZParser, _Parser); + var _super = _createSuper(ISOTimezoneWithZParser); + function ISOTimezoneWithZParser() { + var _this; + _classCallCheck(this, ISOTimezoneWithZParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 10); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T', 'x']); + return _this; + } + _createClass(ISOTimezoneWithZParser, [{ + key: "parse", + value: function parse(dateString, token) { + switch (token) { + case 'X': + return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString); + case 'XX': + return parseTimezonePattern(timezonePatterns.basic, dateString); + case 'XXXX': + return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString); + case 'XXXXX': + return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString); + case 'XXX': + default: + return parseTimezonePattern(timezonePatterns.extended, dateString); + } + } + }, { + key: "set", + value: function set(date, flags, value) { + if (flags.timestampIsSet) { + return date; + } + return new Date(date.getTime() - value); + } + }]); + return ISOTimezoneWithZParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js new file mode 100644 index 000000000..2992a1bcf --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js @@ -0,0 +1,52 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +import setUTCISOWeek from "../../../_lib/setUTCISOWeek/index.js"; +import startOfUTCISOWeek from "../../../_lib/startOfUTCISOWeek/index.js"; // ISO week of year +export var ISOWeekParser = /*#__PURE__*/function (_Parser) { + _inherits(ISOWeekParser, _Parser); + var _super = _createSuper(ISOWeekParser); + function ISOWeekParser() { + var _this; + _classCallCheck(this, ISOWeekParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 100); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(ISOWeekParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'I': + return parseNumericPattern(numericPatterns.week, dateString); + case 'Io': + return match.ordinalNumber(dateString, { + unit: 'week' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 53; + } + }, { + key: "set", + value: function set(date, _flags, value) { + return startOfUTCISOWeek(setUTCISOWeek(date, value)); + } + }]); + return ISOWeekParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js new file mode 100644 index 000000000..c329a2873 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js @@ -0,0 +1,42 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseNDigitsSigned } from "../utils.js"; +import startOfUTCISOWeek from "../../../_lib/startOfUTCISOWeek/index.js"; // ISO week-numbering year +export var ISOWeekYearParser = /*#__PURE__*/function (_Parser) { + _inherits(ISOWeekYearParser, _Parser); + var _super = _createSuper(ISOWeekYearParser); + function ISOWeekYearParser() { + var _this; + _classCallCheck(this, ISOWeekYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 130); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(ISOWeekYearParser, [{ + key: "parse", + value: function parse(dateString, token) { + if (token === 'R') { + return parseNDigitsSigned(4, dateString); + } + return parseNDigitsSigned(token.length, dateString); + } + }, { + key: "set", + value: function set(_date, _flags, value) { + var firstWeekOfYear = new Date(0); + firstWeekOfYear.setUTCFullYear(value, 0, 4); + firstWeekOfYear.setUTCHours(0, 0, 0, 0); + return startOfUTCISOWeek(firstWeekOfYear); + } + }]); + return ISOWeekYearParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js new file mode 100644 index 000000000..4e5b7009d --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js @@ -0,0 +1,101 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { mapValue, parseNDigits } from "../utils.js"; +import setUTCDay from "../../../_lib/setUTCDay/index.js"; // Local day of week +export var LocalDayParser = /*#__PURE__*/function (_Parser) { + _inherits(LocalDayParser, _Parser); + var _super = _createSuper(LocalDayParser); + function LocalDayParser() { + var _this; + _classCallCheck(this, LocalDayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 90); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']); + return _this; + } + _createClass(LocalDayParser, [{ + key: "parse", + value: function parse(dateString, token, match, options) { + var valueCallback = function valueCallback(value) { + var wholeWeekDays = Math.floor((value - 1) / 7) * 7; + return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays; + }; + switch (token) { + // 3 + case 'e': + case 'ee': + // 03 + return mapValue(parseNDigits(token.length, dateString), valueCallback); + // 3rd + case 'eo': + return mapValue(match.ordinalNumber(dateString, { + unit: 'day' + }), valueCallback); + // Tue + case 'eee': + return match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // T + case 'eeeee': + return match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'eeeeee': + return match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tuesday + case 'eeee': + default: + return match.day(dateString, { + width: 'wide', + context: 'formatting' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 6; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + date = setUTCDay(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return LocalDayParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js new file mode 100644 index 000000000..495c7326a --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js @@ -0,0 +1,52 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +import setUTCWeek from "../../../_lib/setUTCWeek/index.js"; +import startOfUTCWeek from "../../../_lib/startOfUTCWeek/index.js"; // Local week of year +export var LocalWeekParser = /*#__PURE__*/function (_Parser) { + _inherits(LocalWeekParser, _Parser); + var _super = _createSuper(LocalWeekParser); + function LocalWeekParser() { + var _this; + _classCallCheck(this, LocalWeekParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 100); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']); + return _this; + } + _createClass(LocalWeekParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'w': + return parseNumericPattern(numericPatterns.week, dateString); + case 'wo': + return match.ordinalNumber(dateString, { + unit: 'week' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 53; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + return startOfUTCWeek(setUTCWeek(date, value, options), options); + } + }]); + return LocalWeekParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js new file mode 100644 index 000000000..2b21916d0 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js @@ -0,0 +1,68 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseNDigits, normalizeTwoDigitYear, mapValue } from "../utils.js"; +import getUTCWeekYear from "../../../_lib/getUTCWeekYear/index.js"; +import startOfUTCWeek from "../../../_lib/startOfUTCWeek/index.js"; +// Local week-numbering year +export var LocalWeekYearParser = /*#__PURE__*/function (_Parser) { + _inherits(LocalWeekYearParser, _Parser); + var _super = _createSuper(LocalWeekYearParser); + function LocalWeekYearParser() { + var _this; + _classCallCheck(this, LocalWeekYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 130); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']); + return _this; + } + _createClass(LocalWeekYearParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(year) { + return { + year: year, + isTwoDigitYear: token === 'YY' + }; + }; + switch (token) { + case 'Y': + return mapValue(parseNDigits(4, dateString), valueCallback); + case 'Yo': + return mapValue(match.ordinalNumber(dateString, { + unit: 'year' + }), valueCallback); + default: + return mapValue(parseNDigits(token.length, dateString), valueCallback); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value.isTwoDigitYear || value.year > 0; + } + }, { + key: "set", + value: function set(date, flags, value, options) { + var currentYear = getUTCWeekYear(date, options); + if (value.isTwoDigitYear) { + var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear); + date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate); + date.setUTCHours(0, 0, 0, 0); + return startOfUTCWeek(date, options); + } + var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year; + date.setUTCFullYear(year, 0, options.firstWeekContainsDate); + date.setUTCHours(0, 0, 0, 0); + return startOfUTCWeek(date, options); + } + }]); + return LocalWeekYearParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js new file mode 100644 index 000000000..c27c59a7e --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js @@ -0,0 +1,51 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +export var MinuteParser = /*#__PURE__*/function (_Parser) { + _inherits(MinuteParser, _Parser); + var _super = _createSuper(MinuteParser); + function MinuteParser() { + var _this; + _classCallCheck(this, MinuteParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 60); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T']); + return _this; + } + _createClass(MinuteParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'm': + return parseNumericPattern(numericPatterns.minute, dateString); + case 'mo': + return match.ordinalNumber(dateString, { + unit: 'minute' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 59; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMinutes(value, 0, 0); + return date; + } + }]); + return MinuteParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js new file mode 100644 index 000000000..cf7ae586d --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js @@ -0,0 +1,86 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { mapValue, parseNDigits, parseNumericPattern } from "../utils.js"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +export var MonthParser = /*#__PURE__*/function (_Parser) { + _inherits(MonthParser, _Parser); + var _super = _createSuper(MonthParser); + function MonthParser() { + var _this; + _classCallCheck(this, MonthParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']); + _defineProperty(_assertThisInitialized(_this), "priority", 110); + return _this; + } + _createClass(MonthParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(value) { + return value - 1; + }; + switch (token) { + // 1, 2, ..., 12 + case 'M': + return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback); + // 01, 02, ..., 12 + case 'MM': + return mapValue(parseNDigits(2, dateString), valueCallback); + // 1st, 2nd, ..., 12th + case 'Mo': + return mapValue(match.ordinalNumber(dateString, { + unit: 'month' + }), valueCallback); + // Jan, Feb, ..., Dec + case 'MMM': + return match.month(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.month(dateString, { + width: 'narrow', + context: 'formatting' + }); + // J, F, ..., D + case 'MMMMM': + return match.month(dateString, { + width: 'narrow', + context: 'formatting' + }); + // January, February, ..., December + case 'MMMM': + default: + return match.month(dateString, { + width: 'wide', + context: 'formatting' + }) || match.month(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.month(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 11; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth(value, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return MonthParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js new file mode 100644 index 000000000..f83972e63 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js @@ -0,0 +1,81 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseNDigits } from "../utils.js"; +export var QuarterParser = /*#__PURE__*/function (_Parser) { + _inherits(QuarterParser, _Parser); + var _super = _createSuper(QuarterParser); + function QuarterParser() { + var _this; + _classCallCheck(this, QuarterParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 120); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(QuarterParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // 1, 2, 3, 4 + case 'Q': + case 'QQ': + // 01, 02, 03, 04 + return parseNDigits(token.length, dateString); + // 1st, 2nd, 3rd, 4th + case 'Qo': + return match.ordinalNumber(dateString, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'QQQ': + return match.quarter(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'formatting' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'QQQQQ': + return match.quarter(dateString, { + width: 'narrow', + context: 'formatting' + }); + // 1st quarter, 2nd quarter, ... + case 'QQQQ': + default: + return match.quarter(dateString, { + width: 'wide', + context: 'formatting' + }) || match.quarter(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 4; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth((value - 1) * 3, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return QuarterParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js new file mode 100644 index 000000000..7337ab78f --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js @@ -0,0 +1,51 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits } from "../utils.js"; +export var SecondParser = /*#__PURE__*/function (_Parser) { + _inherits(SecondParser, _Parser); + var _super = _createSuper(SecondParser); + function SecondParser() { + var _this; + _classCallCheck(this, SecondParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 50); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T']); + return _this; + } + _createClass(SecondParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 's': + return parseNumericPattern(numericPatterns.second, dateString); + case 'so': + return match.ordinalNumber(dateString, { + unit: 'second' + }); + default: + return parseNDigits(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 59; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCSeconds(value, 0); + return date; + } + }]); + return SecondParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js new file mode 100644 index 000000000..7b196d951 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js @@ -0,0 +1,101 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { mapValue, parseNDigits } from "../utils.js"; +import setUTCDay from "../../../_lib/setUTCDay/index.js"; // Stand-alone local day of week +export var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) { + _inherits(StandAloneLocalDayParser, _Parser); + var _super = _createSuper(StandAloneLocalDayParser); + function StandAloneLocalDayParser() { + var _this; + _classCallCheck(this, StandAloneLocalDayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 90); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']); + return _this; + } + _createClass(StandAloneLocalDayParser, [{ + key: "parse", + value: function parse(dateString, token, match, options) { + var valueCallback = function valueCallback(value) { + var wholeWeekDays = Math.floor((value - 1) / 7) * 7; + return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays; + }; + switch (token) { + // 3 + case 'c': + case 'cc': + // 03 + return mapValue(parseNDigits(token.length, dateString), valueCallback); + // 3rd + case 'co': + return mapValue(match.ordinalNumber(dateString, { + unit: 'day' + }), valueCallback); + // Tue + case 'ccc': + return match.day(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.day(dateString, { + width: 'short', + context: 'standalone' + }) || match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + // T + case 'ccccc': + return match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + // Tu + case 'cccccc': + return match.day(dateString, { + width: 'short', + context: 'standalone' + }) || match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + // Tuesday + case 'cccc': + default: + return match.day(dateString, { + width: 'wide', + context: 'standalone' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.day(dateString, { + width: 'short', + context: 'standalone' + }) || match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 6; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + date = setUTCDay(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return StandAloneLocalDayParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js new file mode 100644 index 000000000..de6a1b748 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js @@ -0,0 +1,86 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { numericPatterns } from "../constants.js"; +import { parseNumericPattern, parseNDigits, mapValue } from "../utils.js"; +export var StandAloneMonthParser = /*#__PURE__*/function (_Parser) { + _inherits(StandAloneMonthParser, _Parser); + var _super = _createSuper(StandAloneMonthParser); + function StandAloneMonthParser() { + var _this; + _classCallCheck(this, StandAloneMonthParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 110); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(StandAloneMonthParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(value) { + return value - 1; + }; + switch (token) { + // 1, 2, ..., 12 + case 'L': + return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback); + // 01, 02, ..., 12 + case 'LL': + return mapValue(parseNDigits(2, dateString), valueCallback); + // 1st, 2nd, ..., 12th + case 'Lo': + return mapValue(match.ordinalNumber(dateString, { + unit: 'month' + }), valueCallback); + // Jan, Feb, ..., Dec + case 'LLL': + return match.month(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.month(dateString, { + width: 'narrow', + context: 'standalone' + }); + // J, F, ..., D + case 'LLLLL': + return match.month(dateString, { + width: 'narrow', + context: 'standalone' + }); + // January, February, ..., December + case 'LLLL': + default: + return match.month(dateString, { + width: 'wide', + context: 'standalone' + }) || match.month(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.month(dateString, { + width: 'narrow', + context: 'standalone' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 11; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth(value, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return StandAloneMonthParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js new file mode 100644 index 000000000..e823da3bb --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js @@ -0,0 +1,81 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseNDigits } from "../utils.js"; +export var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) { + _inherits(StandAloneQuarterParser, _Parser); + var _super = _createSuper(StandAloneQuarterParser); + function StandAloneQuarterParser() { + var _this; + _classCallCheck(this, StandAloneQuarterParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 120); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(StandAloneQuarterParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // 1, 2, 3, 4 + case 'q': + case 'qq': + // 01, 02, 03, 04 + return parseNDigits(token.length, dateString); + // 1st, 2nd, 3rd, 4th + case 'qo': + return match.ordinalNumber(dateString, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'qqq': + return match.quarter(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'standalone' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'qqqqq': + return match.quarter(dateString, { + width: 'narrow', + context: 'standalone' + }); + // 1st quarter, 2nd quarter, ... + case 'qqqq': + default: + return match.quarter(dateString, { + width: 'wide', + context: 'standalone' + }) || match.quarter(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'standalone' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 4; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth((value - 1) * 3, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return StandAloneQuarterParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js new file mode 100644 index 000000000..e91be0f7f --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js @@ -0,0 +1,37 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseAnyDigitsSigned } from "../utils.js"; +export var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) { + _inherits(TimestampMillisecondsParser, _Parser); + var _super = _createSuper(TimestampMillisecondsParser); + function TimestampMillisecondsParser() { + var _this; + _classCallCheck(this, TimestampMillisecondsParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 20); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", '*'); + return _this; + } + _createClass(TimestampMillisecondsParser, [{ + key: "parse", + value: function parse(dateString) { + return parseAnyDigitsSigned(dateString); + } + }, { + key: "set", + value: function set(_date, _flags, value) { + return [new Date(value), { + timestampIsSet: true + }]; + } + }]); + return TimestampMillisecondsParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js new file mode 100644 index 000000000..fc6a749c4 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js @@ -0,0 +1,37 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { parseAnyDigitsSigned } from "../utils.js"; +export var TimestampSecondsParser = /*#__PURE__*/function (_Parser) { + _inherits(TimestampSecondsParser, _Parser); + var _super = _createSuper(TimestampSecondsParser); + function TimestampSecondsParser() { + var _this; + _classCallCheck(this, TimestampSecondsParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 40); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", '*'); + return _this; + } + _createClass(TimestampSecondsParser, [{ + key: "parse", + value: function parse(dateString) { + return parseAnyDigitsSigned(dateString); + } + }, { + key: "set", + value: function set(_date, _flags, value) { + return [new Date(value * 1000), { + timestampIsSet: true + }]; + } + }]); + return TimestampSecondsParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js b/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js new file mode 100644 index 000000000..bb1b813a8 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js @@ -0,0 +1,73 @@ +import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; +import _createClass from "@babel/runtime/helpers/esm/createClass"; +import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; +import _inherits from "@babel/runtime/helpers/esm/inherits"; +import _createSuper from "@babel/runtime/helpers/esm/createSuper"; +import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; +import { Parser } from "../Parser.js"; +import { mapValue, normalizeTwoDigitYear, parseNDigits } from "../utils.js"; +// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns +// | Year | y | yy | yyy | yyyy | yyyyy | +// |----------|-------|----|-------|-------|-------| +// | AD 1 | 1 | 01 | 001 | 0001 | 00001 | +// | AD 12 | 12 | 12 | 012 | 0012 | 00012 | +// | AD 123 | 123 | 23 | 123 | 0123 | 00123 | +// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 | +// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 | +export var YearParser = /*#__PURE__*/function (_Parser) { + _inherits(YearParser, _Parser); + var _super = _createSuper(YearParser); + function YearParser() { + var _this; + _classCallCheck(this, YearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _defineProperty(_assertThisInitialized(_this), "priority", 130); + _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']); + return _this; + } + _createClass(YearParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(year) { + return { + year: year, + isTwoDigitYear: token === 'yy' + }; + }; + switch (token) { + case 'y': + return mapValue(parseNDigits(4, dateString), valueCallback); + case 'yo': + return mapValue(match.ordinalNumber(dateString, { + unit: 'year' + }), valueCallback); + default: + return mapValue(parseNDigits(token.length, dateString), valueCallback); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value.isTwoDigitYear || value.year > 0; + } + }, { + key: "set", + value: function set(date, flags, value) { + var currentYear = date.getUTCFullYear(); + if (value.isTwoDigitYear) { + var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear); + date.setUTCFullYear(normalizedTwoDigitYear, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year; + date.setUTCFullYear(year, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return YearParser; +}(Parser); \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/parsers/index.js b/node_modules/date-fns/esm/parse/_lib/parsers/index.js new file mode 100644 index 000000000..647341cd0 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/parsers/index.js @@ -0,0 +1,107 @@ +import { EraParser } from "./EraParser.js"; +import { YearParser } from "./YearParser.js"; +import { LocalWeekYearParser } from "./LocalWeekYearParser.js"; +import { ISOWeekYearParser } from "./ISOWeekYearParser.js"; +import { ExtendedYearParser } from "./ExtendedYearParser.js"; +import { QuarterParser } from "./QuarterParser.js"; +import { StandAloneQuarterParser } from "./StandAloneQuarterParser.js"; +import { MonthParser } from "./MonthParser.js"; +import { StandAloneMonthParser } from "./StandAloneMonthParser.js"; +import { LocalWeekParser } from "./LocalWeekParser.js"; +import { ISOWeekParser } from "./ISOWeekParser.js"; +import { DateParser } from "./DateParser.js"; +import { DayOfYearParser } from "./DayOfYearParser.js"; +import { DayParser } from "./DayParser.js"; +import { LocalDayParser } from "./LocalDayParser.js"; +import { StandAloneLocalDayParser } from "./StandAloneLocalDayParser.js"; +import { ISODayParser } from "./ISODayParser.js"; +import { AMPMParser } from "./AMPMParser.js"; +import { AMPMMidnightParser } from "./AMPMMidnightParser.js"; +import { DayPeriodParser } from "./DayPeriodParser.js"; +import { Hour1to12Parser } from "./Hour1to12Parser.js"; +import { Hour0to23Parser } from "./Hour0to23Parser.js"; +import { Hour0To11Parser } from "./Hour0To11Parser.js"; +import { Hour1To24Parser } from "./Hour1To24Parser.js"; +import { MinuteParser } from "./MinuteParser.js"; +import { SecondParser } from "./SecondParser.js"; +import { FractionOfSecondParser } from "./FractionOfSecondParser.js"; +import { ISOTimezoneWithZParser } from "./ISOTimezoneWithZParser.js"; +import { ISOTimezoneParser } from "./ISOTimezoneParser.js"; +import { TimestampSecondsParser } from "./TimestampSecondsParser.js"; +import { TimestampMillisecondsParser } from "./TimestampMillisecondsParser.js"; +/* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | Milliseconds in day | + * | b | AM, PM, noon, midnight | B | Flexible day period | + * | c | Stand-alone local day of week | C* | Localized hour w/ day period | + * | d | Day of month | D | Day of year | + * | e | Local day of week | E | Day of week | + * | f | | F* | Day of week in month | + * | g* | Modified Julian day | G | Era | + * | h | Hour [1-12] | H | Hour [0-23] | + * | i! | ISO day of week | I! | ISO week of year | + * | j* | Localized hour w/ day period | J* | Localized hour w/o day period | + * | k | Hour [1-24] | K | Hour [0-11] | + * | l* | (deprecated) | L | Stand-alone month | + * | m | Minute | M | Month | + * | n | | N | | + * | o! | Ordinal number modifier | O* | Timezone (GMT) | + * | p | | P | | + * | q | Stand-alone quarter | Q | Quarter | + * | r* | Related Gregorian year | R! | ISO week-numbering year | + * | s | Second | S | Fraction of second | + * | t! | Seconds timestamp | T! | Milliseconds timestamp | + * | u | Extended year | U* | Cyclic year | + * | v* | Timezone (generic non-locat.) | V* | Timezone (location) | + * | w | Local week of year | W* | Week of month | + * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) | + * | y | Year (abs) | Y | Local week-numbering year | + * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + * + * Letters marked by ! are non-standard, but implemented by date-fns: + * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs) + * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days, + * i.e. 7 for Sunday, 1 for Monday, etc. + * - `I` is ISO week of year, as opposed to `w` which is local week of year. + * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year. + * `R` is supposed to be used in conjunction with `I` and `i` + * for universal ISO week-numbering date, whereas + * `Y` is supposed to be used in conjunction with `w` and `e` + * for week-numbering date specific to the locale. + */ +export var parsers = { + G: new EraParser(), + y: new YearParser(), + Y: new LocalWeekYearParser(), + R: new ISOWeekYearParser(), + u: new ExtendedYearParser(), + Q: new QuarterParser(), + q: new StandAloneQuarterParser(), + M: new MonthParser(), + L: new StandAloneMonthParser(), + w: new LocalWeekParser(), + I: new ISOWeekParser(), + d: new DateParser(), + D: new DayOfYearParser(), + E: new DayParser(), + e: new LocalDayParser(), + c: new StandAloneLocalDayParser(), + i: new ISODayParser(), + a: new AMPMParser(), + b: new AMPMMidnightParser(), + B: new DayPeriodParser(), + h: new Hour1to12Parser(), + H: new Hour0to23Parser(), + K: new Hour0To11Parser(), + k: new Hour1To24Parser(), + m: new MinuteParser(), + s: new SecondParser(), + S: new FractionOfSecondParser(), + X: new ISOTimezoneWithZParser(), + x: new ISOTimezoneParser(), + t: new TimestampSecondsParser(), + T: new TimestampMillisecondsParser() +}; \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/types.js b/node_modules/date-fns/esm/parse/_lib/types.js new file mode 100644 index 000000000..8cec2e9ce --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/types.js @@ -0,0 +1 @@ +export {}; \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/_lib/utils.js b/node_modules/date-fns/esm/parse/_lib/utils.js new file mode 100644 index 000000000..1a855a3e2 --- /dev/null +++ b/node_modules/date-fns/esm/parse/_lib/utils.js @@ -0,0 +1,112 @@ +import { millisecondsInHour, millisecondsInMinute, millisecondsInSecond } from "../../constants/index.js"; +import { numericPatterns } from "./constants.js"; +export function mapValue(parseFnResult, mapFn) { + if (!parseFnResult) { + return parseFnResult; + } + return { + value: mapFn(parseFnResult.value), + rest: parseFnResult.rest + }; +} +export function parseNumericPattern(pattern, dateString) { + var matchResult = dateString.match(pattern); + if (!matchResult) { + return null; + } + return { + value: parseInt(matchResult[0], 10), + rest: dateString.slice(matchResult[0].length) + }; +} +export function parseTimezonePattern(pattern, dateString) { + var matchResult = dateString.match(pattern); + if (!matchResult) { + return null; + } + + // Input is 'Z' + if (matchResult[0] === 'Z') { + return { + value: 0, + rest: dateString.slice(1) + }; + } + var sign = matchResult[1] === '+' ? 1 : -1; + var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0; + var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0; + var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0; + return { + value: sign * (hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * millisecondsInSecond), + rest: dateString.slice(matchResult[0].length) + }; +} +export function parseAnyDigitsSigned(dateString) { + return parseNumericPattern(numericPatterns.anyDigitsSigned, dateString); +} +export function parseNDigits(n, dateString) { + switch (n) { + case 1: + return parseNumericPattern(numericPatterns.singleDigit, dateString); + case 2: + return parseNumericPattern(numericPatterns.twoDigits, dateString); + case 3: + return parseNumericPattern(numericPatterns.threeDigits, dateString); + case 4: + return parseNumericPattern(numericPatterns.fourDigits, dateString); + default: + return parseNumericPattern(new RegExp('^\\d{1,' + n + '}'), dateString); + } +} +export function parseNDigitsSigned(n, dateString) { + switch (n) { + case 1: + return parseNumericPattern(numericPatterns.singleDigitSigned, dateString); + case 2: + return parseNumericPattern(numericPatterns.twoDigitsSigned, dateString); + case 3: + return parseNumericPattern(numericPatterns.threeDigitsSigned, dateString); + case 4: + return parseNumericPattern(numericPatterns.fourDigitsSigned, dateString); + default: + return parseNumericPattern(new RegExp('^-?\\d{1,' + n + '}'), dateString); + } +} +export function dayPeriodEnumToHours(dayPeriod) { + switch (dayPeriod) { + case 'morning': + return 4; + case 'evening': + return 17; + case 'pm': + case 'noon': + case 'afternoon': + return 12; + case 'am': + case 'midnight': + case 'night': + default: + return 0; + } +} +export function normalizeTwoDigitYear(twoDigitYear, currentYear) { + var isCommonEra = currentYear > 0; + // Absolute number of the current year: + // 1 -> 1 AC + // 0 -> 1 BC + // -1 -> 2 BC + var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear; + var result; + if (absCurrentYear <= 50) { + result = twoDigitYear || 100; + } else { + var rangeEnd = absCurrentYear + 50; + var rangeEndCentury = Math.floor(rangeEnd / 100) * 100; + var isPreviousCentury = twoDigitYear >= rangeEnd % 100; + result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0); + } + return isCommonEra ? result : 1 - result; +} +export function isLeapYearIndex(year) { + return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/index.d.ts b/node_modules/date-fns/esm/parse/index.d.ts new file mode 100644 index 000000000..2c5eb60d5 --- /dev/null +++ b/node_modules/date-fns/esm/parse/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parse } from 'date-fns' +export default parse diff --git a/node_modules/date-fns/esm/parse/index.js b/node_modules/date-fns/esm/parse/index.js new file mode 100644 index 000000000..f6cdb0fff --- /dev/null +++ b/node_modules/date-fns/esm/parse/index.js @@ -0,0 +1,505 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import _createForOfIteratorHelper from "@babel/runtime/helpers/esm/createForOfIteratorHelper"; +import defaultLocale from "../_lib/defaultLocale/index.js"; +import subMilliseconds from "../subMilliseconds/index.js"; +import toDate from "../toDate/index.js"; +import assign from "../_lib/assign/index.js"; +import longFormatters from "../_lib/format/longFormatters/index.js"; +import getTimezoneOffsetInMilliseconds from "../_lib/getTimezoneOffsetInMilliseconds/index.js"; +import { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from "../_lib/protectedTokens/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { DateToSystemTimezoneSetter } from "./_lib/Setter.js"; +import { parsers } from "./_lib/parsers/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; // This RegExp consists of three parts separated by `|`: +// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token +// (one of the certain letters followed by `o`) +// - (\w)\1* matches any sequences of the same letter +// - '' matches two quote characters in a row +// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), +// except a single quote symbol, which ends the sequence. +// Two quote characters do not end the sequence. +// If there is no matching single quote +// then the sequence will continue until the end of the string. +// - . matches any single character unmatched by previous parts of the RegExps +var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; + +// This RegExp catches symbols escaped by quotes, and also +// sequences of symbols P, p, and the combinations like `PPPPPPPppppp` +var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g; +var escapedStringRegExp = /^'([^]*?)'?$/; +var doubleQuoteRegExp = /''/g; +var notWhitespaceRegExp = /\S/; +var unescapedLatinCharacterRegExp = /[a-zA-Z]/; + +/** + * @name parse + * @category Common Helpers + * @summary Parse the date. + * + * @description + * Return the date parsed from string using the given format string. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * parse('23 AM', 'HH a', new Date()) + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Sun | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Sun | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Sun | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `parse` will try to match both formatting and stand-alone units interchangably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `parse` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00` + * + * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00` + * + * while `uu` will just assign the year as is: + * + * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00` + * + * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear} + * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be assigned to the date in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year), + * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing. + * + * `referenceDate` must be passed for correct work of the function. + * If you're not sure which `referenceDate` to supply, create a new instance of Date: + * `parse('02/11/2014', 'MM/dd/yyyy', new Date())` + * In this case parsing will be done in the context of the current date. + * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`, + * then `Invalid Date` will be returned. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * If parsing failed, `Invalid Date` will be returned. + * Invalid Date is a Date, whose time value is NaN. + * Time value of Date: http://es5.github.io/#x15.9.1.1 + * + * @param {String} dateString - the string to parse + * @param {String} formatString - the string of tokens + * @param {Date|Number} referenceDate - defines values missing from the parsed dateString + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @returns {Date} the parsed date + * @throws {TypeError} 3 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} `options.locale` must contain `match` property + * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * // Parse 11 February 2014 from middle-endian format: + * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date()) + * //=> Tue Feb 11 2014 00:00:00 + * + * @example + * // Parse 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * var result = parse('28-a de februaro', "do 'de' MMMM", new Date(2010, 0, 1), { + * locale: eo + * }) + * //=> Sun Feb 28 2010 00:00:00 + */ +export default function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options) { + var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4; + requiredArgs(3, arguments); + var dateString = String(dirtyDateString); + var formatString = String(dirtyFormatString); + var defaultOptions = getDefaultOptions(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale; + if (!locale.match) { + throw new RangeError('locale must contain match property'); + } + var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + if (formatString === '') { + if (dateString === '') { + return toDate(dirtyReferenceDate); + } else { + return new Date(NaN); + } + } + var subFnOptions = { + firstWeekContainsDate: firstWeekContainsDate, + weekStartsOn: weekStartsOn, + locale: locale + }; + + // If timezone isn't specified, it will be set to the system timezone + var setters = [new DateToSystemTimezoneSetter()]; + var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) { + var firstCharacter = substring[0]; + if (firstCharacter in longFormatters) { + var longFormatter = longFormatters[firstCharacter]; + return longFormatter(substring, locale.formatLong); + } + return substring; + }).join('').match(formattingTokensRegExp); + var usedTokens = []; + var _iterator = _createForOfIteratorHelper(tokens), + _step; + try { + var _loop = function _loop() { + var token = _step.value; + if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token)) { + throwProtectedError(token, formatString, dirtyDateString); + } + if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) { + throwProtectedError(token, formatString, dirtyDateString); + } + var firstCharacter = token[0]; + var parser = parsers[firstCharacter]; + if (parser) { + var incompatibleTokens = parser.incompatibleTokens; + if (Array.isArray(incompatibleTokens)) { + var incompatibleToken = usedTokens.find(function (usedToken) { + return incompatibleTokens.includes(usedToken.token) || usedToken.token === firstCharacter; + }); + if (incompatibleToken) { + throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time")); + } + } else if (parser.incompatibleTokens === '*' && usedTokens.length > 0) { + throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time")); + } + usedTokens.push({ + token: firstCharacter, + fullToken: token + }); + var parseResult = parser.run(dateString, token, locale.match, subFnOptions); + if (!parseResult) { + return { + v: new Date(NaN) + }; + } + setters.push(parseResult.setter); + dateString = parseResult.rest; + } else { + if (firstCharacter.match(unescapedLatinCharacterRegExp)) { + throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`'); + } + + // Replace two single quote characters with one single quote character + if (token === "''") { + token = "'"; + } else if (firstCharacter === "'") { + token = cleanEscapedString(token); + } + + // Cut token from string, or, if string doesn't match the token, return Invalid Date + if (dateString.indexOf(token) === 0) { + dateString = dateString.slice(token.length); + } else { + return { + v: new Date(NaN) + }; + } + } + }; + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _ret = _loop(); + if (_typeof(_ret) === "object") return _ret.v; + } + + // Check if the remaining input contains something other than whitespace + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) { + return new Date(NaN); + } + var uniquePrioritySetters = setters.map(function (setter) { + return setter.priority; + }).sort(function (a, b) { + return b - a; + }).filter(function (priority, index, array) { + return array.indexOf(priority) === index; + }).map(function (priority) { + return setters.filter(function (setter) { + return setter.priority === priority; + }).sort(function (a, b) { + return b.subPriority - a.subPriority; + }); + }).map(function (setterArray) { + return setterArray[0]; + }); + var date = toDate(dirtyReferenceDate); + if (isNaN(date.getTime())) { + return new Date(NaN); + } + + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date)); + var flags = {}; + var _iterator2 = _createForOfIteratorHelper(uniquePrioritySetters), + _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var setter = _step2.value; + if (!setter.validate(utcDate, subFnOptions)) { + return new Date(NaN); + } + var result = setter.set(utcDate, flags, subFnOptions); + // Result is tuple (date, flags) + if (Array.isArray(result)) { + utcDate = result[0]; + assign(flags, result[1]); + // Result is date + } else { + utcDate = result; + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + return utcDate; +} +function cleanEscapedString(input) { + return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'"); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parse/index.js.flow b/node_modules/date-fns/esm/parse/index.js.flow new file mode 100644 index 000000000..f8e1cfe9d --- /dev/null +++ b/node_modules/date-fns/esm/parse/index.js.flow @@ -0,0 +1,63 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } +) => Date diff --git a/node_modules/date-fns/esm/parse/package.json b/node_modules/date-fns/esm/parse/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/parse/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parseISO/index.d.ts b/node_modules/date-fns/esm/parseISO/index.d.ts new file mode 100644 index 000000000..ee06fe62e --- /dev/null +++ b/node_modules/date-fns/esm/parseISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseISO } from 'date-fns' +export default parseISO diff --git a/node_modules/date-fns/esm/parseISO/index.js b/node_modules/date-fns/esm/parseISO/index.js new file mode 100644 index 000000000..0ff29a362 --- /dev/null +++ b/node_modules/date-fns/esm/parseISO/index.js @@ -0,0 +1,228 @@ +import { millisecondsInHour, millisecondsInMinute } from "../constants/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name parseISO + * @category Common Helpers + * @summary Parse ISO string + * + * @description + * Parse the given string in ISO 8601 format and return an instance of Date. + * + * Function accepts complete ISO 8601 formats as well as partial implementations. + * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601 + * + * If the argument isn't a string, the function cannot parse the string or + * the values are invalid, it returns Invalid Date. + * + * @param {String} argument - the value to convert + * @param {Object} [options] - an object with options. + * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Convert string '2014-02-11T11:30:30' to date: + * const result = parseISO('2014-02-11T11:30:30') + * //=> Tue Feb 11 2014 11:30:30 + * + * @example + * // Convert string '+02014101' to date, + * // if the additional number of digits in the extended year format is 1: + * const result = parseISO('+02014101', { additionalDigits: 1 }) + * //=> Fri Apr 11 2014 00:00:00 + */ +export default function parseISO(argument, options) { + var _options$additionalDi; + requiredArgs(1, arguments); + var additionalDigits = toInteger((_options$additionalDi = options === null || options === void 0 ? void 0 : options.additionalDigits) !== null && _options$additionalDi !== void 0 ? _options$additionalDi : 2); + if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) { + throw new RangeError('additionalDigits must be 0, 1 or 2'); + } + if (!(typeof argument === 'string' || Object.prototype.toString.call(argument) === '[object String]')) { + return new Date(NaN); + } + var dateStrings = splitDateString(argument); + var date; + if (dateStrings.date) { + var parseYearResult = parseYear(dateStrings.date, additionalDigits); + date = parseDate(parseYearResult.restDateString, parseYearResult.year); + } + if (!date || isNaN(date.getTime())) { + return new Date(NaN); + } + var timestamp = date.getTime(); + var time = 0; + var offset; + if (dateStrings.time) { + time = parseTime(dateStrings.time); + if (isNaN(time)) { + return new Date(NaN); + } + } + if (dateStrings.timezone) { + offset = parseTimezone(dateStrings.timezone); + if (isNaN(offset)) { + return new Date(NaN); + } + } else { + var dirtyDate = new Date(timestamp + time); + // js parsed string assuming it's in UTC timezone + // but we need it to be parsed in our timezone + // so we use utc values to build date in our timezone. + // Year values from 0 to 99 map to the years 1900 to 1999 + // so set year explicitly with setFullYear. + var result = new Date(0); + result.setFullYear(dirtyDate.getUTCFullYear(), dirtyDate.getUTCMonth(), dirtyDate.getUTCDate()); + result.setHours(dirtyDate.getUTCHours(), dirtyDate.getUTCMinutes(), dirtyDate.getUTCSeconds(), dirtyDate.getUTCMilliseconds()); + return result; + } + return new Date(timestamp + time + offset); +} +var patterns = { + dateTimeDelimiter: /[T ]/, + timeZoneDelimiter: /[Z ]/i, + timezone: /([Z+-].*)$/ +}; +var dateRegex = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/; +var timeRegex = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/; +var timezoneRegex = /^([+-])(\d{2})(?::?(\d{2}))?$/; +function splitDateString(dateString) { + var dateStrings = {}; + var array = dateString.split(patterns.dateTimeDelimiter); + var timeString; + + // The regex match should only return at maximum two array elements. + // [date], [time], or [date, time]. + if (array.length > 2) { + return dateStrings; + } + if (/:/.test(array[0])) { + timeString = array[0]; + } else { + dateStrings.date = array[0]; + timeString = array[1]; + if (patterns.timeZoneDelimiter.test(dateStrings.date)) { + dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0]; + timeString = dateString.substr(dateStrings.date.length, dateString.length); + } + } + if (timeString) { + var token = patterns.timezone.exec(timeString); + if (token) { + dateStrings.time = timeString.replace(token[1], ''); + dateStrings.timezone = token[1]; + } else { + dateStrings.time = timeString; + } + } + return dateStrings; +} +function parseYear(dateString, additionalDigits) { + var regex = new RegExp('^(?:(\\d{4}|[+-]\\d{' + (4 + additionalDigits) + '})|(\\d{2}|[+-]\\d{' + (2 + additionalDigits) + '})$)'); + var captures = dateString.match(regex); + // Invalid ISO-formatted year + if (!captures) return { + year: NaN, + restDateString: '' + }; + var year = captures[1] ? parseInt(captures[1]) : null; + var century = captures[2] ? parseInt(captures[2]) : null; + + // either year or century is null, not both + return { + year: century === null ? year : century * 100, + restDateString: dateString.slice((captures[1] || captures[2]).length) + }; +} +function parseDate(dateString, year) { + // Invalid ISO-formatted year + if (year === null) return new Date(NaN); + var captures = dateString.match(dateRegex); + // Invalid ISO-formatted string + if (!captures) return new Date(NaN); + var isWeekDate = !!captures[4]; + var dayOfYear = parseDateUnit(captures[1]); + var month = parseDateUnit(captures[2]) - 1; + var day = parseDateUnit(captures[3]); + var week = parseDateUnit(captures[4]); + var dayOfWeek = parseDateUnit(captures[5]) - 1; + if (isWeekDate) { + if (!validateWeekDate(year, week, dayOfWeek)) { + return new Date(NaN); + } + return dayOfISOWeekYear(year, week, dayOfWeek); + } else { + var date = new Date(0); + if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) { + return new Date(NaN); + } + date.setUTCFullYear(year, month, Math.max(dayOfYear, day)); + return date; + } +} +function parseDateUnit(value) { + return value ? parseInt(value) : 1; +} +function parseTime(timeString) { + var captures = timeString.match(timeRegex); + if (!captures) return NaN; // Invalid ISO-formatted time + + var hours = parseTimeUnit(captures[1]); + var minutes = parseTimeUnit(captures[2]); + var seconds = parseTimeUnit(captures[3]); + if (!validateTime(hours, minutes, seconds)) { + return NaN; + } + return hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * 1000; +} +function parseTimeUnit(value) { + return value && parseFloat(value.replace(',', '.')) || 0; +} +function parseTimezone(timezoneString) { + if (timezoneString === 'Z') return 0; + var captures = timezoneString.match(timezoneRegex); + if (!captures) return 0; + var sign = captures[1] === '+' ? -1 : 1; + var hours = parseInt(captures[2]); + var minutes = captures[3] && parseInt(captures[3]) || 0; + if (!validateTimezone(hours, minutes)) { + return NaN; + } + return sign * (hours * millisecondsInHour + minutes * millisecondsInMinute); +} +function dayOfISOWeekYear(isoWeekYear, week, day) { + var date = new Date(0); + date.setUTCFullYear(isoWeekYear, 0, 4); + var fourthOfJanuaryDay = date.getUTCDay() || 7; + var diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; +} + +// Validation functions + +// February is null to handle the leap year (using ||) +var daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +function isLeapYearIndex(year) { + return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; +} +function validateDate(year, month, date) { + return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28)); +} +function validateDayOfYearDate(year, dayOfYear) { + return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365); +} +function validateWeekDate(_year, week, day) { + return week >= 1 && week <= 53 && day >= 0 && day <= 6; +} +function validateTime(hours, minutes, seconds) { + if (hours === 24) { + return minutes === 0 && seconds === 0; + } + return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25; +} +function validateTimezone(_hours, minutes) { + return minutes >= 0 && minutes <= 59; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parseISO/index.js.flow b/node_modules/date-fns/esm/parseISO/index.js.flow new file mode 100644 index 000000000..951a222e9 --- /dev/null +++ b/node_modules/date-fns/esm/parseISO/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2, + } +) => Date diff --git a/node_modules/date-fns/esm/parseISO/package.json b/node_modules/date-fns/esm/parseISO/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/parseISO/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parseJSON/index.d.ts b/node_modules/date-fns/esm/parseJSON/index.d.ts new file mode 100644 index 000000000..b6b186d83 --- /dev/null +++ b/node_modules/date-fns/esm/parseJSON/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseJSON } from 'date-fns' +export default parseJSON diff --git a/node_modules/date-fns/esm/parseJSON/index.js b/node_modules/date-fns/esm/parseJSON/index.js new file mode 100644 index 000000000..8ac44576e --- /dev/null +++ b/node_modules/date-fns/esm/parseJSON/index.js @@ -0,0 +1,48 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name parseJSON + * @category Common Helpers + * @summary Parse a JSON date string + * + * @description + * Converts a complete ISO date string in UTC time, the typical format for transmitting + * a date in JSON, to a JavaScript `Date` instance. + * + * This is a minimal implementation for converting dates retrieved from a JSON API to + * a `Date` instance which can be used with other functions in the `date-fns` library. + * The following formats are supported: + * + * - `2000-03-15T05:20:10.123Z`: The output of `.toISOString()` and `JSON.stringify(new Date())` + * - `2000-03-15T05:20:10Z`: Without milliseconds + * - `2000-03-15T05:20:10+00:00`: With a zero offset, the default JSON encoded format in some other languages + * - `2000-03-15T05:20:10+05:45`: With a positive or negative offset, the default JSON encoded format in some other languages + * - `2000-03-15T05:20:10+0000`: With a zero offset without a colon + * - `2000-03-15T05:20:10`: Without a trailing 'Z' symbol + * - `2000-03-15T05:20:10.1234567`: Up to 7 digits in milliseconds field. Only first 3 are taken into account since JS does not allow fractional milliseconds + * - `2000-03-15 05:20:10`: With a space instead of a 'T' separator for APIs returning a SQL date without reformatting + * + * For convenience and ease of use these other input types are also supported + * via [toDate]{@link https://date-fns.org/docs/toDate}: + * + * - A `Date` instance will be cloned + * - A `number` will be treated as a timestamp + * + * Any other input type or invalid date strings will return an `Invalid Date`. + * + * @param {String|Number|Date} argument A fully formed ISO8601 date string to convert + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + */ +export default function parseJSON(argument) { + requiredArgs(1, arguments); + if (typeof argument === 'string') { + var parts = argument.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/); + if (parts) { + // Group 8 matches the sign + return new Date(Date.UTC(+parts[1], +parts[2] - 1, +parts[3], +parts[4] - (+parts[9] || 0) * (parts[8] == '-' ? -1 : 1), +parts[5] - (+parts[10] || 0) * (parts[8] == '-' ? -1 : 1), +parts[6], +((parts[7] || '0') + '00').substring(0, 3))); + } + return new Date(NaN); + } + return toDate(argument); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/parseJSON/index.js.flow b/node_modules/date-fns/esm/parseJSON/index.js.flow new file mode 100644 index 000000000..c4801bf39 --- /dev/null +++ b/node_modules/date-fns/esm/parseJSON/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (argument: string | number | Date) => Date diff --git a/node_modules/date-fns/esm/parseJSON/package.json b/node_modules/date-fns/esm/parseJSON/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/parseJSON/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousDay/index.d.ts b/node_modules/date-fns/esm/previousDay/index.d.ts new file mode 100644 index 000000000..0e6a8c997 --- /dev/null +++ b/node_modules/date-fns/esm/previousDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousDay } from 'date-fns' +export default previousDay diff --git a/node_modules/date-fns/esm/previousDay/index.js b/node_modules/date-fns/esm/previousDay/index.js new file mode 100644 index 000000000..fba92b415 --- /dev/null +++ b/node_modules/date-fns/esm/previousDay/index.js @@ -0,0 +1,32 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import getDay from "../getDay/index.js"; +import subDays from "../subDays/index.js"; +/** + * @name previousDay + * @category Weekday Helpers + * @summary When is the previous day of the week? + * + * @description + * When is the previous day of the week? 0-6 the day of the week, 0 represents Sunday. + * + * @param {Date | number} date - the date to check + * @param {number} day - day of the week + * @returns {Date} - the date is the previous day of week + * @throws {TypeError} - 2 arguments required + * + * @example + * // When is the previous Monday before Mar, 20, 2020? + * const result = previousDay(new Date(2020, 2, 20), 1) + * //=> Mon Mar 16 2020 00:00:00 + * + * @example + * // When is the previous Tuesday before Mar, 21, 2020? + * const result = previousDay(new Date(2020, 2, 21), 2) + * //=> Tue Mar 17 2020 00:00:00 + */ +export default function previousDay(date, day) { + requiredArgs(2, arguments); + var delta = getDay(date) - day; + if (delta <= 0) delta += 7; + return subDays(date, delta); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousDay/index.js.flow b/node_modules/date-fns/esm/previousDay/index.js.flow new file mode 100644 index 000000000..07b06297b --- /dev/null +++ b/node_modules/date-fns/esm/previousDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, day: number) => Date diff --git a/node_modules/date-fns/esm/previousDay/package.json b/node_modules/date-fns/esm/previousDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousFriday/index.d.ts b/node_modules/date-fns/esm/previousFriday/index.d.ts new file mode 100644 index 000000000..1d68bdfc0 --- /dev/null +++ b/node_modules/date-fns/esm/previousFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousFriday } from 'date-fns' +export default previousFriday diff --git a/node_modules/date-fns/esm/previousFriday/index.js b/node_modules/date-fns/esm/previousFriday/index.js new file mode 100644 index 000000000..3155dc9d7 --- /dev/null +++ b/node_modules/date-fns/esm/previousFriday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousFriday + * @category Weekday Helpers + * @summary When is the previous Friday? + * + * @description + * When is the previous Friday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Friday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Friday before Jun, 19, 2021? + * const result = previousFriday(new Date(2021, 5, 19)) + * //=> Fri June 18 2021 00:00:00 + */ +export default function previousFriday(date) { + requiredArgs(1, arguments); + return previousDay(date, 5); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousFriday/index.js.flow b/node_modules/date-fns/esm/previousFriday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousFriday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousFriday/package.json b/node_modules/date-fns/esm/previousFriday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousFriday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousMonday/index.d.ts b/node_modules/date-fns/esm/previousMonday/index.d.ts new file mode 100644 index 000000000..2bebd14b5 --- /dev/null +++ b/node_modules/date-fns/esm/previousMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousMonday } from 'date-fns' +export default previousMonday diff --git a/node_modules/date-fns/esm/previousMonday/index.js b/node_modules/date-fns/esm/previousMonday/index.js new file mode 100644 index 000000000..313f389d7 --- /dev/null +++ b/node_modules/date-fns/esm/previousMonday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousMonday + * @category Weekday Helpers + * @summary When is the previous Monday? + * + * @description + * When is the previous Monday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Monday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Monday before Jun, 18, 2021? + * const result = previousMonday(new Date(2021, 5, 18)) + * //=> Mon June 14 2021 00:00:00 + */ +export default function previousMonday(date) { + requiredArgs(1, arguments); + return previousDay(date, 1); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousMonday/index.js.flow b/node_modules/date-fns/esm/previousMonday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousMonday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousMonday/package.json b/node_modules/date-fns/esm/previousMonday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousMonday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousSaturday/index.d.ts b/node_modules/date-fns/esm/previousSaturday/index.d.ts new file mode 100644 index 000000000..a0c928951 --- /dev/null +++ b/node_modules/date-fns/esm/previousSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSaturday } from 'date-fns' +export default previousSaturday diff --git a/node_modules/date-fns/esm/previousSaturday/index.js b/node_modules/date-fns/esm/previousSaturday/index.js new file mode 100644 index 000000000..7122a2bda --- /dev/null +++ b/node_modules/date-fns/esm/previousSaturday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousSaturday + * @category Weekday Helpers + * @summary When is the previous Saturday? + * + * @description + * When is the previous Saturday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Saturday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Saturday before Jun, 20, 2021? + * const result = previousSaturday(new Date(2021, 5, 20)) + * //=> Sat June 19 2021 00:00:00 + */ +export default function previousSaturday(date) { + requiredArgs(1, arguments); + return previousDay(date, 6); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousSaturday/index.js.flow b/node_modules/date-fns/esm/previousSaturday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousSaturday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousSaturday/package.json b/node_modules/date-fns/esm/previousSaturday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousSaturday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousSunday/index.d.ts b/node_modules/date-fns/esm/previousSunday/index.d.ts new file mode 100644 index 000000000..79ba9a435 --- /dev/null +++ b/node_modules/date-fns/esm/previousSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSunday } from 'date-fns' +export default previousSunday diff --git a/node_modules/date-fns/esm/previousSunday/index.js b/node_modules/date-fns/esm/previousSunday/index.js new file mode 100644 index 000000000..8bb1d6587 --- /dev/null +++ b/node_modules/date-fns/esm/previousSunday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousSunday + * @category Weekday Helpers + * @summary When is the previous Sunday? + * + * @description + * When is the previous Sunday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Sunday before Jun, 21, 2021? + * const result = previousSunday(new Date(2021, 5, 21)) + * //=> Sun June 20 2021 00:00:00 + */ +export default function previousSunday(date) { + requiredArgs(1, arguments); + return previousDay(date, 0); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousSunday/index.js.flow b/node_modules/date-fns/esm/previousSunday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousSunday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousSunday/package.json b/node_modules/date-fns/esm/previousSunday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousSunday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousThursday/index.d.ts b/node_modules/date-fns/esm/previousThursday/index.d.ts new file mode 100644 index 000000000..ba1d22ab8 --- /dev/null +++ b/node_modules/date-fns/esm/previousThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousThursday } from 'date-fns' +export default previousThursday diff --git a/node_modules/date-fns/esm/previousThursday/index.js b/node_modules/date-fns/esm/previousThursday/index.js new file mode 100644 index 000000000..724fbcf5d --- /dev/null +++ b/node_modules/date-fns/esm/previousThursday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousThursday + * @category Weekday Helpers + * @summary When is the previous Thursday? + * + * @description + * When is the previous Thursday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Thursday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Thursday before Jun, 18, 2021? + * const result = previousThursday(new Date(2021, 5, 18)) + * //=> Thu June 17 2021 00:00:00 + */ +export default function previousThursday(date) { + requiredArgs(1, arguments); + return previousDay(date, 4); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousThursday/index.js.flow b/node_modules/date-fns/esm/previousThursday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousThursday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousThursday/package.json b/node_modules/date-fns/esm/previousThursday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousThursday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousTuesday/index.d.ts b/node_modules/date-fns/esm/previousTuesday/index.d.ts new file mode 100644 index 000000000..4c7094d13 --- /dev/null +++ b/node_modules/date-fns/esm/previousTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousTuesday } from 'date-fns' +export default previousTuesday diff --git a/node_modules/date-fns/esm/previousTuesday/index.js b/node_modules/date-fns/esm/previousTuesday/index.js new file mode 100644 index 000000000..807e61559 --- /dev/null +++ b/node_modules/date-fns/esm/previousTuesday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousTuesday + * @category Weekday Helpers + * @summary When is the previous Tuesday? + * + * @description + * When is the previous Tuesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Tuesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Tuesday before Jun, 18, 2021? + * const result = previousTuesday(new Date(2021, 5, 18)) + * //=> Tue June 15 2021 00:00:00 + */ +export default function previousTuesday(date) { + requiredArgs(1, arguments); + return previousDay(date, 2); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousTuesday/index.js.flow b/node_modules/date-fns/esm/previousTuesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousTuesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousTuesday/package.json b/node_modules/date-fns/esm/previousTuesday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousTuesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousWednesday/index.d.ts b/node_modules/date-fns/esm/previousWednesday/index.d.ts new file mode 100644 index 000000000..28010ea3c --- /dev/null +++ b/node_modules/date-fns/esm/previousWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousWednesday } from 'date-fns' +export default previousWednesday diff --git a/node_modules/date-fns/esm/previousWednesday/index.js b/node_modules/date-fns/esm/previousWednesday/index.js new file mode 100644 index 000000000..fbc155603 --- /dev/null +++ b/node_modules/date-fns/esm/previousWednesday/index.js @@ -0,0 +1,23 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import previousDay from "../previousDay/index.js"; +/** + * @name previousWednesday + * @category Weekday Helpers + * @summary When is the previous Wednesday? + * + * @description + * When is the previous Wednesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Wednesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Wednesday before Jun, 18, 2021? + * const result = previousWednesday(new Date(2021, 5, 18)) + * //=> Wed June 16 2021 00:00:00 + */ +export default function previousWednesday(date) { + requiredArgs(1, arguments); + return previousDay(date, 3); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/previousWednesday/index.js.flow b/node_modules/date-fns/esm/previousWednesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/previousWednesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/previousWednesday/package.json b/node_modules/date-fns/esm/previousWednesday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/previousWednesday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/quartersToMonths/index.d.ts b/node_modules/date-fns/esm/quartersToMonths/index.d.ts new file mode 100644 index 000000000..d2df2e17b --- /dev/null +++ b/node_modules/date-fns/esm/quartersToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToMonths } from 'date-fns' +export default quartersToMonths diff --git a/node_modules/date-fns/esm/quartersToMonths/index.js b/node_modules/date-fns/esm/quartersToMonths/index.js new file mode 100644 index 000000000..bdaa38341 --- /dev/null +++ b/node_modules/date-fns/esm/quartersToMonths/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { monthsInQuarter } from "../constants/index.js"; +/** + * @name quartersToMonths + * @category Conversion Helpers + * @summary Convert number of quarters to months. + * + * @description + * Convert a number of quarters to a full number of months. + * + * @param {number} quarters - number of quarters to be converted + * + * @returns {number} the number of quarters converted in months + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 quarters to months + * const result = quartersToMonths(2) + * //=> 6 + */ +export default function quartersToMonths(quarters) { + requiredArgs(1, arguments); + return Math.floor(quarters * monthsInQuarter); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/quartersToMonths/index.js.flow b/node_modules/date-fns/esm/quartersToMonths/index.js.flow new file mode 100644 index 000000000..822592331 --- /dev/null +++ b/node_modules/date-fns/esm/quartersToMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (quarters: number) => number diff --git a/node_modules/date-fns/esm/quartersToMonths/package.json b/node_modules/date-fns/esm/quartersToMonths/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/quartersToMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/quartersToYears/index.d.ts b/node_modules/date-fns/esm/quartersToYears/index.d.ts new file mode 100644 index 000000000..124903788 --- /dev/null +++ b/node_modules/date-fns/esm/quartersToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToYears } from 'date-fns' +export default quartersToYears diff --git a/node_modules/date-fns/esm/quartersToYears/index.js b/node_modules/date-fns/esm/quartersToYears/index.js new file mode 100644 index 000000000..338d2b76b --- /dev/null +++ b/node_modules/date-fns/esm/quartersToYears/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { quartersInYear } from "../constants/index.js"; +/** + * @name quartersToYears + * @category Conversion Helpers + * @summary Convert number of quarters to years. + * + * @description + * Convert a number of quarters to a full number of years. + * + * @param {number} quarters - number of quarters to be converted + * + * @returns {number} the number of quarters converted in years + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 8 quarters to years + * const result = quartersToYears(8) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = quartersToYears(11) + * //=> 2 + */ +export default function quartersToYears(quarters) { + requiredArgs(1, arguments); + var years = quarters / quartersInYear; + return Math.floor(years); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/quartersToYears/index.js.flow b/node_modules/date-fns/esm/quartersToYears/index.js.flow new file mode 100644 index 000000000..822592331 --- /dev/null +++ b/node_modules/date-fns/esm/quartersToYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (quarters: number) => number diff --git a/node_modules/date-fns/esm/quartersToYears/package.json b/node_modules/date-fns/esm/quartersToYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/quartersToYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/roundToNearestMinutes/index.d.ts b/node_modules/date-fns/esm/roundToNearestMinutes/index.d.ts new file mode 100644 index 000000000..8e564916a --- /dev/null +++ b/node_modules/date-fns/esm/roundToNearestMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { roundToNearestMinutes } from 'date-fns' +export default roundToNearestMinutes diff --git a/node_modules/date-fns/esm/roundToNearestMinutes/index.js b/node_modules/date-fns/esm/roundToNearestMinutes/index.js new file mode 100644 index 000000000..bfac92945 --- /dev/null +++ b/node_modules/date-fns/esm/roundToNearestMinutes/index.js @@ -0,0 +1,49 @@ +import toDate from "../toDate/index.js"; +import { getRoundingMethod } from "../_lib/roundingMethods/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name roundToNearestMinutes + * @category Minute Helpers + * @summary Rounds the given date to the nearest minute + * + * @description + * Rounds the given date to the nearest minute (or number of minutes). + * Rounds up when the given date is exactly between the nearest round minutes. + * + * @param {Date|Number} date - the date to round + * @param {Object} [options] - an object with options. + * @param {Number} [options.nearestTo=1] - nearest number of minutes to round to. E.g. `15` to round to quarter hours. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Date} the new date rounded to the closest minute + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.nearestTo` must be between 1 and 30 + * + * @example + * // Round 10 July 2014 12:12:34 to nearest minute: + * const result = roundToNearestMinutes(new Date(2014, 6, 10, 12, 12, 34)) + * //=> Thu Jul 10 2014 12:13:00 + * + * @example + * // Round 10 July 2014 12:07:30 to nearest quarter hour: + * const result = roundToNearestMinutes(new Date(2014, 6, 10, 12, 12, 34), { nearestTo: 15 }) + * // rounds up because given date is exactly between 12:00:00 and 12:15:00 + * //=> Thu Jul 10 2014 12:15:00 + */ +export default function roundToNearestMinutes(dirtyDate, options) { + var _options$nearestTo; + if (arguments.length < 1) { + throw new TypeError('1 argument required, but only none provided present'); + } + var nearestTo = toInteger((_options$nearestTo = options === null || options === void 0 ? void 0 : options.nearestTo) !== null && _options$nearestTo !== void 0 ? _options$nearestTo : 1); + if (nearestTo < 1 || nearestTo > 30) { + throw new RangeError('`options.nearestTo` must be between 1 and 30'); + } + var date = toDate(dirtyDate); + var seconds = date.getSeconds(); // relevant if nearestTo is 1, which is the default case + var minutes = date.getMinutes() + seconds / 60; + var roundingMethod = getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod); + var roundedMinutes = roundingMethod(minutes / nearestTo) * nearestTo; + var remainderMinutes = minutes % nearestTo; + var addedMinutes = Math.round(remainderMinutes / nearestTo) * nearestTo; + return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), roundedMinutes + addedMinutes); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/roundToNearestMinutes/index.js.flow b/node_modules/date-fns/esm/roundToNearestMinutes/index.js.flow new file mode 100644 index 000000000..41b3dfa3d --- /dev/null +++ b/node_modules/date-fns/esm/roundToNearestMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + nearestTo?: number, + roundingMethod?: string, + } +) => Date diff --git a/node_modules/date-fns/esm/roundToNearestMinutes/package.json b/node_modules/date-fns/esm/roundToNearestMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/roundToNearestMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/secondsToHours/index.d.ts b/node_modules/date-fns/esm/secondsToHours/index.d.ts new file mode 100644 index 000000000..89fcc9a43 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToHours } from 'date-fns' +export default secondsToHours diff --git a/node_modules/date-fns/esm/secondsToHours/index.js b/node_modules/date-fns/esm/secondsToHours/index.js new file mode 100644 index 000000000..b890ab7e4 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToHours/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { secondsInHour } from "../constants/index.js"; +/** + * @name secondsToHours + * @category Conversion Helpers + * @summary Convert seconds to hours. + * + * @description + * Convert a number of seconds to a full number of hours. + * + * @param {number} seconds - number of seconds to be converted + * + * @returns {number} the number of seconds converted in hours + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 7200 seconds into hours + * const result = secondsToHours(7200) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = secondsToHours(7199) + * //=> 1 + */ +export default function secondsToHours(seconds) { + requiredArgs(1, arguments); + var hours = seconds / secondsInHour; + return Math.floor(hours); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/secondsToHours/index.js.flow b/node_modules/date-fns/esm/secondsToHours/index.js.flow new file mode 100644 index 000000000..371c79a32 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (seconds: number) => number diff --git a/node_modules/date-fns/esm/secondsToHours/package.json b/node_modules/date-fns/esm/secondsToHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/secondsToMilliseconds/index.d.ts b/node_modules/date-fns/esm/secondsToMilliseconds/index.d.ts new file mode 100644 index 000000000..a20803744 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMilliseconds } from 'date-fns' +export default secondsToMilliseconds diff --git a/node_modules/date-fns/esm/secondsToMilliseconds/index.js b/node_modules/date-fns/esm/secondsToMilliseconds/index.js new file mode 100644 index 000000000..cd45ed157 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMilliseconds/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { millisecondsInSecond } from "../constants/index.js"; +/** + * @name secondsToMilliseconds + * @category Conversion Helpers + * @summary Convert seconds to milliseconds. + * + * @description + * Convert a number of seconds to a full number of milliseconds. + * + * @param {number} seconds - number of seconds to be converted + * + * @returns {number} the number of seconds converted in milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 seconds into milliseconds + * const result = secondsToMilliseconds(2) + * //=> 2000 + */ +export default function secondsToMilliseconds(seconds) { + requiredArgs(1, arguments); + return seconds * millisecondsInSecond; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/secondsToMilliseconds/index.js.flow b/node_modules/date-fns/esm/secondsToMilliseconds/index.js.flow new file mode 100644 index 000000000..371c79a32 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (seconds: number) => number diff --git a/node_modules/date-fns/esm/secondsToMilliseconds/package.json b/node_modules/date-fns/esm/secondsToMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/secondsToMinutes/index.d.ts b/node_modules/date-fns/esm/secondsToMinutes/index.d.ts new file mode 100644 index 000000000..22846dd3e --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMinutes } from 'date-fns' +export default secondsToMinutes diff --git a/node_modules/date-fns/esm/secondsToMinutes/index.js b/node_modules/date-fns/esm/secondsToMinutes/index.js new file mode 100644 index 000000000..9dc78f138 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMinutes/index.js @@ -0,0 +1,30 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { secondsInMinute } from "../constants/index.js"; +/** + * @name secondsToMinutes + * @category Conversion Helpers + * @summary Convert seconds to minutes. + * + * @description + * Convert a number of seconds to a full number of minutes. + * + * @param {number} seconds - number of seconds to be converted + * + * @returns {number} the number of seconds converted in minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 120 seconds into minutes + * const result = secondsToMinutes(120) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = secondsToMinutes(119) + * //=> 1 + */ +export default function secondsToMinutes(seconds) { + requiredArgs(1, arguments); + var minutes = seconds / secondsInMinute; + return Math.floor(minutes); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/secondsToMinutes/index.js.flow b/node_modules/date-fns/esm/secondsToMinutes/index.js.flow new file mode 100644 index 000000000..371c79a32 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (seconds: number) => number diff --git a/node_modules/date-fns/esm/secondsToMinutes/package.json b/node_modules/date-fns/esm/secondsToMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/secondsToMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/set/index.d.ts b/node_modules/date-fns/esm/set/index.d.ts new file mode 100644 index 000000000..d30347b60 --- /dev/null +++ b/node_modules/date-fns/esm/set/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { set } from 'date-fns' +export default set diff --git a/node_modules/date-fns/esm/set/index.js b/node_modules/date-fns/esm/set/index.js new file mode 100644 index 000000000..094704e8b --- /dev/null +++ b/node_modules/date-fns/esm/set/index.js @@ -0,0 +1,77 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import toDate from "../toDate/index.js"; +import setMonth from "../setMonth/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name set + * @category Common Helpers + * @summary Set date values to a given date. + * + * @description + * Set date values to a given date. + * + * Sets time values to date from object `values`. + * A value is not set if it is undefined or null or doesn't exist in `values`. + * + * Note about bundle size: `set` does not internally use `setX` functions from date-fns but instead opts + * to use native `Date#setX` methods. If you use this function, you may not want to include the + * other `setX` functions that date-fns provides if you are concerned about the bundle size. + * + * @param {Date|Number} date - the date to be changed + * @param {Object} values - an object with options + * @param {Number} [values.year] - the number of years to be set + * @param {Number} [values.month] - the number of months to be set + * @param {Number} [values.date] - the number of days to be set + * @param {Number} [values.hours] - the number of hours to be set + * @param {Number} [values.minutes] - the number of minutes to be set + * @param {Number} [values.seconds] - the number of seconds to be set + * @param {Number} [values.milliseconds] - the number of milliseconds to be set + * @returns {Date} the new date with options set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `values` must be an object + * + * @example + * // Transform 1 September 2014 into 20 October 2015 in a single line: + * const result = set(new Date(2014, 8, 20), { year: 2015, month: 9, date: 20 }) + * //=> Tue Oct 20 2015 00:00:00 + * + * @example + * // Set 12 PM to 1 September 2014 01:23:45 to 1 September 2014 12:00:00: + * const result = set(new Date(2014, 8, 1, 1, 23, 45), { hours: 12 }) + * //=> Mon Sep 01 2014 12:23:45 + */ +export default function set(dirtyDate, values) { + requiredArgs(2, arguments); + if (_typeof(values) !== 'object' || values === null) { + throw new RangeError('values parameter must be an object'); + } + var date = toDate(dirtyDate); + + // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date + if (isNaN(date.getTime())) { + return new Date(NaN); + } + if (values.year != null) { + date.setFullYear(values.year); + } + if (values.month != null) { + date = setMonth(date, values.month); + } + if (values.date != null) { + date.setDate(toInteger(values.date)); + } + if (values.hours != null) { + date.setHours(toInteger(values.hours)); + } + if (values.minutes != null) { + date.setMinutes(toInteger(values.minutes)); + } + if (values.seconds != null) { + date.setSeconds(toInteger(values.seconds)); + } + if (values.milliseconds != null) { + date.setMilliseconds(toInteger(values.milliseconds)); + } + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/set/index.js.flow b/node_modules/date-fns/esm/set/index.js.flow new file mode 100644 index 000000000..384f137c4 --- /dev/null +++ b/node_modules/date-fns/esm/set/index.js.flow @@ -0,0 +1,63 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + values: { + year?: number, + month?: number, + date?: number, + hours?: number, + minutes?: number, + seconds?: number, + milliseconds?: number, + } +) => Date diff --git a/node_modules/date-fns/esm/set/package.json b/node_modules/date-fns/esm/set/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/set/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDate/index.d.ts b/node_modules/date-fns/esm/setDate/index.d.ts new file mode 100644 index 000000000..677ea3049 --- /dev/null +++ b/node_modules/date-fns/esm/setDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDate } from 'date-fns' +export default setDate diff --git a/node_modules/date-fns/esm/setDate/index.js b/node_modules/date-fns/esm/setDate/index.js new file mode 100644 index 000000000..69e641fe3 --- /dev/null +++ b/node_modules/date-fns/esm/setDate/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setDate + * @category Day Helpers + * @summary Set the day of the month to the given date. + * + * @description + * Set the day of the month to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} dayOfMonth - the day of the month of the new date + * @returns {Date} the new date with the day of the month set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 30th day of the month to 1 September 2014: + * const result = setDate(new Date(2014, 8, 1), 30) + * //=> Tue Sep 30 2014 00:00:00 + */ +export default function setDate(dirtyDate, dirtyDayOfMonth) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var dayOfMonth = toInteger(dirtyDayOfMonth); + date.setDate(dayOfMonth); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDate/index.js.flow b/node_modules/date-fns/esm/setDate/index.js.flow new file mode 100644 index 000000000..8c9b8072a --- /dev/null +++ b/node_modules/date-fns/esm/setDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, dayOfMonth: number) => Date diff --git a/node_modules/date-fns/esm/setDate/package.json b/node_modules/date-fns/esm/setDate/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDay/index.d.ts b/node_modules/date-fns/esm/setDay/index.d.ts new file mode 100644 index 000000000..5b3d9d184 --- /dev/null +++ b/node_modules/date-fns/esm/setDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDay } from 'date-fns' +export default setDay diff --git a/node_modules/date-fns/esm/setDay/index.js b/node_modules/date-fns/esm/setDay/index.js new file mode 100644 index 000000000..a7205d6ad --- /dev/null +++ b/node_modules/date-fns/esm/setDay/index.js @@ -0,0 +1,51 @@ +import addDays from "../addDays/index.js"; +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +/** + * @name setDay + * @category Weekday Helpers + * @summary Set the day of the week to the given date. + * + * @description + * Set the day of the week to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} day - the day of the week of the new date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the new date with the day of the week set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // Set week day to Sunday, with the default weekStartsOn of Sunday: + * const result = setDay(new Date(2014, 8, 1), 0) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // Set week day to Sunday, with a weekStartsOn of Monday: + * const result = setDay(new Date(2014, 8, 1), 0, { weekStartsOn: 1 }) + * //=> Sun Sep 07 2014 00:00:00 + */ +export default function setDay(dirtyDate, dirtyDay, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(2, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = toDate(dirtyDate); + var day = toInteger(dirtyDay); + var currentDay = date.getDay(); + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + var delta = 7 - weekStartsOn; + var diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7; + return addDays(date, diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDay/index.js.flow b/node_modules/date-fns/esm/setDay/index.js.flow new file mode 100644 index 000000000..4a2d43d21 --- /dev/null +++ b/node_modules/date-fns/esm/setDay/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + day: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/esm/setDay/package.json b/node_modules/date-fns/esm/setDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDayOfYear/index.d.ts b/node_modules/date-fns/esm/setDayOfYear/index.d.ts new file mode 100644 index 000000000..5536c5726 --- /dev/null +++ b/node_modules/date-fns/esm/setDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDayOfYear } from 'date-fns' +export default setDayOfYear diff --git a/node_modules/date-fns/esm/setDayOfYear/index.js b/node_modules/date-fns/esm/setDayOfYear/index.js new file mode 100644 index 000000000..ad2f5f63d --- /dev/null +++ b/node_modules/date-fns/esm/setDayOfYear/index.js @@ -0,0 +1,29 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setDayOfYear + * @category Day Helpers + * @summary Set the day of the year to the given date. + * + * @description + * Set the day of the year to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} dayOfYear - the day of the year of the new date + * @returns {Date} the new date with the day of the year set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 2nd day of the year to 2 July 2014: + * const result = setDayOfYear(new Date(2014, 6, 2), 2) + * //=> Thu Jan 02 2014 00:00:00 + */ +export default function setDayOfYear(dirtyDate, dirtyDayOfYear) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var dayOfYear = toInteger(dirtyDayOfYear); + date.setMonth(0); + date.setDate(dayOfYear); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDayOfYear/index.js.flow b/node_modules/date-fns/esm/setDayOfYear/index.js.flow new file mode 100644 index 000000000..fc974d45d --- /dev/null +++ b/node_modules/date-fns/esm/setDayOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, dayOfYear: number) => Date diff --git a/node_modules/date-fns/esm/setDayOfYear/package.json b/node_modules/date-fns/esm/setDayOfYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setDayOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDefaultOptions/index.d.ts b/node_modules/date-fns/esm/setDefaultOptions/index.d.ts new file mode 100644 index 000000000..35cf7c8ca --- /dev/null +++ b/node_modules/date-fns/esm/setDefaultOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDefaultOptions } from 'date-fns' +export default setDefaultOptions diff --git a/node_modules/date-fns/esm/setDefaultOptions/index.js b/node_modules/date-fns/esm/setDefaultOptions/index.js new file mode 100644 index 000000000..7ae21e9ae --- /dev/null +++ b/node_modules/date-fns/esm/setDefaultOptions/index.js @@ -0,0 +1,73 @@ +import { getDefaultOptions, setDefaultOptions as setInternalDefaultOptions } from "../_lib/defaultOptions/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setDefaultOptions + * @category Common Helpers + * @summary Set default options including locale. + * @pure false + * + * @description + * Sets the defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * @param {Object} newOptions - an object with options. + * @param {Locale} [newOptions.locale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [newOptions.weekStartsOn] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [newOptions.firstWeekContainsDate] - the day of January, which is always in the first week of the year + * @throws {TypeError} 1 argument required + * + * @example + * // Set global locale: + * import { es } from 'date-fns/locale' + * setDefaultOptions({ locale: es }) + * const result = format(new Date(2014, 8, 2), 'PPPP') + * //=> 'martes, 2 de septiembre de 2014' + * + * @example + * // Start of the week for 2 September 2014: + * const result = startOfWeek(new Date(2014, 8, 2)) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // Start of the week for 2 September 2014, + * // when we set that week starts on Monday by default: + * setDefaultOptions({ weekStartsOn: 1 }) + * const result = startOfWeek(new Date(2014, 8, 2)) + * //=> Mon Sep 01 2014 00:00:00 + * + * @example + * // Manually set options take priority over default options: + * setDefaultOptions({ weekStartsOn: 1 }) + * const result = startOfWeek(new Date(2014, 8, 2), { weekStartsOn: 0 }) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // Remove the option by setting it to `undefined`: + * setDefaultOptions({ weekStartsOn: 1 }) + * setDefaultOptions({ weekStartsOn: undefined }) + * const result = startOfWeek(new Date(2014, 8, 2)) + * //=> Sun Aug 31 2014 00:00:00 + */ +export default function setDefaultOptions(newOptions) { + requiredArgs(1, arguments); + var result = {}; + var defaultOptions = getDefaultOptions(); + for (var property in defaultOptions) { + if (Object.prototype.hasOwnProperty.call(defaultOptions, property)) { + ; + result[property] = defaultOptions[property]; + } + } + for (var _property in newOptions) { + if (Object.prototype.hasOwnProperty.call(newOptions, _property)) { + if (newOptions[_property] === undefined) { + delete result[_property]; + } else { + ; + result[_property] = newOptions[_property]; + } + } + } + setInternalDefaultOptions(result); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setDefaultOptions/index.js.flow b/node_modules/date-fns/esm/setDefaultOptions/index.js.flow new file mode 100644 index 000000000..99f1582ae --- /dev/null +++ b/node_modules/date-fns/esm/setDefaultOptions/index.js.flow @@ -0,0 +1,56 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (newOptions: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, +}) => void diff --git a/node_modules/date-fns/esm/setDefaultOptions/package.json b/node_modules/date-fns/esm/setDefaultOptions/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setDefaultOptions/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setHours/index.d.ts b/node_modules/date-fns/esm/setHours/index.d.ts new file mode 100644 index 000000000..2709a3212 --- /dev/null +++ b/node_modules/date-fns/esm/setHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setHours } from 'date-fns' +export default setHours diff --git a/node_modules/date-fns/esm/setHours/index.js b/node_modules/date-fns/esm/setHours/index.js new file mode 100644 index 000000000..54501c8f5 --- /dev/null +++ b/node_modules/date-fns/esm/setHours/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setHours + * @category Hour Helpers + * @summary Set the hours to the given date. + * + * @description + * Set the hours to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} hours - the hours of the new date + * @returns {Date} the new date with the hours set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 4 hours to 1 September 2014 11:30:00: + * const result = setHours(new Date(2014, 8, 1, 11, 30), 4) + * //=> Mon Sep 01 2014 04:30:00 + */ +export default function setHours(dirtyDate, dirtyHours) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var hours = toInteger(dirtyHours); + date.setHours(hours); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setHours/index.js.flow b/node_modules/date-fns/esm/setHours/index.js.flow new file mode 100644 index 000000000..c9003bcd0 --- /dev/null +++ b/node_modules/date-fns/esm/setHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, hours: number) => Date diff --git a/node_modules/date-fns/esm/setHours/package.json b/node_modules/date-fns/esm/setHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setISODay/index.d.ts b/node_modules/date-fns/esm/setISODay/index.d.ts new file mode 100644 index 000000000..63fb67a88 --- /dev/null +++ b/node_modules/date-fns/esm/setISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISODay } from 'date-fns' +export default setISODay diff --git a/node_modules/date-fns/esm/setISODay/index.js b/node_modules/date-fns/esm/setISODay/index.js new file mode 100644 index 000000000..ccb9815e0 --- /dev/null +++ b/node_modules/date-fns/esm/setISODay/index.js @@ -0,0 +1,33 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import addDays from "../addDays/index.js"; +import getISODay from "../getISODay/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setISODay + * @category Weekday Helpers + * @summary Set the day of the ISO week to the given date. + * + * @description + * Set the day of the ISO week to the given date. + * ISO week starts with Monday. + * 7 is the index of Sunday, 1 is the index of Monday etc. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} day - the day of the ISO week of the new date + * @returns {Date} the new date with the day of the ISO week set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set Sunday to 1 September 2014: + * const result = setISODay(new Date(2014, 8, 1), 7) + * //=> Sun Sep 07 2014 00:00:00 + */ +export default function setISODay(dirtyDate, dirtyDay) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var day = toInteger(dirtyDay); + var currentDay = getISODay(date); + var diff = day - currentDay; + return addDays(date, diff); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setISODay/index.js.flow b/node_modules/date-fns/esm/setISODay/index.js.flow new file mode 100644 index 000000000..07b06297b --- /dev/null +++ b/node_modules/date-fns/esm/setISODay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, day: number) => Date diff --git a/node_modules/date-fns/esm/setISODay/package.json b/node_modules/date-fns/esm/setISODay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setISODay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setISOWeek/index.d.ts b/node_modules/date-fns/esm/setISOWeek/index.d.ts new file mode 100644 index 000000000..a2e797015 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeek } from 'date-fns' +export default setISOWeek diff --git a/node_modules/date-fns/esm/setISOWeek/index.js b/node_modules/date-fns/esm/setISOWeek/index.js new file mode 100644 index 000000000..fdf7b41e4 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeek/index.js @@ -0,0 +1,32 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import getISOWeek from "../getISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setISOWeek + * @category ISO Week Helpers + * @summary Set the ISO week to the given date. + * + * @description + * Set the ISO week to the given date, saving the weekday number. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} isoWeek - the ISO week of the new date + * @returns {Date} the new date with the ISO week set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 53rd ISO week to 7 August 2004: + * const result = setISOWeek(new Date(2004, 7, 7), 53) + * //=> Sat Jan 01 2005 00:00:00 + */ +export default function setISOWeek(dirtyDate, dirtyISOWeek) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var isoWeek = toInteger(dirtyISOWeek); + var diff = getISOWeek(date) - isoWeek; + date.setDate(date.getDate() - diff * 7); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setISOWeek/index.js.flow b/node_modules/date-fns/esm/setISOWeek/index.js.flow new file mode 100644 index 000000000..cf1ccb890 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, isoWeek: number) => Date diff --git a/node_modules/date-fns/esm/setISOWeek/package.json b/node_modules/date-fns/esm/setISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setISOWeekYear/index.d.ts b/node_modules/date-fns/esm/setISOWeekYear/index.d.ts new file mode 100644 index 000000000..ab8ea95b9 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeekYear } from 'date-fns' +export default setISOWeekYear diff --git a/node_modules/date-fns/esm/setISOWeekYear/index.js b/node_modules/date-fns/esm/setISOWeekYear/index.js new file mode 100644 index 000000000..e1c9f005f --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeekYear/index.js @@ -0,0 +1,38 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import startOfISOWeekYear from "../startOfISOWeekYear/index.js"; +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Set the ISO week-numbering year to the given date. + * + * @description + * Set the ISO week-numbering year to the given date, + * saving the week number and the weekday number. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} isoWeekYear - the ISO week-numbering year of the new date + * @returns {Date} the new date with the ISO week-numbering year set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set ISO week-numbering year 2007 to 29 December 2008: + * const result = setISOWeekYear(new Date(2008, 11, 29), 2007) + * //=> Mon Jan 01 2007 00:00:00 + */ +export default function setISOWeekYear(dirtyDate, dirtyISOWeekYear) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var isoWeekYear = toInteger(dirtyISOWeekYear); + var diff = differenceInCalendarDays(date, startOfISOWeekYear(date)); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setFullYear(isoWeekYear, 0, 4); + fourthOfJanuary.setHours(0, 0, 0, 0); + date = startOfISOWeekYear(fourthOfJanuary); + date.setDate(date.getDate() + diff); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setISOWeekYear/index.js.flow b/node_modules/date-fns/esm/setISOWeekYear/index.js.flow new file mode 100644 index 000000000..43beb6517 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, isoWeekYear: number) => Date diff --git a/node_modules/date-fns/esm/setISOWeekYear/package.json b/node_modules/date-fns/esm/setISOWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setMilliseconds/index.d.ts b/node_modules/date-fns/esm/setMilliseconds/index.d.ts new file mode 100644 index 000000000..04743a042 --- /dev/null +++ b/node_modules/date-fns/esm/setMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMilliseconds } from 'date-fns' +export default setMilliseconds diff --git a/node_modules/date-fns/esm/setMilliseconds/index.js b/node_modules/date-fns/esm/setMilliseconds/index.js new file mode 100644 index 000000000..36a716b32 --- /dev/null +++ b/node_modules/date-fns/esm/setMilliseconds/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setMilliseconds + * @category Millisecond Helpers + * @summary Set the milliseconds to the given date. + * + * @description + * Set the milliseconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} milliseconds - the milliseconds of the new date + * @returns {Date} the new date with the milliseconds set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 300 milliseconds to 1 September 2014 11:30:40.500: + * const result = setMilliseconds(new Date(2014, 8, 1, 11, 30, 40, 500), 300) + * //=> Mon Sep 01 2014 11:30:40.300 + */ +export default function setMilliseconds(dirtyDate, dirtyMilliseconds) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var milliseconds = toInteger(dirtyMilliseconds); + date.setMilliseconds(milliseconds); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setMilliseconds/index.js.flow b/node_modules/date-fns/esm/setMilliseconds/index.js.flow new file mode 100644 index 000000000..d9bc57fa7 --- /dev/null +++ b/node_modules/date-fns/esm/setMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, milliseconds: number) => Date diff --git a/node_modules/date-fns/esm/setMilliseconds/package.json b/node_modules/date-fns/esm/setMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setMinutes/index.d.ts b/node_modules/date-fns/esm/setMinutes/index.d.ts new file mode 100644 index 000000000..2732d479b --- /dev/null +++ b/node_modules/date-fns/esm/setMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMinutes } from 'date-fns' +export default setMinutes diff --git a/node_modules/date-fns/esm/setMinutes/index.js b/node_modules/date-fns/esm/setMinutes/index.js new file mode 100644 index 000000000..1972d1d78 --- /dev/null +++ b/node_modules/date-fns/esm/setMinutes/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setMinutes + * @category Minute Helpers + * @summary Set the minutes to the given date. + * + * @description + * Set the minutes to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} minutes - the minutes of the new date + * @returns {Date} the new date with the minutes set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 45 minutes to 1 September 2014 11:30:40: + * const result = setMinutes(new Date(2014, 8, 1, 11, 30, 40), 45) + * //=> Mon Sep 01 2014 11:45:40 + */ +export default function setMinutes(dirtyDate, dirtyMinutes) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var minutes = toInteger(dirtyMinutes); + date.setMinutes(minutes); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setMinutes/index.js.flow b/node_modules/date-fns/esm/setMinutes/index.js.flow new file mode 100644 index 000000000..5231232c0 --- /dev/null +++ b/node_modules/date-fns/esm/setMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, minutes: number) => Date diff --git a/node_modules/date-fns/esm/setMinutes/package.json b/node_modules/date-fns/esm/setMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setMonth/index.d.ts b/node_modules/date-fns/esm/setMonth/index.d.ts new file mode 100644 index 000000000..720d61c9c --- /dev/null +++ b/node_modules/date-fns/esm/setMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMonth } from 'date-fns' +export default setMonth diff --git a/node_modules/date-fns/esm/setMonth/index.js b/node_modules/date-fns/esm/setMonth/index.js new file mode 100644 index 000000000..0c8110401 --- /dev/null +++ b/node_modules/date-fns/esm/setMonth/index.js @@ -0,0 +1,37 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import getDaysInMonth from "../getDaysInMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setMonth + * @category Month Helpers + * @summary Set the month to the given date. + * + * @description + * Set the month to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} month - the month of the new date + * @returns {Date} the new date with the month set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set February to 1 September 2014: + * const result = setMonth(new Date(2014, 8, 1), 1) + * //=> Sat Feb 01 2014 00:00:00 + */ +export default function setMonth(dirtyDate, dirtyMonth) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var month = toInteger(dirtyMonth); + var year = date.getFullYear(); + var day = date.getDate(); + var dateWithDesiredMonth = new Date(0); + dateWithDesiredMonth.setFullYear(year, month, 15); + dateWithDesiredMonth.setHours(0, 0, 0, 0); + var daysInMonth = getDaysInMonth(dateWithDesiredMonth); + // Set the last day of the new month + // if the original date was the last day of the longer month + date.setMonth(month, Math.min(day, daysInMonth)); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setMonth/index.js.flow b/node_modules/date-fns/esm/setMonth/index.js.flow new file mode 100644 index 000000000..29bd4de2c --- /dev/null +++ b/node_modules/date-fns/esm/setMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, month: number) => Date diff --git a/node_modules/date-fns/esm/setMonth/package.json b/node_modules/date-fns/esm/setMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setQuarter/index.d.ts b/node_modules/date-fns/esm/setQuarter/index.d.ts new file mode 100644 index 000000000..7e98fc9e7 --- /dev/null +++ b/node_modules/date-fns/esm/setQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setQuarter } from 'date-fns' +export default setQuarter diff --git a/node_modules/date-fns/esm/setQuarter/index.js b/node_modules/date-fns/esm/setQuarter/index.js new file mode 100644 index 000000000..f10e4beeb --- /dev/null +++ b/node_modules/date-fns/esm/setQuarter/index.js @@ -0,0 +1,30 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import setMonth from "../setMonth/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setQuarter + * @category Quarter Helpers + * @summary Set the year quarter to the given date. + * + * @description + * Set the year quarter to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} quarter - the quarter of the new date + * @returns {Date} the new date with the quarter set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 2nd quarter to 2 July 2014: + * const result = setQuarter(new Date(2014, 6, 2), 2) + * //=> Wed Apr 02 2014 00:00:00 + */ +export default function setQuarter(dirtyDate, dirtyQuarter) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var quarter = toInteger(dirtyQuarter); + var oldQuarter = Math.floor(date.getMonth() / 3) + 1; + var diff = quarter - oldQuarter; + return setMonth(date, date.getMonth() + diff * 3); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setQuarter/index.js.flow b/node_modules/date-fns/esm/setQuarter/index.js.flow new file mode 100644 index 000000000..d0e4d51cc --- /dev/null +++ b/node_modules/date-fns/esm/setQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, quarter: number) => Date diff --git a/node_modules/date-fns/esm/setQuarter/package.json b/node_modules/date-fns/esm/setQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setSeconds/index.d.ts b/node_modules/date-fns/esm/setSeconds/index.d.ts new file mode 100644 index 000000000..a67a07f20 --- /dev/null +++ b/node_modules/date-fns/esm/setSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setSeconds } from 'date-fns' +export default setSeconds diff --git a/node_modules/date-fns/esm/setSeconds/index.js b/node_modules/date-fns/esm/setSeconds/index.js new file mode 100644 index 000000000..8e5ae67aa --- /dev/null +++ b/node_modules/date-fns/esm/setSeconds/index.js @@ -0,0 +1,28 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setSeconds + * @category Second Helpers + * @summary Set the seconds to the given date. + * + * @description + * Set the seconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} seconds - the seconds of the new date + * @returns {Date} the new date with the seconds set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 45 seconds to 1 September 2014 11:30:40: + * const result = setSeconds(new Date(2014, 8, 1, 11, 30, 40), 45) + * //=> Mon Sep 01 2014 11:30:45 + */ +export default function setSeconds(dirtyDate, dirtySeconds) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var seconds = toInteger(dirtySeconds); + date.setSeconds(seconds); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setSeconds/index.js.flow b/node_modules/date-fns/esm/setSeconds/index.js.flow new file mode 100644 index 000000000..056c06825 --- /dev/null +++ b/node_modules/date-fns/esm/setSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, seconds: number) => Date diff --git a/node_modules/date-fns/esm/setSeconds/package.json b/node_modules/date-fns/esm/setSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setWeek/index.d.ts b/node_modules/date-fns/esm/setWeek/index.d.ts new file mode 100644 index 000000000..b6c90f347 --- /dev/null +++ b/node_modules/date-fns/esm/setWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeek } from 'date-fns' +export default setWeek diff --git a/node_modules/date-fns/esm/setWeek/index.js b/node_modules/date-fns/esm/setWeek/index.js new file mode 100644 index 000000000..a1938ed9d --- /dev/null +++ b/node_modules/date-fns/esm/setWeek/index.js @@ -0,0 +1,52 @@ +import getWeek from "../getWeek/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name setWeek + * @category Week Helpers + * @summary Set the local week to the given date. + * + * @description + * Set the local week to the given date, saving the weekday number. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the date to be changed + * @param {Number} week - the week of the new date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Date} the new date with the local week set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Set the 1st week to 2 January 2005 with default options: + * const result = setWeek(new Date(2005, 0, 2), 1) + * //=> Sun Dec 26 2004 00:00:00 + * + * @example + * // Set the 1st week to 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January: + * const result = setWeek(new Date(2005, 0, 2), 1, { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> Sun Jan 4 2004 00:00:00 + */ +export default function setWeek(dirtyDate, dirtyWeek, options) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var week = toInteger(dirtyWeek); + var diff = getWeek(date, options) - week; + date.setDate(date.getDate() - diff * 7); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setWeek/index.js.flow b/node_modules/date-fns/esm/setWeek/index.js.flow new file mode 100644 index 000000000..59b7eb30c --- /dev/null +++ b/node_modules/date-fns/esm/setWeek/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + week: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => Date diff --git a/node_modules/date-fns/esm/setWeek/package.json b/node_modules/date-fns/esm/setWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setWeekYear/index.d.ts b/node_modules/date-fns/esm/setWeekYear/index.d.ts new file mode 100644 index 000000000..af02252f7 --- /dev/null +++ b/node_modules/date-fns/esm/setWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekYear } from 'date-fns' +export default setWeekYear diff --git a/node_modules/date-fns/esm/setWeekYear/index.js b/node_modules/date-fns/esm/setWeekYear/index.js new file mode 100644 index 000000000..1e56c209f --- /dev/null +++ b/node_modules/date-fns/esm/setWeekYear/index.js @@ -0,0 +1,62 @@ +import differenceInCalendarDays from "../differenceInCalendarDays/index.js"; +import startOfWeekYear from "../startOfWeekYear/index.js"; +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +/** + * @name setWeekYear + * @category Week-Numbering Year Helpers + * @summary Set the local week-numbering year to the given date. + * + * @description + * Set the local week-numbering year to the given date, + * saving the week number and the weekday number. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the date to be changed + * @param {Number} weekYear - the local week-numbering year of the new date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Date} the new date with the local week-numbering year set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Set the local week-numbering year 2004 to 2 January 2010 with default options: + * const result = setWeekYear(new Date(2010, 0, 2), 2004) + * //=> Sat Jan 03 2004 00:00:00 + * + * @example + * // Set the local week-numbering year 2004 to 2 January 2010, + * // if Monday is the first day of week + * // and 4 January is always in the first week of the year: + * const result = setWeekYear(new Date(2010, 0, 2), 2004, { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> Sat Jan 01 2005 00:00:00 + */ +export default function setWeekYear(dirtyDate, dirtyWeekYear, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(2, arguments); + var defaultOptions = getDefaultOptions(); + var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + var date = toDate(dirtyDate); + var weekYear = toInteger(dirtyWeekYear); + var diff = differenceInCalendarDays(date, startOfWeekYear(date, options)); + var firstWeek = new Date(0); + firstWeek.setFullYear(weekYear, 0, firstWeekContainsDate); + firstWeek.setHours(0, 0, 0, 0); + date = startOfWeekYear(firstWeek, options); + date.setDate(date.getDate() + diff); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setWeekYear/index.js.flow b/node_modules/date-fns/esm/setWeekYear/index.js.flow new file mode 100644 index 000000000..12a9d84f0 --- /dev/null +++ b/node_modules/date-fns/esm/setWeekYear/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => Date diff --git a/node_modules/date-fns/esm/setWeekYear/package.json b/node_modules/date-fns/esm/setWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setYear/index.d.ts b/node_modules/date-fns/esm/setYear/index.d.ts new file mode 100644 index 000000000..e0a76fb48 --- /dev/null +++ b/node_modules/date-fns/esm/setYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setYear } from 'date-fns' +export default setYear diff --git a/node_modules/date-fns/esm/setYear/index.js b/node_modules/date-fns/esm/setYear/index.js new file mode 100644 index 000000000..54c49d0c9 --- /dev/null +++ b/node_modules/date-fns/esm/setYear/index.js @@ -0,0 +1,33 @@ +import toInteger from "../_lib/toInteger/index.js"; +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name setYear + * @category Year Helpers + * @summary Set the year to the given date. + * + * @description + * Set the year to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} year - the year of the new date + * @returns {Date} the new date with the year set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set year 2013 to 1 September 2014: + * const result = setYear(new Date(2014, 8, 1), 2013) + * //=> Sun Sep 01 2013 00:00:00 + */ +export default function setYear(dirtyDate, dirtyYear) { + requiredArgs(2, arguments); + var date = toDate(dirtyDate); + var year = toInteger(dirtyYear); + + // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date + if (isNaN(date.getTime())) { + return new Date(NaN); + } + date.setFullYear(year); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/setYear/index.js.flow b/node_modules/date-fns/esm/setYear/index.js.flow new file mode 100644 index 000000000..ebdcafed8 --- /dev/null +++ b/node_modules/date-fns/esm/setYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, year: number) => Date diff --git a/node_modules/date-fns/esm/setYear/package.json b/node_modules/date-fns/esm/setYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/setYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfDay/index.d.ts b/node_modules/date-fns/esm/startOfDay/index.d.ts new file mode 100644 index 000000000..4463069a0 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDay } from 'date-fns' +export default startOfDay diff --git a/node_modules/date-fns/esm/startOfDay/index.js b/node_modules/date-fns/esm/startOfDay/index.js new file mode 100644 index 000000000..2e518a8b5 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDay/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfDay + * @category Day Helpers + * @summary Return the start of a day for the given date. + * + * @description + * Return the start of a day for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a day + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a day for 2 September 2014 11:55:00: + * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 02 2014 00:00:00 + */ +export default function startOfDay(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfDay/index.js.flow b/node_modules/date-fns/esm/startOfDay/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfDay/package.json b/node_modules/date-fns/esm/startOfDay/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDay/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfDecade/index.d.ts b/node_modules/date-fns/esm/startOfDecade/index.d.ts new file mode 100644 index 000000000..c4309c3a2 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDecade } from 'date-fns' +export default startOfDecade diff --git a/node_modules/date-fns/esm/startOfDecade/index.js b/node_modules/date-fns/esm/startOfDecade/index.js new file mode 100644 index 000000000..35946ffaa --- /dev/null +++ b/node_modules/date-fns/esm/startOfDecade/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfDecade + * @category Decade Helpers + * @summary Return the start of a decade for the given date. + * + * @description + * Return the start of a decade for the given date. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a decade + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a decade for 21 October 2015 00:00:00: + * const result = startOfDecade(new Date(2015, 9, 21, 00, 00, 00)) + * //=> Jan 01 2010 00:00:00 + */ +export default function startOfDecade(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var year = date.getFullYear(); + var decade = Math.floor(year / 10) * 10; + date.setFullYear(decade, 0, 1); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfDecade/index.js.flow b/node_modules/date-fns/esm/startOfDecade/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDecade/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfDecade/package.json b/node_modules/date-fns/esm/startOfDecade/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfDecade/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfHour/index.d.ts b/node_modules/date-fns/esm/startOfHour/index.d.ts new file mode 100644 index 000000000..d1cc5033b --- /dev/null +++ b/node_modules/date-fns/esm/startOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfHour } from 'date-fns' +export default startOfHour diff --git a/node_modules/date-fns/esm/startOfHour/index.js b/node_modules/date-fns/esm/startOfHour/index.js new file mode 100644 index 000000000..1d9b292b2 --- /dev/null +++ b/node_modules/date-fns/esm/startOfHour/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfHour + * @category Hour Helpers + * @summary Return the start of an hour for the given date. + * + * @description + * Return the start of an hour for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of an hour + * @throws {TypeError} 1 argument required + * + * @example + * // The start of an hour for 2 September 2014 11:55:00: + * const result = startOfHour(new Date(2014, 8, 2, 11, 55)) + * //=> Tue Sep 02 2014 11:00:00 + */ +export default function startOfHour(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setMinutes(0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfHour/index.js.flow b/node_modules/date-fns/esm/startOfHour/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfHour/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfHour/package.json b/node_modules/date-fns/esm/startOfHour/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfHour/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfISOWeek/index.d.ts b/node_modules/date-fns/esm/startOfISOWeek/index.d.ts new file mode 100644 index 000000000..93e573a6e --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeek } from 'date-fns' +export default startOfISOWeek diff --git a/node_modules/date-fns/esm/startOfISOWeek/index.js b/node_modules/date-fns/esm/startOfISOWeek/index.js new file mode 100644 index 000000000..255b6213a --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeek/index.js @@ -0,0 +1,28 @@ +import startOfWeek from "../startOfWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfISOWeek + * @category ISO Week Helpers + * @summary Return the start of an ISO week for the given date. + * + * @description + * Return the start of an ISO week for the given date. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of an ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // The start of an ISO week for 2 September 2014 11:55:00: + * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Mon Sep 01 2014 00:00:00 + */ +export default function startOfISOWeek(dirtyDate) { + requiredArgs(1, arguments); + return startOfWeek(dirtyDate, { + weekStartsOn: 1 + }); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfISOWeek/index.js.flow b/node_modules/date-fns/esm/startOfISOWeek/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfISOWeek/package.json b/node_modules/date-fns/esm/startOfISOWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfISOWeekYear/index.d.ts b/node_modules/date-fns/esm/startOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..c29d7d069 --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeekYear } from 'date-fns' +export default startOfISOWeekYear diff --git a/node_modules/date-fns/esm/startOfISOWeekYear/index.js b/node_modules/date-fns/esm/startOfISOWeekYear/index.js new file mode 100644 index 000000000..cea2b29a7 --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeekYear/index.js @@ -0,0 +1,33 @@ +import getISOWeekYear from "../getISOWeekYear/index.js"; +import startOfISOWeek from "../startOfISOWeek/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Return the start of an ISO week-numbering year for the given date. + * + * @description + * Return the start of an ISO week-numbering year, + * which always starts 3 days before the year's first Thursday. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of an ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // The start of an ISO week-numbering year for 2 July 2005: + * const result = startOfISOWeekYear(new Date(2005, 6, 2)) + * //=> Mon Jan 03 2005 00:00:00 + */ +export default function startOfISOWeekYear(dirtyDate) { + requiredArgs(1, arguments); + var year = getISOWeekYear(dirtyDate); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setFullYear(year, 0, 4); + fourthOfJanuary.setHours(0, 0, 0, 0); + var date = startOfISOWeek(fourthOfJanuary); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfISOWeekYear/index.js.flow b/node_modules/date-fns/esm/startOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfISOWeekYear/package.json b/node_modules/date-fns/esm/startOfISOWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfISOWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfMinute/index.d.ts b/node_modules/date-fns/esm/startOfMinute/index.d.ts new file mode 100644 index 000000000..1b9668372 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMinute } from 'date-fns' +export default startOfMinute diff --git a/node_modules/date-fns/esm/startOfMinute/index.js b/node_modules/date-fns/esm/startOfMinute/index.js new file mode 100644 index 000000000..fd0014b2e --- /dev/null +++ b/node_modules/date-fns/esm/startOfMinute/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfMinute + * @category Minute Helpers + * @summary Return the start of a minute for the given date. + * + * @description + * Return the start of a minute for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a minute + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a minute for 1 December 2014 22:15:45.400: + * const result = startOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:00 + */ +export default function startOfMinute(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setSeconds(0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfMinute/index.js.flow b/node_modules/date-fns/esm/startOfMinute/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMinute/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfMinute/package.json b/node_modules/date-fns/esm/startOfMinute/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMinute/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfMonth/index.d.ts b/node_modules/date-fns/esm/startOfMonth/index.d.ts new file mode 100644 index 000000000..08de436d4 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMonth } from 'date-fns' +export default startOfMonth diff --git a/node_modules/date-fns/esm/startOfMonth/index.js b/node_modules/date-fns/esm/startOfMonth/index.js new file mode 100644 index 000000000..d755ae0f2 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMonth/index.js @@ -0,0 +1,27 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfMonth + * @category Month Helpers + * @summary Return the start of a month for the given date. + * + * @description + * Return the start of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a month + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a month for 2 September 2014 11:55:00: + * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Mon Sep 01 2014 00:00:00 + */ +export default function startOfMonth(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setDate(1); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfMonth/index.js.flow b/node_modules/date-fns/esm/startOfMonth/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfMonth/package.json b/node_modules/date-fns/esm/startOfMonth/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfMonth/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfQuarter/index.d.ts b/node_modules/date-fns/esm/startOfQuarter/index.d.ts new file mode 100644 index 000000000..7afa7270b --- /dev/null +++ b/node_modules/date-fns/esm/startOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfQuarter } from 'date-fns' +export default startOfQuarter diff --git a/node_modules/date-fns/esm/startOfQuarter/index.js b/node_modules/date-fns/esm/startOfQuarter/index.js new file mode 100644 index 000000000..f18e07117 --- /dev/null +++ b/node_modules/date-fns/esm/startOfQuarter/index.js @@ -0,0 +1,29 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfQuarter + * @category Quarter Helpers + * @summary Return the start of a year quarter for the given date. + * + * @description + * Return the start of a year quarter for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a quarter + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a quarter for 2 September 2014 11:55:00: + * const result = startOfQuarter(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Jul 01 2014 00:00:00 + */ +export default function startOfQuarter(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + var currentMonth = date.getMonth(); + var month = currentMonth - currentMonth % 3; + date.setMonth(month, 1); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfQuarter/index.js.flow b/node_modules/date-fns/esm/startOfQuarter/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfQuarter/package.json b/node_modules/date-fns/esm/startOfQuarter/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfQuarter/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfSecond/index.d.ts b/node_modules/date-fns/esm/startOfSecond/index.d.ts new file mode 100644 index 000000000..b3b401749 --- /dev/null +++ b/node_modules/date-fns/esm/startOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfSecond } from 'date-fns' +export default startOfSecond diff --git a/node_modules/date-fns/esm/startOfSecond/index.js b/node_modules/date-fns/esm/startOfSecond/index.js new file mode 100644 index 000000000..5b07bba1a --- /dev/null +++ b/node_modules/date-fns/esm/startOfSecond/index.js @@ -0,0 +1,26 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfSecond + * @category Second Helpers + * @summary Return the start of a second for the given date. + * + * @description + * Return the start of a second for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a second + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a second for 1 December 2014 22:15:45.400: + * const result = startOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:45.000 + */ +export default function startOfSecond(dirtyDate) { + requiredArgs(1, arguments); + var date = toDate(dirtyDate); + date.setMilliseconds(0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfSecond/index.js.flow b/node_modules/date-fns/esm/startOfSecond/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfSecond/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfSecond/package.json b/node_modules/date-fns/esm/startOfSecond/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfSecond/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfToday/index.d.ts b/node_modules/date-fns/esm/startOfToday/index.d.ts new file mode 100644 index 000000000..8a0615e30 --- /dev/null +++ b/node_modules/date-fns/esm/startOfToday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfToday } from 'date-fns' +export default startOfToday diff --git a/node_modules/date-fns/esm/startOfToday/index.js b/node_modules/date-fns/esm/startOfToday/index.js new file mode 100644 index 000000000..1508a8544 --- /dev/null +++ b/node_modules/date-fns/esm/startOfToday/index.js @@ -0,0 +1,23 @@ +import startOfDay from "../startOfDay/index.js"; +/** + * @name startOfToday + * @category Day Helpers + * @summary Return the start of today. + * @pure false + * + * @description + * Return the start of today. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @returns {Date} the start of today + * + * @example + * // If today is 6 October 2014: + * const result = startOfToday() + * //=> Mon Oct 6 2014 00:00:00 + */ +export default function startOfToday() { + return startOfDay(Date.now()); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfToday/index.js.flow b/node_modules/date-fns/esm/startOfToday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/esm/startOfToday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/esm/startOfToday/package.json b/node_modules/date-fns/esm/startOfToday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfToday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfTomorrow/index.d.ts b/node_modules/date-fns/esm/startOfTomorrow/index.d.ts new file mode 100644 index 000000000..464ad5b0d --- /dev/null +++ b/node_modules/date-fns/esm/startOfTomorrow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfTomorrow } from 'date-fns' +export default startOfTomorrow diff --git a/node_modules/date-fns/esm/startOfTomorrow/index.js b/node_modules/date-fns/esm/startOfTomorrow/index.js new file mode 100644 index 000000000..b9498e240 --- /dev/null +++ b/node_modules/date-fns/esm/startOfTomorrow/index.js @@ -0,0 +1,29 @@ +/** + * @name startOfTomorrow + * @category Day Helpers + * @summary Return the start of tomorrow. + * @pure false + * + * @description + * Return the start of tomorrow. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the start of tomorrow + * + * @example + * // If today is 6 October 2014: + * const result = startOfTomorrow() + * //=> Tue Oct 7 2014 00:00:00 + */ +export default function startOfTomorrow() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day + 1); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfTomorrow/index.js.flow b/node_modules/date-fns/esm/startOfTomorrow/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/esm/startOfTomorrow/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/esm/startOfTomorrow/package.json b/node_modules/date-fns/esm/startOfTomorrow/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfTomorrow/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfWeek/index.d.ts b/node_modules/date-fns/esm/startOfWeek/index.d.ts new file mode 100644 index 000000000..4a45d11a8 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeek } from 'date-fns' +export default startOfWeek diff --git a/node_modules/date-fns/esm/startOfWeek/index.js b/node_modules/date-fns/esm/startOfWeek/index.js new file mode 100644 index 000000000..877d4c774 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeek/index.js @@ -0,0 +1,48 @@ +import toDate from "../toDate/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +/** + * @name startOfWeek + * @category Week Helpers + * @summary Return the start of a week for the given date. + * + * @description + * Return the start of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the start of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The start of a week for 2 September 2014 11:55:00: + * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00: + * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 }) + * //=> Mon Sep 01 2014 00:00:00 + */ +export default function startOfWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = toDate(dirtyDate); + var day = date.getDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; + date.setDate(date.getDate() - diff); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfWeek/index.js.flow b/node_modules/date-fns/esm/startOfWeek/index.js.flow new file mode 100644 index 000000000..9285b6736 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/esm/startOfWeek/package.json b/node_modules/date-fns/esm/startOfWeek/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeek/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfWeekYear/index.d.ts b/node_modules/date-fns/esm/startOfWeekYear/index.d.ts new file mode 100644 index 000000000..95b485134 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekYear } from 'date-fns' +export default startOfWeekYear diff --git a/node_modules/date-fns/esm/startOfWeekYear/index.js b/node_modules/date-fns/esm/startOfWeekYear/index.js new file mode 100644 index 000000000..892f33661 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeekYear/index.js @@ -0,0 +1,56 @@ +import getWeekYear from "../getWeekYear/index.js"; +import startOfWeek from "../startOfWeek/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { getDefaultOptions } from "../_lib/defaultOptions/index.js"; +/** + * @name startOfWeekYear + * @category Week-Numbering Year Helpers + * @summary Return the start of a local week-numbering year for the given date. + * + * @description + * Return the start of a local week-numbering year. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Date} the start of a week-numbering year + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // The start of an a week-numbering year for 2 July 2005 with default settings: + * const result = startOfWeekYear(new Date(2005, 6, 2)) + * //=> Sun Dec 26 2004 00:00:00 + * + * @example + * // The start of a week-numbering year for 2 July 2005 + * // if Monday is the first day of week + * // and 4 January is always in the first week of the year: + * const result = startOfWeekYear(new Date(2005, 6, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> Mon Jan 03 2005 00:00:00 + */ +export default function startOfWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + requiredArgs(1, arguments); + var defaultOptions = getDefaultOptions(); + var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + var year = getWeekYear(dirtyDate, options); + var firstWeek = new Date(0); + firstWeek.setFullYear(year, 0, firstWeekContainsDate); + firstWeek.setHours(0, 0, 0, 0); + var date = startOfWeek(firstWeek, options); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfWeekYear/index.js.flow b/node_modules/date-fns/esm/startOfWeekYear/index.js.flow new file mode 100644 index 000000000..49cecb6e1 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeekYear/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => Date diff --git a/node_modules/date-fns/esm/startOfWeekYear/package.json b/node_modules/date-fns/esm/startOfWeekYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfWeekYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfYear/index.d.ts b/node_modules/date-fns/esm/startOfYear/index.d.ts new file mode 100644 index 000000000..669ffc9b1 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfYear } from 'date-fns' +export default startOfYear diff --git a/node_modules/date-fns/esm/startOfYear/index.js b/node_modules/date-fns/esm/startOfYear/index.js new file mode 100644 index 000000000..a3de437c4 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYear/index.js @@ -0,0 +1,28 @@ +import toDate from "../toDate/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name startOfYear + * @category Year Helpers + * @summary Return the start of a year for the given date. + * + * @description + * Return the start of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a year + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a year for 2 September 2014 11:55:00: + * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Jan 01 2014 00:00:00 + */ +export default function startOfYear(dirtyDate) { + requiredArgs(1, arguments); + var cleanDate = toDate(dirtyDate); + var date = new Date(0); + date.setFullYear(cleanDate.getFullYear(), 0, 1); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfYear/index.js.flow b/node_modules/date-fns/esm/startOfYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfYear/package.json b/node_modules/date-fns/esm/startOfYear/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYear/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfYesterday/index.d.ts b/node_modules/date-fns/esm/startOfYesterday/index.d.ts new file mode 100644 index 000000000..0342a28e9 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYesterday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfYesterday } from 'date-fns' +export default startOfYesterday diff --git a/node_modules/date-fns/esm/startOfYesterday/index.js b/node_modules/date-fns/esm/startOfYesterday/index.js new file mode 100644 index 000000000..4ada2bb66 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYesterday/index.js @@ -0,0 +1,29 @@ +/** + * @name startOfYesterday + * @category Day Helpers + * @summary Return the start of yesterday. + * @pure false + * + * @description + * Return the start of yesterday. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the start of yesterday + * + * @example + * // If today is 6 October 2014: + * const result = startOfYesterday() + * //=> Sun Oct 5 2014 00:00:00 + */ +export default function startOfYesterday() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day - 1); + date.setHours(0, 0, 0, 0); + return date; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfYesterday/index.js.flow b/node_modules/date-fns/esm/startOfYesterday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/esm/startOfYesterday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/esm/startOfYesterday/package.json b/node_modules/date-fns/esm/startOfYesterday/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/startOfYesterday/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/sub/index.d.ts b/node_modules/date-fns/esm/sub/index.d.ts new file mode 100644 index 000000000..7a4f3ecc6 --- /dev/null +++ b/node_modules/date-fns/esm/sub/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sub } from 'date-fns' +export default sub diff --git a/node_modules/date-fns/esm/sub/index.js b/node_modules/date-fns/esm/sub/index.js new file mode 100644 index 000000000..cf335678c --- /dev/null +++ b/node_modules/date-fns/esm/sub/index.js @@ -0,0 +1,68 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import subDays from "../subDays/index.js"; +import subMonths from "../subMonths/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name sub + * @category Common Helpers + * @summary Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date. + * + * @description + * Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be subtracted + * + * | Key | Description | + * |---------|------------------------------------| + * | years | Amount of years to be subtracted | + * | months | Amount of months to be subtracted | + * | weeks | Amount of weeks to be subtracted | + * | days | Amount of days to be subtracted | + * | hours | Amount of hours to be subtracted | + * | minutes | Amount of minutes to be subtracted | + * | seconds | Amount of seconds to be subtracted | + * + * All values default to 0 + * + * @returns {Date} the new date with the seconds subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract the following duration from 15 June 2017 15:29:20 + * const result = sub(new Date(2017, 5, 15, 15, 29, 20), { + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30 + * }) + * //=> Mon Sep 1 2014 10:19:50 + */ +export default function sub(date, duration) { + requiredArgs(2, arguments); + if (!duration || _typeof(duration) !== 'object') return new Date(NaN); + var years = duration.years ? toInteger(duration.years) : 0; + var months = duration.months ? toInteger(duration.months) : 0; + var weeks = duration.weeks ? toInteger(duration.weeks) : 0; + var days = duration.days ? toInteger(duration.days) : 0; + var hours = duration.hours ? toInteger(duration.hours) : 0; + var minutes = duration.minutes ? toInteger(duration.minutes) : 0; + var seconds = duration.seconds ? toInteger(duration.seconds) : 0; + + // Subtract years and months + var dateWithoutMonths = subMonths(date, months + years * 12); + + // Subtract weeks and days + var dateWithoutDays = subDays(dateWithoutMonths, days + weeks * 7); + + // Subtract hours, minutes and seconds + var minutestoSub = minutes + hours * 60; + var secondstoSub = seconds + minutestoSub * 60; + var mstoSub = secondstoSub * 1000; + var finalDate = new Date(dateWithoutDays.getTime() - mstoSub); + return finalDate; +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/sub/index.js.flow b/node_modules/date-fns/esm/sub/index.js.flow new file mode 100644 index 000000000..e79df7ca1 --- /dev/null +++ b/node_modules/date-fns/esm/sub/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, duration: Duration) => Date diff --git a/node_modules/date-fns/esm/sub/package.json b/node_modules/date-fns/esm/sub/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/sub/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subBusinessDays/index.d.ts b/node_modules/date-fns/esm/subBusinessDays/index.d.ts new file mode 100644 index 000000000..7a0549aa6 --- /dev/null +++ b/node_modules/date-fns/esm/subBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subBusinessDays } from 'date-fns' +export default subBusinessDays diff --git a/node_modules/date-fns/esm/subBusinessDays/index.js b/node_modules/date-fns/esm/subBusinessDays/index.js new file mode 100644 index 000000000..d0375cea2 --- /dev/null +++ b/node_modules/date-fns/esm/subBusinessDays/index.js @@ -0,0 +1,26 @@ +import addBusinessDays from "../addBusinessDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name subBusinessDays + * @category Day Helpers + * @summary Substract the specified number of business days (mon - fri) to the given date. + * + * @description + * Substract the specified number of business days (mon - fri) to the given date, ignoring weekends. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of business days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the business days subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Substract 10 business days from 1 September 2014: + * const result = subBusinessDays(new Date(2014, 8, 1), 10) + * //=> Mon Aug 18 2014 00:00:00 (skipped weekend days) + */ +export default function subBusinessDays(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addBusinessDays(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subBusinessDays/index.js.flow b/node_modules/date-fns/esm/subBusinessDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subBusinessDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subBusinessDays/package.json b/node_modules/date-fns/esm/subBusinessDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subBusinessDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subDays/index.d.ts b/node_modules/date-fns/esm/subDays/index.d.ts new file mode 100644 index 000000000..0b2fe65fc --- /dev/null +++ b/node_modules/date-fns/esm/subDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subDays } from 'date-fns' +export default subDays diff --git a/node_modules/date-fns/esm/subDays/index.js b/node_modules/date-fns/esm/subDays/index.js new file mode 100644 index 000000000..9e2834cbf --- /dev/null +++ b/node_modules/date-fns/esm/subDays/index.js @@ -0,0 +1,26 @@ +import addDays from "../addDays/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name subDays + * @category Day Helpers + * @summary Subtract the specified number of days from the given date. + * + * @description + * Subtract the specified number of days from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the days subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 10 days from 1 September 2014: + * const result = subDays(new Date(2014, 8, 1), 10) + * //=> Fri Aug 22 2014 00:00:00 + */ +export default function subDays(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addDays(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subDays/index.js.flow b/node_modules/date-fns/esm/subDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subDays/package.json b/node_modules/date-fns/esm/subDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subHours/index.d.ts b/node_modules/date-fns/esm/subHours/index.d.ts new file mode 100644 index 000000000..9b9a0d24f --- /dev/null +++ b/node_modules/date-fns/esm/subHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subHours } from 'date-fns' +export default subHours diff --git a/node_modules/date-fns/esm/subHours/index.js b/node_modules/date-fns/esm/subHours/index.js new file mode 100644 index 000000000..080683e6b --- /dev/null +++ b/node_modules/date-fns/esm/subHours/index.js @@ -0,0 +1,26 @@ +import addHours from "../addHours/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name subHours + * @category Hour Helpers + * @summary Subtract the specified number of hours from the given date. + * + * @description + * Subtract the specified number of hours from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of hours to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the hours subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 2 hours from 11 July 2014 01:00:00: + * const result = subHours(new Date(2014, 6, 11, 1, 0), 2) + * //=> Thu Jul 10 2014 23:00:00 + */ +export default function subHours(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addHours(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subHours/index.js.flow b/node_modules/date-fns/esm/subHours/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subHours/package.json b/node_modules/date-fns/esm/subHours/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subHours/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subISOWeekYears/index.d.ts b/node_modules/date-fns/esm/subISOWeekYears/index.d.ts new file mode 100644 index 000000000..78018ea0e --- /dev/null +++ b/node_modules/date-fns/esm/subISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subISOWeekYears } from 'date-fns' +export default subISOWeekYears diff --git a/node_modules/date-fns/esm/subISOWeekYears/index.js b/node_modules/date-fns/esm/subISOWeekYears/index.js new file mode 100644 index 000000000..eab559676 --- /dev/null +++ b/node_modules/date-fns/esm/subISOWeekYears/index.js @@ -0,0 +1,28 @@ +import addISOWeekYears from "../addISOWeekYears/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name subISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Subtract the specified number of ISO week-numbering years from the given date. + * + * @description + * Subtract the specified number of ISO week-numbering years from the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of ISO week-numbering years to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the ISO week-numbering years subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 5 ISO week-numbering years from 1 September 2014: + * const result = subISOWeekYears(new Date(2014, 8, 1), 5) + * //=> Mon Aug 31 2009 00:00:00 + */ +export default function subISOWeekYears(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addISOWeekYears(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subISOWeekYears/index.js.flow b/node_modules/date-fns/esm/subISOWeekYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subISOWeekYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subISOWeekYears/package.json b/node_modules/date-fns/esm/subISOWeekYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subISOWeekYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subMilliseconds/index.d.ts b/node_modules/date-fns/esm/subMilliseconds/index.d.ts new file mode 100644 index 000000000..ffc51f166 --- /dev/null +++ b/node_modules/date-fns/esm/subMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMilliseconds } from 'date-fns' +export default subMilliseconds diff --git a/node_modules/date-fns/esm/subMilliseconds/index.js b/node_modules/date-fns/esm/subMilliseconds/index.js new file mode 100644 index 000000000..a77005109 --- /dev/null +++ b/node_modules/date-fns/esm/subMilliseconds/index.js @@ -0,0 +1,26 @@ +import addMilliseconds from "../addMilliseconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name subMilliseconds + * @category Millisecond Helpers + * @summary Subtract the specified number of milliseconds from the given date. + * + * @description + * Subtract the specified number of milliseconds from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the milliseconds subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000: + * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750) + * //=> Thu Jul 10 2014 12:45:29.250 + */ +export default function subMilliseconds(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMilliseconds(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subMilliseconds/index.js.flow b/node_modules/date-fns/esm/subMilliseconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subMilliseconds/package.json b/node_modules/date-fns/esm/subMilliseconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subMilliseconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subMinutes/index.d.ts b/node_modules/date-fns/esm/subMinutes/index.d.ts new file mode 100644 index 000000000..43c32229d --- /dev/null +++ b/node_modules/date-fns/esm/subMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMinutes } from 'date-fns' +export default subMinutes diff --git a/node_modules/date-fns/esm/subMinutes/index.js b/node_modules/date-fns/esm/subMinutes/index.js new file mode 100644 index 000000000..4e4a47c6f --- /dev/null +++ b/node_modules/date-fns/esm/subMinutes/index.js @@ -0,0 +1,26 @@ +import addMinutes from "../addMinutes/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +import toInteger from "../_lib/toInteger/index.js"; +/** + * @name subMinutes + * @category Minute Helpers + * @summary Subtract the specified number of minutes from the given date. + * + * @description + * Subtract the specified number of minutes from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of minutes to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the minutes subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 30 minutes from 10 July 2014 12:00:00: + * const result = subMinutes(new Date(2014, 6, 10, 12, 0), 30) + * //=> Thu Jul 10 2014 11:30:00 + */ +export default function subMinutes(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMinutes(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subMinutes/index.js.flow b/node_modules/date-fns/esm/subMinutes/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subMinutes/package.json b/node_modules/date-fns/esm/subMinutes/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subMinutes/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subMonths/index.d.ts b/node_modules/date-fns/esm/subMonths/index.d.ts new file mode 100644 index 000000000..dd963a146 --- /dev/null +++ b/node_modules/date-fns/esm/subMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMonths } from 'date-fns' +export default subMonths diff --git a/node_modules/date-fns/esm/subMonths/index.js b/node_modules/date-fns/esm/subMonths/index.js new file mode 100644 index 000000000..0853b78b2 --- /dev/null +++ b/node_modules/date-fns/esm/subMonths/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addMonths from "../addMonths/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name subMonths + * @category Month Helpers + * @summary Subtract the specified number of months from the given date. + * + * @description + * Subtract the specified number of months from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of months to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the months subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 5 months from 1 February 2015: + * const result = subMonths(new Date(2015, 1, 1), 5) + * //=> Mon Sep 01 2014 00:00:00 + */ +export default function subMonths(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addMonths(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subMonths/index.js.flow b/node_modules/date-fns/esm/subMonths/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subMonths/package.json b/node_modules/date-fns/esm/subMonths/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subQuarters/index.d.ts b/node_modules/date-fns/esm/subQuarters/index.d.ts new file mode 100644 index 000000000..216a1f392 --- /dev/null +++ b/node_modules/date-fns/esm/subQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subQuarters } from 'date-fns' +export default subQuarters diff --git a/node_modules/date-fns/esm/subQuarters/index.js b/node_modules/date-fns/esm/subQuarters/index.js new file mode 100644 index 000000000..52c6add98 --- /dev/null +++ b/node_modules/date-fns/esm/subQuarters/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addQuarters from "../addQuarters/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name subQuarters + * @category Quarter Helpers + * @summary Subtract the specified number of year quarters from the given date. + * + * @description + * Subtract the specified number of year quarters from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of quarters to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the quarters subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 3 quarters from 1 September 2014: + * const result = subQuarters(new Date(2014, 8, 1), 3) + * //=> Sun Dec 01 2013 00:00:00 + */ +export default function subQuarters(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addQuarters(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subQuarters/index.js.flow b/node_modules/date-fns/esm/subQuarters/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subQuarters/package.json b/node_modules/date-fns/esm/subQuarters/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subSeconds/index.d.ts b/node_modules/date-fns/esm/subSeconds/index.d.ts new file mode 100644 index 000000000..f718279ac --- /dev/null +++ b/node_modules/date-fns/esm/subSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subSeconds } from 'date-fns' +export default subSeconds diff --git a/node_modules/date-fns/esm/subSeconds/index.js b/node_modules/date-fns/esm/subSeconds/index.js new file mode 100644 index 000000000..e86e849e6 --- /dev/null +++ b/node_modules/date-fns/esm/subSeconds/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addSeconds from "../addSeconds/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name subSeconds + * @category Second Helpers + * @summary Subtract the specified number of seconds from the given date. + * + * @description + * Subtract the specified number of seconds from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of seconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the seconds subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 30 seconds from 10 July 2014 12:45:00: + * const result = subSeconds(new Date(2014, 6, 10, 12, 45, 0), 30) + * //=> Thu Jul 10 2014 12:44:30 + */ +export default function subSeconds(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addSeconds(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subSeconds/index.js.flow b/node_modules/date-fns/esm/subSeconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subSeconds/package.json b/node_modules/date-fns/esm/subSeconds/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subSeconds/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subWeeks/index.d.ts b/node_modules/date-fns/esm/subWeeks/index.d.ts new file mode 100644 index 000000000..b6e3c8272 --- /dev/null +++ b/node_modules/date-fns/esm/subWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subWeeks } from 'date-fns' +export default subWeeks diff --git a/node_modules/date-fns/esm/subWeeks/index.js b/node_modules/date-fns/esm/subWeeks/index.js new file mode 100644 index 000000000..050519901 --- /dev/null +++ b/node_modules/date-fns/esm/subWeeks/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addWeeks from "../addWeeks/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name subWeeks + * @category Week Helpers + * @summary Subtract the specified number of weeks from the given date. + * + * @description + * Subtract the specified number of weeks from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of weeks to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the weeks subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 4 weeks from 1 September 2014: + * const result = subWeeks(new Date(2014, 8, 1), 4) + * //=> Mon Aug 04 2014 00:00:00 + */ +export default function subWeeks(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addWeeks(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subWeeks/index.js.flow b/node_modules/date-fns/esm/subWeeks/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subWeeks/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subWeeks/package.json b/node_modules/date-fns/esm/subWeeks/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subWeeks/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subYears/index.d.ts b/node_modules/date-fns/esm/subYears/index.d.ts new file mode 100644 index 000000000..5edf48213 --- /dev/null +++ b/node_modules/date-fns/esm/subYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subYears } from 'date-fns' +export default subYears diff --git a/node_modules/date-fns/esm/subYears/index.js b/node_modules/date-fns/esm/subYears/index.js new file mode 100644 index 000000000..80ee3e285 --- /dev/null +++ b/node_modules/date-fns/esm/subYears/index.js @@ -0,0 +1,26 @@ +import toInteger from "../_lib/toInteger/index.js"; +import addYears from "../addYears/index.js"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name subYears + * @category Year Helpers + * @summary Subtract the specified number of years from the given date. + * + * @description + * Subtract the specified number of years from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of years to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the years subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 5 years from 1 September 2014: + * const result = subYears(new Date(2014, 8, 1), 5) + * //=> Tue Sep 01 2009 00:00:00 + */ +export default function subYears(dirtyDate, dirtyAmount) { + requiredArgs(2, arguments); + var amount = toInteger(dirtyAmount); + return addYears(dirtyDate, -amount); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/subYears/index.js.flow b/node_modules/date-fns/esm/subYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/esm/subYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/esm/subYears/package.json b/node_modules/date-fns/esm/subYears/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/subYears/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/toDate/index.d.ts b/node_modules/date-fns/esm/toDate/index.d.ts new file mode 100644 index 000000000..0231ae7d0 --- /dev/null +++ b/node_modules/date-fns/esm/toDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { toDate } from 'date-fns' +export default toDate diff --git a/node_modules/date-fns/esm/toDate/index.js b/node_modules/date-fns/esm/toDate/index.js new file mode 100644 index 000000000..c2e31d400 --- /dev/null +++ b/node_modules/date-fns/esm/toDate/index.js @@ -0,0 +1,52 @@ +import _typeof from "@babel/runtime/helpers/esm/typeof"; +import requiredArgs from "../_lib/requiredArgs/index.js"; +/** + * @name toDate + * @category Common Helpers + * @summary Convert the given argument to an instance of Date. + * + * @description + * Convert the given argument to an instance of Date. + * + * If the argument is an instance of Date, the function returns its clone. + * + * If the argument is a number, it is treated as a timestamp. + * + * If the argument is none of the above, the function returns Invalid Date. + * + * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`. + * + * @param {Date|Number} argument - the value to convert + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + * + * @example + * // Clone the date: + * const result = toDate(new Date(2014, 1, 11, 11, 30, 30)) + * //=> Tue Feb 11 2014 11:30:30 + * + * @example + * // Convert the timestamp to date: + * const result = toDate(1392098430000) + * //=> Tue Feb 11 2014 11:30:30 + */ +export default function toDate(argument) { + requiredArgs(1, arguments); + var argStr = Object.prototype.toString.call(argument); + + // Clone the date + if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') { + // Prevent the date to lose the milliseconds when passed to new Date() in IE10 + return new Date(argument.getTime()); + } else if (typeof argument === 'number' || argStr === '[object Number]') { + return new Date(argument); + } else { + if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') { + // eslint-disable-next-line no-console + console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"); + // eslint-disable-next-line no-console + console.warn(new Error().stack); + } + return new Date(NaN); + } +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/toDate/index.js.flow b/node_modules/date-fns/esm/toDate/index.js.flow new file mode 100644 index 000000000..19292c700 --- /dev/null +++ b/node_modules/date-fns/esm/toDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (argument: Date | number) => Date diff --git a/node_modules/date-fns/esm/toDate/package.json b/node_modules/date-fns/esm/toDate/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/toDate/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/types.js b/node_modules/date-fns/esm/types.js new file mode 100644 index 000000000..8cec2e9ce --- /dev/null +++ b/node_modules/date-fns/esm/types.js @@ -0,0 +1 @@ +export {}; \ No newline at end of file diff --git a/node_modules/date-fns/esm/weeksToDays/index.d.ts b/node_modules/date-fns/esm/weeksToDays/index.d.ts new file mode 100644 index 000000000..dd8c1fe08 --- /dev/null +++ b/node_modules/date-fns/esm/weeksToDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { weeksToDays } from 'date-fns' +export default weeksToDays diff --git a/node_modules/date-fns/esm/weeksToDays/index.js b/node_modules/date-fns/esm/weeksToDays/index.js new file mode 100644 index 000000000..2acc3e15c --- /dev/null +++ b/node_modules/date-fns/esm/weeksToDays/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { daysInWeek } from "../constants/index.js"; +/** + * @name weeksToDays + * @category Conversion Helpers + * @summary Convert weeks to days. + * + * @description + * Convert a number of weeks to a full number of days. + * + * @param {number} weeks - number of weeks to be converted + * + * @returns {number} the number of weeks converted in days + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 weeks into days + * const result = weeksToDays(2) + * //=> 14 + */ +export default function weeksToDays(weeks) { + requiredArgs(1, arguments); + return Math.floor(weeks * daysInWeek); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/weeksToDays/index.js.flow b/node_modules/date-fns/esm/weeksToDays/index.js.flow new file mode 100644 index 000000000..257c1ccf4 --- /dev/null +++ b/node_modules/date-fns/esm/weeksToDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (weeks: number) => number diff --git a/node_modules/date-fns/esm/weeksToDays/package.json b/node_modules/date-fns/esm/weeksToDays/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/weeksToDays/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/yearsToMonths/index.d.ts b/node_modules/date-fns/esm/yearsToMonths/index.d.ts new file mode 100644 index 000000000..9e9126d61 --- /dev/null +++ b/node_modules/date-fns/esm/yearsToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToMonths } from 'date-fns' +export default yearsToMonths diff --git a/node_modules/date-fns/esm/yearsToMonths/index.js b/node_modules/date-fns/esm/yearsToMonths/index.js new file mode 100644 index 000000000..b311de47d --- /dev/null +++ b/node_modules/date-fns/esm/yearsToMonths/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { monthsInYear } from "../constants/index.js"; +/** + * @name yearsToMonths + * @category Conversion Helpers + * @summary Convert years to months. + * + * @description + * Convert a number of years to a full number of months. + * + * @param {number} years - number of years to be converted + * + * @returns {number} the number of years converted in months + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 years into months + * const result = yearsToMonths(2) + * //=> 24 + */ +export default function yearsToMonths(years) { + requiredArgs(1, arguments); + return Math.floor(years * monthsInYear); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/yearsToMonths/index.js.flow b/node_modules/date-fns/esm/yearsToMonths/index.js.flow new file mode 100644 index 000000000..d08191974 --- /dev/null +++ b/node_modules/date-fns/esm/yearsToMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (years: number) => number diff --git a/node_modules/date-fns/esm/yearsToMonths/package.json b/node_modules/date-fns/esm/yearsToMonths/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/yearsToMonths/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/yearsToQuarters/index.d.ts b/node_modules/date-fns/esm/yearsToQuarters/index.d.ts new file mode 100644 index 000000000..e3ebc705b --- /dev/null +++ b/node_modules/date-fns/esm/yearsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToQuarters } from 'date-fns' +export default yearsToQuarters diff --git a/node_modules/date-fns/esm/yearsToQuarters/index.js b/node_modules/date-fns/esm/yearsToQuarters/index.js new file mode 100644 index 000000000..7613edb16 --- /dev/null +++ b/node_modules/date-fns/esm/yearsToQuarters/index.js @@ -0,0 +1,24 @@ +import requiredArgs from "../_lib/requiredArgs/index.js"; +import { quartersInYear } from "../constants/index.js"; +/** + * @name yearsToQuarters + * @category Conversion Helpers + * @summary Convert years to quarters. + * + * @description + * Convert a number of years to a full number of quarters. + * + * @param {number} years - number of years to be converted + * + * @returns {number} the number of years converted in quarters + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 years to quarters + * const result = yearsToQuarters(2) + * //=> 8 + */ +export default function yearsToQuarters(years) { + requiredArgs(1, arguments); + return Math.floor(years * quartersInYear); +} \ No newline at end of file diff --git a/node_modules/date-fns/esm/yearsToQuarters/index.js.flow b/node_modules/date-fns/esm/yearsToQuarters/index.js.flow new file mode 100644 index 000000000..d08191974 --- /dev/null +++ b/node_modules/date-fns/esm/yearsToQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (years: number) => number diff --git a/node_modules/date-fns/esm/yearsToQuarters/package.json b/node_modules/date-fns/esm/yearsToQuarters/package.json new file mode 100644 index 000000000..b109f0537 --- /dev/null +++ b/node_modules/date-fns/esm/yearsToQuarters/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/format/index.d.ts b/node_modules/date-fns/format/index.d.ts new file mode 100644 index 000000000..06d38ce27 --- /dev/null +++ b/node_modules/date-fns/format/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { format } from 'date-fns' +export default format diff --git a/node_modules/date-fns/format/index.js b/node_modules/date-fns/format/index.js new file mode 100644 index 000000000..88b5fbf64 --- /dev/null +++ b/node_modules/date-fns/format/index.js @@ -0,0 +1,411 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = format; +var _index = _interopRequireDefault(require("../isValid/index.js")); +var _index2 = _interopRequireDefault(require("../subMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/format/formatters/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/format/longFormatters/index.js")); +var _index6 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index7 = require("../_lib/protectedTokens/index.js"); +var _index8 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index9 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index10 = require("../_lib/defaultOptions/index.js"); +var _index11 = _interopRequireDefault(require("../_lib/defaultLocale/index.js")); +// This RegExp consists of three parts separated by `|`: +// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token +// (one of the certain letters followed by `o`) +// - (\w)\1* matches any sequences of the same letter +// - '' matches two quote characters in a row +// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), +// except a single quote symbol, which ends the sequence. +// Two quote characters do not end the sequence. +// If there is no matching single quote +// then the sequence will continue until the end of the string. +// - . matches any single character unmatched by previous parts of the RegExps +var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; + +// This RegExp catches symbols escaped by quotes, and also +// sequences of symbols P, p, and the combinations like `PPPPPPPppppp` +var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g; +var escapedStringRegExp = /^'([^]*?)'?$/; +var doubleQuoteRegExp = /''/g; +var unescapedLatinCharacterRegExp = /[a-zA-Z]/; + +/** + * @name format + * @category Common Helpers + * @summary Format the date. + * + * @description + * Return the formatted date string in the given format. The result may vary by locale. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * (see the last example) + * + * Format of the string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 7 below the table). + * + * Accepted patterns: + * | Unit | Pattern | Result examples | Notes | + * |---------------------------------|---------|-----------------------------------|-------| + * | Era | G..GGG | AD, BC | | + * | | GGGG | Anno Domini, Before Christ | 2 | + * | | GGGGG | A, B | | + * | Calendar year | y | 44, 1, 1900, 2017 | 5 | + * | | yo | 44th, 1st, 0th, 17th | 5,7 | + * | | yy | 44, 01, 00, 17 | 5 | + * | | yyy | 044, 001, 1900, 2017 | 5 | + * | | yyyy | 0044, 0001, 1900, 2017 | 5 | + * | | yyyyy | ... | 3,5 | + * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 | + * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 | + * | | YY | 44, 01, 00, 17 | 5,8 | + * | | YYY | 044, 001, 1900, 2017 | 5 | + * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 | + * | | YYYYY | ... | 3,5 | + * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 | + * | | RR | -43, 00, 01, 1900, 2017 | 5,7 | + * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 | + * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 | + * | | RRRRR | ... | 3,5,7 | + * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 | + * | | uu | -43, 01, 1900, 2017 | 5 | + * | | uuu | -043, 001, 1900, 2017 | 5 | + * | | uuuu | -0043, 0001, 1900, 2017 | 5 | + * | | uuuuu | ... | 3,5 | + * | Quarter (formatting) | Q | 1, 2, 3, 4 | | + * | | Qo | 1st, 2nd, 3rd, 4th | 7 | + * | | QQ | 01, 02, 03, 04 | | + * | | QQQ | Q1, Q2, Q3, Q4 | | + * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | q | 1, 2, 3, 4 | | + * | | qo | 1st, 2nd, 3rd, 4th | 7 | + * | | qq | 01, 02, 03, 04 | | + * | | qqq | Q1, Q2, Q3, Q4 | | + * | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | qqqqq | 1, 2, 3, 4 | 4 | + * | Month (formatting) | M | 1, 2, ..., 12 | | + * | | Mo | 1st, 2nd, ..., 12th | 7 | + * | | MM | 01, 02, ..., 12 | | + * | | MMM | Jan, Feb, ..., Dec | | + * | | MMMM | January, February, ..., December | 2 | + * | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | L | 1, 2, ..., 12 | | + * | | Lo | 1st, 2nd, ..., 12th | 7 | + * | | LL | 01, 02, ..., 12 | | + * | | LLL | Jan, Feb, ..., Dec | | + * | | LLLL | January, February, ..., December | 2 | + * | | LLLLL | J, F, ..., D | | + * | Local week of year | w | 1, 2, ..., 53 | | + * | | wo | 1st, 2nd, ..., 53th | 7 | + * | | ww | 01, 02, ..., 53 | | + * | ISO week of year | I | 1, 2, ..., 53 | 7 | + * | | Io | 1st, 2nd, ..., 53th | 7 | + * | | II | 01, 02, ..., 53 | 7 | + * | Day of month | d | 1, 2, ..., 31 | | + * | | do | 1st, 2nd, ..., 31st | 7 | + * | | dd | 01, 02, ..., 31 | | + * | Day of year | D | 1, 2, ..., 365, 366 | 9 | + * | | Do | 1st, 2nd, ..., 365th, 366th | 7 | + * | | DD | 01, 02, ..., 365, 366 | 9 | + * | | DDD | 001, 002, ..., 365, 366 | | + * | | DDDD | ... | 3 | + * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | | + * | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | EEEEE | M, T, W, T, F, S, S | | + * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 | + * | | io | 1st, 2nd, ..., 7th | 7 | + * | | ii | 01, 02, ..., 07 | 7 | + * | | iii | Mon, Tue, Wed, ..., Sun | 7 | + * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 | + * | | iiiii | M, T, W, T, F, S, S | 7 | + * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 | + * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | | + * | | eo | 2nd, 3rd, ..., 1st | 7 | + * | | ee | 02, 03, ..., 01 | | + * | | eee | Mon, Tue, Wed, ..., Sun | | + * | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | eeeee | M, T, W, T, F, S, S | | + * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | | + * | | co | 2nd, 3rd, ..., 1st | 7 | + * | | cc | 02, 03, ..., 01 | | + * | | ccc | Mon, Tue, Wed, ..., Sun | | + * | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | ccccc | M, T, W, T, F, S, S | | + * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | a..aa | AM, PM | | + * | | aaa | am, pm | | + * | | aaaa | a.m., p.m. | 2 | + * | | aaaaa | a, p | | + * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | | + * | | bbb | am, pm, noon, midnight | | + * | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | bbbbb | a, p, n, mi | | + * | Flexible day period | B..BBB | at night, in the morning, ... | | + * | | BBBB | at night, in the morning, ... | 2 | + * | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | h | 1, 2, ..., 11, 12 | | + * | | ho | 1st, 2nd, ..., 11th, 12th | 7 | + * | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | H | 0, 1, 2, ..., 23 | | + * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 | + * | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | K | 1, 2, ..., 11, 0 | | + * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 | + * | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | k | 24, 1, 2, ..., 23 | | + * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 | + * | | kk | 24, 01, 02, ..., 23 | | + * | Minute | m | 0, 1, ..., 59 | | + * | | mo | 0th, 1st, ..., 59th | 7 | + * | | mm | 00, 01, ..., 59 | | + * | Second | s | 0, 1, ..., 59 | | + * | | so | 0th, 1st, ..., 59th | 7 | + * | | ss | 00, 01, ..., 59 | | + * | Fraction of second | S | 0, 1, ..., 9 | | + * | | SS | 00, 01, ..., 99 | | + * | | SSS | 000, 001, ..., 999 | | + * | | SSSS | ... | 3 | + * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | | + * | | XX | -0800, +0530, Z | | + * | | XXX | -08:00, +05:30, Z | | + * | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | | + * | | xx | -0800, +0530, +0000 | | + * | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | xxxx | -0800, +0530, +0000, +123456 | | + * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | | + * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 | + * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 | + * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 | + * | Seconds timestamp | t | 512969520 | 7 | + * | | tt | ... | 3,7 | + * | Milliseconds timestamp | T | 512969520900 | 7 | + * | | TT | ... | 3,7 | + * | Long localized date | P | 04/29/1453 | 7 | + * | | PP | Apr 29, 1453 | 7 | + * | | PPP | April 29th, 1453 | 7 | + * | | PPPP | Friday, April 29th, 1453 | 2,7 | + * | Long localized time | p | 12:00 AM | 7 | + * | | pp | 12:00:00 AM | 7 | + * | | ppp | 12:00:00 AM GMT+2 | 7 | + * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 | + * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 | + * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 | + * | | PPPppp | April 29th, 1453 at ... | 7 | + * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`) + * the output will be the same as default pattern for this unit, usually + * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units + * are marked with "2" in the last column of the table. + * + * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'` + * + * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'` + * + * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'` + * + * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'` + * + * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'` + * + * 3. Some patterns could be unlimited length (such as `yyyyyyyy`). + * The output will be padded with zeros to match the length of the pattern. + * + * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'` + * + * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 5. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` always returns the last two digits of a year, + * while `uu` pads single digit years to 2 characters and returns other years unchanged: + * + * | Year | `yy` | `uu` | + * |------|------|------| + * | 1 | 01 | 01 | + * | 14 | 14 | 14 | + * | 376 | 76 | 376 | + * | 1453 | 53 | 1453 | + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear} + * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}). + * + * 6. Specific non-location timezones are currently unavailable in `date-fns`, + * so right now these tokens fall back to GMT timezones. + * + * 7. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `t`: seconds timestamp + * - `T`: milliseconds timestamp + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * @param {Date|Number} date - the original date + * @param {String} format - the string of tokens + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is + * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @returns {String} the formatted date string + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `localize` property + * @throws {RangeError} `options.locale` must contain `formatLong` property + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * // Represent 11 February 2014 in middle-endian format: + * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy') + * //=> '02/11/2014' + * + * @example + * // Represent 2 July 2014 in Esperanto: + * import { eoLocale } from 'date-fns/locale/eo' + * const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", { + * locale: eoLocale + * }) + * //=> '2-a de julio 2014' + * + * @example + * // Escape string by single quote characters: + * const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'") + * //=> "3 o'clock" + */ + +function format(dirtyDate, dirtyFormatStr, options) { + var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4; + (0, _index9.default)(2, arguments); + var formatStr = String(dirtyFormatStr); + var defaultOptions = (0, _index10.getDefaultOptions)(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : _index11.default; + var firstWeekContainsDate = (0, _index8.default)((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var weekStartsOn = (0, _index8.default)((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + if (!locale.localize) { + throw new RangeError('locale must contain localize property'); + } + if (!locale.formatLong) { + throw new RangeError('locale must contain formatLong property'); + } + var originalDate = (0, _index3.default)(dirtyDate); + if (!(0, _index.default)(originalDate)) { + throw new RangeError('Invalid time value'); + } + + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + // This ensures that when UTC functions will be implemented, locales will be compatible with them. + // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376 + var timezoneOffset = (0, _index6.default)(originalDate); + var utcDate = (0, _index2.default)(originalDate, timezoneOffset); + var formatterOptions = { + firstWeekContainsDate: firstWeekContainsDate, + weekStartsOn: weekStartsOn, + locale: locale, + _originalDate: originalDate + }; + var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) { + var firstCharacter = substring[0]; + if (firstCharacter === 'p' || firstCharacter === 'P') { + var longFormatter = _index5.default[firstCharacter]; + return longFormatter(substring, locale.formatLong); + } + return substring; + }).join('').match(formattingTokensRegExp).map(function (substring) { + // Replace two single quote characters with one single quote character + if (substring === "''") { + return "'"; + } + var firstCharacter = substring[0]; + if (firstCharacter === "'") { + return cleanEscapedString(substring); + } + var formatter = _index4.default[firstCharacter]; + if (formatter) { + if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && (0, _index7.isProtectedWeekYearToken)(substring)) { + (0, _index7.throwProtectedError)(substring, dirtyFormatStr, String(dirtyDate)); + } + if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && (0, _index7.isProtectedDayOfYearToken)(substring)) { + (0, _index7.throwProtectedError)(substring, dirtyFormatStr, String(dirtyDate)); + } + return formatter(utcDate, substring, locale.localize, formatterOptions); + } + if (firstCharacter.match(unescapedLatinCharacterRegExp)) { + throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`'); + } + return substring; + }).join(''); + return result; +} +function cleanEscapedString(input) { + var matched = input.match(escapedStringRegExp); + if (!matched) { + return input; + } + return matched[1].replace(doubleQuoteRegExp, "'"); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/format/index.js.flow b/node_modules/date-fns/format/index.js.flow new file mode 100644 index 000000000..ca7939371 --- /dev/null +++ b/node_modules/date-fns/format/index.js.flow @@ -0,0 +1,62 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + format: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: number, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } +) => string diff --git a/node_modules/date-fns/format/package.json b/node_modules/date-fns/format/package.json new file mode 100644 index 000000000..b6a6e2443 --- /dev/null +++ b/node_modules/date-fns/format/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/format/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatDistance/index.d.ts b/node_modules/date-fns/formatDistance/index.d.ts new file mode 100644 index 000000000..656c64aca --- /dev/null +++ b/node_modules/date-fns/formatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistance } from 'date-fns' +export default formatDistance diff --git a/node_modules/date-fns/formatDistance/index.js b/node_modules/date-fns/formatDistance/index.js new file mode 100644 index 000000000..9e0d29920 --- /dev/null +++ b/node_modules/date-fns/formatDistance/index.js @@ -0,0 +1,211 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatDistance; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../compareAsc/index.js")); +var _index3 = _interopRequireDefault(require("../differenceInMonths/index.js")); +var _index4 = _interopRequireDefault(require("../differenceInSeconds/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/defaultLocale/index.js")); +var _index6 = _interopRequireDefault(require("../toDate/index.js")); +var _index7 = _interopRequireDefault(require("../_lib/cloneObject/index.js")); +var _index8 = _interopRequireDefault(require("../_lib/assign/index.js")); +var _index9 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index10 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MINUTES_IN_DAY = 1440; +var MINUTES_IN_ALMOST_TWO_DAYS = 2520; +var MINUTES_IN_MONTH = 43200; +var MINUTES_IN_TWO_MONTHS = 86400; + +/** + * @name formatDistance + * @category Common Helpers + * @summary Return the distance between the given dates in words. + * + * @description + * Return the distance between the given dates in words. + * + * | Distance between dates | Result | + * |-------------------------------------------------------------------|---------------------| + * | 0 ... 30 secs | less than a minute | + * | 30 secs ... 1 min 30 secs | 1 minute | + * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes | + * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour | + * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours | + * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day | + * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days | + * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month | + * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months | + * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months | + * | 1 yr ... 1 yr 3 months | about 1 year | + * | 1 yr 3 months ... 1 yr 9 month s | over 1 year | + * | 1 yr 9 months ... 2 yrs | almost 2 years | + * | N yrs ... N yrs 3 months | about N years | + * | N yrs 3 months ... N yrs 9 months | over N years | + * | N yrs 9 months ... N+1 yrs | almost N+1 years | + * + * With `options.includeSeconds == true`: + * | Distance between dates | Result | + * |------------------------|----------------------| + * | 0 secs ... 5 secs | less than 5 seconds | + * | 5 secs ... 10 secs | less than 10 seconds | + * | 10 secs ... 20 secs | less than 20 seconds | + * | 20 secs ... 40 secs | half a minute | + * | 40 secs ... 60 secs | less than a minute | + * | 60 secs ... 90 secs | 1 minute | + * + * @param {Date|Number} date - the date + * @param {Date|Number} baseDate - the date to compare with + * @param {Object} [options] - an object with options. + * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed + * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // What is the distance between 2 July 2014 and 1 January 2015? + * const result = formatDistance(new Date(2014, 6, 2), new Date(2015, 0, 1)) + * //=> '6 months' + * + * @example + * // What is the distance between 1 January 2015 00:00:15 + * // and 1 January 2015 00:00:00, including seconds? + * const result = formatDistance( + * new Date(2015, 0, 1, 0, 0, 15), + * new Date(2015, 0, 1, 0, 0, 0), + * { includeSeconds: true } + * ) + * //=> 'less than 20 seconds' + * + * @example + * // What is the distance from 1 January 2016 + * // to 1 January 2015, with a suffix? + * const result = formatDistance(new Date(2015, 0, 1), new Date(2016, 0, 1), { + * addSuffix: true + * }) + * //=> 'about 1 year ago' + * + * @example + * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto? + * import { eoLocale } from 'date-fns/locale/eo' + * const result = formatDistance(new Date(2016, 7, 1), new Date(2015, 0, 1), { + * locale: eoLocale + * }) + * //=> 'pli ol 1 jaro' + */ + +function formatDistance(dirtyDate, dirtyBaseDate, options) { + var _ref, _options$locale; + (0, _index10.default)(2, arguments); + var defaultOptions = (0, _index.getDefaultOptions)(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : _index5.default; + if (!locale.formatDistance) { + throw new RangeError('locale must contain formatDistance property'); + } + var comparison = (0, _index2.default)(dirtyDate, dirtyBaseDate); + if (isNaN(comparison)) { + throw new RangeError('Invalid time value'); + } + var localizeOptions = (0, _index8.default)((0, _index7.default)(options), { + addSuffix: Boolean(options === null || options === void 0 ? void 0 : options.addSuffix), + comparison: comparison + }); + var dateLeft; + var dateRight; + if (comparison > 0) { + dateLeft = (0, _index6.default)(dirtyBaseDate); + dateRight = (0, _index6.default)(dirtyDate); + } else { + dateLeft = (0, _index6.default)(dirtyDate); + dateRight = (0, _index6.default)(dirtyBaseDate); + } + var seconds = (0, _index4.default)(dateRight, dateLeft); + var offsetInSeconds = ((0, _index9.default)(dateRight) - (0, _index9.default)(dateLeft)) / 1000; + var minutes = Math.round((seconds - offsetInSeconds) / 60); + var months; + + // 0 up to 2 mins + if (minutes < 2) { + if (options !== null && options !== void 0 && options.includeSeconds) { + if (seconds < 5) { + return locale.formatDistance('lessThanXSeconds', 5, localizeOptions); + } else if (seconds < 10) { + return locale.formatDistance('lessThanXSeconds', 10, localizeOptions); + } else if (seconds < 20) { + return locale.formatDistance('lessThanXSeconds', 20, localizeOptions); + } else if (seconds < 40) { + return locale.formatDistance('halfAMinute', 0, localizeOptions); + } else if (seconds < 60) { + return locale.formatDistance('lessThanXMinutes', 1, localizeOptions); + } else { + return locale.formatDistance('xMinutes', 1, localizeOptions); + } + } else { + if (minutes === 0) { + return locale.formatDistance('lessThanXMinutes', 1, localizeOptions); + } else { + return locale.formatDistance('xMinutes', minutes, localizeOptions); + } + } + + // 2 mins up to 0.75 hrs + } else if (minutes < 45) { + return locale.formatDistance('xMinutes', minutes, localizeOptions); + + // 0.75 hrs up to 1.5 hrs + } else if (minutes < 90) { + return locale.formatDistance('aboutXHours', 1, localizeOptions); + + // 1.5 hrs up to 24 hrs + } else if (minutes < MINUTES_IN_DAY) { + var hours = Math.round(minutes / 60); + return locale.formatDistance('aboutXHours', hours, localizeOptions); + + // 1 day up to 1.75 days + } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) { + return locale.formatDistance('xDays', 1, localizeOptions); + + // 1.75 days up to 30 days + } else if (minutes < MINUTES_IN_MONTH) { + var days = Math.round(minutes / MINUTES_IN_DAY); + return locale.formatDistance('xDays', days, localizeOptions); + + // 1 month up to 2 months + } else if (minutes < MINUTES_IN_TWO_MONTHS) { + months = Math.round(minutes / MINUTES_IN_MONTH); + return locale.formatDistance('aboutXMonths', months, localizeOptions); + } + months = (0, _index3.default)(dateRight, dateLeft); + + // 2 months up to 12 months + if (months < 12) { + var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH); + return locale.formatDistance('xMonths', nearestMonth, localizeOptions); + + // 1 year up to max Date + } else { + var monthsSinceStartOfYear = months % 12; + var years = Math.floor(months / 12); + + // N years up to 1 years 3 months + if (monthsSinceStartOfYear < 3) { + return locale.formatDistance('aboutXYears', years, localizeOptions); + + // N years 3 months up to N years 9 months + } else if (monthsSinceStartOfYear < 9) { + return locale.formatDistance('overXYears', years, localizeOptions); + + // N years 9 months up to N year 12 months + } else { + return locale.formatDistance('almostXYears', years + 1, localizeOptions); + } + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatDistance/index.js.flow b/node_modules/date-fns/formatDistance/index.js.flow new file mode 100644 index 000000000..b18d1ba10 --- /dev/null +++ b/node_modules/date-fns/formatDistance/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/formatDistance/package.json b/node_modules/date-fns/formatDistance/package.json new file mode 100644 index 000000000..b58177f05 --- /dev/null +++ b/node_modules/date-fns/formatDistance/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatDistance/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatDistanceStrict/index.d.ts b/node_modules/date-fns/formatDistanceStrict/index.d.ts new file mode 100644 index 000000000..89cce2058 --- /dev/null +++ b/node_modules/date-fns/formatDistanceStrict/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceStrict } from 'date-fns' +export default formatDistanceStrict diff --git a/node_modules/date-fns/formatDistanceStrict/index.js b/node_modules/date-fns/formatDistanceStrict/index.js new file mode 100644 index 000000000..5c05ef265 --- /dev/null +++ b/node_modules/date-fns/formatDistanceStrict/index.js @@ -0,0 +1,198 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatDistanceStrict; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../compareAsc/index.js")); +var _index4 = _interopRequireDefault(require("../toDate/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/cloneObject/index.js")); +var _index6 = _interopRequireDefault(require("../_lib/assign/index.js")); +var _index7 = _interopRequireDefault(require("../_lib/defaultLocale/index.js")); +var _index8 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_MINUTE = 1000 * 60; +var MINUTES_IN_DAY = 60 * 24; +var MINUTES_IN_MONTH = MINUTES_IN_DAY * 30; +var MINUTES_IN_YEAR = MINUTES_IN_DAY * 365; + +/** + * @name formatDistanceStrict + * @category Common Helpers + * @summary Return the distance between the given dates in words. + * + * @description + * Return the distance between the given dates in words, using strict units. + * This is like `formatDistance`, but does not use helpers like 'almost', 'over', + * 'less than' and the like. + * + * | Distance between dates | Result | + * |------------------------|---------------------| + * | 0 ... 59 secs | [0..59] seconds | + * | 1 ... 59 mins | [1..59] minutes | + * | 1 ... 23 hrs | [1..23] hours | + * | 1 ... 29 days | [1..29] days | + * | 1 ... 11 months | [1..11] months | + * | 1 ... N years | [1..N] years | + * + * @param {Date|Number} date - the date + * @param {Date|Number} baseDate - the date to compare with + * @param {Object} [options] - an object with options. + * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first + * @param {'second'|'minute'|'hour'|'day'|'month'|'year'} [options.unit] - if specified, will force a unit + * @param {'floor'|'ceil'|'round'} [options.roundingMethod='round'] - which way to round partial units + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.roundingMethod` must be 'floor', 'ceil' or 'round' + * @throws {RangeError} `options.unit` must be 'second', 'minute', 'hour', 'day', 'month' or 'year' + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // What is the distance between 2 July 2014 and 1 January 2015? + * const result = formatDistanceStrict(new Date(2014, 6, 2), new Date(2015, 0, 2)) + * //=> '6 months' + * + * @example + * // What is the distance between 1 January 2015 00:00:15 + * // and 1 January 2015 00:00:00? + * const result = formatDistanceStrict( + * new Date(2015, 0, 1, 0, 0, 15), + * new Date(2015, 0, 1, 0, 0, 0) + * ) + * //=> '15 seconds' + * + * @example + * // What is the distance from 1 January 2016 + * // to 1 January 2015, with a suffix? + * const result = formatDistanceStrict(new Date(2015, 0, 1), new Date(2016, 0, 1), { + * addSuffix: true + * }) + * //=> '1 year ago' + * + * @example + * // What is the distance from 1 January 2016 + * // to 1 January 2015, in minutes? + * const result = formatDistanceStrict(new Date(2016, 0, 1), new Date(2015, 0, 1), { + * unit: 'minute' + * }) + * //=> '525600 minutes' + * + * @example + * // What is the distance from 1 January 2015 + * // to 28 January 2015, in months, rounded up? + * const result = formatDistanceStrict(new Date(2015, 0, 28), new Date(2015, 0, 1), { + * unit: 'month', + * roundingMethod: 'ceil' + * }) + * //=> '1 month' + * + * @example + * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto? + * import { eoLocale } from 'date-fns/locale/eo' + * const result = formatDistanceStrict(new Date(2016, 7, 1), new Date(2015, 0, 1), { + * locale: eoLocale + * }) + * //=> '1 jaro' + */ + +function formatDistanceStrict(dirtyDate, dirtyBaseDate, options) { + var _ref, _options$locale, _options$roundingMeth; + (0, _index8.default)(2, arguments); + var defaultOptions = (0, _index.getDefaultOptions)(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : _index7.default; + if (!locale.formatDistance) { + throw new RangeError('locale must contain localize.formatDistance property'); + } + var comparison = (0, _index3.default)(dirtyDate, dirtyBaseDate); + if (isNaN(comparison)) { + throw new RangeError('Invalid time value'); + } + var localizeOptions = (0, _index6.default)((0, _index5.default)(options), { + addSuffix: Boolean(options === null || options === void 0 ? void 0 : options.addSuffix), + comparison: comparison + }); + var dateLeft; + var dateRight; + if (comparison > 0) { + dateLeft = (0, _index4.default)(dirtyBaseDate); + dateRight = (0, _index4.default)(dirtyDate); + } else { + dateLeft = (0, _index4.default)(dirtyDate); + dateRight = (0, _index4.default)(dirtyBaseDate); + } + var roundingMethod = String((_options$roundingMeth = options === null || options === void 0 ? void 0 : options.roundingMethod) !== null && _options$roundingMeth !== void 0 ? _options$roundingMeth : 'round'); + var roundingMethodFn; + if (roundingMethod === 'floor') { + roundingMethodFn = Math.floor; + } else if (roundingMethod === 'ceil') { + roundingMethodFn = Math.ceil; + } else if (roundingMethod === 'round') { + roundingMethodFn = Math.round; + } else { + throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'"); + } + var milliseconds = dateRight.getTime() - dateLeft.getTime(); + var minutes = milliseconds / MILLISECONDS_IN_MINUTE; + var timezoneOffset = (0, _index2.default)(dateRight) - (0, _index2.default)(dateLeft); + + // Use DST-normalized difference in minutes for years, months and days; + // use regular difference in minutes for hours, minutes and seconds. + var dstNormalizedMinutes = (milliseconds - timezoneOffset) / MILLISECONDS_IN_MINUTE; + var defaultUnit = options === null || options === void 0 ? void 0 : options.unit; + var unit; + if (!defaultUnit) { + if (minutes < 1) { + unit = 'second'; + } else if (minutes < 60) { + unit = 'minute'; + } else if (minutes < MINUTES_IN_DAY) { + unit = 'hour'; + } else if (dstNormalizedMinutes < MINUTES_IN_MONTH) { + unit = 'day'; + } else if (dstNormalizedMinutes < MINUTES_IN_YEAR) { + unit = 'month'; + } else { + unit = 'year'; + } + } else { + unit = String(defaultUnit); + } + + // 0 up to 60 seconds + if (unit === 'second') { + var seconds = roundingMethodFn(milliseconds / 1000); + return locale.formatDistance('xSeconds', seconds, localizeOptions); + + // 1 up to 60 mins + } else if (unit === 'minute') { + var roundedMinutes = roundingMethodFn(minutes); + return locale.formatDistance('xMinutes', roundedMinutes, localizeOptions); + + // 1 up to 24 hours + } else if (unit === 'hour') { + var hours = roundingMethodFn(minutes / 60); + return locale.formatDistance('xHours', hours, localizeOptions); + + // 1 up to 30 days + } else if (unit === 'day') { + var days = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_DAY); + return locale.formatDistance('xDays', days, localizeOptions); + + // 1 up to 12 months + } else if (unit === 'month') { + var months = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_MONTH); + return months === 12 && defaultUnit !== 'month' ? locale.formatDistance('xYears', 1, localizeOptions) : locale.formatDistance('xMonths', months, localizeOptions); + + // 1 year up to max Date + } else if (unit === 'year') { + var years = roundingMethodFn(dstNormalizedMinutes / MINUTES_IN_YEAR); + return locale.formatDistance('xYears', years, localizeOptions); + } + throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'"); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatDistanceStrict/index.js.flow b/node_modules/date-fns/formatDistanceStrict/index.js.flow new file mode 100644 index 000000000..26c4b1529 --- /dev/null +++ b/node_modules/date-fns/formatDistanceStrict/index.js.flow @@ -0,0 +1,61 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/formatDistanceStrict/package.json b/node_modules/date-fns/formatDistanceStrict/package.json new file mode 100644 index 000000000..61693beb2 --- /dev/null +++ b/node_modules/date-fns/formatDistanceStrict/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatDistanceStrict/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatDistanceToNow/index.d.ts b/node_modules/date-fns/formatDistanceToNow/index.d.ts new file mode 100644 index 000000000..1d8b75017 --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceToNow } from 'date-fns' +export default formatDistanceToNow diff --git a/node_modules/date-fns/formatDistanceToNow/index.js b/node_modules/date-fns/formatDistanceToNow/index.js new file mode 100644 index 000000000..97bf91aaf --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNow/index.js @@ -0,0 +1,100 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatDistanceToNow; +var _index = _interopRequireDefault(require("../formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name formatDistanceToNow + * @category Common Helpers + * @summary Return the distance between the given date and now in words. + * @pure false + * + * @description + * Return the distance between the given date and now in words. + * + * | Distance to now | Result | + * |-------------------------------------------------------------------|---------------------| + * | 0 ... 30 secs | less than a minute | + * | 30 secs ... 1 min 30 secs | 1 minute | + * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes | + * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour | + * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours | + * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day | + * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days | + * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month | + * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months | + * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months | + * | 1 yr ... 1 yr 3 months | about 1 year | + * | 1 yr 3 months ... 1 yr 9 month s | over 1 year | + * | 1 yr 9 months ... 2 yrs | almost 2 years | + * | N yrs ... N yrs 3 months | about N years | + * | N yrs 3 months ... N yrs 9 months | over N years | + * | N yrs 9 months ... N+1 yrs | almost N+1 years | + * + * With `options.includeSeconds == true`: + * | Distance to now | Result | + * |---------------------|----------------------| + * | 0 secs ... 5 secs | less than 5 seconds | + * | 5 secs ... 10 secs | less than 10 seconds | + * | 10 secs ... 20 secs | less than 20 seconds | + * | 20 secs ... 40 secs | half a minute | + * | 40 secs ... 60 secs | less than a minute | + * | 60 secs ... 90 secs | 1 minute | + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - the object with options + * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed + * @param {Boolean} [options.addSuffix=false] - result specifies if now is earlier or later than the passed date + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // If today is 1 January 2015, what is the distance to 2 July 2014? + * const result = formatDistanceToNow( + * new Date(2014, 6, 2) + * ) + * //=> '6 months' + * + * @example + * // If now is 1 January 2015 00:00:00, + * // what is the distance to 1 January 2015 00:00:15, including seconds? + * const result = formatDistanceToNow( + * new Date(2015, 0, 1, 0, 0, 15), + * {includeSeconds: true} + * ) + * //=> 'less than 20 seconds' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 January 2016, with a suffix? + * const result = formatDistanceToNow( + * new Date(2016, 0, 1), + * {addSuffix: true} + * ) + * //=> 'in about 1 year' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 August 2016 in Esperanto? + * const eoLocale = require('date-fns/locale/eo') + * const result = formatDistanceToNow( + * new Date(2016, 7, 1), + * {locale: eoLocale} + * ) + * //=> 'pli ol 1 jaro' + */ +function formatDistanceToNow(dirtyDate, options) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, Date.now(), options); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatDistanceToNow/index.js.flow b/node_modules/date-fns/formatDistanceToNow/index.js.flow new file mode 100644 index 000000000..08687be05 --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNow/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/formatDistanceToNow/package.json b/node_modules/date-fns/formatDistanceToNow/package.json new file mode 100644 index 000000000..c45b3a34f --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNow/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatDistanceToNow/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatDistanceToNowStrict/index.d.ts b/node_modules/date-fns/formatDistanceToNowStrict/index.d.ts new file mode 100644 index 000000000..4f00e65c3 --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNowStrict/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceToNowStrict } from 'date-fns' +export default formatDistanceToNowStrict diff --git a/node_modules/date-fns/formatDistanceToNowStrict/index.js b/node_modules/date-fns/formatDistanceToNowStrict/index.js new file mode 100644 index 000000000..359003c27 --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNowStrict/index.js @@ -0,0 +1,88 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatDistanceToNowStrict; +var _index = _interopRequireDefault(require("../formatDistanceStrict/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name formatDistanceToNowStrict + * @category Common Helpers + * @summary Return the distance between the given date and now in words. + * @pure false + * + * @description + * Return the distance between the given dates in words, using strict units. + * This is like `formatDistance`, but does not use helpers like 'almost', 'over', + * 'less than' and the like. + * + * | Distance between dates | Result | + * |------------------------|---------------------| + * | 0 ... 59 secs | [0..59] seconds | + * | 1 ... 59 mins | [1..59] minutes | + * | 1 ... 23 hrs | [1..23] hours | + * | 1 ... 29 days | [1..29] days | + * | 1 ... 11 months | [1..11] months | + * | 1 ... N years | [1..N] years | + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first + * @param {'second'|'minute'|'hour'|'day'|'month'|'year'} [options.unit] - if specified, will force a unit + * @param {'floor'|'ceil'|'round'} [options.roundingMethod='round'] - which way to round partial units + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {String} the distance in words + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.locale` must contain `formatDistance` property + * + * @example + * // If today is 1 January 2015, what is the distance to 2 July 2014? + * const result = formatDistanceToNowStrict( + * new Date(2014, 6, 2) + * ) + * //=> '6 months' + * + * @example + * // If now is 1 January 2015 00:00:00, + * // what is the distance to 1 January 2015 00:00:15, including seconds? + * const result = formatDistanceToNowStrict( + * new Date(2015, 0, 1, 0, 0, 15) + * ) + * //=> '15 seconds' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 January 2016, with a suffix? + * const result = formatDistanceToNowStrict( + * new Date(2016, 0, 1), + * {addSuffix: true} + * ) + * //=> 'in 1 year' + * + * @example + * // If today is 28 January 2015, + * // what is the distance to 1 January 2015, in months, rounded up?? + * const result = formatDistanceToNowStrict(new Date(2015, 0, 1), { + * unit: 'month', + * roundingMethod: 'ceil' + * }) + * //=> '1 month' + * + * @example + * // If today is 1 January 2015, + * // what is the distance to 1 January 2016 in Esperanto? + * const eoLocale = require('date-fns/locale/eo') + * const result = formatDistanceToNowStrict( + * new Date(2016, 0, 1), + * {locale: eoLocale} + * ) + * //=> '1 jaro' + */ +function formatDistanceToNowStrict(dirtyDate, options) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, Date.now(), options); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatDistanceToNowStrict/index.js.flow b/node_modules/date-fns/formatDistanceToNowStrict/index.js.flow new file mode 100644 index 000000000..49fbade0a --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNowStrict/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/formatDistanceToNowStrict/package.json b/node_modules/date-fns/formatDistanceToNowStrict/package.json new file mode 100644 index 000000000..e9bb166a8 --- /dev/null +++ b/node_modules/date-fns/formatDistanceToNowStrict/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatDistanceToNowStrict/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatDuration/index.d.ts b/node_modules/date-fns/formatDuration/index.d.ts new file mode 100644 index 000000000..be96776f3 --- /dev/null +++ b/node_modules/date-fns/formatDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDuration } from 'date-fns' +export default formatDuration diff --git a/node_modules/date-fns/formatDuration/index.js b/node_modules/date-fns/formatDuration/index.js new file mode 100644 index 000000000..2d9cb3151 --- /dev/null +++ b/node_modules/date-fns/formatDuration/index.js @@ -0,0 +1,99 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatDuration; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../_lib/defaultLocale/index.js")); +var defaultFormat = ['years', 'months', 'weeks', 'days', 'hours', 'minutes', 'seconds']; + +/** + * @name formatDuration + * @category Common Helpers + * @summary Formats a duration in human-readable format + * + * @description + * Return human-readable duration string i.e. "9 months 2 days" + * + * @param {Duration} duration - the duration to format + * @param {Object} [options] - an object with options. + * @param {string[]} [options.format=['years', 'months', 'weeks', 'days', 'hours', 'minutes', 'seconds']] - the array of units to format + * @param {boolean} [options.zero=false] - should zeros be included in the output? + * @param {string} [options.delimiter=' '] - delimiter string + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {string} the formatted date string + * @throws {TypeError} 1 argument required + * + * @example + * // Format full duration + * formatDuration({ + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30 + * }) + * //=> '2 years 9 months 1 week 7 days 5 hours 9 minutes 30 seconds' + * + * @example + * // Format partial duration + * formatDuration({ months: 9, days: 2 }) + * //=> '9 months 2 days' + * + * @example + * // Customize the format + * formatDuration( + * { + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30 + * }, + * { format: ['months', 'weeks'] } + * ) === '9 months 1 week' + * + * @example + * // Customize the zeros presence + * formatDuration({ years: 0, months: 9 }) + * //=> '9 months' + * formatDuration({ years: 0, months: 9 }, { zero: true }) + * //=> '0 years 9 months' + * + * @example + * // Customize the delimiter + * formatDuration({ years: 2, months: 9, weeks: 3 }, { delimiter: ', ' }) + * //=> '2 years, 9 months, 3 weeks' + */ +function formatDuration(duration, options) { + var _ref, _options$locale, _options$format, _options$zero, _options$delimiter; + if (arguments.length < 1) { + throw new TypeError("1 argument required, but only ".concat(arguments.length, " present")); + } + var defaultOptions = (0, _index.getDefaultOptions)(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : _index2.default; + var format = (_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : defaultFormat; + var zero = (_options$zero = options === null || options === void 0 ? void 0 : options.zero) !== null && _options$zero !== void 0 ? _options$zero : false; + var delimiter = (_options$delimiter = options === null || options === void 0 ? void 0 : options.delimiter) !== null && _options$delimiter !== void 0 ? _options$delimiter : ' '; + if (!locale.formatDistance) { + return ''; + } + var result = format.reduce(function (acc, unit) { + var token = "x".concat(unit.replace(/(^.)/, function (m) { + return m.toUpperCase(); + })); + var value = duration[unit]; + if (typeof value === 'number' && (zero || duration[unit])) { + return acc.concat(locale.formatDistance(token, value)); + } + return acc; + }, []).join(delimiter); + return result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatDuration/index.js.flow b/node_modules/date-fns/formatDuration/index.js.flow new file mode 100644 index 000000000..022ea8ec7 --- /dev/null +++ b/node_modules/date-fns/formatDuration/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + duration: Duration, + options?: { + format?: string[], + zero?: boolean, + delimiter?: string, + locale?: Locale, + } +) => string diff --git a/node_modules/date-fns/formatDuration/package.json b/node_modules/date-fns/formatDuration/package.json new file mode 100644 index 000000000..97f663ff3 --- /dev/null +++ b/node_modules/date-fns/formatDuration/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatDuration/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatISO/index.d.ts b/node_modules/date-fns/formatISO/index.d.ts new file mode 100644 index 000000000..4ed5a009d --- /dev/null +++ b/node_modules/date-fns/formatISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO } from 'date-fns' +export default formatISO diff --git a/node_modules/date-fns/formatISO/index.js b/node_modules/date-fns/formatISO/index.js new file mode 100644 index 000000000..b965877bb --- /dev/null +++ b/node_modules/date-fns/formatISO/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatISO; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/addLeadingZeros/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name formatISO + * @category Common Helpers + * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm). + * + * @description + * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {'extended'|'basic'} [options.format='extended'] - if 'basic', hide delimiters between date and time values. + * @param {'complete'|'date'|'time'} [options.representation='complete'] - format date, time with local time zone, or both. + * @returns {String} the formatted date string (in local time zone) + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.format` must be 'extended' or 'basic' + * @throws {RangeError} `options.representation` must be 'date', 'time' or 'complete' + * + * @example + * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC): + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52)) + * //=> '2019-09-18T19:00:52Z' + * + * @example + * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC): + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' }) + * //=> '20190918T190052' + * + * @example + * // Represent 18 September 2019 in ISO 8601 format, date only: + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' }) + * //=> '2019-09-18' + * + * @example + * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC): + * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' }) + * //=> '19:00:52Z' + */ +function formatISO(date, options) { + var _options$format, _options$representati; + (0, _index3.default)(1, arguments); + var originalDate = (0, _index.default)(date); + if (isNaN(originalDate.getTime())) { + throw new RangeError('Invalid time value'); + } + var format = String((_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : 'extended'); + var representation = String((_options$representati = options === null || options === void 0 ? void 0 : options.representation) !== null && _options$representati !== void 0 ? _options$representati : 'complete'); + if (format !== 'extended' && format !== 'basic') { + throw new RangeError("format must be 'extended' or 'basic'"); + } + if (representation !== 'date' && representation !== 'time' && representation !== 'complete') { + throw new RangeError("representation must be 'date', 'time', or 'complete'"); + } + var result = ''; + var tzOffset = ''; + var dateDelimiter = format === 'extended' ? '-' : ''; + var timeDelimiter = format === 'extended' ? ':' : ''; + + // Representation is either 'date' or 'complete' + if (representation !== 'time') { + var day = (0, _index2.default)(originalDate.getDate(), 2); + var month = (0, _index2.default)(originalDate.getMonth() + 1, 2); + var year = (0, _index2.default)(originalDate.getFullYear(), 4); + + // yyyyMMdd or yyyy-MM-dd. + result = "".concat(year).concat(dateDelimiter).concat(month).concat(dateDelimiter).concat(day); + } + + // Representation is either 'time' or 'complete' + if (representation !== 'date') { + // Add the timezone. + var offset = originalDate.getTimezoneOffset(); + if (offset !== 0) { + var absoluteOffset = Math.abs(offset); + var hourOffset = (0, _index2.default)(Math.floor(absoluteOffset / 60), 2); + var minuteOffset = (0, _index2.default)(absoluteOffset % 60, 2); + // If less than 0, the sign is +, because it is ahead of time. + var sign = offset < 0 ? '+' : '-'; + tzOffset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); + } else { + tzOffset = 'Z'; + } + var hour = (0, _index2.default)(originalDate.getHours(), 2); + var minute = (0, _index2.default)(originalDate.getMinutes(), 2); + var second = (0, _index2.default)(originalDate.getSeconds(), 2); + + // If there's also date, separate it with time with 'T' + var separator = result === '' ? '' : 'T'; + + // Creates a time string consisting of hour, minute, and second, separated by delimiters, if defined. + var time = [hour, minute, second].join(timeDelimiter); + + // HHmmss or HH:mm:ss. + result = "".concat(result).concat(separator).concat(time).concat(tzOffset); + } + return result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatISO/index.js.flow b/node_modules/date-fns/formatISO/index.js.flow new file mode 100644 index 000000000..5d1e860cf --- /dev/null +++ b/node_modules/date-fns/formatISO/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } +) => string diff --git a/node_modules/date-fns/formatISO/package.json b/node_modules/date-fns/formatISO/package.json new file mode 100644 index 000000000..f0c509b80 --- /dev/null +++ b/node_modules/date-fns/formatISO/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatISO/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatISO9075/index.d.ts b/node_modules/date-fns/formatISO9075/index.d.ts new file mode 100644 index 000000000..cc8dc8958 --- /dev/null +++ b/node_modules/date-fns/formatISO9075/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO9075 } from 'date-fns' +export default formatISO9075 diff --git a/node_modules/date-fns/formatISO9075/index.js b/node_modules/date-fns/formatISO9075/index.js new file mode 100644 index 000000000..5fc91f258 --- /dev/null +++ b/node_modules/date-fns/formatISO9075/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatISO9075; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../isValid/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/addLeadingZeros/index.js")); +/** + * @name formatISO9075 + * @category Common Helpers + * @summary Format the date according to the ISO 9075 standard (https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format). + * + * @description + * Return the formatted date string in ISO 9075 format. Options may be passed to control the parts and notations of the date. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {'extended'|'basic'} [options.format='extended'] - if 'basic', hide delimiters between date and time values. + * @param {'complete'|'date'|'time'} [options.representation='complete'] - format date, time, or both. + * @returns {String} the formatted date string + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.format` must be 'extended' or 'basic' + * @throws {RangeError} `options.representation` must be 'date', 'time' or 'complete' + * + * @example + * // Represent 18 September 2019 in ISO 9075 format: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52)) + * //=> '2019-09-18 19:00:52' + * + * @example + * // Represent 18 September 2019 in ISO 9075, short format: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' }) + * //=> '20190918 190052' + * + * @example + * // Represent 18 September 2019 in ISO 9075 format, date only: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' }) + * //=> '2019-09-18' + * + * @example + * // Represent 18 September 2019 in ISO 9075 format, time only: + * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' }) + * //=> '19:00:52' + */ +function formatISO9075(dirtyDate, options) { + var _options$format, _options$representati; + if (arguments.length < 1) { + throw new TypeError("1 argument required, but only ".concat(arguments.length, " present")); + } + var originalDate = (0, _index.default)(dirtyDate); + if (!(0, _index2.default)(originalDate)) { + throw new RangeError('Invalid time value'); + } + var format = String((_options$format = options === null || options === void 0 ? void 0 : options.format) !== null && _options$format !== void 0 ? _options$format : 'extended'); + var representation = String((_options$representati = options === null || options === void 0 ? void 0 : options.representation) !== null && _options$representati !== void 0 ? _options$representati : 'complete'); + if (format !== 'extended' && format !== 'basic') { + throw new RangeError("format must be 'extended' or 'basic'"); + } + if (representation !== 'date' && representation !== 'time' && representation !== 'complete') { + throw new RangeError("representation must be 'date', 'time', or 'complete'"); + } + var result = ''; + var dateDelimiter = format === 'extended' ? '-' : ''; + var timeDelimiter = format === 'extended' ? ':' : ''; + + // Representation is either 'date' or 'complete' + if (representation !== 'time') { + var day = (0, _index3.default)(originalDate.getDate(), 2); + var month = (0, _index3.default)(originalDate.getMonth() + 1, 2); + var year = (0, _index3.default)(originalDate.getFullYear(), 4); + + // yyyyMMdd or yyyy-MM-dd. + result = "".concat(year).concat(dateDelimiter).concat(month).concat(dateDelimiter).concat(day); + } + + // Representation is either 'time' or 'complete' + if (representation !== 'date') { + var hour = (0, _index3.default)(originalDate.getHours(), 2); + var minute = (0, _index3.default)(originalDate.getMinutes(), 2); + var second = (0, _index3.default)(originalDate.getSeconds(), 2); + + // If there's also date, separate it with time with a space + var separator = result === '' ? '' : ' '; + + // HHmmss or HH:mm:ss. + result = "".concat(result).concat(separator).concat(hour).concat(timeDelimiter).concat(minute).concat(timeDelimiter).concat(second); + } + return result; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatISO9075/index.js.flow b/node_modules/date-fns/formatISO9075/index.js.flow new file mode 100644 index 000000000..5d1e860cf --- /dev/null +++ b/node_modules/date-fns/formatISO9075/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } +) => string diff --git a/node_modules/date-fns/formatISO9075/package.json b/node_modules/date-fns/formatISO9075/package.json new file mode 100644 index 000000000..ffae4ca28 --- /dev/null +++ b/node_modules/date-fns/formatISO9075/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatISO9075/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatISODuration/index.d.ts b/node_modules/date-fns/formatISODuration/index.d.ts new file mode 100644 index 000000000..dfbd33360 --- /dev/null +++ b/node_modules/date-fns/formatISODuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISODuration } from 'date-fns' +export default formatISODuration diff --git a/node_modules/date-fns/formatISODuration/index.js b/node_modules/date-fns/formatISODuration/index.js new file mode 100644 index 000000000..8fc7e3d72 --- /dev/null +++ b/node_modules/date-fns/formatISODuration/index.js @@ -0,0 +1,53 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatISODuration; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name formatISODuration + * @category Common Helpers + * @summary Format a duration object according as ISO 8601 duration string + * + * @description + * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm) + * + * @param {Duration} duration - the duration to format + * + * @returns {String} The ISO 8601 duration string + * @throws {TypeError} Requires 1 argument + * @throws {Error} Argument must be an object + * + * @example + * // Format the given duration as ISO 8601 string + * const result = formatISODuration({ + * years: 39, + * months: 2, + * days: 20, + * hours: 7, + * minutes: 5, + * seconds: 0 + * }) + * //=> 'P39Y2M20DT0H0M0S' + */ +function formatISODuration(duration) { + (0, _index.default)(1, arguments); + if ((0, _typeof2.default)(duration) !== 'object') throw new Error('Duration must be an object'); + var _duration$years = duration.years, + years = _duration$years === void 0 ? 0 : _duration$years, + _duration$months = duration.months, + months = _duration$months === void 0 ? 0 : _duration$months, + _duration$days = duration.days, + days = _duration$days === void 0 ? 0 : _duration$days, + _duration$hours = duration.hours, + hours = _duration$hours === void 0 ? 0 : _duration$hours, + _duration$minutes = duration.minutes, + minutes = _duration$minutes === void 0 ? 0 : _duration$minutes, + _duration$seconds = duration.seconds, + seconds = _duration$seconds === void 0 ? 0 : _duration$seconds; + return "P".concat(years, "Y").concat(months, "M").concat(days, "DT").concat(hours, "H").concat(minutes, "M").concat(seconds, "S"); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatISODuration/index.js.flow b/node_modules/date-fns/formatISODuration/index.js.flow new file mode 100644 index 000000000..3f8bb2c6b --- /dev/null +++ b/node_modules/date-fns/formatISODuration/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (duration: Duration) => string diff --git a/node_modules/date-fns/formatISODuration/package.json b/node_modules/date-fns/formatISODuration/package.json new file mode 100644 index 000000000..b02a549b9 --- /dev/null +++ b/node_modules/date-fns/formatISODuration/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatISODuration/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatRFC3339/index.d.ts b/node_modules/date-fns/formatRFC3339/index.d.ts new file mode 100644 index 000000000..2454cd211 --- /dev/null +++ b/node_modules/date-fns/formatRFC3339/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC3339 } from 'date-fns' +export default formatRFC3339 diff --git a/node_modules/date-fns/formatRFC3339/index.js b/node_modules/date-fns/formatRFC3339/index.js new file mode 100644 index 000000000..a773a3d76 --- /dev/null +++ b/node_modules/date-fns/formatRFC3339/index.js @@ -0,0 +1,84 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatRFC3339; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../isValid/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/addLeadingZeros/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name formatRFC3339 + * @category Common Helpers + * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6). + * + * @description + * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {0|1|2|3} [options.fractionDigits=0] - number of digits after the decimal point after seconds + * @returns {String} the formatted date string + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `options.fractionDigits` must be between 0 and 3 + * + * @example + * // Represent 18 September 2019 in RFC 3339 format: + * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52)) + * //=> '2019-09-18T19:00:52Z' + * + * @example + * // Represent 18 September 2019 in RFC 3339 format, 2 digits of second fraction: + * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), { fractionDigits: 2 }) + * //=> '2019-09-18T19:00:52.23Z' + * + * @example + * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction + * const result = formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), { fractionDigits: 3 }) + * //=> '2019-09-18T19:00:52.234Z' + */ +function formatRFC3339(dirtyDate, options) { + var _options$fractionDigi; + if (arguments.length < 1) { + throw new TypeError("1 arguments required, but only ".concat(arguments.length, " present")); + } + var originalDate = (0, _index.default)(dirtyDate); + if (!(0, _index2.default)(originalDate)) { + throw new RangeError('Invalid time value'); + } + var fractionDigits = Number((_options$fractionDigi = options === null || options === void 0 ? void 0 : options.fractionDigits) !== null && _options$fractionDigi !== void 0 ? _options$fractionDigi : 0); + + // Test if fractionDigits is between 0 and 3 _and_ is not NaN + if (!(fractionDigits >= 0 && fractionDigits <= 3)) { + throw new RangeError('fractionDigits must be between 0 and 3 inclusively'); + } + var day = (0, _index3.default)(originalDate.getDate(), 2); + var month = (0, _index3.default)(originalDate.getMonth() + 1, 2); + var year = originalDate.getFullYear(); + var hour = (0, _index3.default)(originalDate.getHours(), 2); + var minute = (0, _index3.default)(originalDate.getMinutes(), 2); + var second = (0, _index3.default)(originalDate.getSeconds(), 2); + var fractionalSecond = ''; + if (fractionDigits > 0) { + var milliseconds = originalDate.getMilliseconds(); + var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, fractionDigits - 3)); + fractionalSecond = '.' + (0, _index3.default)(fractionalSeconds, fractionDigits); + } + var offset = ''; + var tzOffset = originalDate.getTimezoneOffset(); + if (tzOffset !== 0) { + var absoluteOffset = Math.abs(tzOffset); + var hourOffset = (0, _index3.default)((0, _index4.default)(absoluteOffset / 60), 2); + var minuteOffset = (0, _index3.default)(absoluteOffset % 60, 2); + // If less than 0, the sign is +, because it is ahead of time. + var sign = tzOffset < 0 ? '+' : '-'; + offset = "".concat(sign).concat(hourOffset, ":").concat(minuteOffset); + } else { + offset = 'Z'; + } + return "".concat(year, "-").concat(month, "-").concat(day, "T").concat(hour, ":").concat(minute, ":").concat(second).concat(fractionalSecond).concat(offset); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatRFC3339/index.js.flow b/node_modules/date-fns/formatRFC3339/index.js.flow new file mode 100644 index 000000000..9bb27482e --- /dev/null +++ b/node_modules/date-fns/formatRFC3339/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3, + } +) => string diff --git a/node_modules/date-fns/formatRFC3339/package.json b/node_modules/date-fns/formatRFC3339/package.json new file mode 100644 index 000000000..2e126759d --- /dev/null +++ b/node_modules/date-fns/formatRFC3339/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatRFC3339/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatRFC7231/index.d.ts b/node_modules/date-fns/formatRFC7231/index.d.ts new file mode 100644 index 000000000..2caa71400 --- /dev/null +++ b/node_modules/date-fns/formatRFC7231/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC7231 } from 'date-fns' +export default formatRFC7231 diff --git a/node_modules/date-fns/formatRFC7231/index.js b/node_modules/date-fns/formatRFC7231/index.js new file mode 100644 index 000000000..d7ce57d62 --- /dev/null +++ b/node_modules/date-fns/formatRFC7231/index.js @@ -0,0 +1,52 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatRFC7231; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../isValid/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/addLeadingZeros/index.js")); +var days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; +var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; + +/** + * @name formatRFC7231 + * @category Common Helpers + * @summary Format the date according to the RFC 7231 standard (https://tools.ietf.org/html/rfc7231#section-7.1.1.1). + * + * @description + * Return the formatted date string in RFC 7231 format. + * The result will always be in UTC timezone. + * + * @param {Date|Number} date - the original date + * @returns {String} the formatted date string + * @throws {TypeError} 1 argument required + * @throws {RangeError} `date` must not be Invalid Date + * + * @example + * // Represent 18 September 2019 in RFC 7231 format: + * const result = formatRFC7231(new Date(2019, 8, 18, 19, 0, 52)) + * //=> 'Wed, 18 Sep 2019 19:00:52 GMT' + */ +function formatRFC7231(dirtyDate) { + if (arguments.length < 1) { + throw new TypeError("1 arguments required, but only ".concat(arguments.length, " present")); + } + var originalDate = (0, _index.default)(dirtyDate); + if (!(0, _index2.default)(originalDate)) { + throw new RangeError('Invalid time value'); + } + var dayName = days[originalDate.getUTCDay()]; + var dayOfMonth = (0, _index3.default)(originalDate.getUTCDate(), 2); + var monthName = months[originalDate.getUTCMonth()]; + var year = originalDate.getUTCFullYear(); + var hour = (0, _index3.default)(originalDate.getUTCHours(), 2); + var minute = (0, _index3.default)(originalDate.getUTCMinutes(), 2); + var second = (0, _index3.default)(originalDate.getUTCSeconds(), 2); + + // Result variables. + return "".concat(dayName, ", ").concat(dayOfMonth, " ").concat(monthName, " ").concat(year, " ").concat(hour, ":").concat(minute, ":").concat(second, " GMT"); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatRFC7231/index.js.flow b/node_modules/date-fns/formatRFC7231/index.js.flow new file mode 100644 index 000000000..8462b2512 --- /dev/null +++ b/node_modules/date-fns/formatRFC7231/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => string diff --git a/node_modules/date-fns/formatRFC7231/package.json b/node_modules/date-fns/formatRFC7231/package.json new file mode 100644 index 000000000..975410883 --- /dev/null +++ b/node_modules/date-fns/formatRFC7231/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatRFC7231/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/formatRelative/index.d.ts b/node_modules/date-fns/formatRelative/index.d.ts new file mode 100644 index 000000000..1c5c73922 --- /dev/null +++ b/node_modules/date-fns/formatRelative/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRelative } from 'date-fns' +export default formatRelative diff --git a/node_modules/date-fns/formatRelative/index.js b/node_modules/date-fns/formatRelative/index.js new file mode 100644 index 000000000..f902b4149 --- /dev/null +++ b/node_modules/date-fns/formatRelative/index.js @@ -0,0 +1,101 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = formatRelative; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index3 = _interopRequireDefault(require("../format/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/defaultLocale/index.js")); +var _index5 = _interopRequireDefault(require("../subMilliseconds/index.js")); +var _index6 = _interopRequireDefault(require("../toDate/index.js")); +var _index7 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index8 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index9 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name formatRelative + * @category Common Helpers + * @summary Represent the date in words relative to the given base date. + * + * @description + * Represent the date in words relative to the given base date. + * + * | Distance to the base date | Result | + * |---------------------------|---------------------------| + * | Previous 6 days | last Sunday at 04:30 AM | + * | Last day | yesterday at 04:30 AM | + * | Same day | today at 04:30 AM | + * | Next day | tomorrow at 04:30 AM | + * | Next 6 days | Sunday at 04:30 AM | + * | Other | 12/31/2017 | + * + * @param {Date|Number} date - the date to format + * @param {Date|Number} baseDate - the date to compare with + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {String} the date in words + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.locale` must contain `localize` property + * @throws {RangeError} `options.locale` must contain `formatLong` property + * @throws {RangeError} `options.locale` must contain `formatRelative` property + * + * @example + * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday + * const result = formatRelative(addDays(new Date(), -6), new Date()) + * //=> "last Thursday at 12:45 AM" + */ +function formatRelative(dirtyDate, dirtyBaseDate, options) { + var _ref, _options$locale, _ref2, _ref3, _ref4, _options$weekStartsOn, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2; + (0, _index8.default)(2, arguments); + var date = (0, _index6.default)(dirtyDate); + var baseDate = (0, _index6.default)(dirtyBaseDate); + var defaultOptions = (0, _index.getDefaultOptions)(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : _index4.default; + var weekStartsOn = (0, _index9.default)((_ref2 = (_ref3 = (_ref4 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.weekStartsOn) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : 0); + if (!locale.localize) { + throw new RangeError('locale must contain localize property'); + } + if (!locale.formatLong) { + throw new RangeError('locale must contain formatLong property'); + } + if (!locale.formatRelative) { + throw new RangeError('locale must contain formatRelative property'); + } + var diff = (0, _index2.default)(date, baseDate); + if (isNaN(diff)) { + throw new RangeError('Invalid time value'); + } + var token; + if (diff < -6) { + token = 'other'; + } else if (diff < -1) { + token = 'lastWeek'; + } else if (diff < 0) { + token = 'yesterday'; + } else if (diff < 1) { + token = 'today'; + } else if (diff < 2) { + token = 'tomorrow'; + } else if (diff < 7) { + token = 'nextWeek'; + } else { + token = 'other'; + } + var utcDate = (0, _index5.default)(date, (0, _index7.default)(date)); + var utcBaseDate = (0, _index5.default)(baseDate, (0, _index7.default)(baseDate)); + var formatStr = locale.formatRelative(token, utcDate, utcBaseDate, { + locale: locale, + weekStartsOn: weekStartsOn + }); + return (0, _index3.default)(date, formatStr, { + locale: locale, + weekStartsOn: weekStartsOn + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/formatRelative/index.js.flow b/node_modules/date-fns/formatRelative/index.js.flow new file mode 100644 index 000000000..00280b214 --- /dev/null +++ b/node_modules/date-fns/formatRelative/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => string diff --git a/node_modules/date-fns/formatRelative/package.json b/node_modules/date-fns/formatRelative/package.json new file mode 100644 index 000000000..179e386ea --- /dev/null +++ b/node_modules/date-fns/formatRelative/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/formatRelative/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/_lib/convertToFP/index.js b/node_modules/date-fns/fp/_lib/convertToFP/index.js new file mode 100644 index 000000000..292f690d8 --- /dev/null +++ b/node_modules/date-fns/fp/_lib/convertToFP/index.js @@ -0,0 +1,19 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = convertToFP; +function convertToFP(fn, arity) { + var a = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + if (a.length >= arity) { + return fn.apply(null, a.slice(0, arity).reverse()); + } + return function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return convertToFP(fn, arity, a.concat(args)); + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/add/index.d.ts b/node_modules/date-fns/fp/add/index.d.ts new file mode 100644 index 000000000..f05edaac6 --- /dev/null +++ b/node_modules/date-fns/fp/add/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { add } from 'date-fns/fp' +export default add diff --git a/node_modules/date-fns/fp/add/index.js b/node_modules/date-fns/fp/add/index.js new file mode 100644 index 000000000..a3650438f --- /dev/null +++ b/node_modules/date-fns/fp/add/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../add/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/add/index.js.flow b/node_modules/date-fns/fp/add/index.js.flow new file mode 100644 index 000000000..3d4363b37 --- /dev/null +++ b/node_modules/date-fns/fp/add/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/add/package.json b/node_modules/date-fns/fp/add/package.json new file mode 100644 index 000000000..cb8fb009a --- /dev/null +++ b/node_modules/date-fns/fp/add/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/add/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addBusinessDays/index.d.ts b/node_modules/date-fns/fp/addBusinessDays/index.d.ts new file mode 100644 index 000000000..dd3b8696a --- /dev/null +++ b/node_modules/date-fns/fp/addBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addBusinessDays } from 'date-fns/fp' +export default addBusinessDays diff --git a/node_modules/date-fns/fp/addBusinessDays/index.js b/node_modules/date-fns/fp/addBusinessDays/index.js new file mode 100644 index 000000000..a4bc06797 --- /dev/null +++ b/node_modules/date-fns/fp/addBusinessDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addBusinessDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addBusinessDays/index.js.flow b/node_modules/date-fns/fp/addBusinessDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addBusinessDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addBusinessDays/package.json b/node_modules/date-fns/fp/addBusinessDays/package.json new file mode 100644 index 000000000..8952c982f --- /dev/null +++ b/node_modules/date-fns/fp/addBusinessDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addBusinessDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addDays/index.d.ts b/node_modules/date-fns/fp/addDays/index.d.ts new file mode 100644 index 000000000..7ba1ace6d --- /dev/null +++ b/node_modules/date-fns/fp/addDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addDays } from 'date-fns/fp' +export default addDays diff --git a/node_modules/date-fns/fp/addDays/index.js b/node_modules/date-fns/fp/addDays/index.js new file mode 100644 index 000000000..0147b5408 --- /dev/null +++ b/node_modules/date-fns/fp/addDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addDays/index.js.flow b/node_modules/date-fns/fp/addDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addDays/package.json b/node_modules/date-fns/fp/addDays/package.json new file mode 100644 index 000000000..38e408dca --- /dev/null +++ b/node_modules/date-fns/fp/addDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addHours/index.d.ts b/node_modules/date-fns/fp/addHours/index.d.ts new file mode 100644 index 000000000..9b66a8816 --- /dev/null +++ b/node_modules/date-fns/fp/addHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addHours } from 'date-fns/fp' +export default addHours diff --git a/node_modules/date-fns/fp/addHours/index.js b/node_modules/date-fns/fp/addHours/index.js new file mode 100644 index 000000000..44ff58ee4 --- /dev/null +++ b/node_modules/date-fns/fp/addHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addHours/index.js.flow b/node_modules/date-fns/fp/addHours/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addHours/package.json b/node_modules/date-fns/fp/addHours/package.json new file mode 100644 index 000000000..f8ce94d70 --- /dev/null +++ b/node_modules/date-fns/fp/addHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addISOWeekYears/index.d.ts b/node_modules/date-fns/fp/addISOWeekYears/index.d.ts new file mode 100644 index 000000000..01dab9b40 --- /dev/null +++ b/node_modules/date-fns/fp/addISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addISOWeekYears } from 'date-fns/fp' +export default addISOWeekYears diff --git a/node_modules/date-fns/fp/addISOWeekYears/index.js b/node_modules/date-fns/fp/addISOWeekYears/index.js new file mode 100644 index 000000000..540b6633e --- /dev/null +++ b/node_modules/date-fns/fp/addISOWeekYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addISOWeekYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addISOWeekYears/index.js.flow b/node_modules/date-fns/fp/addISOWeekYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addISOWeekYears/package.json b/node_modules/date-fns/fp/addISOWeekYears/package.json new file mode 100644 index 000000000..f4c26e20c --- /dev/null +++ b/node_modules/date-fns/fp/addISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addISOWeekYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addMilliseconds/index.d.ts b/node_modules/date-fns/fp/addMilliseconds/index.d.ts new file mode 100644 index 000000000..7a93c9073 --- /dev/null +++ b/node_modules/date-fns/fp/addMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMilliseconds } from 'date-fns/fp' +export default addMilliseconds diff --git a/node_modules/date-fns/fp/addMilliseconds/index.js b/node_modules/date-fns/fp/addMilliseconds/index.js new file mode 100644 index 000000000..1315b0143 --- /dev/null +++ b/node_modules/date-fns/fp/addMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addMilliseconds/index.js.flow b/node_modules/date-fns/fp/addMilliseconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addMilliseconds/package.json b/node_modules/date-fns/fp/addMilliseconds/package.json new file mode 100644 index 000000000..d92818997 --- /dev/null +++ b/node_modules/date-fns/fp/addMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addMinutes/index.d.ts b/node_modules/date-fns/fp/addMinutes/index.d.ts new file mode 100644 index 000000000..fc7b67028 --- /dev/null +++ b/node_modules/date-fns/fp/addMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMinutes } from 'date-fns/fp' +export default addMinutes diff --git a/node_modules/date-fns/fp/addMinutes/index.js b/node_modules/date-fns/fp/addMinutes/index.js new file mode 100644 index 000000000..af9904d6f --- /dev/null +++ b/node_modules/date-fns/fp/addMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addMinutes/index.js.flow b/node_modules/date-fns/fp/addMinutes/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addMinutes/package.json b/node_modules/date-fns/fp/addMinutes/package.json new file mode 100644 index 000000000..50adbaf47 --- /dev/null +++ b/node_modules/date-fns/fp/addMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addMonths/index.d.ts b/node_modules/date-fns/fp/addMonths/index.d.ts new file mode 100644 index 000000000..01f0e2dff --- /dev/null +++ b/node_modules/date-fns/fp/addMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addMonths } from 'date-fns/fp' +export default addMonths diff --git a/node_modules/date-fns/fp/addMonths/index.js b/node_modules/date-fns/fp/addMonths/index.js new file mode 100644 index 000000000..3f31f1698 --- /dev/null +++ b/node_modules/date-fns/fp/addMonths/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addMonths/index.js.flow b/node_modules/date-fns/fp/addMonths/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addMonths/package.json b/node_modules/date-fns/fp/addMonths/package.json new file mode 100644 index 000000000..f4700c575 --- /dev/null +++ b/node_modules/date-fns/fp/addMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addMonths/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addQuarters/index.d.ts b/node_modules/date-fns/fp/addQuarters/index.d.ts new file mode 100644 index 000000000..f766d567c --- /dev/null +++ b/node_modules/date-fns/fp/addQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addQuarters } from 'date-fns/fp' +export default addQuarters diff --git a/node_modules/date-fns/fp/addQuarters/index.js b/node_modules/date-fns/fp/addQuarters/index.js new file mode 100644 index 000000000..c47cb8796 --- /dev/null +++ b/node_modules/date-fns/fp/addQuarters/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addQuarters/index.js.flow b/node_modules/date-fns/fp/addQuarters/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addQuarters/package.json b/node_modules/date-fns/fp/addQuarters/package.json new file mode 100644 index 000000000..431ea412d --- /dev/null +++ b/node_modules/date-fns/fp/addQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addQuarters/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addSeconds/index.d.ts b/node_modules/date-fns/fp/addSeconds/index.d.ts new file mode 100644 index 000000000..5c7c41c65 --- /dev/null +++ b/node_modules/date-fns/fp/addSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addSeconds } from 'date-fns/fp' +export default addSeconds diff --git a/node_modules/date-fns/fp/addSeconds/index.js b/node_modules/date-fns/fp/addSeconds/index.js new file mode 100644 index 000000000..b30db8d71 --- /dev/null +++ b/node_modules/date-fns/fp/addSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addSeconds/index.js.flow b/node_modules/date-fns/fp/addSeconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addSeconds/package.json b/node_modules/date-fns/fp/addSeconds/package.json new file mode 100644 index 000000000..bac5c1888 --- /dev/null +++ b/node_modules/date-fns/fp/addSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addWeeks/index.d.ts b/node_modules/date-fns/fp/addWeeks/index.d.ts new file mode 100644 index 000000000..2703fefed --- /dev/null +++ b/node_modules/date-fns/fp/addWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addWeeks } from 'date-fns/fp' +export default addWeeks diff --git a/node_modules/date-fns/fp/addWeeks/index.js b/node_modules/date-fns/fp/addWeeks/index.js new file mode 100644 index 000000000..48a028c13 --- /dev/null +++ b/node_modules/date-fns/fp/addWeeks/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addWeeks/index.js.flow b/node_modules/date-fns/fp/addWeeks/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addWeeks/package.json b/node_modules/date-fns/fp/addWeeks/package.json new file mode 100644 index 000000000..d39cdff9d --- /dev/null +++ b/node_modules/date-fns/fp/addWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addWeeks/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/addYears/index.d.ts b/node_modules/date-fns/fp/addYears/index.d.ts new file mode 100644 index 000000000..ff907d453 --- /dev/null +++ b/node_modules/date-fns/fp/addYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { addYears } from 'date-fns/fp' +export default addYears diff --git a/node_modules/date-fns/fp/addYears/index.js b/node_modules/date-fns/fp/addYears/index.js new file mode 100644 index 000000000..e8d016bc9 --- /dev/null +++ b/node_modules/date-fns/fp/addYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../addYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/addYears/index.js.flow b/node_modules/date-fns/fp/addYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/addYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/addYears/package.json b/node_modules/date-fns/fp/addYears/package.json new file mode 100644 index 000000000..a1b0f744e --- /dev/null +++ b/node_modules/date-fns/fp/addYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/addYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/areIntervalsOverlapping/index.d.ts b/node_modules/date-fns/fp/areIntervalsOverlapping/index.d.ts new file mode 100644 index 000000000..870f26b90 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlapping/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { areIntervalsOverlapping } from 'date-fns/fp' +export default areIntervalsOverlapping diff --git a/node_modules/date-fns/fp/areIntervalsOverlapping/index.js b/node_modules/date-fns/fp/areIntervalsOverlapping/index.js new file mode 100644 index 000000000..57b6f0160 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlapping/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../areIntervalsOverlapping/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/areIntervalsOverlapping/index.js.flow b/node_modules/date-fns/fp/areIntervalsOverlapping/index.js.flow new file mode 100644 index 000000000..cd3963338 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlapping/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/areIntervalsOverlapping/package.json b/node_modules/date-fns/fp/areIntervalsOverlapping/package.json new file mode 100644 index 000000000..6e7aa6734 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlapping/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/areIntervalsOverlapping/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.d.ts b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.d.ts new file mode 100644 index 000000000..010890a83 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { areIntervalsOverlappingWithOptions } from 'date-fns/fp' +export default areIntervalsOverlappingWithOptions diff --git a/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.js b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.js new file mode 100644 index 000000000..319fa4859 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../areIntervalsOverlapping/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.js.flow b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.js.flow new file mode 100644 index 000000000..67e7396ba --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + inclusive?: boolean, + }, + Interval, + Interval, + boolean +> diff --git a/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/package.json b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/package.json new file mode 100644 index 000000000..cfe6bd160 --- /dev/null +++ b/node_modules/date-fns/fp/areIntervalsOverlappingWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/areIntervalsOverlappingWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/clamp/index.d.ts b/node_modules/date-fns/fp/clamp/index.d.ts new file mode 100644 index 000000000..036e70a41 --- /dev/null +++ b/node_modules/date-fns/fp/clamp/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { clamp } from 'date-fns/fp' +export default clamp diff --git a/node_modules/date-fns/fp/clamp/index.js b/node_modules/date-fns/fp/clamp/index.js new file mode 100644 index 000000000..828b9ce32 --- /dev/null +++ b/node_modules/date-fns/fp/clamp/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../clamp/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/clamp/index.js.flow b/node_modules/date-fns/fp/clamp/index.js.flow new file mode 100644 index 000000000..6bd426380 --- /dev/null +++ b/node_modules/date-fns/fp/clamp/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/clamp/package.json b/node_modules/date-fns/fp/clamp/package.json new file mode 100644 index 000000000..5e3bf1c94 --- /dev/null +++ b/node_modules/date-fns/fp/clamp/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/clamp/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/closestIndexTo/index.d.ts b/node_modules/date-fns/fp/closestIndexTo/index.d.ts new file mode 100644 index 000000000..562180dff --- /dev/null +++ b/node_modules/date-fns/fp/closestIndexTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestIndexTo } from 'date-fns/fp' +export default closestIndexTo diff --git a/node_modules/date-fns/fp/closestIndexTo/index.js b/node_modules/date-fns/fp/closestIndexTo/index.js new file mode 100644 index 000000000..18ad96587 --- /dev/null +++ b/node_modules/date-fns/fp/closestIndexTo/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../closestIndexTo/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/closestIndexTo/index.js.flow b/node_modules/date-fns/fp/closestIndexTo/index.js.flow new file mode 100644 index 000000000..d7c060bae --- /dev/null +++ b/node_modules/date-fns/fp/closestIndexTo/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2<(Date | number)[], Date | number, ?number> diff --git a/node_modules/date-fns/fp/closestIndexTo/package.json b/node_modules/date-fns/fp/closestIndexTo/package.json new file mode 100644 index 000000000..4097dca7e --- /dev/null +++ b/node_modules/date-fns/fp/closestIndexTo/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/closestIndexTo/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/closestTo/index.d.ts b/node_modules/date-fns/fp/closestTo/index.d.ts new file mode 100644 index 000000000..44d10c3a1 --- /dev/null +++ b/node_modules/date-fns/fp/closestTo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { closestTo } from 'date-fns/fp' +export default closestTo diff --git a/node_modules/date-fns/fp/closestTo/index.js b/node_modules/date-fns/fp/closestTo/index.js new file mode 100644 index 000000000..34683708f --- /dev/null +++ b/node_modules/date-fns/fp/closestTo/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../closestTo/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/closestTo/index.js.flow b/node_modules/date-fns/fp/closestTo/index.js.flow new file mode 100644 index 000000000..61487d9e1 --- /dev/null +++ b/node_modules/date-fns/fp/closestTo/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2<(Date | number)[], Date | number, ?Date> diff --git a/node_modules/date-fns/fp/closestTo/package.json b/node_modules/date-fns/fp/closestTo/package.json new file mode 100644 index 000000000..5b49d44e1 --- /dev/null +++ b/node_modules/date-fns/fp/closestTo/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/closestTo/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/compareAsc/index.d.ts b/node_modules/date-fns/fp/compareAsc/index.d.ts new file mode 100644 index 000000000..77d5c6123 --- /dev/null +++ b/node_modules/date-fns/fp/compareAsc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareAsc } from 'date-fns/fp' +export default compareAsc diff --git a/node_modules/date-fns/fp/compareAsc/index.js b/node_modules/date-fns/fp/compareAsc/index.js new file mode 100644 index 000000000..8ca9fcb36 --- /dev/null +++ b/node_modules/date-fns/fp/compareAsc/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../compareAsc/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/compareAsc/index.js.flow b/node_modules/date-fns/fp/compareAsc/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/compareAsc/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/compareAsc/package.json b/node_modules/date-fns/fp/compareAsc/package.json new file mode 100644 index 000000000..62cafbd69 --- /dev/null +++ b/node_modules/date-fns/fp/compareAsc/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/compareAsc/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/compareDesc/index.d.ts b/node_modules/date-fns/fp/compareDesc/index.d.ts new file mode 100644 index 000000000..df01367ca --- /dev/null +++ b/node_modules/date-fns/fp/compareDesc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { compareDesc } from 'date-fns/fp' +export default compareDesc diff --git a/node_modules/date-fns/fp/compareDesc/index.js b/node_modules/date-fns/fp/compareDesc/index.js new file mode 100644 index 000000000..0ec442378 --- /dev/null +++ b/node_modules/date-fns/fp/compareDesc/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../compareDesc/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/compareDesc/index.js.flow b/node_modules/date-fns/fp/compareDesc/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/compareDesc/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/compareDesc/package.json b/node_modules/date-fns/fp/compareDesc/package.json new file mode 100644 index 000000000..b6a8412ce --- /dev/null +++ b/node_modules/date-fns/fp/compareDesc/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/compareDesc/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/daysToWeeks/index.d.ts b/node_modules/date-fns/fp/daysToWeeks/index.d.ts new file mode 100644 index 000000000..798a9e15d --- /dev/null +++ b/node_modules/date-fns/fp/daysToWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { daysToWeeks } from 'date-fns/fp' +export default daysToWeeks diff --git a/node_modules/date-fns/fp/daysToWeeks/index.js b/node_modules/date-fns/fp/daysToWeeks/index.js new file mode 100644 index 000000000..0e228dd8e --- /dev/null +++ b/node_modules/date-fns/fp/daysToWeeks/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../daysToWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/daysToWeeks/index.js.flow b/node_modules/date-fns/fp/daysToWeeks/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/daysToWeeks/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/daysToWeeks/package.json b/node_modules/date-fns/fp/daysToWeeks/package.json new file mode 100644 index 000000000..9e538a018 --- /dev/null +++ b/node_modules/date-fns/fp/daysToWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/daysToWeeks/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInBusinessDays/index.d.ts b/node_modules/date-fns/fp/differenceInBusinessDays/index.d.ts new file mode 100644 index 000000000..4ff989062 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInBusinessDays } from 'date-fns/fp' +export default differenceInBusinessDays diff --git a/node_modules/date-fns/fp/differenceInBusinessDays/index.js b/node_modules/date-fns/fp/differenceInBusinessDays/index.js new file mode 100644 index 000000000..2259fd1ca --- /dev/null +++ b/node_modules/date-fns/fp/differenceInBusinessDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInBusinessDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInBusinessDays/index.js.flow b/node_modules/date-fns/fp/differenceInBusinessDays/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInBusinessDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInBusinessDays/package.json b/node_modules/date-fns/fp/differenceInBusinessDays/package.json new file mode 100644 index 000000000..02f12e805 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInBusinessDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInBusinessDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarDays/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarDays/index.d.ts new file mode 100644 index 000000000..b6ae5f5a9 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarDays } from 'date-fns/fp' +export default differenceInCalendarDays diff --git a/node_modules/date-fns/fp/differenceInCalendarDays/index.js b/node_modules/date-fns/fp/differenceInCalendarDays/index.js new file mode 100644 index 000000000..10e4a32c9 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarDays/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarDays/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarDays/package.json b/node_modules/date-fns/fp/differenceInCalendarDays/package.json new file mode 100644 index 000000000..e3148b943 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.d.ts new file mode 100644 index 000000000..4e21998da --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeekYears } from 'date-fns/fp' +export default differenceInCalendarISOWeekYears diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.js b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.js new file mode 100644 index 000000000..f5cdbda33 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarISOWeekYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/package.json b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/package.json new file mode 100644 index 000000000..e1ce6447f --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarISOWeekYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.d.ts new file mode 100644 index 000000000..7751c6f29 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarISOWeeks } from 'date-fns/fp' +export default differenceInCalendarISOWeeks diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.js b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.js new file mode 100644 index 000000000..cc81585c3 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarISOWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarISOWeeks/package.json b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/package.json new file mode 100644 index 000000000..1107c79ab --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarISOWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarISOWeeks/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarMonths/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarMonths/index.d.ts new file mode 100644 index 000000000..080ac92d6 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarMonths } from 'date-fns/fp' +export default differenceInCalendarMonths diff --git a/node_modules/date-fns/fp/differenceInCalendarMonths/index.js b/node_modules/date-fns/fp/differenceInCalendarMonths/index.js new file mode 100644 index 000000000..8bbd5f791 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarMonths/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarMonths/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarMonths/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarMonths/package.json b/node_modules/date-fns/fp/differenceInCalendarMonths/package.json new file mode 100644 index 000000000..c80073f17 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarMonths/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarQuarters/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarQuarters/index.d.ts new file mode 100644 index 000000000..7b9208ba9 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarQuarters } from 'date-fns/fp' +export default differenceInCalendarQuarters diff --git a/node_modules/date-fns/fp/differenceInCalendarQuarters/index.js b/node_modules/date-fns/fp/differenceInCalendarQuarters/index.js new file mode 100644 index 000000000..537c74125 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarQuarters/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarQuarters/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarQuarters/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarQuarters/package.json b/node_modules/date-fns/fp/differenceInCalendarQuarters/package.json new file mode 100644 index 000000000..5917509b6 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarQuarters/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeks/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarWeeks/index.d.ts new file mode 100644 index 000000000..c64709a1d --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarWeeks } from 'date-fns/fp' +export default differenceInCalendarWeeks diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeks/index.js b/node_modules/date-fns/fp/differenceInCalendarWeeks/index.js new file mode 100644 index 000000000..f1f0f49f2 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeks/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeks/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarWeeks/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeks/package.json b/node_modules/date-fns/fp/differenceInCalendarWeeks/package.json new file mode 100644 index 000000000..4d4fe5d37 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarWeeks/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.d.ts new file mode 100644 index 000000000..344e205f9 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarWeeksWithOptions } from 'date-fns/fp' +export default differenceInCalendarWeeksWithOptions diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.js b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.js new file mode 100644 index 000000000..96865461d --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.js.flow new file mode 100644 index 000000000..9ee18fd5a --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/package.json b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/package.json new file mode 100644 index 000000000..8b86fdf20 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarWeeksWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarWeeksWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarYears/index.d.ts b/node_modules/date-fns/fp/differenceInCalendarYears/index.d.ts new file mode 100644 index 000000000..1390b1fdb --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInCalendarYears } from 'date-fns/fp' +export default differenceInCalendarYears diff --git a/node_modules/date-fns/fp/differenceInCalendarYears/index.js b/node_modules/date-fns/fp/differenceInCalendarYears/index.js new file mode 100644 index 000000000..eabe2f710 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInCalendarYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInCalendarYears/index.js.flow b/node_modules/date-fns/fp/differenceInCalendarYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInCalendarYears/package.json b/node_modules/date-fns/fp/differenceInCalendarYears/package.json new file mode 100644 index 000000000..fee18f378 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInCalendarYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInCalendarYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInDays/index.d.ts b/node_modules/date-fns/fp/differenceInDays/index.d.ts new file mode 100644 index 000000000..b240c6e34 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInDays } from 'date-fns/fp' +export default differenceInDays diff --git a/node_modules/date-fns/fp/differenceInDays/index.js b/node_modules/date-fns/fp/differenceInDays/index.js new file mode 100644 index 000000000..c1ced85f7 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInDays/index.js.flow b/node_modules/date-fns/fp/differenceInDays/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInDays/package.json b/node_modules/date-fns/fp/differenceInDays/package.json new file mode 100644 index 000000000..0ccf6cbc9 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInHours/index.d.ts b/node_modules/date-fns/fp/differenceInHours/index.d.ts new file mode 100644 index 000000000..4cc27978f --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInHours } from 'date-fns/fp' +export default differenceInHours diff --git a/node_modules/date-fns/fp/differenceInHours/index.js b/node_modules/date-fns/fp/differenceInHours/index.js new file mode 100644 index 000000000..e22e203a4 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInHours/index.js.flow b/node_modules/date-fns/fp/differenceInHours/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInHours/package.json b/node_modules/date-fns/fp/differenceInHours/package.json new file mode 100644 index 000000000..b13861166 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInHoursWithOptions/index.d.ts b/node_modules/date-fns/fp/differenceInHoursWithOptions/index.d.ts new file mode 100644 index 000000000..0b4cc304b --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHoursWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInHoursWithOptions } from 'date-fns/fp' +export default differenceInHoursWithOptions diff --git a/node_modules/date-fns/fp/differenceInHoursWithOptions/index.js b/node_modules/date-fns/fp/differenceInHoursWithOptions/index.js new file mode 100644 index 000000000..dbc57f9f1 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHoursWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInHoursWithOptions/index.js.flow b/node_modules/date-fns/fp/differenceInHoursWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHoursWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/differenceInHoursWithOptions/package.json b/node_modules/date-fns/fp/differenceInHoursWithOptions/package.json new file mode 100644 index 000000000..824accb89 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInHoursWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInHoursWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInISOWeekYears/index.d.ts b/node_modules/date-fns/fp/differenceInISOWeekYears/index.d.ts new file mode 100644 index 000000000..634591add --- /dev/null +++ b/node_modules/date-fns/fp/differenceInISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInISOWeekYears } from 'date-fns/fp' +export default differenceInISOWeekYears diff --git a/node_modules/date-fns/fp/differenceInISOWeekYears/index.js b/node_modules/date-fns/fp/differenceInISOWeekYears/index.js new file mode 100644 index 000000000..d87f508b3 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInISOWeekYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInISOWeekYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInISOWeekYears/index.js.flow b/node_modules/date-fns/fp/differenceInISOWeekYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInISOWeekYears/package.json b/node_modules/date-fns/fp/differenceInISOWeekYears/package.json new file mode 100644 index 000000000..59531a6ca --- /dev/null +++ b/node_modules/date-fns/fp/differenceInISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInISOWeekYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMilliseconds/index.d.ts b/node_modules/date-fns/fp/differenceInMilliseconds/index.d.ts new file mode 100644 index 000000000..23924cbd1 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMilliseconds } from 'date-fns/fp' +export default differenceInMilliseconds diff --git a/node_modules/date-fns/fp/differenceInMilliseconds/index.js b/node_modules/date-fns/fp/differenceInMilliseconds/index.js new file mode 100644 index 000000000..a2f6d3765 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMilliseconds/index.js.flow b/node_modules/date-fns/fp/differenceInMilliseconds/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInMilliseconds/package.json b/node_modules/date-fns/fp/differenceInMilliseconds/package.json new file mode 100644 index 000000000..576214d1e --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMinutes/index.d.ts b/node_modules/date-fns/fp/differenceInMinutes/index.d.ts new file mode 100644 index 000000000..6d00d342b --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMinutes } from 'date-fns/fp' +export default differenceInMinutes diff --git a/node_modules/date-fns/fp/differenceInMinutes/index.js b/node_modules/date-fns/fp/differenceInMinutes/index.js new file mode 100644 index 000000000..ab40db980 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMinutes/index.js.flow b/node_modules/date-fns/fp/differenceInMinutes/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInMinutes/package.json b/node_modules/date-fns/fp/differenceInMinutes/package.json new file mode 100644 index 000000000..fe7b9e7ea --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.d.ts b/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.d.ts new file mode 100644 index 000000000..33037c96a --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMinutesWithOptions } from 'date-fns/fp' +export default differenceInMinutesWithOptions diff --git a/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.js b/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.js new file mode 100644 index 000000000..f85f8566f --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.js.flow b/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutesWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/differenceInMinutesWithOptions/package.json b/node_modules/date-fns/fp/differenceInMinutesWithOptions/package.json new file mode 100644 index 000000000..46a360552 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMinutesWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInMinutesWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMonths/index.d.ts b/node_modules/date-fns/fp/differenceInMonths/index.d.ts new file mode 100644 index 000000000..17bdd4ea1 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInMonths } from 'date-fns/fp' +export default differenceInMonths diff --git a/node_modules/date-fns/fp/differenceInMonths/index.js b/node_modules/date-fns/fp/differenceInMonths/index.js new file mode 100644 index 000000000..8d8cf7e99 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMonths/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInMonths/index.js.flow b/node_modules/date-fns/fp/differenceInMonths/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInMonths/package.json b/node_modules/date-fns/fp/differenceInMonths/package.json new file mode 100644 index 000000000..748a57be8 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInMonths/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInQuarters/index.d.ts b/node_modules/date-fns/fp/differenceInQuarters/index.d.ts new file mode 100644 index 000000000..649f21d48 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInQuarters } from 'date-fns/fp' +export default differenceInQuarters diff --git a/node_modules/date-fns/fp/differenceInQuarters/index.js b/node_modules/date-fns/fp/differenceInQuarters/index.js new file mode 100644 index 000000000..6b442d5f6 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuarters/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInQuarters/index.js.flow b/node_modules/date-fns/fp/differenceInQuarters/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInQuarters/package.json b/node_modules/date-fns/fp/differenceInQuarters/package.json new file mode 100644 index 000000000..7ef97707a --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInQuarters/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.d.ts b/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.d.ts new file mode 100644 index 000000000..a456bf1e4 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInQuartersWithOptions } from 'date-fns/fp' +export default differenceInQuartersWithOptions diff --git a/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.js b/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.js new file mode 100644 index 000000000..d80cd86ba --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.js.flow b/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuartersWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/differenceInQuartersWithOptions/package.json b/node_modules/date-fns/fp/differenceInQuartersWithOptions/package.json new file mode 100644 index 000000000..15ea27657 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInQuartersWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInQuartersWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInSeconds/index.d.ts b/node_modules/date-fns/fp/differenceInSeconds/index.d.ts new file mode 100644 index 000000000..1dded51c1 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInSeconds } from 'date-fns/fp' +export default differenceInSeconds diff --git a/node_modules/date-fns/fp/differenceInSeconds/index.js b/node_modules/date-fns/fp/differenceInSeconds/index.js new file mode 100644 index 000000000..112e07460 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInSeconds/index.js.flow b/node_modules/date-fns/fp/differenceInSeconds/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInSeconds/package.json b/node_modules/date-fns/fp/differenceInSeconds/package.json new file mode 100644 index 000000000..bff2f6cf3 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.d.ts b/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.d.ts new file mode 100644 index 000000000..da59f3f1c --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInSecondsWithOptions } from 'date-fns/fp' +export default differenceInSecondsWithOptions diff --git a/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.js b/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.js new file mode 100644 index 000000000..461d1604d --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.js.flow b/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSecondsWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/differenceInSecondsWithOptions/package.json b/node_modules/date-fns/fp/differenceInSecondsWithOptions/package.json new file mode 100644 index 000000000..db706710f --- /dev/null +++ b/node_modules/date-fns/fp/differenceInSecondsWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInSecondsWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInWeeks/index.d.ts b/node_modules/date-fns/fp/differenceInWeeks/index.d.ts new file mode 100644 index 000000000..52d52209b --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInWeeks } from 'date-fns/fp' +export default differenceInWeeks diff --git a/node_modules/date-fns/fp/differenceInWeeks/index.js b/node_modules/date-fns/fp/differenceInWeeks/index.js new file mode 100644 index 000000000..928133203 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeks/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInWeeks/index.js.flow b/node_modules/date-fns/fp/differenceInWeeks/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInWeeks/package.json b/node_modules/date-fns/fp/differenceInWeeks/package.json new file mode 100644 index 000000000..dd3b8bb11 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInWeeks/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.d.ts b/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.d.ts new file mode 100644 index 000000000..301650246 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInWeeksWithOptions } from 'date-fns/fp' +export default differenceInWeeksWithOptions diff --git a/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.js b/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.js new file mode 100644 index 000000000..bcad09c3b --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.js.flow b/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.js.flow new file mode 100644 index 000000000..8befafa62 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeksWithOptions/index.js.flow @@ -0,0 +1,74 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/differenceInWeeksWithOptions/package.json b/node_modules/date-fns/fp/differenceInWeeksWithOptions/package.json new file mode 100644 index 000000000..793a10648 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInWeeksWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInWeeksWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInYears/index.d.ts b/node_modules/date-fns/fp/differenceInYears/index.d.ts new file mode 100644 index 000000000..20fd16404 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { differenceInYears } from 'date-fns/fp' +export default differenceInYears diff --git a/node_modules/date-fns/fp/differenceInYears/index.js b/node_modules/date-fns/fp/differenceInYears/index.js new file mode 100644 index 000000000..d9fc8901d --- /dev/null +++ b/node_modules/date-fns/fp/differenceInYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../differenceInYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/differenceInYears/index.js.flow b/node_modules/date-fns/fp/differenceInYears/index.js.flow new file mode 100644 index 000000000..78c45ae36 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/differenceInYears/package.json b/node_modules/date-fns/fp/differenceInYears/package.json new file mode 100644 index 000000000..bfd1a5767 --- /dev/null +++ b/node_modules/date-fns/fp/differenceInYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/differenceInYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachDayOfInterval/index.d.ts b/node_modules/date-fns/fp/eachDayOfInterval/index.d.ts new file mode 100644 index 000000000..e878e768d --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachDayOfInterval } from 'date-fns/fp' +export default eachDayOfInterval diff --git a/node_modules/date-fns/fp/eachDayOfInterval/index.js b/node_modules/date-fns/fp/eachDayOfInterval/index.js new file mode 100644 index 000000000..678a0a4b6 --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachDayOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachDayOfInterval/index.js.flow b/node_modules/date-fns/fp/eachDayOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachDayOfInterval/package.json b/node_modules/date-fns/fp/eachDayOfInterval/package.json new file mode 100644 index 000000000..03fcbcbec --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachDayOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..586228402 --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachDayOfIntervalWithOptions } from 'date-fns/fp' +export default eachDayOfIntervalWithOptions diff --git a/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.js b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.js new file mode 100644 index 000000000..d301b0dce --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachDayOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..bedeb2137 --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/package.json b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/package.json new file mode 100644 index 000000000..72d0c6407 --- /dev/null +++ b/node_modules/date-fns/fp/eachDayOfIntervalWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachDayOfIntervalWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachHourOfInterval/index.d.ts b/node_modules/date-fns/fp/eachHourOfInterval/index.d.ts new file mode 100644 index 000000000..055ab320b --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachHourOfInterval } from 'date-fns/fp' +export default eachHourOfInterval diff --git a/node_modules/date-fns/fp/eachHourOfInterval/index.js b/node_modules/date-fns/fp/eachHourOfInterval/index.js new file mode 100644 index 000000000..9ab50b68f --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachHourOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachHourOfInterval/index.js.flow b/node_modules/date-fns/fp/eachHourOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachHourOfInterval/package.json b/node_modules/date-fns/fp/eachHourOfInterval/package.json new file mode 100644 index 000000000..5408d8896 --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachHourOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..7b781f90e --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachHourOfIntervalWithOptions } from 'date-fns/fp' +export default eachHourOfIntervalWithOptions diff --git a/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.js b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.js new file mode 100644 index 000000000..ca1c06e62 --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachHourOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..bedeb2137 --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/package.json b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/package.json new file mode 100644 index 000000000..8bbaa8021 --- /dev/null +++ b/node_modules/date-fns/fp/eachHourOfIntervalWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachHourOfIntervalWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachMinuteOfInterval/index.d.ts b/node_modules/date-fns/fp/eachMinuteOfInterval/index.d.ts new file mode 100644 index 000000000..243185fb1 --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMinuteOfInterval } from 'date-fns/fp' +export default eachMinuteOfInterval diff --git a/node_modules/date-fns/fp/eachMinuteOfInterval/index.js b/node_modules/date-fns/fp/eachMinuteOfInterval/index.js new file mode 100644 index 000000000..aacd9bf52 --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachMinuteOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachMinuteOfInterval/index.js.flow b/node_modules/date-fns/fp/eachMinuteOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachMinuteOfInterval/package.json b/node_modules/date-fns/fp/eachMinuteOfInterval/package.json new file mode 100644 index 000000000..7c06721a6 --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachMinuteOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..716aa441d --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMinuteOfIntervalWithOptions } from 'date-fns/fp' +export default eachMinuteOfIntervalWithOptions diff --git a/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.js b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.js new file mode 100644 index 000000000..dd5ce8d5d --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachMinuteOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..bedeb2137 --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/package.json b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/package.json new file mode 100644 index 000000000..e184cea46 --- /dev/null +++ b/node_modules/date-fns/fp/eachMinuteOfIntervalWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachMinuteOfIntervalWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachMonthOfInterval/index.d.ts b/node_modules/date-fns/fp/eachMonthOfInterval/index.d.ts new file mode 100644 index 000000000..1f3cae5a9 --- /dev/null +++ b/node_modules/date-fns/fp/eachMonthOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachMonthOfInterval } from 'date-fns/fp' +export default eachMonthOfInterval diff --git a/node_modules/date-fns/fp/eachMonthOfInterval/index.js b/node_modules/date-fns/fp/eachMonthOfInterval/index.js new file mode 100644 index 000000000..b54f46f47 --- /dev/null +++ b/node_modules/date-fns/fp/eachMonthOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachMonthOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachMonthOfInterval/index.js.flow b/node_modules/date-fns/fp/eachMonthOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachMonthOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachMonthOfInterval/package.json b/node_modules/date-fns/fp/eachMonthOfInterval/package.json new file mode 100644 index 000000000..44092e8a5 --- /dev/null +++ b/node_modules/date-fns/fp/eachMonthOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachMonthOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachQuarterOfInterval/index.d.ts b/node_modules/date-fns/fp/eachQuarterOfInterval/index.d.ts new file mode 100644 index 000000000..8a81f636b --- /dev/null +++ b/node_modules/date-fns/fp/eachQuarterOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachQuarterOfInterval } from 'date-fns/fp' +export default eachQuarterOfInterval diff --git a/node_modules/date-fns/fp/eachQuarterOfInterval/index.js b/node_modules/date-fns/fp/eachQuarterOfInterval/index.js new file mode 100644 index 000000000..3ffe5094f --- /dev/null +++ b/node_modules/date-fns/fp/eachQuarterOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachQuarterOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachQuarterOfInterval/index.js.flow b/node_modules/date-fns/fp/eachQuarterOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachQuarterOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachQuarterOfInterval/package.json b/node_modules/date-fns/fp/eachQuarterOfInterval/package.json new file mode 100644 index 000000000..06544204a --- /dev/null +++ b/node_modules/date-fns/fp/eachQuarterOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachQuarterOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekOfInterval/index.d.ts b/node_modules/date-fns/fp/eachWeekOfInterval/index.d.ts new file mode 100644 index 000000000..ab5d4b463 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekOfInterval } from 'date-fns/fp' +export default eachWeekOfInterval diff --git a/node_modules/date-fns/fp/eachWeekOfInterval/index.js b/node_modules/date-fns/fp/eachWeekOfInterval/index.js new file mode 100644 index 000000000..658a026d4 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachWeekOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekOfInterval/index.js.flow b/node_modules/date-fns/fp/eachWeekOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachWeekOfInterval/package.json b/node_modules/date-fns/fp/eachWeekOfInterval/package.json new file mode 100644 index 000000000..29ebc74da --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachWeekOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.d.ts b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.d.ts new file mode 100644 index 000000000..def43ab8e --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekOfIntervalWithOptions } from 'date-fns/fp' +export default eachWeekOfIntervalWithOptions diff --git a/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.js b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.js new file mode 100644 index 000000000..005cd5597 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachWeekOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.js.flow b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.js.flow new file mode 100644 index 000000000..3aca21803 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Interval, + Date[] +> diff --git a/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/package.json b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/package.json new file mode 100644 index 000000000..568fe1e8d --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekOfIntervalWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachWeekOfIntervalWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekendOfInterval/index.d.ts b/node_modules/date-fns/fp/eachWeekendOfInterval/index.d.ts new file mode 100644 index 000000000..961eff70f --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfInterval } from 'date-fns/fp' +export default eachWeekendOfInterval diff --git a/node_modules/date-fns/fp/eachWeekendOfInterval/index.js b/node_modules/date-fns/fp/eachWeekendOfInterval/index.js new file mode 100644 index 000000000..d52f10abb --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachWeekendOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekendOfInterval/index.js.flow b/node_modules/date-fns/fp/eachWeekendOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachWeekendOfInterval/package.json b/node_modules/date-fns/fp/eachWeekendOfInterval/package.json new file mode 100644 index 000000000..548d51f22 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachWeekendOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekendOfMonth/index.d.ts b/node_modules/date-fns/fp/eachWeekendOfMonth/index.d.ts new file mode 100644 index 000000000..2501a05ee --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfMonth } from 'date-fns/fp' +export default eachWeekendOfMonth diff --git a/node_modules/date-fns/fp/eachWeekendOfMonth/index.js b/node_modules/date-fns/fp/eachWeekendOfMonth/index.js new file mode 100644 index 000000000..16054c3dc --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachWeekendOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekendOfMonth/index.js.flow b/node_modules/date-fns/fp/eachWeekendOfMonth/index.js.flow new file mode 100644 index 000000000..9736b40ce --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachWeekendOfMonth/package.json b/node_modules/date-fns/fp/eachWeekendOfMonth/package.json new file mode 100644 index 000000000..7e7a11605 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachWeekendOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekendOfYear/index.d.ts b/node_modules/date-fns/fp/eachWeekendOfYear/index.d.ts new file mode 100644 index 000000000..8554541dc --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachWeekendOfYear } from 'date-fns/fp' +export default eachWeekendOfYear diff --git a/node_modules/date-fns/fp/eachWeekendOfYear/index.js b/node_modules/date-fns/fp/eachWeekendOfYear/index.js new file mode 100644 index 000000000..42c564b0d --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachWeekendOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachWeekendOfYear/index.js.flow b/node_modules/date-fns/fp/eachWeekendOfYear/index.js.flow new file mode 100644 index 000000000..9736b40ce --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachWeekendOfYear/package.json b/node_modules/date-fns/fp/eachWeekendOfYear/package.json new file mode 100644 index 000000000..c47b16875 --- /dev/null +++ b/node_modules/date-fns/fp/eachWeekendOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachWeekendOfYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachYearOfInterval/index.d.ts b/node_modules/date-fns/fp/eachYearOfInterval/index.d.ts new file mode 100644 index 000000000..51e093b5e --- /dev/null +++ b/node_modules/date-fns/fp/eachYearOfInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eachYearOfInterval } from 'date-fns/fp' +export default eachYearOfInterval diff --git a/node_modules/date-fns/fp/eachYearOfInterval/index.js b/node_modules/date-fns/fp/eachYearOfInterval/index.js new file mode 100644 index 000000000..030265c0e --- /dev/null +++ b/node_modules/date-fns/fp/eachYearOfInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../eachYearOfInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/eachYearOfInterval/index.js.flow b/node_modules/date-fns/fp/eachYearOfInterval/index.js.flow new file mode 100644 index 000000000..c5f2d6ac1 --- /dev/null +++ b/node_modules/date-fns/fp/eachYearOfInterval/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/eachYearOfInterval/package.json b/node_modules/date-fns/fp/eachYearOfInterval/package.json new file mode 100644 index 000000000..52b0944c1 --- /dev/null +++ b/node_modules/date-fns/fp/eachYearOfInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/eachYearOfInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfDay/index.d.ts b/node_modules/date-fns/fp/endOfDay/index.d.ts new file mode 100644 index 000000000..2db665f30 --- /dev/null +++ b/node_modules/date-fns/fp/endOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDay } from 'date-fns/fp' +export default endOfDay diff --git a/node_modules/date-fns/fp/endOfDay/index.js b/node_modules/date-fns/fp/endOfDay/index.js new file mode 100644 index 000000000..ed9c3f29f --- /dev/null +++ b/node_modules/date-fns/fp/endOfDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfDay/index.js.flow b/node_modules/date-fns/fp/endOfDay/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfDay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfDay/package.json b/node_modules/date-fns/fp/endOfDay/package.json new file mode 100644 index 000000000..61905031b --- /dev/null +++ b/node_modules/date-fns/fp/endOfDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfDecade/index.d.ts b/node_modules/date-fns/fp/endOfDecade/index.d.ts new file mode 100644 index 000000000..f3a7e8c87 --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDecade } from 'date-fns/fp' +export default endOfDecade diff --git a/node_modules/date-fns/fp/endOfDecade/index.js b/node_modules/date-fns/fp/endOfDecade/index.js new file mode 100644 index 000000000..bc7253748 --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecade/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfDecade/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfDecade/index.js.flow b/node_modules/date-fns/fp/endOfDecade/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfDecade/package.json b/node_modules/date-fns/fp/endOfDecade/package.json new file mode 100644 index 000000000..91c2046ed --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfDecade/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfDecadeWithOptions/index.d.ts b/node_modules/date-fns/fp/endOfDecadeWithOptions/index.d.ts new file mode 100644 index 000000000..cad60daca --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecadeWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfDecadeWithOptions } from 'date-fns/fp' +export default endOfDecadeWithOptions diff --git a/node_modules/date-fns/fp/endOfDecadeWithOptions/index.js b/node_modules/date-fns/fp/endOfDecadeWithOptions/index.js new file mode 100644 index 000000000..f61007dc0 --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecadeWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfDecade/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfDecadeWithOptions/index.js.flow b/node_modules/date-fns/fp/endOfDecadeWithOptions/index.js.flow new file mode 100644 index 000000000..4b6d0d466 --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecadeWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/endOfDecadeWithOptions/package.json b/node_modules/date-fns/fp/endOfDecadeWithOptions/package.json new file mode 100644 index 000000000..69340729e --- /dev/null +++ b/node_modules/date-fns/fp/endOfDecadeWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfDecadeWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfHour/index.d.ts b/node_modules/date-fns/fp/endOfHour/index.d.ts new file mode 100644 index 000000000..fb7b3190f --- /dev/null +++ b/node_modules/date-fns/fp/endOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfHour } from 'date-fns/fp' +export default endOfHour diff --git a/node_modules/date-fns/fp/endOfHour/index.js b/node_modules/date-fns/fp/endOfHour/index.js new file mode 100644 index 000000000..1ed533d7b --- /dev/null +++ b/node_modules/date-fns/fp/endOfHour/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfHour/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfHour/index.js.flow b/node_modules/date-fns/fp/endOfHour/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfHour/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfHour/package.json b/node_modules/date-fns/fp/endOfHour/package.json new file mode 100644 index 000000000..59c107d72 --- /dev/null +++ b/node_modules/date-fns/fp/endOfHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfHour/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfISOWeek/index.d.ts b/node_modules/date-fns/fp/endOfISOWeek/index.d.ts new file mode 100644 index 000000000..64f0b2e3e --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeek } from 'date-fns/fp' +export default endOfISOWeek diff --git a/node_modules/date-fns/fp/endOfISOWeek/index.js b/node_modules/date-fns/fp/endOfISOWeek/index.js new file mode 100644 index 000000000..8e796f480 --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfISOWeek/index.js.flow b/node_modules/date-fns/fp/endOfISOWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfISOWeek/package.json b/node_modules/date-fns/fp/endOfISOWeek/package.json new file mode 100644 index 000000000..4cb73452b --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfISOWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfISOWeekYear/index.d.ts b/node_modules/date-fns/fp/endOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..9782d7fe4 --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfISOWeekYear } from 'date-fns/fp' +export default endOfISOWeekYear diff --git a/node_modules/date-fns/fp/endOfISOWeekYear/index.js b/node_modules/date-fns/fp/endOfISOWeekYear/index.js new file mode 100644 index 000000000..aa4de0726 --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfISOWeekYear/index.js.flow b/node_modules/date-fns/fp/endOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfISOWeekYear/package.json b/node_modules/date-fns/fp/endOfISOWeekYear/package.json new file mode 100644 index 000000000..86a41902a --- /dev/null +++ b/node_modules/date-fns/fp/endOfISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfISOWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfMinute/index.d.ts b/node_modules/date-fns/fp/endOfMinute/index.d.ts new file mode 100644 index 000000000..78e8a192d --- /dev/null +++ b/node_modules/date-fns/fp/endOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMinute } from 'date-fns/fp' +export default endOfMinute diff --git a/node_modules/date-fns/fp/endOfMinute/index.js b/node_modules/date-fns/fp/endOfMinute/index.js new file mode 100644 index 000000000..8811d2954 --- /dev/null +++ b/node_modules/date-fns/fp/endOfMinute/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfMinute/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfMinute/index.js.flow b/node_modules/date-fns/fp/endOfMinute/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfMinute/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfMinute/package.json b/node_modules/date-fns/fp/endOfMinute/package.json new file mode 100644 index 000000000..29618b5e1 --- /dev/null +++ b/node_modules/date-fns/fp/endOfMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfMinute/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfMonth/index.d.ts b/node_modules/date-fns/fp/endOfMonth/index.d.ts new file mode 100644 index 000000000..0c23957e2 --- /dev/null +++ b/node_modules/date-fns/fp/endOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfMonth } from 'date-fns/fp' +export default endOfMonth diff --git a/node_modules/date-fns/fp/endOfMonth/index.js b/node_modules/date-fns/fp/endOfMonth/index.js new file mode 100644 index 000000000..1269f021b --- /dev/null +++ b/node_modules/date-fns/fp/endOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfMonth/index.js.flow b/node_modules/date-fns/fp/endOfMonth/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfMonth/package.json b/node_modules/date-fns/fp/endOfMonth/package.json new file mode 100644 index 000000000..195904ea4 --- /dev/null +++ b/node_modules/date-fns/fp/endOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfQuarter/index.d.ts b/node_modules/date-fns/fp/endOfQuarter/index.d.ts new file mode 100644 index 000000000..24e729ba9 --- /dev/null +++ b/node_modules/date-fns/fp/endOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfQuarter } from 'date-fns/fp' +export default endOfQuarter diff --git a/node_modules/date-fns/fp/endOfQuarter/index.js b/node_modules/date-fns/fp/endOfQuarter/index.js new file mode 100644 index 000000000..3d31ab8af --- /dev/null +++ b/node_modules/date-fns/fp/endOfQuarter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfQuarter/index.js.flow b/node_modules/date-fns/fp/endOfQuarter/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfQuarter/package.json b/node_modules/date-fns/fp/endOfQuarter/package.json new file mode 100644 index 000000000..114a311d9 --- /dev/null +++ b/node_modules/date-fns/fp/endOfQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfQuarter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfSecond/index.d.ts b/node_modules/date-fns/fp/endOfSecond/index.d.ts new file mode 100644 index 000000000..6b5d624ed --- /dev/null +++ b/node_modules/date-fns/fp/endOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfSecond } from 'date-fns/fp' +export default endOfSecond diff --git a/node_modules/date-fns/fp/endOfSecond/index.js b/node_modules/date-fns/fp/endOfSecond/index.js new file mode 100644 index 000000000..544b2163a --- /dev/null +++ b/node_modules/date-fns/fp/endOfSecond/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfSecond/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfSecond/index.js.flow b/node_modules/date-fns/fp/endOfSecond/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfSecond/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfSecond/package.json b/node_modules/date-fns/fp/endOfSecond/package.json new file mode 100644 index 000000000..191b1a9d6 --- /dev/null +++ b/node_modules/date-fns/fp/endOfSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfSecond/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfWeek/index.d.ts b/node_modules/date-fns/fp/endOfWeek/index.d.ts new file mode 100644 index 000000000..0aa4d1027 --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfWeek } from 'date-fns/fp' +export default endOfWeek diff --git a/node_modules/date-fns/fp/endOfWeek/index.js b/node_modules/date-fns/fp/endOfWeek/index.js new file mode 100644 index 000000000..5dc94b685 --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfWeek/index.js.flow b/node_modules/date-fns/fp/endOfWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfWeek/package.json b/node_modules/date-fns/fp/endOfWeek/package.json new file mode 100644 index 000000000..fb45547cf --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfWeekWithOptions/index.d.ts b/node_modules/date-fns/fp/endOfWeekWithOptions/index.d.ts new file mode 100644 index 000000000..0ddcbf60f --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfWeekWithOptions } from 'date-fns/fp' +export default endOfWeekWithOptions diff --git a/node_modules/date-fns/fp/endOfWeekWithOptions/index.js b/node_modules/date-fns/fp/endOfWeekWithOptions/index.js new file mode 100644 index 000000000..890729fb6 --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeekWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfWeekWithOptions/index.js.flow b/node_modules/date-fns/fp/endOfWeekWithOptions/index.js.flow new file mode 100644 index 000000000..9821646c7 --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeekWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/endOfWeekWithOptions/package.json b/node_modules/date-fns/fp/endOfWeekWithOptions/package.json new file mode 100644 index 000000000..bc196a2d1 --- /dev/null +++ b/node_modules/date-fns/fp/endOfWeekWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfWeekWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfYear/index.d.ts b/node_modules/date-fns/fp/endOfYear/index.d.ts new file mode 100644 index 000000000..b4e5904ec --- /dev/null +++ b/node_modules/date-fns/fp/endOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { endOfYear } from 'date-fns/fp' +export default endOfYear diff --git a/node_modules/date-fns/fp/endOfYear/index.js b/node_modules/date-fns/fp/endOfYear/index.js new file mode 100644 index 000000000..b36ebf708 --- /dev/null +++ b/node_modules/date-fns/fp/endOfYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../endOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/endOfYear/index.js.flow b/node_modules/date-fns/fp/endOfYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/endOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/endOfYear/package.json b/node_modules/date-fns/fp/endOfYear/package.json new file mode 100644 index 000000000..fc8d7cede --- /dev/null +++ b/node_modules/date-fns/fp/endOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/endOfYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/format/index.d.ts b/node_modules/date-fns/fp/format/index.d.ts new file mode 100644 index 000000000..bf0c948ee --- /dev/null +++ b/node_modules/date-fns/fp/format/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { format } from 'date-fns/fp' +export default format diff --git a/node_modules/date-fns/fp/format/index.js b/node_modules/date-fns/fp/format/index.js new file mode 100644 index 000000000..fa1f4d351 --- /dev/null +++ b/node_modules/date-fns/fp/format/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../format/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/format/index.js.flow b/node_modules/date-fns/fp/format/index.js.flow new file mode 100644 index 000000000..013f277c8 --- /dev/null +++ b/node_modules/date-fns/fp/format/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/format/package.json b/node_modules/date-fns/fp/format/package.json new file mode 100644 index 000000000..b284f04c9 --- /dev/null +++ b/node_modules/date-fns/fp/format/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/format/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistance/index.d.ts b/node_modules/date-fns/fp/formatDistance/index.d.ts new file mode 100644 index 000000000..029daa42f --- /dev/null +++ b/node_modules/date-fns/fp/formatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistance } from 'date-fns/fp' +export default formatDistance diff --git a/node_modules/date-fns/fp/formatDistance/index.js b/node_modules/date-fns/fp/formatDistance/index.js new file mode 100644 index 000000000..11053f0ed --- /dev/null +++ b/node_modules/date-fns/fp/formatDistance/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistance/index.js.flow b/node_modules/date-fns/fp/formatDistance/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/fp/formatDistance/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/formatDistance/package.json b/node_modules/date-fns/fp/formatDistance/package.json new file mode 100644 index 000000000..612f6232d --- /dev/null +++ b/node_modules/date-fns/fp/formatDistance/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatDistance/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistanceStrict/index.d.ts b/node_modules/date-fns/fp/formatDistanceStrict/index.d.ts new file mode 100644 index 000000000..dd41fb8a8 --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrict/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceStrict } from 'date-fns/fp' +export default formatDistanceStrict diff --git a/node_modules/date-fns/fp/formatDistanceStrict/index.js b/node_modules/date-fns/fp/formatDistanceStrict/index.js new file mode 100644 index 000000000..e150a47cb --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrict/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatDistanceStrict/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistanceStrict/index.js.flow b/node_modules/date-fns/fp/formatDistanceStrict/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrict/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/formatDistanceStrict/package.json b/node_modules/date-fns/fp/formatDistanceStrict/package.json new file mode 100644 index 000000000..92b0d8ea0 --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrict/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatDistanceStrict/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.d.ts b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.d.ts new file mode 100644 index 000000000..2e626c402 --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceStrictWithOptions } from 'date-fns/fp' +export default formatDistanceStrictWithOptions diff --git a/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.js b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.js new file mode 100644 index 000000000..5d50e5e6d --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatDistanceStrict/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.js.flow b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.js.flow new file mode 100644 index 000000000..b021da2fd --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/index.js.flow @@ -0,0 +1,77 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + locale?: Locale, + roundingMethod?: 'floor' | 'ceil' | 'round', + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + addSuffix?: boolean, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatDistanceStrictWithOptions/package.json b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/package.json new file mode 100644 index 000000000..7766738a9 --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceStrictWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatDistanceStrictWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistanceWithOptions/index.d.ts b/node_modules/date-fns/fp/formatDistanceWithOptions/index.d.ts new file mode 100644 index 000000000..62f084965 --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDistanceWithOptions } from 'date-fns/fp' +export default formatDistanceWithOptions diff --git a/node_modules/date-fns/fp/formatDistanceWithOptions/index.js b/node_modules/date-fns/fp/formatDistanceWithOptions/index.js new file mode 100644 index 000000000..807c81850 --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDistanceWithOptions/index.js.flow b/node_modules/date-fns/fp/formatDistanceWithOptions/index.js.flow new file mode 100644 index 000000000..59043117a --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceWithOptions/index.js.flow @@ -0,0 +1,76 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + locale?: Locale, + addSuffix?: boolean, + includeSeconds?: boolean, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatDistanceWithOptions/package.json b/node_modules/date-fns/fp/formatDistanceWithOptions/package.json new file mode 100644 index 000000000..9fd20c75e --- /dev/null +++ b/node_modules/date-fns/fp/formatDistanceWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatDistanceWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDuration/index.d.ts b/node_modules/date-fns/fp/formatDuration/index.d.ts new file mode 100644 index 000000000..3b184ccfc --- /dev/null +++ b/node_modules/date-fns/fp/formatDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDuration } from 'date-fns/fp' +export default formatDuration diff --git a/node_modules/date-fns/fp/formatDuration/index.js b/node_modules/date-fns/fp/formatDuration/index.js new file mode 100644 index 000000000..bcc46230c --- /dev/null +++ b/node_modules/date-fns/fp/formatDuration/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatDuration/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDuration/index.js.flow b/node_modules/date-fns/fp/formatDuration/index.js.flow new file mode 100644 index 000000000..da7156448 --- /dev/null +++ b/node_modules/date-fns/fp/formatDuration/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/formatDuration/package.json b/node_modules/date-fns/fp/formatDuration/package.json new file mode 100644 index 000000000..d99ac7e31 --- /dev/null +++ b/node_modules/date-fns/fp/formatDuration/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatDuration/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDurationWithOptions/index.d.ts b/node_modules/date-fns/fp/formatDurationWithOptions/index.d.ts new file mode 100644 index 000000000..633151779 --- /dev/null +++ b/node_modules/date-fns/fp/formatDurationWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatDurationWithOptions } from 'date-fns/fp' +export default formatDurationWithOptions diff --git a/node_modules/date-fns/fp/formatDurationWithOptions/index.js b/node_modules/date-fns/fp/formatDurationWithOptions/index.js new file mode 100644 index 000000000..aa14aa3f2 --- /dev/null +++ b/node_modules/date-fns/fp/formatDurationWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatDuration/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatDurationWithOptions/index.js.flow b/node_modules/date-fns/fp/formatDurationWithOptions/index.js.flow new file mode 100644 index 000000000..72f29103f --- /dev/null +++ b/node_modules/date-fns/fp/formatDurationWithOptions/index.js.flow @@ -0,0 +1,67 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + locale?: Locale, + delimiter?: string, + zero?: boolean, + format?: string[], + }, + Duration, + string +> diff --git a/node_modules/date-fns/fp/formatDurationWithOptions/package.json b/node_modules/date-fns/fp/formatDurationWithOptions/package.json new file mode 100644 index 000000000..f45d7e7c5 --- /dev/null +++ b/node_modules/date-fns/fp/formatDurationWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatDurationWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISO/index.d.ts b/node_modules/date-fns/fp/formatISO/index.d.ts new file mode 100644 index 000000000..6f3ba60eb --- /dev/null +++ b/node_modules/date-fns/fp/formatISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO } from 'date-fns/fp' +export default formatISO diff --git a/node_modules/date-fns/fp/formatISO/index.js b/node_modules/date-fns/fp/formatISO/index.js new file mode 100644 index 000000000..1566f4914 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatISO/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISO/index.js.flow b/node_modules/date-fns/fp/formatISO/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/formatISO/package.json b/node_modules/date-fns/fp/formatISO/package.json new file mode 100644 index 000000000..2a36cb3fe --- /dev/null +++ b/node_modules/date-fns/fp/formatISO/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatISO/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISO9075/index.d.ts b/node_modules/date-fns/fp/formatISO9075/index.d.ts new file mode 100644 index 000000000..171e2b74c --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO9075 } from 'date-fns/fp' +export default formatISO9075 diff --git a/node_modules/date-fns/fp/formatISO9075/index.js b/node_modules/date-fns/fp/formatISO9075/index.js new file mode 100644 index 000000000..a7061b29f --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatISO9075/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISO9075/index.js.flow b/node_modules/date-fns/fp/formatISO9075/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/formatISO9075/package.json b/node_modules/date-fns/fp/formatISO9075/package.json new file mode 100644 index 000000000..cbe5845b5 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatISO9075/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISO9075WithOptions/index.d.ts b/node_modules/date-fns/fp/formatISO9075WithOptions/index.d.ts new file mode 100644 index 000000000..3000885a3 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075WithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISO9075WithOptions } from 'date-fns/fp' +export default formatISO9075WithOptions diff --git a/node_modules/date-fns/fp/formatISO9075WithOptions/index.js b/node_modules/date-fns/fp/formatISO9075WithOptions/index.js new file mode 100644 index 000000000..83e39bbe6 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075WithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatISO9075/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISO9075WithOptions/index.js.flow b/node_modules/date-fns/fp/formatISO9075WithOptions/index.js.flow new file mode 100644 index 000000000..fd294f174 --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075WithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatISO9075WithOptions/package.json b/node_modules/date-fns/fp/formatISO9075WithOptions/package.json new file mode 100644 index 000000000..bd0af2e5d --- /dev/null +++ b/node_modules/date-fns/fp/formatISO9075WithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatISO9075WithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISODuration/index.d.ts b/node_modules/date-fns/fp/formatISODuration/index.d.ts new file mode 100644 index 000000000..aedd08693 --- /dev/null +++ b/node_modules/date-fns/fp/formatISODuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISODuration } from 'date-fns/fp' +export default formatISODuration diff --git a/node_modules/date-fns/fp/formatISODuration/index.js b/node_modules/date-fns/fp/formatISODuration/index.js new file mode 100644 index 000000000..4f3cdd763 --- /dev/null +++ b/node_modules/date-fns/fp/formatISODuration/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatISODuration/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISODuration/index.js.flow b/node_modules/date-fns/fp/formatISODuration/index.js.flow new file mode 100644 index 000000000..da7156448 --- /dev/null +++ b/node_modules/date-fns/fp/formatISODuration/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/formatISODuration/package.json b/node_modules/date-fns/fp/formatISODuration/package.json new file mode 100644 index 000000000..e545fdbbd --- /dev/null +++ b/node_modules/date-fns/fp/formatISODuration/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatISODuration/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISOWithOptions/index.d.ts b/node_modules/date-fns/fp/formatISOWithOptions/index.d.ts new file mode 100644 index 000000000..286813e2b --- /dev/null +++ b/node_modules/date-fns/fp/formatISOWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatISOWithOptions } from 'date-fns/fp' +export default formatISOWithOptions diff --git a/node_modules/date-fns/fp/formatISOWithOptions/index.js b/node_modules/date-fns/fp/formatISOWithOptions/index.js new file mode 100644 index 000000000..53f617697 --- /dev/null +++ b/node_modules/date-fns/fp/formatISOWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatISO/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatISOWithOptions/index.js.flow b/node_modules/date-fns/fp/formatISOWithOptions/index.js.flow new file mode 100644 index 000000000..fd294f174 --- /dev/null +++ b/node_modules/date-fns/fp/formatISOWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatISOWithOptions/package.json b/node_modules/date-fns/fp/formatISOWithOptions/package.json new file mode 100644 index 000000000..b9cb9cdb0 --- /dev/null +++ b/node_modules/date-fns/fp/formatISOWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatISOWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRFC3339/index.d.ts b/node_modules/date-fns/fp/formatRFC3339/index.d.ts new file mode 100644 index 000000000..c1ac82722 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC3339 } from 'date-fns/fp' +export default formatRFC3339 diff --git a/node_modules/date-fns/fp/formatRFC3339/index.js b/node_modules/date-fns/fp/formatRFC3339/index.js new file mode 100644 index 000000000..471471d80 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatRFC3339/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRFC3339/index.js.flow b/node_modules/date-fns/fp/formatRFC3339/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/formatRFC3339/package.json b/node_modules/date-fns/fp/formatRFC3339/package.json new file mode 100644 index 000000000..7dd565d57 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatRFC3339/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRFC3339WithOptions/index.d.ts b/node_modules/date-fns/fp/formatRFC3339WithOptions/index.d.ts new file mode 100644 index 000000000..b274531db --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339WithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC3339WithOptions } from 'date-fns/fp' +export default formatRFC3339WithOptions diff --git a/node_modules/date-fns/fp/formatRFC3339WithOptions/index.js b/node_modules/date-fns/fp/formatRFC3339WithOptions/index.js new file mode 100644 index 000000000..cf0d332d3 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339WithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatRFC3339/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRFC3339WithOptions/index.js.flow b/node_modules/date-fns/fp/formatRFC3339WithOptions/index.js.flow new file mode 100644 index 000000000..77fba5957 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339WithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + fractionDigits?: 0 | 1 | 2 | 3, + }, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatRFC3339WithOptions/package.json b/node_modules/date-fns/fp/formatRFC3339WithOptions/package.json new file mode 100644 index 000000000..1dba5ee92 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC3339WithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatRFC3339WithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRFC7231/index.d.ts b/node_modules/date-fns/fp/formatRFC7231/index.d.ts new file mode 100644 index 000000000..ca45e433d --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC7231/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRFC7231 } from 'date-fns/fp' +export default formatRFC7231 diff --git a/node_modules/date-fns/fp/formatRFC7231/index.js b/node_modules/date-fns/fp/formatRFC7231/index.js new file mode 100644 index 000000000..a59bf5073 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC7231/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatRFC7231/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRFC7231/index.js.flow b/node_modules/date-fns/fp/formatRFC7231/index.js.flow new file mode 100644 index 000000000..a2b1a3a79 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC7231/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/formatRFC7231/package.json b/node_modules/date-fns/fp/formatRFC7231/package.json new file mode 100644 index 000000000..f1517e623 --- /dev/null +++ b/node_modules/date-fns/fp/formatRFC7231/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatRFC7231/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRelative/index.d.ts b/node_modules/date-fns/fp/formatRelative/index.d.ts new file mode 100644 index 000000000..927a30010 --- /dev/null +++ b/node_modules/date-fns/fp/formatRelative/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRelative } from 'date-fns/fp' +export default formatRelative diff --git a/node_modules/date-fns/fp/formatRelative/index.js b/node_modules/date-fns/fp/formatRelative/index.js new file mode 100644 index 000000000..72e2a00ff --- /dev/null +++ b/node_modules/date-fns/fp/formatRelative/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatRelative/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRelative/index.js.flow b/node_modules/date-fns/fp/formatRelative/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/fp/formatRelative/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/formatRelative/package.json b/node_modules/date-fns/fp/formatRelative/package.json new file mode 100644 index 000000000..a1a30f186 --- /dev/null +++ b/node_modules/date-fns/fp/formatRelative/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatRelative/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRelativeWithOptions/index.d.ts b/node_modules/date-fns/fp/formatRelativeWithOptions/index.d.ts new file mode 100644 index 000000000..5bea41aa2 --- /dev/null +++ b/node_modules/date-fns/fp/formatRelativeWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatRelativeWithOptions } from 'date-fns/fp' +export default formatRelativeWithOptions diff --git a/node_modules/date-fns/fp/formatRelativeWithOptions/index.js b/node_modules/date-fns/fp/formatRelativeWithOptions/index.js new file mode 100644 index 000000000..acab78868 --- /dev/null +++ b/node_modules/date-fns/fp/formatRelativeWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../formatRelative/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatRelativeWithOptions/index.js.flow b/node_modules/date-fns/fp/formatRelativeWithOptions/index.js.flow new file mode 100644 index 000000000..cb51d97a6 --- /dev/null +++ b/node_modules/date-fns/fp/formatRelativeWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatRelativeWithOptions/package.json b/node_modules/date-fns/fp/formatRelativeWithOptions/package.json new file mode 100644 index 000000000..0befc2900 --- /dev/null +++ b/node_modules/date-fns/fp/formatRelativeWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatRelativeWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatWithOptions/index.d.ts b/node_modules/date-fns/fp/formatWithOptions/index.d.ts new file mode 100644 index 000000000..cd59897d1 --- /dev/null +++ b/node_modules/date-fns/fp/formatWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { formatWithOptions } from 'date-fns/fp' +export default formatWithOptions diff --git a/node_modules/date-fns/fp/formatWithOptions/index.js b/node_modules/date-fns/fp/formatWithOptions/index.js new file mode 100644 index 000000000..261e55e45 --- /dev/null +++ b/node_modules/date-fns/fp/formatWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../format/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/formatWithOptions/index.js.flow b/node_modules/date-fns/fp/formatWithOptions/index.js.flow new file mode 100644 index 000000000..757f95ad6 --- /dev/null +++ b/node_modules/date-fns/fp/formatWithOptions/index.js.flow @@ -0,0 +1,78 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: number, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/formatWithOptions/package.json b/node_modules/date-fns/fp/formatWithOptions/package.json new file mode 100644 index 000000000..cad375476 --- /dev/null +++ b/node_modules/date-fns/fp/formatWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/formatWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/fromUnixTime/index.d.ts b/node_modules/date-fns/fp/fromUnixTime/index.d.ts new file mode 100644 index 000000000..e6cbce37f --- /dev/null +++ b/node_modules/date-fns/fp/fromUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fromUnixTime } from 'date-fns/fp' +export default fromUnixTime diff --git a/node_modules/date-fns/fp/fromUnixTime/index.js b/node_modules/date-fns/fp/fromUnixTime/index.js new file mode 100644 index 000000000..514ef57db --- /dev/null +++ b/node_modules/date-fns/fp/fromUnixTime/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../fromUnixTime/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/fromUnixTime/index.js.flow b/node_modules/date-fns/fp/fromUnixTime/index.js.flow new file mode 100644 index 000000000..27fa88674 --- /dev/null +++ b/node_modules/date-fns/fp/fromUnixTime/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/fromUnixTime/package.json b/node_modules/date-fns/fp/fromUnixTime/package.json new file mode 100644 index 000000000..89c00783d --- /dev/null +++ b/node_modules/date-fns/fp/fromUnixTime/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/fromUnixTime/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDate/index.d.ts b/node_modules/date-fns/fp/getDate/index.d.ts new file mode 100644 index 000000000..879f12cf8 --- /dev/null +++ b/node_modules/date-fns/fp/getDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDate } from 'date-fns/fp' +export default getDate diff --git a/node_modules/date-fns/fp/getDate/index.js b/node_modules/date-fns/fp/getDate/index.js new file mode 100644 index 000000000..416167b83 --- /dev/null +++ b/node_modules/date-fns/fp/getDate/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDate/index.js.flow b/node_modules/date-fns/fp/getDate/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getDate/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getDate/package.json b/node_modules/date-fns/fp/getDate/package.json new file mode 100644 index 000000000..91e0e1195 --- /dev/null +++ b/node_modules/date-fns/fp/getDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getDate/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDay/index.d.ts b/node_modules/date-fns/fp/getDay/index.d.ts new file mode 100644 index 000000000..e1bccbbe4 --- /dev/null +++ b/node_modules/date-fns/fp/getDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDay } from 'date-fns/fp' +export default getDay diff --git a/node_modules/date-fns/fp/getDay/index.js b/node_modules/date-fns/fp/getDay/index.js new file mode 100644 index 000000000..05a457d2b --- /dev/null +++ b/node_modules/date-fns/fp/getDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDay/index.js.flow b/node_modules/date-fns/fp/getDay/index.js.flow new file mode 100644 index 000000000..8971f41fb --- /dev/null +++ b/node_modules/date-fns/fp/getDay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getDay/package.json b/node_modules/date-fns/fp/getDay/package.json new file mode 100644 index 000000000..995404c2f --- /dev/null +++ b/node_modules/date-fns/fp/getDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDayOfYear/index.d.ts b/node_modules/date-fns/fp/getDayOfYear/index.d.ts new file mode 100644 index 000000000..ccc88e16d --- /dev/null +++ b/node_modules/date-fns/fp/getDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDayOfYear } from 'date-fns/fp' +export default getDayOfYear diff --git a/node_modules/date-fns/fp/getDayOfYear/index.js b/node_modules/date-fns/fp/getDayOfYear/index.js new file mode 100644 index 000000000..faa403dc2 --- /dev/null +++ b/node_modules/date-fns/fp/getDayOfYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getDayOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDayOfYear/index.js.flow b/node_modules/date-fns/fp/getDayOfYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getDayOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getDayOfYear/package.json b/node_modules/date-fns/fp/getDayOfYear/package.json new file mode 100644 index 000000000..1f6d66962 --- /dev/null +++ b/node_modules/date-fns/fp/getDayOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getDayOfYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDaysInMonth/index.d.ts b/node_modules/date-fns/fp/getDaysInMonth/index.d.ts new file mode 100644 index 000000000..2ca844592 --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInMonth } from 'date-fns/fp' +export default getDaysInMonth diff --git a/node_modules/date-fns/fp/getDaysInMonth/index.js b/node_modules/date-fns/fp/getDaysInMonth/index.js new file mode 100644 index 000000000..bacb95cc5 --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getDaysInMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDaysInMonth/index.js.flow b/node_modules/date-fns/fp/getDaysInMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getDaysInMonth/package.json b/node_modules/date-fns/fp/getDaysInMonth/package.json new file mode 100644 index 000000000..954ecce3c --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getDaysInMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDaysInYear/index.d.ts b/node_modules/date-fns/fp/getDaysInYear/index.d.ts new file mode 100644 index 000000000..599213fa5 --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInYear } from 'date-fns/fp' +export default getDaysInYear diff --git a/node_modules/date-fns/fp/getDaysInYear/index.js b/node_modules/date-fns/fp/getDaysInYear/index.js new file mode 100644 index 000000000..00eb2c916 --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getDaysInYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDaysInYear/index.js.flow b/node_modules/date-fns/fp/getDaysInYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getDaysInYear/package.json b/node_modules/date-fns/fp/getDaysInYear/package.json new file mode 100644 index 000000000..cbde1b999 --- /dev/null +++ b/node_modules/date-fns/fp/getDaysInYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getDaysInYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDecade/index.d.ts b/node_modules/date-fns/fp/getDecade/index.d.ts new file mode 100644 index 000000000..ca1c9c5c9 --- /dev/null +++ b/node_modules/date-fns/fp/getDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDecade } from 'date-fns/fp' +export default getDecade diff --git a/node_modules/date-fns/fp/getDecade/index.js b/node_modules/date-fns/fp/getDecade/index.js new file mode 100644 index 000000000..415425e09 --- /dev/null +++ b/node_modules/date-fns/fp/getDecade/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getDecade/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getDecade/index.js.flow b/node_modules/date-fns/fp/getDecade/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getDecade/package.json b/node_modules/date-fns/fp/getDecade/package.json new file mode 100644 index 000000000..0c7ffa786 --- /dev/null +++ b/node_modules/date-fns/fp/getDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getDecade/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getHours/index.d.ts b/node_modules/date-fns/fp/getHours/index.d.ts new file mode 100644 index 000000000..9daea8a79 --- /dev/null +++ b/node_modules/date-fns/fp/getHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getHours } from 'date-fns/fp' +export default getHours diff --git a/node_modules/date-fns/fp/getHours/index.js b/node_modules/date-fns/fp/getHours/index.js new file mode 100644 index 000000000..6f7eb8390 --- /dev/null +++ b/node_modules/date-fns/fp/getHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getHours/index.js.flow b/node_modules/date-fns/fp/getHours/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getHours/package.json b/node_modules/date-fns/fp/getHours/package.json new file mode 100644 index 000000000..6d3fdc9aa --- /dev/null +++ b/node_modules/date-fns/fp/getHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISODay/index.d.ts b/node_modules/date-fns/fp/getISODay/index.d.ts new file mode 100644 index 000000000..c85663eeb --- /dev/null +++ b/node_modules/date-fns/fp/getISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISODay } from 'date-fns/fp' +export default getISODay diff --git a/node_modules/date-fns/fp/getISODay/index.js b/node_modules/date-fns/fp/getISODay/index.js new file mode 100644 index 000000000..a6cfd4c57 --- /dev/null +++ b/node_modules/date-fns/fp/getISODay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getISODay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISODay/index.js.flow b/node_modules/date-fns/fp/getISODay/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getISODay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getISODay/package.json b/node_modules/date-fns/fp/getISODay/package.json new file mode 100644 index 000000000..225f594af --- /dev/null +++ b/node_modules/date-fns/fp/getISODay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getISODay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISOWeek/index.d.ts b/node_modules/date-fns/fp/getISOWeek/index.d.ts new file mode 100644 index 000000000..2574d715d --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeek } from 'date-fns/fp' +export default getISOWeek diff --git a/node_modules/date-fns/fp/getISOWeek/index.js b/node_modules/date-fns/fp/getISOWeek/index.js new file mode 100644 index 000000000..1a808518b --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISOWeek/index.js.flow b/node_modules/date-fns/fp/getISOWeek/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getISOWeek/package.json b/node_modules/date-fns/fp/getISOWeek/package.json new file mode 100644 index 000000000..395b160f3 --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getISOWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISOWeekYear/index.d.ts b/node_modules/date-fns/fp/getISOWeekYear/index.d.ts new file mode 100644 index 000000000..b0cfad87a --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeekYear } from 'date-fns/fp' +export default getISOWeekYear diff --git a/node_modules/date-fns/fp/getISOWeekYear/index.js b/node_modules/date-fns/fp/getISOWeekYear/index.js new file mode 100644 index 000000000..0895a4d24 --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISOWeekYear/index.js.flow b/node_modules/date-fns/fp/getISOWeekYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getISOWeekYear/package.json b/node_modules/date-fns/fp/getISOWeekYear/package.json new file mode 100644 index 000000000..ce9c1b2c7 --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getISOWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISOWeeksInYear/index.d.ts b/node_modules/date-fns/fp/getISOWeeksInYear/index.d.ts new file mode 100644 index 000000000..3a1d6af68 --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeeksInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeeksInYear } from 'date-fns/fp' +export default getISOWeeksInYear diff --git a/node_modules/date-fns/fp/getISOWeeksInYear/index.js b/node_modules/date-fns/fp/getISOWeeksInYear/index.js new file mode 100644 index 000000000..bd82c59ff --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeeksInYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getISOWeeksInYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getISOWeeksInYear/index.js.flow b/node_modules/date-fns/fp/getISOWeeksInYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeeksInYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getISOWeeksInYear/package.json b/node_modules/date-fns/fp/getISOWeeksInYear/package.json new file mode 100644 index 000000000..ba4485243 --- /dev/null +++ b/node_modules/date-fns/fp/getISOWeeksInYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getISOWeeksInYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getMilliseconds/index.d.ts b/node_modules/date-fns/fp/getMilliseconds/index.d.ts new file mode 100644 index 000000000..c1259627f --- /dev/null +++ b/node_modules/date-fns/fp/getMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMilliseconds } from 'date-fns/fp' +export default getMilliseconds diff --git a/node_modules/date-fns/fp/getMilliseconds/index.js b/node_modules/date-fns/fp/getMilliseconds/index.js new file mode 100644 index 000000000..c1e37233a --- /dev/null +++ b/node_modules/date-fns/fp/getMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getMilliseconds/index.js.flow b/node_modules/date-fns/fp/getMilliseconds/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getMilliseconds/package.json b/node_modules/date-fns/fp/getMilliseconds/package.json new file mode 100644 index 000000000..d4b0900fb --- /dev/null +++ b/node_modules/date-fns/fp/getMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getMinutes/index.d.ts b/node_modules/date-fns/fp/getMinutes/index.d.ts new file mode 100644 index 000000000..14b6b049b --- /dev/null +++ b/node_modules/date-fns/fp/getMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMinutes } from 'date-fns/fp' +export default getMinutes diff --git a/node_modules/date-fns/fp/getMinutes/index.js b/node_modules/date-fns/fp/getMinutes/index.js new file mode 100644 index 000000000..77b5d4e29 --- /dev/null +++ b/node_modules/date-fns/fp/getMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getMinutes/index.js.flow b/node_modules/date-fns/fp/getMinutes/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getMinutes/package.json b/node_modules/date-fns/fp/getMinutes/package.json new file mode 100644 index 000000000..aa69ddba8 --- /dev/null +++ b/node_modules/date-fns/fp/getMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getMonth/index.d.ts b/node_modules/date-fns/fp/getMonth/index.d.ts new file mode 100644 index 000000000..a7c696a04 --- /dev/null +++ b/node_modules/date-fns/fp/getMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMonth } from 'date-fns/fp' +export default getMonth diff --git a/node_modules/date-fns/fp/getMonth/index.js b/node_modules/date-fns/fp/getMonth/index.js new file mode 100644 index 000000000..2f94b547d --- /dev/null +++ b/node_modules/date-fns/fp/getMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getMonth/index.js.flow b/node_modules/date-fns/fp/getMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getMonth/package.json b/node_modules/date-fns/fp/getMonth/package.json new file mode 100644 index 000000000..90774e79b --- /dev/null +++ b/node_modules/date-fns/fp/getMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.d.ts b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.d.ts new file mode 100644 index 000000000..de0b970a1 --- /dev/null +++ b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getOverlappingDaysInIntervals } from 'date-fns/fp' +export default getOverlappingDaysInIntervals diff --git a/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.js b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.js new file mode 100644 index 000000000..49d4df87b --- /dev/null +++ b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getOverlappingDaysInIntervals/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.js.flow b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.js.flow new file mode 100644 index 000000000..f640837e6 --- /dev/null +++ b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/getOverlappingDaysInIntervals/package.json b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/package.json new file mode 100644 index 000000000..ca05c669a --- /dev/null +++ b/node_modules/date-fns/fp/getOverlappingDaysInIntervals/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getOverlappingDaysInIntervals/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getQuarter/index.d.ts b/node_modules/date-fns/fp/getQuarter/index.d.ts new file mode 100644 index 000000000..50f13f60f --- /dev/null +++ b/node_modules/date-fns/fp/getQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getQuarter } from 'date-fns/fp' +export default getQuarter diff --git a/node_modules/date-fns/fp/getQuarter/index.js b/node_modules/date-fns/fp/getQuarter/index.js new file mode 100644 index 000000000..84e8cdd15 --- /dev/null +++ b/node_modules/date-fns/fp/getQuarter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getQuarter/index.js.flow b/node_modules/date-fns/fp/getQuarter/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getQuarter/package.json b/node_modules/date-fns/fp/getQuarter/package.json new file mode 100644 index 000000000..1d7193ca3 --- /dev/null +++ b/node_modules/date-fns/fp/getQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getQuarter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getSeconds/index.d.ts b/node_modules/date-fns/fp/getSeconds/index.d.ts new file mode 100644 index 000000000..1f6c2337f --- /dev/null +++ b/node_modules/date-fns/fp/getSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getSeconds } from 'date-fns/fp' +export default getSeconds diff --git a/node_modules/date-fns/fp/getSeconds/index.js b/node_modules/date-fns/fp/getSeconds/index.js new file mode 100644 index 000000000..e18598f91 --- /dev/null +++ b/node_modules/date-fns/fp/getSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getSeconds/index.js.flow b/node_modules/date-fns/fp/getSeconds/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getSeconds/package.json b/node_modules/date-fns/fp/getSeconds/package.json new file mode 100644 index 000000000..b8a98bbf5 --- /dev/null +++ b/node_modules/date-fns/fp/getSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getTime/index.d.ts b/node_modules/date-fns/fp/getTime/index.d.ts new file mode 100644 index 000000000..7bfc8cec3 --- /dev/null +++ b/node_modules/date-fns/fp/getTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getTime } from 'date-fns/fp' +export default getTime diff --git a/node_modules/date-fns/fp/getTime/index.js b/node_modules/date-fns/fp/getTime/index.js new file mode 100644 index 000000000..11ee01b9a --- /dev/null +++ b/node_modules/date-fns/fp/getTime/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getTime/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getTime/index.js.flow b/node_modules/date-fns/fp/getTime/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getTime/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getTime/package.json b/node_modules/date-fns/fp/getTime/package.json new file mode 100644 index 000000000..aea6206b9 --- /dev/null +++ b/node_modules/date-fns/fp/getTime/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getTime/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getUnixTime/index.d.ts b/node_modules/date-fns/fp/getUnixTime/index.d.ts new file mode 100644 index 000000000..7fb0dac39 --- /dev/null +++ b/node_modules/date-fns/fp/getUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getUnixTime } from 'date-fns/fp' +export default getUnixTime diff --git a/node_modules/date-fns/fp/getUnixTime/index.js b/node_modules/date-fns/fp/getUnixTime/index.js new file mode 100644 index 000000000..d2c66f57e --- /dev/null +++ b/node_modules/date-fns/fp/getUnixTime/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getUnixTime/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getUnixTime/index.js.flow b/node_modules/date-fns/fp/getUnixTime/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getUnixTime/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getUnixTime/package.json b/node_modules/date-fns/fp/getUnixTime/package.json new file mode 100644 index 000000000..be669747f --- /dev/null +++ b/node_modules/date-fns/fp/getUnixTime/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getUnixTime/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeek/index.d.ts b/node_modules/date-fns/fp/getWeek/index.d.ts new file mode 100644 index 000000000..2b3b4eea3 --- /dev/null +++ b/node_modules/date-fns/fp/getWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeek } from 'date-fns/fp' +export default getWeek diff --git a/node_modules/date-fns/fp/getWeek/index.js b/node_modules/date-fns/fp/getWeek/index.js new file mode 100644 index 000000000..ddd61f764 --- /dev/null +++ b/node_modules/date-fns/fp/getWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeek/index.js.flow b/node_modules/date-fns/fp/getWeek/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getWeek/package.json b/node_modules/date-fns/fp/getWeek/package.json new file mode 100644 index 000000000..7e7f27d6f --- /dev/null +++ b/node_modules/date-fns/fp/getWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekOfMonth/index.d.ts b/node_modules/date-fns/fp/getWeekOfMonth/index.d.ts new file mode 100644 index 000000000..1fd925fef --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekOfMonth } from 'date-fns/fp' +export default getWeekOfMonth diff --git a/node_modules/date-fns/fp/getWeekOfMonth/index.js b/node_modules/date-fns/fp/getWeekOfMonth/index.js new file mode 100644 index 000000000..627ecd75f --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeekOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekOfMonth/index.js.flow b/node_modules/date-fns/fp/getWeekOfMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getWeekOfMonth/package.json b/node_modules/date-fns/fp/getWeekOfMonth/package.json new file mode 100644 index 000000000..14c19c575 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeekOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.d.ts b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.d.ts new file mode 100644 index 000000000..0bcf9e4c1 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekOfMonthWithOptions } from 'date-fns/fp' +export default getWeekOfMonthWithOptions diff --git a/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.js b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.js new file mode 100644 index 000000000..dfcb8bc0c --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeekOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.js.flow b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.js.flow new file mode 100644 index 000000000..d1b5c2016 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/getWeekOfMonthWithOptions/package.json b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/package.json new file mode 100644 index 000000000..82a8f67d7 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekOfMonthWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeekOfMonthWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekWithOptions/index.d.ts b/node_modules/date-fns/fp/getWeekWithOptions/index.d.ts new file mode 100644 index 000000000..6f2de404d --- /dev/null +++ b/node_modules/date-fns/fp/getWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekWithOptions } from 'date-fns/fp' +export default getWeekWithOptions diff --git a/node_modules/date-fns/fp/getWeekWithOptions/index.js b/node_modules/date-fns/fp/getWeekWithOptions/index.js new file mode 100644 index 000000000..580936475 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekWithOptions/index.js.flow b/node_modules/date-fns/fp/getWeekWithOptions/index.js.flow new file mode 100644 index 000000000..970a659f6 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekWithOptions/index.js.flow @@ -0,0 +1,66 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/getWeekWithOptions/package.json b/node_modules/date-fns/fp/getWeekWithOptions/package.json new file mode 100644 index 000000000..da71947d5 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeekWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekYear/index.d.ts b/node_modules/date-fns/fp/getWeekYear/index.d.ts new file mode 100644 index 000000000..7cf37e0f0 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekYear } from 'date-fns/fp' +export default getWeekYear diff --git a/node_modules/date-fns/fp/getWeekYear/index.js b/node_modules/date-fns/fp/getWeekYear/index.js new file mode 100644 index 000000000..1a0106b60 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekYear/index.js.flow b/node_modules/date-fns/fp/getWeekYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getWeekYear/package.json b/node_modules/date-fns/fp/getWeekYear/package.json new file mode 100644 index 000000000..ae1420f9e --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekYearWithOptions/index.d.ts b/node_modules/date-fns/fp/getWeekYearWithOptions/index.d.ts new file mode 100644 index 000000000..d33a37a06 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYearWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekYearWithOptions } from 'date-fns/fp' +export default getWeekYearWithOptions diff --git a/node_modules/date-fns/fp/getWeekYearWithOptions/index.js b/node_modules/date-fns/fp/getWeekYearWithOptions/index.js new file mode 100644 index 000000000..7e4968fe3 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYearWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeekYearWithOptions/index.js.flow b/node_modules/date-fns/fp/getWeekYearWithOptions/index.js.flow new file mode 100644 index 000000000..970a659f6 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYearWithOptions/index.js.flow @@ -0,0 +1,66 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/getWeekYearWithOptions/package.json b/node_modules/date-fns/fp/getWeekYearWithOptions/package.json new file mode 100644 index 000000000..a75b597d7 --- /dev/null +++ b/node_modules/date-fns/fp/getWeekYearWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeekYearWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeeksInMonth/index.d.ts b/node_modules/date-fns/fp/getWeeksInMonth/index.d.ts new file mode 100644 index 000000000..2de5a9ce8 --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeeksInMonth } from 'date-fns/fp' +export default getWeeksInMonth diff --git a/node_modules/date-fns/fp/getWeeksInMonth/index.js b/node_modules/date-fns/fp/getWeeksInMonth/index.js new file mode 100644 index 000000000..23278e352 --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeeksInMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeeksInMonth/index.js.flow b/node_modules/date-fns/fp/getWeeksInMonth/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getWeeksInMonth/package.json b/node_modules/date-fns/fp/getWeeksInMonth/package.json new file mode 100644 index 000000000..5fdf5f2ca --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeeksInMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.d.ts b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.d.ts new file mode 100644 index 000000000..9016970f2 --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeeksInMonthWithOptions } from 'date-fns/fp' +export default getWeeksInMonthWithOptions diff --git a/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.js b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.js new file mode 100644 index 000000000..856e97369 --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getWeeksInMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.js.flow b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.js.flow new file mode 100644 index 000000000..d1b5c2016 --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number +> diff --git a/node_modules/date-fns/fp/getWeeksInMonthWithOptions/package.json b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/package.json new file mode 100644 index 000000000..48e7dda82 --- /dev/null +++ b/node_modules/date-fns/fp/getWeeksInMonthWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getWeeksInMonthWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/getYear/index.d.ts b/node_modules/date-fns/fp/getYear/index.d.ts new file mode 100644 index 000000000..603dc7119 --- /dev/null +++ b/node_modules/date-fns/fp/getYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getYear } from 'date-fns/fp' +export default getYear diff --git a/node_modules/date-fns/fp/getYear/index.js b/node_modules/date-fns/fp/getYear/index.js new file mode 100644 index 000000000..5277ead99 --- /dev/null +++ b/node_modules/date-fns/fp/getYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../getYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/getYear/index.js.flow b/node_modules/date-fns/fp/getYear/index.js.flow new file mode 100644 index 000000000..7a34c65bf --- /dev/null +++ b/node_modules/date-fns/fp/getYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/getYear/package.json b/node_modules/date-fns/fp/getYear/package.json new file mode 100644 index 000000000..98ebac3f0 --- /dev/null +++ b/node_modules/date-fns/fp/getYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/getYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/hoursToMilliseconds/index.d.ts b/node_modules/date-fns/fp/hoursToMilliseconds/index.d.ts new file mode 100644 index 000000000..14caeacec --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMilliseconds } from 'date-fns/fp' +export default hoursToMilliseconds diff --git a/node_modules/date-fns/fp/hoursToMilliseconds/index.js b/node_modules/date-fns/fp/hoursToMilliseconds/index.js new file mode 100644 index 000000000..8d07b5a4b --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../hoursToMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/hoursToMilliseconds/index.js.flow b/node_modules/date-fns/fp/hoursToMilliseconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/hoursToMilliseconds/package.json b/node_modules/date-fns/fp/hoursToMilliseconds/package.json new file mode 100644 index 000000000..7a639e596 --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/hoursToMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/hoursToMinutes/index.d.ts b/node_modules/date-fns/fp/hoursToMinutes/index.d.ts new file mode 100644 index 000000000..e834de442 --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMinutes } from 'date-fns/fp' +export default hoursToMinutes diff --git a/node_modules/date-fns/fp/hoursToMinutes/index.js b/node_modules/date-fns/fp/hoursToMinutes/index.js new file mode 100644 index 000000000..0374d9c21 --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../hoursToMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/hoursToMinutes/index.js.flow b/node_modules/date-fns/fp/hoursToMinutes/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/hoursToMinutes/package.json b/node_modules/date-fns/fp/hoursToMinutes/package.json new file mode 100644 index 000000000..5db202c26 --- /dev/null +++ b/node_modules/date-fns/fp/hoursToMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/hoursToMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/hoursToSeconds/index.d.ts b/node_modules/date-fns/fp/hoursToSeconds/index.d.ts new file mode 100644 index 000000000..35a5bfddd --- /dev/null +++ b/node_modules/date-fns/fp/hoursToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToSeconds } from 'date-fns/fp' +export default hoursToSeconds diff --git a/node_modules/date-fns/fp/hoursToSeconds/index.js b/node_modules/date-fns/fp/hoursToSeconds/index.js new file mode 100644 index 000000000..7442d729e --- /dev/null +++ b/node_modules/date-fns/fp/hoursToSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../hoursToSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/hoursToSeconds/index.js.flow b/node_modules/date-fns/fp/hoursToSeconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/hoursToSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/hoursToSeconds/package.json b/node_modules/date-fns/fp/hoursToSeconds/package.json new file mode 100644 index 000000000..17af908f1 --- /dev/null +++ b/node_modules/date-fns/fp/hoursToSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/hoursToSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/index.js b/node_modules/date-fns/fp/index.js new file mode 100644 index 000000000..86c635bad --- /dev/null +++ b/node_modules/date-fns/fp/index.js @@ -0,0 +1,2052 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + add: true, + addBusinessDays: true, + addDays: true, + addHours: true, + addISOWeekYears: true, + addMilliseconds: true, + addMinutes: true, + addMonths: true, + addQuarters: true, + addSeconds: true, + addWeeks: true, + addYears: true, + areIntervalsOverlapping: true, + areIntervalsOverlappingWithOptions: true, + clamp: true, + closestIndexTo: true, + closestTo: true, + compareAsc: true, + compareDesc: true, + daysToWeeks: true, + differenceInBusinessDays: true, + differenceInCalendarDays: true, + differenceInCalendarISOWeekYears: true, + differenceInCalendarISOWeeks: true, + differenceInCalendarMonths: true, + differenceInCalendarQuarters: true, + differenceInCalendarWeeks: true, + differenceInCalendarWeeksWithOptions: true, + differenceInCalendarYears: true, + differenceInDays: true, + differenceInHours: true, + differenceInHoursWithOptions: true, + differenceInISOWeekYears: true, + differenceInMilliseconds: true, + differenceInMinutes: true, + differenceInMinutesWithOptions: true, + differenceInMonths: true, + differenceInQuarters: true, + differenceInQuartersWithOptions: true, + differenceInSeconds: true, + differenceInSecondsWithOptions: true, + differenceInWeeks: true, + differenceInWeeksWithOptions: true, + differenceInYears: true, + eachDayOfInterval: true, + eachDayOfIntervalWithOptions: true, + eachHourOfInterval: true, + eachHourOfIntervalWithOptions: true, + eachMinuteOfInterval: true, + eachMinuteOfIntervalWithOptions: true, + eachMonthOfInterval: true, + eachQuarterOfInterval: true, + eachWeekOfInterval: true, + eachWeekOfIntervalWithOptions: true, + eachWeekendOfInterval: true, + eachWeekendOfMonth: true, + eachWeekendOfYear: true, + eachYearOfInterval: true, + endOfDay: true, + endOfDecade: true, + endOfDecadeWithOptions: true, + endOfHour: true, + endOfISOWeek: true, + endOfISOWeekYear: true, + endOfMinute: true, + endOfMonth: true, + endOfQuarter: true, + endOfSecond: true, + endOfWeek: true, + endOfWeekWithOptions: true, + endOfYear: true, + format: true, + formatDistance: true, + formatDistanceStrict: true, + formatDistanceStrictWithOptions: true, + formatDistanceWithOptions: true, + formatDuration: true, + formatDurationWithOptions: true, + formatISO: true, + formatISO9075: true, + formatISO9075WithOptions: true, + formatISODuration: true, + formatISOWithOptions: true, + formatRFC3339: true, + formatRFC3339WithOptions: true, + formatRFC7231: true, + formatRelative: true, + formatRelativeWithOptions: true, + formatWithOptions: true, + fromUnixTime: true, + getDate: true, + getDay: true, + getDayOfYear: true, + getDaysInMonth: true, + getDaysInYear: true, + getDecade: true, + getHours: true, + getISODay: true, + getISOWeek: true, + getISOWeekYear: true, + getISOWeeksInYear: true, + getMilliseconds: true, + getMinutes: true, + getMonth: true, + getOverlappingDaysInIntervals: true, + getQuarter: true, + getSeconds: true, + getTime: true, + getUnixTime: true, + getWeek: true, + getWeekOfMonth: true, + getWeekOfMonthWithOptions: true, + getWeekWithOptions: true, + getWeekYear: true, + getWeekYearWithOptions: true, + getWeeksInMonth: true, + getWeeksInMonthWithOptions: true, + getYear: true, + hoursToMilliseconds: true, + hoursToMinutes: true, + hoursToSeconds: true, + intervalToDuration: true, + intlFormat: true, + intlFormatDistance: true, + intlFormatDistanceWithOptions: true, + isAfter: true, + isBefore: true, + isDate: true, + isEqual: true, + isExists: true, + isFirstDayOfMonth: true, + isFriday: true, + isLastDayOfMonth: true, + isLeapYear: true, + isMatch: true, + isMatchWithOptions: true, + isMonday: true, + isSameDay: true, + isSameHour: true, + isSameISOWeek: true, + isSameISOWeekYear: true, + isSameMinute: true, + isSameMonth: true, + isSameQuarter: true, + isSameSecond: true, + isSameWeek: true, + isSameWeekWithOptions: true, + isSameYear: true, + isSaturday: true, + isSunday: true, + isThursday: true, + isTuesday: true, + isValid: true, + isWednesday: true, + isWeekend: true, + isWithinInterval: true, + lastDayOfDecade: true, + lastDayOfISOWeek: true, + lastDayOfISOWeekYear: true, + lastDayOfMonth: true, + lastDayOfQuarter: true, + lastDayOfQuarterWithOptions: true, + lastDayOfWeek: true, + lastDayOfWeekWithOptions: true, + lastDayOfYear: true, + lightFormat: true, + max: true, + milliseconds: true, + millisecondsToHours: true, + millisecondsToMinutes: true, + millisecondsToSeconds: true, + min: true, + minutesToHours: true, + minutesToMilliseconds: true, + minutesToSeconds: true, + monthsToQuarters: true, + monthsToYears: true, + nextDay: true, + nextFriday: true, + nextMonday: true, + nextSaturday: true, + nextSunday: true, + nextThursday: true, + nextTuesday: true, + nextWednesday: true, + parse: true, + parseISO: true, + parseISOWithOptions: true, + parseJSON: true, + parseWithOptions: true, + previousDay: true, + previousFriday: true, + previousMonday: true, + previousSaturday: true, + previousSunday: true, + previousThursday: true, + previousTuesday: true, + previousWednesday: true, + quartersToMonths: true, + quartersToYears: true, + roundToNearestMinutes: true, + roundToNearestMinutesWithOptions: true, + secondsToHours: true, + secondsToMilliseconds: true, + secondsToMinutes: true, + set: true, + setDate: true, + setDay: true, + setDayOfYear: true, + setDayWithOptions: true, + setHours: true, + setISODay: true, + setISOWeek: true, + setISOWeekYear: true, + setMilliseconds: true, + setMinutes: true, + setMonth: true, + setQuarter: true, + setSeconds: true, + setWeek: true, + setWeekWithOptions: true, + setWeekYear: true, + setWeekYearWithOptions: true, + setYear: true, + startOfDay: true, + startOfDecade: true, + startOfHour: true, + startOfISOWeek: true, + startOfISOWeekYear: true, + startOfMinute: true, + startOfMonth: true, + startOfQuarter: true, + startOfSecond: true, + startOfWeek: true, + startOfWeekWithOptions: true, + startOfWeekYear: true, + startOfWeekYearWithOptions: true, + startOfYear: true, + sub: true, + subBusinessDays: true, + subDays: true, + subHours: true, + subISOWeekYears: true, + subMilliseconds: true, + subMinutes: true, + subMonths: true, + subQuarters: true, + subSeconds: true, + subWeeks: true, + subYears: true, + toDate: true, + weeksToDays: true, + yearsToMonths: true, + yearsToQuarters: true +}; +Object.defineProperty(exports, "add", { + enumerable: true, + get: function get() { + return _index.default; + } +}); +Object.defineProperty(exports, "addBusinessDays", { + enumerable: true, + get: function get() { + return _index2.default; + } +}); +Object.defineProperty(exports, "addDays", { + enumerable: true, + get: function get() { + return _index3.default; + } +}); +Object.defineProperty(exports, "addHours", { + enumerable: true, + get: function get() { + return _index4.default; + } +}); +Object.defineProperty(exports, "addISOWeekYears", { + enumerable: true, + get: function get() { + return _index5.default; + } +}); +Object.defineProperty(exports, "addMilliseconds", { + enumerable: true, + get: function get() { + return _index6.default; + } +}); +Object.defineProperty(exports, "addMinutes", { + enumerable: true, + get: function get() { + return _index7.default; + } +}); +Object.defineProperty(exports, "addMonths", { + enumerable: true, + get: function get() { + return _index8.default; + } +}); +Object.defineProperty(exports, "addQuarters", { + enumerable: true, + get: function get() { + return _index9.default; + } +}); +Object.defineProperty(exports, "addSeconds", { + enumerable: true, + get: function get() { + return _index10.default; + } +}); +Object.defineProperty(exports, "addWeeks", { + enumerable: true, + get: function get() { + return _index11.default; + } +}); +Object.defineProperty(exports, "addYears", { + enumerable: true, + get: function get() { + return _index12.default; + } +}); +Object.defineProperty(exports, "areIntervalsOverlapping", { + enumerable: true, + get: function get() { + return _index13.default; + } +}); +Object.defineProperty(exports, "areIntervalsOverlappingWithOptions", { + enumerable: true, + get: function get() { + return _index14.default; + } +}); +Object.defineProperty(exports, "clamp", { + enumerable: true, + get: function get() { + return _index15.default; + } +}); +Object.defineProperty(exports, "closestIndexTo", { + enumerable: true, + get: function get() { + return _index16.default; + } +}); +Object.defineProperty(exports, "closestTo", { + enumerable: true, + get: function get() { + return _index17.default; + } +}); +Object.defineProperty(exports, "compareAsc", { + enumerable: true, + get: function get() { + return _index18.default; + } +}); +Object.defineProperty(exports, "compareDesc", { + enumerable: true, + get: function get() { + return _index19.default; + } +}); +Object.defineProperty(exports, "daysToWeeks", { + enumerable: true, + get: function get() { + return _index20.default; + } +}); +Object.defineProperty(exports, "differenceInBusinessDays", { + enumerable: true, + get: function get() { + return _index21.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarDays", { + enumerable: true, + get: function get() { + return _index22.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarISOWeekYears", { + enumerable: true, + get: function get() { + return _index23.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarISOWeeks", { + enumerable: true, + get: function get() { + return _index24.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarMonths", { + enumerable: true, + get: function get() { + return _index25.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarQuarters", { + enumerable: true, + get: function get() { + return _index26.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarWeeks", { + enumerable: true, + get: function get() { + return _index27.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarWeeksWithOptions", { + enumerable: true, + get: function get() { + return _index28.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarYears", { + enumerable: true, + get: function get() { + return _index29.default; + } +}); +Object.defineProperty(exports, "differenceInDays", { + enumerable: true, + get: function get() { + return _index30.default; + } +}); +Object.defineProperty(exports, "differenceInHours", { + enumerable: true, + get: function get() { + return _index31.default; + } +}); +Object.defineProperty(exports, "differenceInHoursWithOptions", { + enumerable: true, + get: function get() { + return _index32.default; + } +}); +Object.defineProperty(exports, "differenceInISOWeekYears", { + enumerable: true, + get: function get() { + return _index33.default; + } +}); +Object.defineProperty(exports, "differenceInMilliseconds", { + enumerable: true, + get: function get() { + return _index34.default; + } +}); +Object.defineProperty(exports, "differenceInMinutes", { + enumerable: true, + get: function get() { + return _index35.default; + } +}); +Object.defineProperty(exports, "differenceInMinutesWithOptions", { + enumerable: true, + get: function get() { + return _index36.default; + } +}); +Object.defineProperty(exports, "differenceInMonths", { + enumerable: true, + get: function get() { + return _index37.default; + } +}); +Object.defineProperty(exports, "differenceInQuarters", { + enumerable: true, + get: function get() { + return _index38.default; + } +}); +Object.defineProperty(exports, "differenceInQuartersWithOptions", { + enumerable: true, + get: function get() { + return _index39.default; + } +}); +Object.defineProperty(exports, "differenceInSeconds", { + enumerable: true, + get: function get() { + return _index40.default; + } +}); +Object.defineProperty(exports, "differenceInSecondsWithOptions", { + enumerable: true, + get: function get() { + return _index41.default; + } +}); +Object.defineProperty(exports, "differenceInWeeks", { + enumerable: true, + get: function get() { + return _index42.default; + } +}); +Object.defineProperty(exports, "differenceInWeeksWithOptions", { + enumerable: true, + get: function get() { + return _index43.default; + } +}); +Object.defineProperty(exports, "differenceInYears", { + enumerable: true, + get: function get() { + return _index44.default; + } +}); +Object.defineProperty(exports, "eachDayOfInterval", { + enumerable: true, + get: function get() { + return _index45.default; + } +}); +Object.defineProperty(exports, "eachDayOfIntervalWithOptions", { + enumerable: true, + get: function get() { + return _index46.default; + } +}); +Object.defineProperty(exports, "eachHourOfInterval", { + enumerable: true, + get: function get() { + return _index47.default; + } +}); +Object.defineProperty(exports, "eachHourOfIntervalWithOptions", { + enumerable: true, + get: function get() { + return _index48.default; + } +}); +Object.defineProperty(exports, "eachMinuteOfInterval", { + enumerable: true, + get: function get() { + return _index49.default; + } +}); +Object.defineProperty(exports, "eachMinuteOfIntervalWithOptions", { + enumerable: true, + get: function get() { + return _index50.default; + } +}); +Object.defineProperty(exports, "eachMonthOfInterval", { + enumerable: true, + get: function get() { + return _index51.default; + } +}); +Object.defineProperty(exports, "eachQuarterOfInterval", { + enumerable: true, + get: function get() { + return _index52.default; + } +}); +Object.defineProperty(exports, "eachWeekOfInterval", { + enumerable: true, + get: function get() { + return _index53.default; + } +}); +Object.defineProperty(exports, "eachWeekOfIntervalWithOptions", { + enumerable: true, + get: function get() { + return _index54.default; + } +}); +Object.defineProperty(exports, "eachWeekendOfInterval", { + enumerable: true, + get: function get() { + return _index55.default; + } +}); +Object.defineProperty(exports, "eachWeekendOfMonth", { + enumerable: true, + get: function get() { + return _index56.default; + } +}); +Object.defineProperty(exports, "eachWeekendOfYear", { + enumerable: true, + get: function get() { + return _index57.default; + } +}); +Object.defineProperty(exports, "eachYearOfInterval", { + enumerable: true, + get: function get() { + return _index58.default; + } +}); +Object.defineProperty(exports, "endOfDay", { + enumerable: true, + get: function get() { + return _index59.default; + } +}); +Object.defineProperty(exports, "endOfDecade", { + enumerable: true, + get: function get() { + return _index60.default; + } +}); +Object.defineProperty(exports, "endOfDecadeWithOptions", { + enumerable: true, + get: function get() { + return _index61.default; + } +}); +Object.defineProperty(exports, "endOfHour", { + enumerable: true, + get: function get() { + return _index62.default; + } +}); +Object.defineProperty(exports, "endOfISOWeek", { + enumerable: true, + get: function get() { + return _index63.default; + } +}); +Object.defineProperty(exports, "endOfISOWeekYear", { + enumerable: true, + get: function get() { + return _index64.default; + } +}); +Object.defineProperty(exports, "endOfMinute", { + enumerable: true, + get: function get() { + return _index65.default; + } +}); +Object.defineProperty(exports, "endOfMonth", { + enumerable: true, + get: function get() { + return _index66.default; + } +}); +Object.defineProperty(exports, "endOfQuarter", { + enumerable: true, + get: function get() { + return _index67.default; + } +}); +Object.defineProperty(exports, "endOfSecond", { + enumerable: true, + get: function get() { + return _index68.default; + } +}); +Object.defineProperty(exports, "endOfWeek", { + enumerable: true, + get: function get() { + return _index69.default; + } +}); +Object.defineProperty(exports, "endOfWeekWithOptions", { + enumerable: true, + get: function get() { + return _index70.default; + } +}); +Object.defineProperty(exports, "endOfYear", { + enumerable: true, + get: function get() { + return _index71.default; + } +}); +Object.defineProperty(exports, "format", { + enumerable: true, + get: function get() { + return _index72.default; + } +}); +Object.defineProperty(exports, "formatDistance", { + enumerable: true, + get: function get() { + return _index73.default; + } +}); +Object.defineProperty(exports, "formatDistanceStrict", { + enumerable: true, + get: function get() { + return _index74.default; + } +}); +Object.defineProperty(exports, "formatDistanceStrictWithOptions", { + enumerable: true, + get: function get() { + return _index75.default; + } +}); +Object.defineProperty(exports, "formatDistanceWithOptions", { + enumerable: true, + get: function get() { + return _index76.default; + } +}); +Object.defineProperty(exports, "formatDuration", { + enumerable: true, + get: function get() { + return _index77.default; + } +}); +Object.defineProperty(exports, "formatDurationWithOptions", { + enumerable: true, + get: function get() { + return _index78.default; + } +}); +Object.defineProperty(exports, "formatISO", { + enumerable: true, + get: function get() { + return _index79.default; + } +}); +Object.defineProperty(exports, "formatISO9075", { + enumerable: true, + get: function get() { + return _index80.default; + } +}); +Object.defineProperty(exports, "formatISO9075WithOptions", { + enumerable: true, + get: function get() { + return _index81.default; + } +}); +Object.defineProperty(exports, "formatISODuration", { + enumerable: true, + get: function get() { + return _index82.default; + } +}); +Object.defineProperty(exports, "formatISOWithOptions", { + enumerable: true, + get: function get() { + return _index83.default; + } +}); +Object.defineProperty(exports, "formatRFC3339", { + enumerable: true, + get: function get() { + return _index84.default; + } +}); +Object.defineProperty(exports, "formatRFC3339WithOptions", { + enumerable: true, + get: function get() { + return _index85.default; + } +}); +Object.defineProperty(exports, "formatRFC7231", { + enumerable: true, + get: function get() { + return _index86.default; + } +}); +Object.defineProperty(exports, "formatRelative", { + enumerable: true, + get: function get() { + return _index87.default; + } +}); +Object.defineProperty(exports, "formatRelativeWithOptions", { + enumerable: true, + get: function get() { + return _index88.default; + } +}); +Object.defineProperty(exports, "formatWithOptions", { + enumerable: true, + get: function get() { + return _index89.default; + } +}); +Object.defineProperty(exports, "fromUnixTime", { + enumerable: true, + get: function get() { + return _index90.default; + } +}); +Object.defineProperty(exports, "getDate", { + enumerable: true, + get: function get() { + return _index91.default; + } +}); +Object.defineProperty(exports, "getDay", { + enumerable: true, + get: function get() { + return _index92.default; + } +}); +Object.defineProperty(exports, "getDayOfYear", { + enumerable: true, + get: function get() { + return _index93.default; + } +}); +Object.defineProperty(exports, "getDaysInMonth", { + enumerable: true, + get: function get() { + return _index94.default; + } +}); +Object.defineProperty(exports, "getDaysInYear", { + enumerable: true, + get: function get() { + return _index95.default; + } +}); +Object.defineProperty(exports, "getDecade", { + enumerable: true, + get: function get() { + return _index96.default; + } +}); +Object.defineProperty(exports, "getHours", { + enumerable: true, + get: function get() { + return _index97.default; + } +}); +Object.defineProperty(exports, "getISODay", { + enumerable: true, + get: function get() { + return _index98.default; + } +}); +Object.defineProperty(exports, "getISOWeek", { + enumerable: true, + get: function get() { + return _index99.default; + } +}); +Object.defineProperty(exports, "getISOWeekYear", { + enumerable: true, + get: function get() { + return _index100.default; + } +}); +Object.defineProperty(exports, "getISOWeeksInYear", { + enumerable: true, + get: function get() { + return _index101.default; + } +}); +Object.defineProperty(exports, "getMilliseconds", { + enumerable: true, + get: function get() { + return _index102.default; + } +}); +Object.defineProperty(exports, "getMinutes", { + enumerable: true, + get: function get() { + return _index103.default; + } +}); +Object.defineProperty(exports, "getMonth", { + enumerable: true, + get: function get() { + return _index104.default; + } +}); +Object.defineProperty(exports, "getOverlappingDaysInIntervals", { + enumerable: true, + get: function get() { + return _index105.default; + } +}); +Object.defineProperty(exports, "getQuarter", { + enumerable: true, + get: function get() { + return _index106.default; + } +}); +Object.defineProperty(exports, "getSeconds", { + enumerable: true, + get: function get() { + return _index107.default; + } +}); +Object.defineProperty(exports, "getTime", { + enumerable: true, + get: function get() { + return _index108.default; + } +}); +Object.defineProperty(exports, "getUnixTime", { + enumerable: true, + get: function get() { + return _index109.default; + } +}); +Object.defineProperty(exports, "getWeek", { + enumerable: true, + get: function get() { + return _index110.default; + } +}); +Object.defineProperty(exports, "getWeekOfMonth", { + enumerable: true, + get: function get() { + return _index111.default; + } +}); +Object.defineProperty(exports, "getWeekOfMonthWithOptions", { + enumerable: true, + get: function get() { + return _index112.default; + } +}); +Object.defineProperty(exports, "getWeekWithOptions", { + enumerable: true, + get: function get() { + return _index113.default; + } +}); +Object.defineProperty(exports, "getWeekYear", { + enumerable: true, + get: function get() { + return _index114.default; + } +}); +Object.defineProperty(exports, "getWeekYearWithOptions", { + enumerable: true, + get: function get() { + return _index115.default; + } +}); +Object.defineProperty(exports, "getWeeksInMonth", { + enumerable: true, + get: function get() { + return _index116.default; + } +}); +Object.defineProperty(exports, "getWeeksInMonthWithOptions", { + enumerable: true, + get: function get() { + return _index117.default; + } +}); +Object.defineProperty(exports, "getYear", { + enumerable: true, + get: function get() { + return _index118.default; + } +}); +Object.defineProperty(exports, "hoursToMilliseconds", { + enumerable: true, + get: function get() { + return _index119.default; + } +}); +Object.defineProperty(exports, "hoursToMinutes", { + enumerable: true, + get: function get() { + return _index120.default; + } +}); +Object.defineProperty(exports, "hoursToSeconds", { + enumerable: true, + get: function get() { + return _index121.default; + } +}); +Object.defineProperty(exports, "intervalToDuration", { + enumerable: true, + get: function get() { + return _index122.default; + } +}); +Object.defineProperty(exports, "intlFormat", { + enumerable: true, + get: function get() { + return _index123.default; + } +}); +Object.defineProperty(exports, "intlFormatDistance", { + enumerable: true, + get: function get() { + return _index124.default; + } +}); +Object.defineProperty(exports, "intlFormatDistanceWithOptions", { + enumerable: true, + get: function get() { + return _index125.default; + } +}); +Object.defineProperty(exports, "isAfter", { + enumerable: true, + get: function get() { + return _index126.default; + } +}); +Object.defineProperty(exports, "isBefore", { + enumerable: true, + get: function get() { + return _index127.default; + } +}); +Object.defineProperty(exports, "isDate", { + enumerable: true, + get: function get() { + return _index128.default; + } +}); +Object.defineProperty(exports, "isEqual", { + enumerable: true, + get: function get() { + return _index129.default; + } +}); +Object.defineProperty(exports, "isExists", { + enumerable: true, + get: function get() { + return _index130.default; + } +}); +Object.defineProperty(exports, "isFirstDayOfMonth", { + enumerable: true, + get: function get() { + return _index131.default; + } +}); +Object.defineProperty(exports, "isFriday", { + enumerable: true, + get: function get() { + return _index132.default; + } +}); +Object.defineProperty(exports, "isLastDayOfMonth", { + enumerable: true, + get: function get() { + return _index133.default; + } +}); +Object.defineProperty(exports, "isLeapYear", { + enumerable: true, + get: function get() { + return _index134.default; + } +}); +Object.defineProperty(exports, "isMatch", { + enumerable: true, + get: function get() { + return _index135.default; + } +}); +Object.defineProperty(exports, "isMatchWithOptions", { + enumerable: true, + get: function get() { + return _index136.default; + } +}); +Object.defineProperty(exports, "isMonday", { + enumerable: true, + get: function get() { + return _index137.default; + } +}); +Object.defineProperty(exports, "isSameDay", { + enumerable: true, + get: function get() { + return _index138.default; + } +}); +Object.defineProperty(exports, "isSameHour", { + enumerable: true, + get: function get() { + return _index139.default; + } +}); +Object.defineProperty(exports, "isSameISOWeek", { + enumerable: true, + get: function get() { + return _index140.default; + } +}); +Object.defineProperty(exports, "isSameISOWeekYear", { + enumerable: true, + get: function get() { + return _index141.default; + } +}); +Object.defineProperty(exports, "isSameMinute", { + enumerable: true, + get: function get() { + return _index142.default; + } +}); +Object.defineProperty(exports, "isSameMonth", { + enumerable: true, + get: function get() { + return _index143.default; + } +}); +Object.defineProperty(exports, "isSameQuarter", { + enumerable: true, + get: function get() { + return _index144.default; + } +}); +Object.defineProperty(exports, "isSameSecond", { + enumerable: true, + get: function get() { + return _index145.default; + } +}); +Object.defineProperty(exports, "isSameWeek", { + enumerable: true, + get: function get() { + return _index146.default; + } +}); +Object.defineProperty(exports, "isSameWeekWithOptions", { + enumerable: true, + get: function get() { + return _index147.default; + } +}); +Object.defineProperty(exports, "isSameYear", { + enumerable: true, + get: function get() { + return _index148.default; + } +}); +Object.defineProperty(exports, "isSaturday", { + enumerable: true, + get: function get() { + return _index149.default; + } +}); +Object.defineProperty(exports, "isSunday", { + enumerable: true, + get: function get() { + return _index150.default; + } +}); +Object.defineProperty(exports, "isThursday", { + enumerable: true, + get: function get() { + return _index151.default; + } +}); +Object.defineProperty(exports, "isTuesday", { + enumerable: true, + get: function get() { + return _index152.default; + } +}); +Object.defineProperty(exports, "isValid", { + enumerable: true, + get: function get() { + return _index153.default; + } +}); +Object.defineProperty(exports, "isWednesday", { + enumerable: true, + get: function get() { + return _index154.default; + } +}); +Object.defineProperty(exports, "isWeekend", { + enumerable: true, + get: function get() { + return _index155.default; + } +}); +Object.defineProperty(exports, "isWithinInterval", { + enumerable: true, + get: function get() { + return _index156.default; + } +}); +Object.defineProperty(exports, "lastDayOfDecade", { + enumerable: true, + get: function get() { + return _index157.default; + } +}); +Object.defineProperty(exports, "lastDayOfISOWeek", { + enumerable: true, + get: function get() { + return _index158.default; + } +}); +Object.defineProperty(exports, "lastDayOfISOWeekYear", { + enumerable: true, + get: function get() { + return _index159.default; + } +}); +Object.defineProperty(exports, "lastDayOfMonth", { + enumerable: true, + get: function get() { + return _index160.default; + } +}); +Object.defineProperty(exports, "lastDayOfQuarter", { + enumerable: true, + get: function get() { + return _index161.default; + } +}); +Object.defineProperty(exports, "lastDayOfQuarterWithOptions", { + enumerable: true, + get: function get() { + return _index162.default; + } +}); +Object.defineProperty(exports, "lastDayOfWeek", { + enumerable: true, + get: function get() { + return _index163.default; + } +}); +Object.defineProperty(exports, "lastDayOfWeekWithOptions", { + enumerable: true, + get: function get() { + return _index164.default; + } +}); +Object.defineProperty(exports, "lastDayOfYear", { + enumerable: true, + get: function get() { + return _index165.default; + } +}); +Object.defineProperty(exports, "lightFormat", { + enumerable: true, + get: function get() { + return _index166.default; + } +}); +Object.defineProperty(exports, "max", { + enumerable: true, + get: function get() { + return _index167.default; + } +}); +Object.defineProperty(exports, "milliseconds", { + enumerable: true, + get: function get() { + return _index168.default; + } +}); +Object.defineProperty(exports, "millisecondsToHours", { + enumerable: true, + get: function get() { + return _index169.default; + } +}); +Object.defineProperty(exports, "millisecondsToMinutes", { + enumerable: true, + get: function get() { + return _index170.default; + } +}); +Object.defineProperty(exports, "millisecondsToSeconds", { + enumerable: true, + get: function get() { + return _index171.default; + } +}); +Object.defineProperty(exports, "min", { + enumerable: true, + get: function get() { + return _index172.default; + } +}); +Object.defineProperty(exports, "minutesToHours", { + enumerable: true, + get: function get() { + return _index173.default; + } +}); +Object.defineProperty(exports, "minutesToMilliseconds", { + enumerable: true, + get: function get() { + return _index174.default; + } +}); +Object.defineProperty(exports, "minutesToSeconds", { + enumerable: true, + get: function get() { + return _index175.default; + } +}); +Object.defineProperty(exports, "monthsToQuarters", { + enumerable: true, + get: function get() { + return _index176.default; + } +}); +Object.defineProperty(exports, "monthsToYears", { + enumerable: true, + get: function get() { + return _index177.default; + } +}); +Object.defineProperty(exports, "nextDay", { + enumerable: true, + get: function get() { + return _index178.default; + } +}); +Object.defineProperty(exports, "nextFriday", { + enumerable: true, + get: function get() { + return _index179.default; + } +}); +Object.defineProperty(exports, "nextMonday", { + enumerable: true, + get: function get() { + return _index180.default; + } +}); +Object.defineProperty(exports, "nextSaturday", { + enumerable: true, + get: function get() { + return _index181.default; + } +}); +Object.defineProperty(exports, "nextSunday", { + enumerable: true, + get: function get() { + return _index182.default; + } +}); +Object.defineProperty(exports, "nextThursday", { + enumerable: true, + get: function get() { + return _index183.default; + } +}); +Object.defineProperty(exports, "nextTuesday", { + enumerable: true, + get: function get() { + return _index184.default; + } +}); +Object.defineProperty(exports, "nextWednesday", { + enumerable: true, + get: function get() { + return _index185.default; + } +}); +Object.defineProperty(exports, "parse", { + enumerable: true, + get: function get() { + return _index186.default; + } +}); +Object.defineProperty(exports, "parseISO", { + enumerable: true, + get: function get() { + return _index187.default; + } +}); +Object.defineProperty(exports, "parseISOWithOptions", { + enumerable: true, + get: function get() { + return _index188.default; + } +}); +Object.defineProperty(exports, "parseJSON", { + enumerable: true, + get: function get() { + return _index189.default; + } +}); +Object.defineProperty(exports, "parseWithOptions", { + enumerable: true, + get: function get() { + return _index190.default; + } +}); +Object.defineProperty(exports, "previousDay", { + enumerable: true, + get: function get() { + return _index191.default; + } +}); +Object.defineProperty(exports, "previousFriday", { + enumerable: true, + get: function get() { + return _index192.default; + } +}); +Object.defineProperty(exports, "previousMonday", { + enumerable: true, + get: function get() { + return _index193.default; + } +}); +Object.defineProperty(exports, "previousSaturday", { + enumerable: true, + get: function get() { + return _index194.default; + } +}); +Object.defineProperty(exports, "previousSunday", { + enumerable: true, + get: function get() { + return _index195.default; + } +}); +Object.defineProperty(exports, "previousThursday", { + enumerable: true, + get: function get() { + return _index196.default; + } +}); +Object.defineProperty(exports, "previousTuesday", { + enumerable: true, + get: function get() { + return _index197.default; + } +}); +Object.defineProperty(exports, "previousWednesday", { + enumerable: true, + get: function get() { + return _index198.default; + } +}); +Object.defineProperty(exports, "quartersToMonths", { + enumerable: true, + get: function get() { + return _index199.default; + } +}); +Object.defineProperty(exports, "quartersToYears", { + enumerable: true, + get: function get() { + return _index200.default; + } +}); +Object.defineProperty(exports, "roundToNearestMinutes", { + enumerable: true, + get: function get() { + return _index201.default; + } +}); +Object.defineProperty(exports, "roundToNearestMinutesWithOptions", { + enumerable: true, + get: function get() { + return _index202.default; + } +}); +Object.defineProperty(exports, "secondsToHours", { + enumerable: true, + get: function get() { + return _index203.default; + } +}); +Object.defineProperty(exports, "secondsToMilliseconds", { + enumerable: true, + get: function get() { + return _index204.default; + } +}); +Object.defineProperty(exports, "secondsToMinutes", { + enumerable: true, + get: function get() { + return _index205.default; + } +}); +Object.defineProperty(exports, "set", { + enumerable: true, + get: function get() { + return _index206.default; + } +}); +Object.defineProperty(exports, "setDate", { + enumerable: true, + get: function get() { + return _index207.default; + } +}); +Object.defineProperty(exports, "setDay", { + enumerable: true, + get: function get() { + return _index208.default; + } +}); +Object.defineProperty(exports, "setDayOfYear", { + enumerable: true, + get: function get() { + return _index209.default; + } +}); +Object.defineProperty(exports, "setDayWithOptions", { + enumerable: true, + get: function get() { + return _index210.default; + } +}); +Object.defineProperty(exports, "setHours", { + enumerable: true, + get: function get() { + return _index211.default; + } +}); +Object.defineProperty(exports, "setISODay", { + enumerable: true, + get: function get() { + return _index212.default; + } +}); +Object.defineProperty(exports, "setISOWeek", { + enumerable: true, + get: function get() { + return _index213.default; + } +}); +Object.defineProperty(exports, "setISOWeekYear", { + enumerable: true, + get: function get() { + return _index214.default; + } +}); +Object.defineProperty(exports, "setMilliseconds", { + enumerable: true, + get: function get() { + return _index215.default; + } +}); +Object.defineProperty(exports, "setMinutes", { + enumerable: true, + get: function get() { + return _index216.default; + } +}); +Object.defineProperty(exports, "setMonth", { + enumerable: true, + get: function get() { + return _index217.default; + } +}); +Object.defineProperty(exports, "setQuarter", { + enumerable: true, + get: function get() { + return _index218.default; + } +}); +Object.defineProperty(exports, "setSeconds", { + enumerable: true, + get: function get() { + return _index219.default; + } +}); +Object.defineProperty(exports, "setWeek", { + enumerable: true, + get: function get() { + return _index220.default; + } +}); +Object.defineProperty(exports, "setWeekWithOptions", { + enumerable: true, + get: function get() { + return _index221.default; + } +}); +Object.defineProperty(exports, "setWeekYear", { + enumerable: true, + get: function get() { + return _index222.default; + } +}); +Object.defineProperty(exports, "setWeekYearWithOptions", { + enumerable: true, + get: function get() { + return _index223.default; + } +}); +Object.defineProperty(exports, "setYear", { + enumerable: true, + get: function get() { + return _index224.default; + } +}); +Object.defineProperty(exports, "startOfDay", { + enumerable: true, + get: function get() { + return _index225.default; + } +}); +Object.defineProperty(exports, "startOfDecade", { + enumerable: true, + get: function get() { + return _index226.default; + } +}); +Object.defineProperty(exports, "startOfHour", { + enumerable: true, + get: function get() { + return _index227.default; + } +}); +Object.defineProperty(exports, "startOfISOWeek", { + enumerable: true, + get: function get() { + return _index228.default; + } +}); +Object.defineProperty(exports, "startOfISOWeekYear", { + enumerable: true, + get: function get() { + return _index229.default; + } +}); +Object.defineProperty(exports, "startOfMinute", { + enumerable: true, + get: function get() { + return _index230.default; + } +}); +Object.defineProperty(exports, "startOfMonth", { + enumerable: true, + get: function get() { + return _index231.default; + } +}); +Object.defineProperty(exports, "startOfQuarter", { + enumerable: true, + get: function get() { + return _index232.default; + } +}); +Object.defineProperty(exports, "startOfSecond", { + enumerable: true, + get: function get() { + return _index233.default; + } +}); +Object.defineProperty(exports, "startOfWeek", { + enumerable: true, + get: function get() { + return _index234.default; + } +}); +Object.defineProperty(exports, "startOfWeekWithOptions", { + enumerable: true, + get: function get() { + return _index235.default; + } +}); +Object.defineProperty(exports, "startOfWeekYear", { + enumerable: true, + get: function get() { + return _index236.default; + } +}); +Object.defineProperty(exports, "startOfWeekYearWithOptions", { + enumerable: true, + get: function get() { + return _index237.default; + } +}); +Object.defineProperty(exports, "startOfYear", { + enumerable: true, + get: function get() { + return _index238.default; + } +}); +Object.defineProperty(exports, "sub", { + enumerable: true, + get: function get() { + return _index239.default; + } +}); +Object.defineProperty(exports, "subBusinessDays", { + enumerable: true, + get: function get() { + return _index240.default; + } +}); +Object.defineProperty(exports, "subDays", { + enumerable: true, + get: function get() { + return _index241.default; + } +}); +Object.defineProperty(exports, "subHours", { + enumerable: true, + get: function get() { + return _index242.default; + } +}); +Object.defineProperty(exports, "subISOWeekYears", { + enumerable: true, + get: function get() { + return _index243.default; + } +}); +Object.defineProperty(exports, "subMilliseconds", { + enumerable: true, + get: function get() { + return _index244.default; + } +}); +Object.defineProperty(exports, "subMinutes", { + enumerable: true, + get: function get() { + return _index245.default; + } +}); +Object.defineProperty(exports, "subMonths", { + enumerable: true, + get: function get() { + return _index246.default; + } +}); +Object.defineProperty(exports, "subQuarters", { + enumerable: true, + get: function get() { + return _index247.default; + } +}); +Object.defineProperty(exports, "subSeconds", { + enumerable: true, + get: function get() { + return _index248.default; + } +}); +Object.defineProperty(exports, "subWeeks", { + enumerable: true, + get: function get() { + return _index249.default; + } +}); +Object.defineProperty(exports, "subYears", { + enumerable: true, + get: function get() { + return _index250.default; + } +}); +Object.defineProperty(exports, "toDate", { + enumerable: true, + get: function get() { + return _index251.default; + } +}); +Object.defineProperty(exports, "weeksToDays", { + enumerable: true, + get: function get() { + return _index252.default; + } +}); +Object.defineProperty(exports, "yearsToMonths", { + enumerable: true, + get: function get() { + return _index253.default; + } +}); +Object.defineProperty(exports, "yearsToQuarters", { + enumerable: true, + get: function get() { + return _index254.default; + } +}); +var _index = _interopRequireDefault(require("./add/index.js")); +var _index2 = _interopRequireDefault(require("./addBusinessDays/index.js")); +var _index3 = _interopRequireDefault(require("./addDays/index.js")); +var _index4 = _interopRequireDefault(require("./addHours/index.js")); +var _index5 = _interopRequireDefault(require("./addISOWeekYears/index.js")); +var _index6 = _interopRequireDefault(require("./addMilliseconds/index.js")); +var _index7 = _interopRequireDefault(require("./addMinutes/index.js")); +var _index8 = _interopRequireDefault(require("./addMonths/index.js")); +var _index9 = _interopRequireDefault(require("./addQuarters/index.js")); +var _index10 = _interopRequireDefault(require("./addSeconds/index.js")); +var _index11 = _interopRequireDefault(require("./addWeeks/index.js")); +var _index12 = _interopRequireDefault(require("./addYears/index.js")); +var _index13 = _interopRequireDefault(require("./areIntervalsOverlapping/index.js")); +var _index14 = _interopRequireDefault(require("./areIntervalsOverlappingWithOptions/index.js")); +var _index15 = _interopRequireDefault(require("./clamp/index.js")); +var _index16 = _interopRequireDefault(require("./closestIndexTo/index.js")); +var _index17 = _interopRequireDefault(require("./closestTo/index.js")); +var _index18 = _interopRequireDefault(require("./compareAsc/index.js")); +var _index19 = _interopRequireDefault(require("./compareDesc/index.js")); +var _index20 = _interopRequireDefault(require("./daysToWeeks/index.js")); +var _index21 = _interopRequireDefault(require("./differenceInBusinessDays/index.js")); +var _index22 = _interopRequireDefault(require("./differenceInCalendarDays/index.js")); +var _index23 = _interopRequireDefault(require("./differenceInCalendarISOWeekYears/index.js")); +var _index24 = _interopRequireDefault(require("./differenceInCalendarISOWeeks/index.js")); +var _index25 = _interopRequireDefault(require("./differenceInCalendarMonths/index.js")); +var _index26 = _interopRequireDefault(require("./differenceInCalendarQuarters/index.js")); +var _index27 = _interopRequireDefault(require("./differenceInCalendarWeeks/index.js")); +var _index28 = _interopRequireDefault(require("./differenceInCalendarWeeksWithOptions/index.js")); +var _index29 = _interopRequireDefault(require("./differenceInCalendarYears/index.js")); +var _index30 = _interopRequireDefault(require("./differenceInDays/index.js")); +var _index31 = _interopRequireDefault(require("./differenceInHours/index.js")); +var _index32 = _interopRequireDefault(require("./differenceInHoursWithOptions/index.js")); +var _index33 = _interopRequireDefault(require("./differenceInISOWeekYears/index.js")); +var _index34 = _interopRequireDefault(require("./differenceInMilliseconds/index.js")); +var _index35 = _interopRequireDefault(require("./differenceInMinutes/index.js")); +var _index36 = _interopRequireDefault(require("./differenceInMinutesWithOptions/index.js")); +var _index37 = _interopRequireDefault(require("./differenceInMonths/index.js")); +var _index38 = _interopRequireDefault(require("./differenceInQuarters/index.js")); +var _index39 = _interopRequireDefault(require("./differenceInQuartersWithOptions/index.js")); +var _index40 = _interopRequireDefault(require("./differenceInSeconds/index.js")); +var _index41 = _interopRequireDefault(require("./differenceInSecondsWithOptions/index.js")); +var _index42 = _interopRequireDefault(require("./differenceInWeeks/index.js")); +var _index43 = _interopRequireDefault(require("./differenceInWeeksWithOptions/index.js")); +var _index44 = _interopRequireDefault(require("./differenceInYears/index.js")); +var _index45 = _interopRequireDefault(require("./eachDayOfInterval/index.js")); +var _index46 = _interopRequireDefault(require("./eachDayOfIntervalWithOptions/index.js")); +var _index47 = _interopRequireDefault(require("./eachHourOfInterval/index.js")); +var _index48 = _interopRequireDefault(require("./eachHourOfIntervalWithOptions/index.js")); +var _index49 = _interopRequireDefault(require("./eachMinuteOfInterval/index.js")); +var _index50 = _interopRequireDefault(require("./eachMinuteOfIntervalWithOptions/index.js")); +var _index51 = _interopRequireDefault(require("./eachMonthOfInterval/index.js")); +var _index52 = _interopRequireDefault(require("./eachQuarterOfInterval/index.js")); +var _index53 = _interopRequireDefault(require("./eachWeekOfInterval/index.js")); +var _index54 = _interopRequireDefault(require("./eachWeekOfIntervalWithOptions/index.js")); +var _index55 = _interopRequireDefault(require("./eachWeekendOfInterval/index.js")); +var _index56 = _interopRequireDefault(require("./eachWeekendOfMonth/index.js")); +var _index57 = _interopRequireDefault(require("./eachWeekendOfYear/index.js")); +var _index58 = _interopRequireDefault(require("./eachYearOfInterval/index.js")); +var _index59 = _interopRequireDefault(require("./endOfDay/index.js")); +var _index60 = _interopRequireDefault(require("./endOfDecade/index.js")); +var _index61 = _interopRequireDefault(require("./endOfDecadeWithOptions/index.js")); +var _index62 = _interopRequireDefault(require("./endOfHour/index.js")); +var _index63 = _interopRequireDefault(require("./endOfISOWeek/index.js")); +var _index64 = _interopRequireDefault(require("./endOfISOWeekYear/index.js")); +var _index65 = _interopRequireDefault(require("./endOfMinute/index.js")); +var _index66 = _interopRequireDefault(require("./endOfMonth/index.js")); +var _index67 = _interopRequireDefault(require("./endOfQuarter/index.js")); +var _index68 = _interopRequireDefault(require("./endOfSecond/index.js")); +var _index69 = _interopRequireDefault(require("./endOfWeek/index.js")); +var _index70 = _interopRequireDefault(require("./endOfWeekWithOptions/index.js")); +var _index71 = _interopRequireDefault(require("./endOfYear/index.js")); +var _index72 = _interopRequireDefault(require("./format/index.js")); +var _index73 = _interopRequireDefault(require("./formatDistance/index.js")); +var _index74 = _interopRequireDefault(require("./formatDistanceStrict/index.js")); +var _index75 = _interopRequireDefault(require("./formatDistanceStrictWithOptions/index.js")); +var _index76 = _interopRequireDefault(require("./formatDistanceWithOptions/index.js")); +var _index77 = _interopRequireDefault(require("./formatDuration/index.js")); +var _index78 = _interopRequireDefault(require("./formatDurationWithOptions/index.js")); +var _index79 = _interopRequireDefault(require("./formatISO/index.js")); +var _index80 = _interopRequireDefault(require("./formatISO9075/index.js")); +var _index81 = _interopRequireDefault(require("./formatISO9075WithOptions/index.js")); +var _index82 = _interopRequireDefault(require("./formatISODuration/index.js")); +var _index83 = _interopRequireDefault(require("./formatISOWithOptions/index.js")); +var _index84 = _interopRequireDefault(require("./formatRFC3339/index.js")); +var _index85 = _interopRequireDefault(require("./formatRFC3339WithOptions/index.js")); +var _index86 = _interopRequireDefault(require("./formatRFC7231/index.js")); +var _index87 = _interopRequireDefault(require("./formatRelative/index.js")); +var _index88 = _interopRequireDefault(require("./formatRelativeWithOptions/index.js")); +var _index89 = _interopRequireDefault(require("./formatWithOptions/index.js")); +var _index90 = _interopRequireDefault(require("./fromUnixTime/index.js")); +var _index91 = _interopRequireDefault(require("./getDate/index.js")); +var _index92 = _interopRequireDefault(require("./getDay/index.js")); +var _index93 = _interopRequireDefault(require("./getDayOfYear/index.js")); +var _index94 = _interopRequireDefault(require("./getDaysInMonth/index.js")); +var _index95 = _interopRequireDefault(require("./getDaysInYear/index.js")); +var _index96 = _interopRequireDefault(require("./getDecade/index.js")); +var _index97 = _interopRequireDefault(require("./getHours/index.js")); +var _index98 = _interopRequireDefault(require("./getISODay/index.js")); +var _index99 = _interopRequireDefault(require("./getISOWeek/index.js")); +var _index100 = _interopRequireDefault(require("./getISOWeekYear/index.js")); +var _index101 = _interopRequireDefault(require("./getISOWeeksInYear/index.js")); +var _index102 = _interopRequireDefault(require("./getMilliseconds/index.js")); +var _index103 = _interopRequireDefault(require("./getMinutes/index.js")); +var _index104 = _interopRequireDefault(require("./getMonth/index.js")); +var _index105 = _interopRequireDefault(require("./getOverlappingDaysInIntervals/index.js")); +var _index106 = _interopRequireDefault(require("./getQuarter/index.js")); +var _index107 = _interopRequireDefault(require("./getSeconds/index.js")); +var _index108 = _interopRequireDefault(require("./getTime/index.js")); +var _index109 = _interopRequireDefault(require("./getUnixTime/index.js")); +var _index110 = _interopRequireDefault(require("./getWeek/index.js")); +var _index111 = _interopRequireDefault(require("./getWeekOfMonth/index.js")); +var _index112 = _interopRequireDefault(require("./getWeekOfMonthWithOptions/index.js")); +var _index113 = _interopRequireDefault(require("./getWeekWithOptions/index.js")); +var _index114 = _interopRequireDefault(require("./getWeekYear/index.js")); +var _index115 = _interopRequireDefault(require("./getWeekYearWithOptions/index.js")); +var _index116 = _interopRequireDefault(require("./getWeeksInMonth/index.js")); +var _index117 = _interopRequireDefault(require("./getWeeksInMonthWithOptions/index.js")); +var _index118 = _interopRequireDefault(require("./getYear/index.js")); +var _index119 = _interopRequireDefault(require("./hoursToMilliseconds/index.js")); +var _index120 = _interopRequireDefault(require("./hoursToMinutes/index.js")); +var _index121 = _interopRequireDefault(require("./hoursToSeconds/index.js")); +var _index122 = _interopRequireDefault(require("./intervalToDuration/index.js")); +var _index123 = _interopRequireDefault(require("./intlFormat/index.js")); +var _index124 = _interopRequireDefault(require("./intlFormatDistance/index.js")); +var _index125 = _interopRequireDefault(require("./intlFormatDistanceWithOptions/index.js")); +var _index126 = _interopRequireDefault(require("./isAfter/index.js")); +var _index127 = _interopRequireDefault(require("./isBefore/index.js")); +var _index128 = _interopRequireDefault(require("./isDate/index.js")); +var _index129 = _interopRequireDefault(require("./isEqual/index.js")); +var _index130 = _interopRequireDefault(require("./isExists/index.js")); +var _index131 = _interopRequireDefault(require("./isFirstDayOfMonth/index.js")); +var _index132 = _interopRequireDefault(require("./isFriday/index.js")); +var _index133 = _interopRequireDefault(require("./isLastDayOfMonth/index.js")); +var _index134 = _interopRequireDefault(require("./isLeapYear/index.js")); +var _index135 = _interopRequireDefault(require("./isMatch/index.js")); +var _index136 = _interopRequireDefault(require("./isMatchWithOptions/index.js")); +var _index137 = _interopRequireDefault(require("./isMonday/index.js")); +var _index138 = _interopRequireDefault(require("./isSameDay/index.js")); +var _index139 = _interopRequireDefault(require("./isSameHour/index.js")); +var _index140 = _interopRequireDefault(require("./isSameISOWeek/index.js")); +var _index141 = _interopRequireDefault(require("./isSameISOWeekYear/index.js")); +var _index142 = _interopRequireDefault(require("./isSameMinute/index.js")); +var _index143 = _interopRequireDefault(require("./isSameMonth/index.js")); +var _index144 = _interopRequireDefault(require("./isSameQuarter/index.js")); +var _index145 = _interopRequireDefault(require("./isSameSecond/index.js")); +var _index146 = _interopRequireDefault(require("./isSameWeek/index.js")); +var _index147 = _interopRequireDefault(require("./isSameWeekWithOptions/index.js")); +var _index148 = _interopRequireDefault(require("./isSameYear/index.js")); +var _index149 = _interopRequireDefault(require("./isSaturday/index.js")); +var _index150 = _interopRequireDefault(require("./isSunday/index.js")); +var _index151 = _interopRequireDefault(require("./isThursday/index.js")); +var _index152 = _interopRequireDefault(require("./isTuesday/index.js")); +var _index153 = _interopRequireDefault(require("./isValid/index.js")); +var _index154 = _interopRequireDefault(require("./isWednesday/index.js")); +var _index155 = _interopRequireDefault(require("./isWeekend/index.js")); +var _index156 = _interopRequireDefault(require("./isWithinInterval/index.js")); +var _index157 = _interopRequireDefault(require("./lastDayOfDecade/index.js")); +var _index158 = _interopRequireDefault(require("./lastDayOfISOWeek/index.js")); +var _index159 = _interopRequireDefault(require("./lastDayOfISOWeekYear/index.js")); +var _index160 = _interopRequireDefault(require("./lastDayOfMonth/index.js")); +var _index161 = _interopRequireDefault(require("./lastDayOfQuarter/index.js")); +var _index162 = _interopRequireDefault(require("./lastDayOfQuarterWithOptions/index.js")); +var _index163 = _interopRequireDefault(require("./lastDayOfWeek/index.js")); +var _index164 = _interopRequireDefault(require("./lastDayOfWeekWithOptions/index.js")); +var _index165 = _interopRequireDefault(require("./lastDayOfYear/index.js")); +var _index166 = _interopRequireDefault(require("./lightFormat/index.js")); +var _index167 = _interopRequireDefault(require("./max/index.js")); +var _index168 = _interopRequireDefault(require("./milliseconds/index.js")); +var _index169 = _interopRequireDefault(require("./millisecondsToHours/index.js")); +var _index170 = _interopRequireDefault(require("./millisecondsToMinutes/index.js")); +var _index171 = _interopRequireDefault(require("./millisecondsToSeconds/index.js")); +var _index172 = _interopRequireDefault(require("./min/index.js")); +var _index173 = _interopRequireDefault(require("./minutesToHours/index.js")); +var _index174 = _interopRequireDefault(require("./minutesToMilliseconds/index.js")); +var _index175 = _interopRequireDefault(require("./minutesToSeconds/index.js")); +var _index176 = _interopRequireDefault(require("./monthsToQuarters/index.js")); +var _index177 = _interopRequireDefault(require("./monthsToYears/index.js")); +var _index178 = _interopRequireDefault(require("./nextDay/index.js")); +var _index179 = _interopRequireDefault(require("./nextFriday/index.js")); +var _index180 = _interopRequireDefault(require("./nextMonday/index.js")); +var _index181 = _interopRequireDefault(require("./nextSaturday/index.js")); +var _index182 = _interopRequireDefault(require("./nextSunday/index.js")); +var _index183 = _interopRequireDefault(require("./nextThursday/index.js")); +var _index184 = _interopRequireDefault(require("./nextTuesday/index.js")); +var _index185 = _interopRequireDefault(require("./nextWednesday/index.js")); +var _index186 = _interopRequireDefault(require("./parse/index.js")); +var _index187 = _interopRequireDefault(require("./parseISO/index.js")); +var _index188 = _interopRequireDefault(require("./parseISOWithOptions/index.js")); +var _index189 = _interopRequireDefault(require("./parseJSON/index.js")); +var _index190 = _interopRequireDefault(require("./parseWithOptions/index.js")); +var _index191 = _interopRequireDefault(require("./previousDay/index.js")); +var _index192 = _interopRequireDefault(require("./previousFriday/index.js")); +var _index193 = _interopRequireDefault(require("./previousMonday/index.js")); +var _index194 = _interopRequireDefault(require("./previousSaturday/index.js")); +var _index195 = _interopRequireDefault(require("./previousSunday/index.js")); +var _index196 = _interopRequireDefault(require("./previousThursday/index.js")); +var _index197 = _interopRequireDefault(require("./previousTuesday/index.js")); +var _index198 = _interopRequireDefault(require("./previousWednesday/index.js")); +var _index199 = _interopRequireDefault(require("./quartersToMonths/index.js")); +var _index200 = _interopRequireDefault(require("./quartersToYears/index.js")); +var _index201 = _interopRequireDefault(require("./roundToNearestMinutes/index.js")); +var _index202 = _interopRequireDefault(require("./roundToNearestMinutesWithOptions/index.js")); +var _index203 = _interopRequireDefault(require("./secondsToHours/index.js")); +var _index204 = _interopRequireDefault(require("./secondsToMilliseconds/index.js")); +var _index205 = _interopRequireDefault(require("./secondsToMinutes/index.js")); +var _index206 = _interopRequireDefault(require("./set/index.js")); +var _index207 = _interopRequireDefault(require("./setDate/index.js")); +var _index208 = _interopRequireDefault(require("./setDay/index.js")); +var _index209 = _interopRequireDefault(require("./setDayOfYear/index.js")); +var _index210 = _interopRequireDefault(require("./setDayWithOptions/index.js")); +var _index211 = _interopRequireDefault(require("./setHours/index.js")); +var _index212 = _interopRequireDefault(require("./setISODay/index.js")); +var _index213 = _interopRequireDefault(require("./setISOWeek/index.js")); +var _index214 = _interopRequireDefault(require("./setISOWeekYear/index.js")); +var _index215 = _interopRequireDefault(require("./setMilliseconds/index.js")); +var _index216 = _interopRequireDefault(require("./setMinutes/index.js")); +var _index217 = _interopRequireDefault(require("./setMonth/index.js")); +var _index218 = _interopRequireDefault(require("./setQuarter/index.js")); +var _index219 = _interopRequireDefault(require("./setSeconds/index.js")); +var _index220 = _interopRequireDefault(require("./setWeek/index.js")); +var _index221 = _interopRequireDefault(require("./setWeekWithOptions/index.js")); +var _index222 = _interopRequireDefault(require("./setWeekYear/index.js")); +var _index223 = _interopRequireDefault(require("./setWeekYearWithOptions/index.js")); +var _index224 = _interopRequireDefault(require("./setYear/index.js")); +var _index225 = _interopRequireDefault(require("./startOfDay/index.js")); +var _index226 = _interopRequireDefault(require("./startOfDecade/index.js")); +var _index227 = _interopRequireDefault(require("./startOfHour/index.js")); +var _index228 = _interopRequireDefault(require("./startOfISOWeek/index.js")); +var _index229 = _interopRequireDefault(require("./startOfISOWeekYear/index.js")); +var _index230 = _interopRequireDefault(require("./startOfMinute/index.js")); +var _index231 = _interopRequireDefault(require("./startOfMonth/index.js")); +var _index232 = _interopRequireDefault(require("./startOfQuarter/index.js")); +var _index233 = _interopRequireDefault(require("./startOfSecond/index.js")); +var _index234 = _interopRequireDefault(require("./startOfWeek/index.js")); +var _index235 = _interopRequireDefault(require("./startOfWeekWithOptions/index.js")); +var _index236 = _interopRequireDefault(require("./startOfWeekYear/index.js")); +var _index237 = _interopRequireDefault(require("./startOfWeekYearWithOptions/index.js")); +var _index238 = _interopRequireDefault(require("./startOfYear/index.js")); +var _index239 = _interopRequireDefault(require("./sub/index.js")); +var _index240 = _interopRequireDefault(require("./subBusinessDays/index.js")); +var _index241 = _interopRequireDefault(require("./subDays/index.js")); +var _index242 = _interopRequireDefault(require("./subHours/index.js")); +var _index243 = _interopRequireDefault(require("./subISOWeekYears/index.js")); +var _index244 = _interopRequireDefault(require("./subMilliseconds/index.js")); +var _index245 = _interopRequireDefault(require("./subMinutes/index.js")); +var _index246 = _interopRequireDefault(require("./subMonths/index.js")); +var _index247 = _interopRequireDefault(require("./subQuarters/index.js")); +var _index248 = _interopRequireDefault(require("./subSeconds/index.js")); +var _index249 = _interopRequireDefault(require("./subWeeks/index.js")); +var _index250 = _interopRequireDefault(require("./subYears/index.js")); +var _index251 = _interopRequireDefault(require("./toDate/index.js")); +var _index252 = _interopRequireDefault(require("./weeksToDays/index.js")); +var _index253 = _interopRequireDefault(require("./yearsToMonths/index.js")); +var _index254 = _interopRequireDefault(require("./yearsToQuarters/index.js")); +var _index255 = require("../constants/index.js"); +Object.keys(_index255).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index255[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _index255[key]; + } + }); +}); \ No newline at end of file diff --git a/node_modules/date-fns/fp/index.js.flow b/node_modules/date-fns/fp/index.js.flow new file mode 100644 index 000000000..0c4817616 --- /dev/null +++ b/node_modules/date-fns/fp/index.js.flow @@ -0,0 +1,694 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +type CurriedFn4 = ( + a: A +) => + | CurriedFn3 + | (( + a: A, + b: B + ) => + | CurriedFn2 + | (( + a: A, + b: B, + c: C + ) => CurriedFn1 | ((a: A, b: B, c: C, d: D) => R))) + +declare module.exports: { + add: CurriedFn2, + addBusinessDays: CurriedFn2, + addDays: CurriedFn2, + addHours: CurriedFn2, + addISOWeekYears: CurriedFn2, + addMilliseconds: CurriedFn2, + addMinutes: CurriedFn2, + addMonths: CurriedFn2, + addQuarters: CurriedFn2, + addSeconds: CurriedFn2, + addWeeks: CurriedFn2, + addYears: CurriedFn2, + areIntervalsOverlapping: CurriedFn2, + areIntervalsOverlappingWithOptions: CurriedFn3< + { + inclusive?: boolean, + }, + Interval, + Interval, + boolean + >, + clamp: CurriedFn2, + closestIndexTo: CurriedFn2<(Date | number)[], Date | number, ?number>, + closestTo: CurriedFn2<(Date | number)[], Date | number, ?Date>, + compareAsc: CurriedFn2, + compareDesc: CurriedFn2, + daysToWeeks: CurriedFn1, + differenceInBusinessDays: CurriedFn2, + differenceInCalendarDays: CurriedFn2, + differenceInCalendarISOWeeks: CurriedFn2< + Date | number, + Date | number, + number + >, + differenceInCalendarISOWeekYears: CurriedFn2< + Date | number, + Date | number, + number + >, + differenceInCalendarMonths: CurriedFn2, + differenceInCalendarQuarters: CurriedFn2< + Date | number, + Date | number, + number + >, + differenceInCalendarWeeks: CurriedFn2, + differenceInCalendarWeeksWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + number + >, + differenceInCalendarYears: CurriedFn2, + differenceInDays: CurriedFn2, + differenceInHours: CurriedFn2, + differenceInHoursWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInISOWeekYears: CurriedFn2, + differenceInMilliseconds: CurriedFn2, + differenceInMinutes: CurriedFn2, + differenceInMinutesWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInMonths: CurriedFn2, + differenceInQuarters: CurriedFn2, + differenceInQuartersWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInSeconds: CurriedFn2, + differenceInSecondsWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInWeeks: CurriedFn2, + differenceInWeeksWithOptions: CurriedFn3< + { + roundingMethod?: string, + }, + Date | number, + Date | number, + number + >, + differenceInYears: CurriedFn2, + eachDayOfInterval: CurriedFn1, + eachDayOfIntervalWithOptions: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] + >, + eachHourOfInterval: CurriedFn1, + eachHourOfIntervalWithOptions: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] + >, + eachMinuteOfInterval: CurriedFn1, + eachMinuteOfIntervalWithOptions: CurriedFn2< + { + step?: number, + }, + Interval, + Date[] + >, + eachMonthOfInterval: CurriedFn1, + eachQuarterOfInterval: CurriedFn1, + eachWeekendOfInterval: CurriedFn1, + eachWeekendOfMonth: CurriedFn1, + eachWeekendOfYear: CurriedFn1, + eachWeekOfInterval: CurriedFn1, + eachWeekOfIntervalWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Interval, + Date[] + >, + eachYearOfInterval: CurriedFn1, + endOfDay: CurriedFn1, + endOfDecade: CurriedFn1, + endOfDecadeWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date + >, + endOfHour: CurriedFn1, + endOfISOWeek: CurriedFn1, + endOfISOWeekYear: CurriedFn1, + endOfMinute: CurriedFn1, + endOfMonth: CurriedFn1, + endOfQuarter: CurriedFn1, + endOfSecond: CurriedFn1, + endOfWeek: CurriedFn1, + endOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + endOfYear: CurriedFn1, + format: CurriedFn2, + formatDistance: CurriedFn2, + formatDistanceStrict: CurriedFn2, + formatDistanceStrictWithOptions: CurriedFn3< + { + locale?: Locale, + roundingMethod?: 'floor' | 'ceil' | 'round', + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + addSuffix?: boolean, + }, + Date | number, + Date | number, + string + >, + formatDistanceWithOptions: CurriedFn3< + { + locale?: Locale, + addSuffix?: boolean, + includeSeconds?: boolean, + }, + Date | number, + Date | number, + string + >, + formatDuration: CurriedFn1, + formatDurationWithOptions: CurriedFn2< + { + locale?: Locale, + delimiter?: string, + zero?: boolean, + format?: string[], + }, + Duration, + string + >, + formatISO: CurriedFn1, + formatISO9075: CurriedFn1, + formatISO9075WithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string + >, + formatISODuration: CurriedFn1, + formatISOWithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time', + format?: 'extended' | 'basic', + }, + Date | number, + string + >, + formatRelative: CurriedFn2, + formatRelativeWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + string + >, + formatRFC3339: CurriedFn1, + formatRFC3339WithOptions: CurriedFn2< + { + fractionDigits?: 0 | 1 | 2 | 3, + }, + Date | number, + string + >, + formatRFC7231: CurriedFn1, + formatWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: number, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + Date | number, + string + >, + fromUnixTime: CurriedFn1, + getDate: CurriedFn1, + getDay: CurriedFn1, + getDayOfYear: CurriedFn1, + getDaysInMonth: CurriedFn1, + getDaysInYear: CurriedFn1, + getDecade: CurriedFn1, + getHours: CurriedFn1, + getISODay: CurriedFn1, + getISOWeek: CurriedFn1, + getISOWeeksInYear: CurriedFn1, + getISOWeekYear: CurriedFn1, + getMilliseconds: CurriedFn1, + getMinutes: CurriedFn1, + getMonth: CurriedFn1, + getOverlappingDaysInIntervals: CurriedFn2, + getQuarter: CurriedFn1, + getSeconds: CurriedFn1, + getTime: CurriedFn1, + getUnixTime: CurriedFn1, + getWeek: CurriedFn1, + getWeekOfMonth: CurriedFn1, + getWeekOfMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getWeeksInMonth: CurriedFn1, + getWeeksInMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getWeekWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getWeekYear: CurriedFn1, + getWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + number + >, + getYear: CurriedFn1, + hoursToMilliseconds: CurriedFn1, + hoursToMinutes: CurriedFn1, + hoursToSeconds: CurriedFn1, + intervalToDuration: CurriedFn1, + intlFormat: CurriedFn3< + { + locale?: string | string[], + }, + { + timeZone?: string, + hour12?: boolean, + formatMatcher?: 'basic' | 'best fit', + timeZoneName?: 'short' | 'long', + second?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + day?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + era?: 'narrow' | 'short' | 'long', + weekday?: 'narrow' | 'short' | 'long', + localeMatcher?: 'lookup' | 'best fit', + }, + Date | number, + string + >, + intlFormatDistance: CurriedFn2, + intlFormatDistanceWithOptions: CurriedFn3< + { + style?: string, + numeric?: string, + localeMatcher?: string, + locale?: string | string[], + unit?: string, + }, + Date | number, + Date | number, + string + >, + isAfter: CurriedFn2, + isBefore: CurriedFn2, + isDate: CurriedFn1, + isEqual: CurriedFn2, + isExists: CurriedFn3, + isFirstDayOfMonth: CurriedFn1, + isFriday: CurriedFn1, + isLastDayOfMonth: CurriedFn1, + isLeapYear: CurriedFn1, + isMatch: CurriedFn2, + isMatchWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + string, + boolean + >, + isMonday: CurriedFn1, + isSameDay: CurriedFn2, + isSameHour: CurriedFn2, + isSameISOWeek: CurriedFn2, + isSameISOWeekYear: CurriedFn2, + isSameMinute: CurriedFn2, + isSameMonth: CurriedFn2, + isSameQuarter: CurriedFn2, + isSameSecond: CurriedFn2, + isSameWeek: CurriedFn2, + isSameWeekWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + boolean + >, + isSameYear: CurriedFn2, + isSaturday: CurriedFn1, + isSunday: CurriedFn1, + isThursday: CurriedFn1, + isTuesday: CurriedFn1, + isValid: CurriedFn1, + isWednesday: CurriedFn1, + isWeekend: CurriedFn1, + isWithinInterval: CurriedFn2, + lastDayOfDecade: CurriedFn1, + lastDayOfISOWeek: CurriedFn1, + lastDayOfISOWeekYear: CurriedFn1, + lastDayOfMonth: CurriedFn1, + lastDayOfQuarter: CurriedFn1, + lastDayOfQuarterWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date + >, + lastDayOfWeek: CurriedFn1, + lastDayOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + lastDayOfYear: CurriedFn1, + lightFormat: CurriedFn2, + max: CurriedFn1<(Date | number)[], Date>, + milliseconds: CurriedFn1, + millisecondsToHours: CurriedFn1, + millisecondsToMinutes: CurriedFn1, + millisecondsToSeconds: CurriedFn1, + min: CurriedFn1<(Date | number)[], Date>, + minutesToHours: CurriedFn1, + minutesToMilliseconds: CurriedFn1, + minutesToSeconds: CurriedFn1, + monthsToQuarters: CurriedFn1, + monthsToYears: CurriedFn1, + nextDay: CurriedFn2, + nextFriday: CurriedFn1, + nextMonday: CurriedFn1, + nextSaturday: CurriedFn1, + nextSunday: CurriedFn1, + nextThursday: CurriedFn1, + nextTuesday: CurriedFn1, + nextWednesday: CurriedFn1, + parse: CurriedFn3, + parseISO: CurriedFn1, + parseISOWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + string, + Date + >, + parseJSON: CurriedFn1, + parseWithOptions: CurriedFn4< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + string, + string, + Date + >, + previousDay: CurriedFn2, + previousFriday: CurriedFn1, + previousMonday: CurriedFn1, + previousSaturday: CurriedFn1, + previousSunday: CurriedFn1, + previousThursday: CurriedFn1, + previousTuesday: CurriedFn1, + previousWednesday: CurriedFn1, + quartersToMonths: CurriedFn1, + quartersToYears: CurriedFn1, + roundToNearestMinutes: CurriedFn1, + roundToNearestMinutesWithOptions: CurriedFn2< + { + roundingMethod?: string, + nearestTo?: number, + }, + Date | number, + Date + >, + secondsToHours: CurriedFn1, + secondsToMilliseconds: CurriedFn1, + secondsToMinutes: CurriedFn1, + set: CurriedFn2< + { + milliseconds?: number, + seconds?: number, + minutes?: number, + hours?: number, + date?: number, + month?: number, + year?: number, + }, + Date | number, + Date + >, + setDate: CurriedFn2, + setDay: CurriedFn2, + setDayOfYear: CurriedFn2, + setDayWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date + >, + setHours: CurriedFn2, + setISODay: CurriedFn2, + setISOWeek: CurriedFn2, + setISOWeekYear: CurriedFn2, + setMilliseconds: CurriedFn2, + setMinutes: CurriedFn2, + setMonth: CurriedFn2, + setQuarter: CurriedFn2, + setSeconds: CurriedFn2, + setWeek: CurriedFn2, + setWeekWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date + >, + setWeekYear: CurriedFn2, + setWeekYearWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date + >, + setYear: CurriedFn2, + startOfDay: CurriedFn1, + startOfDecade: CurriedFn1, + startOfHour: CurriedFn1, + startOfISOWeek: CurriedFn1, + startOfISOWeekYear: CurriedFn1, + startOfMinute: CurriedFn1, + startOfMonth: CurriedFn1, + startOfQuarter: CurriedFn1, + startOfSecond: CurriedFn1, + startOfWeek: CurriedFn1, + startOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + startOfWeekYear: CurriedFn1, + startOfWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date + >, + startOfYear: CurriedFn1, + sub: CurriedFn2, + subBusinessDays: CurriedFn2, + subDays: CurriedFn2, + subHours: CurriedFn2, + subISOWeekYears: CurriedFn2, + subMilliseconds: CurriedFn2, + subMinutes: CurriedFn2, + subMonths: CurriedFn2, + subQuarters: CurriedFn2, + subSeconds: CurriedFn2, + subWeeks: CurriedFn2, + subYears: CurriedFn2, + toDate: CurriedFn1, + weeksToDays: CurriedFn1, + yearsToMonths: CurriedFn1, + yearsToQuarters: CurriedFn1, + daysInWeek: number, + daysInYear: number, + maxTime: number, + millisecondsInMinute: number, + millisecondsInHour: number, + millisecondsInSecond: number, + minTime: number, + minutesInHour: number, + monthsInQuarter: number, + monthsInYear: number, + quartersInYear: number, + secondsInHour: number, + secondsInMinute: number, + secondsInDay: number, + secondsInWeek: number, + secondsInYear: number, + secondsInMonth: number, + secondsInQuarter: number, +} diff --git a/node_modules/date-fns/fp/intervalToDuration/index.d.ts b/node_modules/date-fns/fp/intervalToDuration/index.d.ts new file mode 100644 index 000000000..4b2381d84 --- /dev/null +++ b/node_modules/date-fns/fp/intervalToDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intervalToDuration } from 'date-fns/fp' +export default intervalToDuration diff --git a/node_modules/date-fns/fp/intervalToDuration/index.js b/node_modules/date-fns/fp/intervalToDuration/index.js new file mode 100644 index 000000000..ff5e1cec4 --- /dev/null +++ b/node_modules/date-fns/fp/intervalToDuration/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../intervalToDuration/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/intervalToDuration/index.js.flow b/node_modules/date-fns/fp/intervalToDuration/index.js.flow new file mode 100644 index 000000000..88f6ff0b1 --- /dev/null +++ b/node_modules/date-fns/fp/intervalToDuration/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/intervalToDuration/package.json b/node_modules/date-fns/fp/intervalToDuration/package.json new file mode 100644 index 000000000..7e3fe0ca6 --- /dev/null +++ b/node_modules/date-fns/fp/intervalToDuration/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/intervalToDuration/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/intlFormat/index.d.ts b/node_modules/date-fns/fp/intlFormat/index.d.ts new file mode 100644 index 000000000..38f78a729 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormat } from 'date-fns/fp' +export default intlFormat diff --git a/node_modules/date-fns/fp/intlFormat/index.js b/node_modules/date-fns/fp/intlFormat/index.js new file mode 100644 index 000000000..67ebc4035 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormat/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../intlFormat/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/intlFormat/index.js.flow b/node_modules/date-fns/fp/intlFormat/index.js.flow new file mode 100644 index 000000000..c104dcf93 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormat/index.js.flow @@ -0,0 +1,88 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + locale?: string | string[], + }, + { + timeZone?: string, + hour12?: boolean, + formatMatcher?: 'basic' | 'best fit', + timeZoneName?: 'short' | 'long', + second?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + day?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + era?: 'narrow' | 'short' | 'long', + weekday?: 'narrow' | 'short' | 'long', + localeMatcher?: 'lookup' | 'best fit', + }, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/intlFormat/package.json b/node_modules/date-fns/fp/intlFormat/package.json new file mode 100644 index 000000000..daeef8f9f --- /dev/null +++ b/node_modules/date-fns/fp/intlFormat/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/intlFormat/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/intlFormatDistance/index.d.ts b/node_modules/date-fns/fp/intlFormatDistance/index.d.ts new file mode 100644 index 000000000..4ce1b0228 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormatDistance } from 'date-fns/fp' +export default intlFormatDistance diff --git a/node_modules/date-fns/fp/intlFormatDistance/index.js b/node_modules/date-fns/fp/intlFormatDistance/index.js new file mode 100644 index 000000000..7b5f9c398 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistance/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../intlFormatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/intlFormatDistance/index.js.flow b/node_modules/date-fns/fp/intlFormatDistance/index.js.flow new file mode 100644 index 000000000..c4ef9a8db --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistance/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/intlFormatDistance/package.json b/node_modules/date-fns/fp/intlFormatDistance/package.json new file mode 100644 index 000000000..8f6e4edd2 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistance/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/intlFormatDistance/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.d.ts b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.d.ts new file mode 100644 index 000000000..2b227f5f0 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormatDistanceWithOptions } from 'date-fns/fp' +export default intlFormatDistanceWithOptions diff --git a/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.js b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.js new file mode 100644 index 000000000..8e2500c37 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../intlFormatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.js.flow b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.js.flow new file mode 100644 index 000000000..1edd039fc --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/index.js.flow @@ -0,0 +1,78 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + style?: string, + numeric?: string, + localeMatcher?: string, + locale?: string | string[], + unit?: string, + }, + Date | number, + Date | number, + string +> diff --git a/node_modules/date-fns/fp/intlFormatDistanceWithOptions/package.json b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/package.json new file mode 100644 index 000000000..8df9a7055 --- /dev/null +++ b/node_modules/date-fns/fp/intlFormatDistanceWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/intlFormatDistanceWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isAfter/index.d.ts b/node_modules/date-fns/fp/isAfter/index.d.ts new file mode 100644 index 000000000..de8ba7298 --- /dev/null +++ b/node_modules/date-fns/fp/isAfter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isAfter } from 'date-fns/fp' +export default isAfter diff --git a/node_modules/date-fns/fp/isAfter/index.js b/node_modules/date-fns/fp/isAfter/index.js new file mode 100644 index 000000000..593c24327 --- /dev/null +++ b/node_modules/date-fns/fp/isAfter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isAfter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isAfter/index.js.flow b/node_modules/date-fns/fp/isAfter/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isAfter/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isAfter/package.json b/node_modules/date-fns/fp/isAfter/package.json new file mode 100644 index 000000000..3dbc85749 --- /dev/null +++ b/node_modules/date-fns/fp/isAfter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isAfter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isBefore/index.d.ts b/node_modules/date-fns/fp/isBefore/index.d.ts new file mode 100644 index 000000000..d2891982f --- /dev/null +++ b/node_modules/date-fns/fp/isBefore/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isBefore } from 'date-fns/fp' +export default isBefore diff --git a/node_modules/date-fns/fp/isBefore/index.js b/node_modules/date-fns/fp/isBefore/index.js new file mode 100644 index 000000000..ff6bb392e --- /dev/null +++ b/node_modules/date-fns/fp/isBefore/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isBefore/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isBefore/index.js.flow b/node_modules/date-fns/fp/isBefore/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isBefore/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isBefore/package.json b/node_modules/date-fns/fp/isBefore/package.json new file mode 100644 index 000000000..91b753592 --- /dev/null +++ b/node_modules/date-fns/fp/isBefore/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isBefore/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isDate/index.d.ts b/node_modules/date-fns/fp/isDate/index.d.ts new file mode 100644 index 000000000..6f120ce99 --- /dev/null +++ b/node_modules/date-fns/fp/isDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isDate } from 'date-fns/fp' +export default isDate diff --git a/node_modules/date-fns/fp/isDate/index.js b/node_modules/date-fns/fp/isDate/index.js new file mode 100644 index 000000000..216b74dfd --- /dev/null +++ b/node_modules/date-fns/fp/isDate/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isDate/index.js.flow b/node_modules/date-fns/fp/isDate/index.js.flow new file mode 100644 index 000000000..62e70e24a --- /dev/null +++ b/node_modules/date-fns/fp/isDate/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isDate/package.json b/node_modules/date-fns/fp/isDate/package.json new file mode 100644 index 000000000..3a6d7bd06 --- /dev/null +++ b/node_modules/date-fns/fp/isDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isDate/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isEqual/index.d.ts b/node_modules/date-fns/fp/isEqual/index.d.ts new file mode 100644 index 000000000..b21d39899 --- /dev/null +++ b/node_modules/date-fns/fp/isEqual/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isEqual } from 'date-fns/fp' +export default isEqual diff --git a/node_modules/date-fns/fp/isEqual/index.js b/node_modules/date-fns/fp/isEqual/index.js new file mode 100644 index 000000000..1449c051a --- /dev/null +++ b/node_modules/date-fns/fp/isEqual/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isEqual/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isEqual/index.js.flow b/node_modules/date-fns/fp/isEqual/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isEqual/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isEqual/package.json b/node_modules/date-fns/fp/isEqual/package.json new file mode 100644 index 000000000..ef9027c73 --- /dev/null +++ b/node_modules/date-fns/fp/isEqual/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isEqual/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isExists/index.d.ts b/node_modules/date-fns/fp/isExists/index.d.ts new file mode 100644 index 000000000..e4ccb78ea --- /dev/null +++ b/node_modules/date-fns/fp/isExists/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isExists } from 'date-fns/fp' +export default isExists diff --git a/node_modules/date-fns/fp/isExists/index.js b/node_modules/date-fns/fp/isExists/index.js new file mode 100644 index 000000000..cb020997e --- /dev/null +++ b/node_modules/date-fns/fp/isExists/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isExists/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isExists/index.js.flow b/node_modules/date-fns/fp/isExists/index.js.flow new file mode 100644 index 000000000..2af9fe9a6 --- /dev/null +++ b/node_modules/date-fns/fp/isExists/index.js.flow @@ -0,0 +1,67 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3 diff --git a/node_modules/date-fns/fp/isExists/package.json b/node_modules/date-fns/fp/isExists/package.json new file mode 100644 index 000000000..a5885cea3 --- /dev/null +++ b/node_modules/date-fns/fp/isExists/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isExists/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isFirstDayOfMonth/index.d.ts b/node_modules/date-fns/fp/isFirstDayOfMonth/index.d.ts new file mode 100644 index 000000000..e097310d8 --- /dev/null +++ b/node_modules/date-fns/fp/isFirstDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFirstDayOfMonth } from 'date-fns/fp' +export default isFirstDayOfMonth diff --git a/node_modules/date-fns/fp/isFirstDayOfMonth/index.js b/node_modules/date-fns/fp/isFirstDayOfMonth/index.js new file mode 100644 index 000000000..ed1c5d881 --- /dev/null +++ b/node_modules/date-fns/fp/isFirstDayOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isFirstDayOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isFirstDayOfMonth/index.js.flow b/node_modules/date-fns/fp/isFirstDayOfMonth/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isFirstDayOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isFirstDayOfMonth/package.json b/node_modules/date-fns/fp/isFirstDayOfMonth/package.json new file mode 100644 index 000000000..f7ec9e5a1 --- /dev/null +++ b/node_modules/date-fns/fp/isFirstDayOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isFirstDayOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isFriday/index.d.ts b/node_modules/date-fns/fp/isFriday/index.d.ts new file mode 100644 index 000000000..cdab1b14b --- /dev/null +++ b/node_modules/date-fns/fp/isFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFriday } from 'date-fns/fp' +export default isFriday diff --git a/node_modules/date-fns/fp/isFriday/index.js b/node_modules/date-fns/fp/isFriday/index.js new file mode 100644 index 000000000..e40211287 --- /dev/null +++ b/node_modules/date-fns/fp/isFriday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isFriday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isFriday/index.js.flow b/node_modules/date-fns/fp/isFriday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isFriday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isFriday/package.json b/node_modules/date-fns/fp/isFriday/package.json new file mode 100644 index 000000000..5c78fdcda --- /dev/null +++ b/node_modules/date-fns/fp/isFriday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isFriday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isLastDayOfMonth/index.d.ts b/node_modules/date-fns/fp/isLastDayOfMonth/index.d.ts new file mode 100644 index 000000000..33750f0b9 --- /dev/null +++ b/node_modules/date-fns/fp/isLastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLastDayOfMonth } from 'date-fns/fp' +export default isLastDayOfMonth diff --git a/node_modules/date-fns/fp/isLastDayOfMonth/index.js b/node_modules/date-fns/fp/isLastDayOfMonth/index.js new file mode 100644 index 000000000..bbed29219 --- /dev/null +++ b/node_modules/date-fns/fp/isLastDayOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isLastDayOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isLastDayOfMonth/index.js.flow b/node_modules/date-fns/fp/isLastDayOfMonth/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isLastDayOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isLastDayOfMonth/package.json b/node_modules/date-fns/fp/isLastDayOfMonth/package.json new file mode 100644 index 000000000..f48ee0d09 --- /dev/null +++ b/node_modules/date-fns/fp/isLastDayOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isLastDayOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isLeapYear/index.d.ts b/node_modules/date-fns/fp/isLeapYear/index.d.ts new file mode 100644 index 000000000..c92bce330 --- /dev/null +++ b/node_modules/date-fns/fp/isLeapYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLeapYear } from 'date-fns/fp' +export default isLeapYear diff --git a/node_modules/date-fns/fp/isLeapYear/index.js b/node_modules/date-fns/fp/isLeapYear/index.js new file mode 100644 index 000000000..1b1aad7aa --- /dev/null +++ b/node_modules/date-fns/fp/isLeapYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isLeapYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isLeapYear/index.js.flow b/node_modules/date-fns/fp/isLeapYear/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isLeapYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isLeapYear/package.json b/node_modules/date-fns/fp/isLeapYear/package.json new file mode 100644 index 000000000..cf9f161b7 --- /dev/null +++ b/node_modules/date-fns/fp/isLeapYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isLeapYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isMatch/index.d.ts b/node_modules/date-fns/fp/isMatch/index.d.ts new file mode 100644 index 000000000..5085afac1 --- /dev/null +++ b/node_modules/date-fns/fp/isMatch/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMatch } from 'date-fns/fp' +export default isMatch diff --git a/node_modules/date-fns/fp/isMatch/index.js b/node_modules/date-fns/fp/isMatch/index.js new file mode 100644 index 000000000..aa9485f9a --- /dev/null +++ b/node_modules/date-fns/fp/isMatch/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isMatch/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isMatch/index.js.flow b/node_modules/date-fns/fp/isMatch/index.js.flow new file mode 100644 index 000000000..9eb7ae049 --- /dev/null +++ b/node_modules/date-fns/fp/isMatch/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isMatch/package.json b/node_modules/date-fns/fp/isMatch/package.json new file mode 100644 index 000000000..3394bed7e --- /dev/null +++ b/node_modules/date-fns/fp/isMatch/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isMatch/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isMatchWithOptions/index.d.ts b/node_modules/date-fns/fp/isMatchWithOptions/index.d.ts new file mode 100644 index 000000000..4645250d6 --- /dev/null +++ b/node_modules/date-fns/fp/isMatchWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMatchWithOptions } from 'date-fns/fp' +export default isMatchWithOptions diff --git a/node_modules/date-fns/fp/isMatchWithOptions/index.js b/node_modules/date-fns/fp/isMatchWithOptions/index.js new file mode 100644 index 000000000..8aae7b014 --- /dev/null +++ b/node_modules/date-fns/fp/isMatchWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isMatch/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isMatchWithOptions/index.js.flow b/node_modules/date-fns/fp/isMatchWithOptions/index.js.flow new file mode 100644 index 000000000..5b2b86934 --- /dev/null +++ b/node_modules/date-fns/fp/isMatchWithOptions/index.js.flow @@ -0,0 +1,78 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + string, + string, + boolean +> diff --git a/node_modules/date-fns/fp/isMatchWithOptions/package.json b/node_modules/date-fns/fp/isMatchWithOptions/package.json new file mode 100644 index 000000000..47618ada2 --- /dev/null +++ b/node_modules/date-fns/fp/isMatchWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isMatchWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isMonday/index.d.ts b/node_modules/date-fns/fp/isMonday/index.d.ts new file mode 100644 index 000000000..550bbb0d5 --- /dev/null +++ b/node_modules/date-fns/fp/isMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMonday } from 'date-fns/fp' +export default isMonday diff --git a/node_modules/date-fns/fp/isMonday/index.js b/node_modules/date-fns/fp/isMonday/index.js new file mode 100644 index 000000000..7796ad5c7 --- /dev/null +++ b/node_modules/date-fns/fp/isMonday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isMonday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isMonday/index.js.flow b/node_modules/date-fns/fp/isMonday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isMonday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isMonday/package.json b/node_modules/date-fns/fp/isMonday/package.json new file mode 100644 index 000000000..177e3c51b --- /dev/null +++ b/node_modules/date-fns/fp/isMonday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isMonday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameDay/index.d.ts b/node_modules/date-fns/fp/isSameDay/index.d.ts new file mode 100644 index 000000000..d7c74c72a --- /dev/null +++ b/node_modules/date-fns/fp/isSameDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameDay } from 'date-fns/fp' +export default isSameDay diff --git a/node_modules/date-fns/fp/isSameDay/index.js b/node_modules/date-fns/fp/isSameDay/index.js new file mode 100644 index 000000000..d35290f90 --- /dev/null +++ b/node_modules/date-fns/fp/isSameDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameDay/index.js.flow b/node_modules/date-fns/fp/isSameDay/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameDay/package.json b/node_modules/date-fns/fp/isSameDay/package.json new file mode 100644 index 000000000..924882b50 --- /dev/null +++ b/node_modules/date-fns/fp/isSameDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameHour/index.d.ts b/node_modules/date-fns/fp/isSameHour/index.d.ts new file mode 100644 index 000000000..ff4dacbb5 --- /dev/null +++ b/node_modules/date-fns/fp/isSameHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameHour } from 'date-fns/fp' +export default isSameHour diff --git a/node_modules/date-fns/fp/isSameHour/index.js b/node_modules/date-fns/fp/isSameHour/index.js new file mode 100644 index 000000000..e8918c015 --- /dev/null +++ b/node_modules/date-fns/fp/isSameHour/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameHour/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameHour/index.js.flow b/node_modules/date-fns/fp/isSameHour/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameHour/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameHour/package.json b/node_modules/date-fns/fp/isSameHour/package.json new file mode 100644 index 000000000..79b32d749 --- /dev/null +++ b/node_modules/date-fns/fp/isSameHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameHour/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameISOWeek/index.d.ts b/node_modules/date-fns/fp/isSameISOWeek/index.d.ts new file mode 100644 index 000000000..41c5426b6 --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeek } from 'date-fns/fp' +export default isSameISOWeek diff --git a/node_modules/date-fns/fp/isSameISOWeek/index.js b/node_modules/date-fns/fp/isSameISOWeek/index.js new file mode 100644 index 000000000..79a551f2d --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameISOWeek/index.js.flow b/node_modules/date-fns/fp/isSameISOWeek/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameISOWeek/package.json b/node_modules/date-fns/fp/isSameISOWeek/package.json new file mode 100644 index 000000000..3784c8eee --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameISOWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameISOWeekYear/index.d.ts b/node_modules/date-fns/fp/isSameISOWeekYear/index.d.ts new file mode 100644 index 000000000..f9f65c0b6 --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeekYear } from 'date-fns/fp' +export default isSameISOWeekYear diff --git a/node_modules/date-fns/fp/isSameISOWeekYear/index.js b/node_modules/date-fns/fp/isSameISOWeekYear/index.js new file mode 100644 index 000000000..26c0b153f --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameISOWeekYear/index.js.flow b/node_modules/date-fns/fp/isSameISOWeekYear/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeekYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameISOWeekYear/package.json b/node_modules/date-fns/fp/isSameISOWeekYear/package.json new file mode 100644 index 000000000..c46e15edb --- /dev/null +++ b/node_modules/date-fns/fp/isSameISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameISOWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameMinute/index.d.ts b/node_modules/date-fns/fp/isSameMinute/index.d.ts new file mode 100644 index 000000000..b19be2ae9 --- /dev/null +++ b/node_modules/date-fns/fp/isSameMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMinute } from 'date-fns/fp' +export default isSameMinute diff --git a/node_modules/date-fns/fp/isSameMinute/index.js b/node_modules/date-fns/fp/isSameMinute/index.js new file mode 100644 index 000000000..3df81c615 --- /dev/null +++ b/node_modules/date-fns/fp/isSameMinute/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameMinute/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameMinute/index.js.flow b/node_modules/date-fns/fp/isSameMinute/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameMinute/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameMinute/package.json b/node_modules/date-fns/fp/isSameMinute/package.json new file mode 100644 index 000000000..9ea516a9f --- /dev/null +++ b/node_modules/date-fns/fp/isSameMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameMinute/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameMonth/index.d.ts b/node_modules/date-fns/fp/isSameMonth/index.d.ts new file mode 100644 index 000000000..1c29c87a5 --- /dev/null +++ b/node_modules/date-fns/fp/isSameMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMonth } from 'date-fns/fp' +export default isSameMonth diff --git a/node_modules/date-fns/fp/isSameMonth/index.js b/node_modules/date-fns/fp/isSameMonth/index.js new file mode 100644 index 000000000..0f70e5d3e --- /dev/null +++ b/node_modules/date-fns/fp/isSameMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameMonth/index.js.flow b/node_modules/date-fns/fp/isSameMonth/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameMonth/package.json b/node_modules/date-fns/fp/isSameMonth/package.json new file mode 100644 index 000000000..adaeb531f --- /dev/null +++ b/node_modules/date-fns/fp/isSameMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameQuarter/index.d.ts b/node_modules/date-fns/fp/isSameQuarter/index.d.ts new file mode 100644 index 000000000..6fe36a587 --- /dev/null +++ b/node_modules/date-fns/fp/isSameQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameQuarter } from 'date-fns/fp' +export default isSameQuarter diff --git a/node_modules/date-fns/fp/isSameQuarter/index.js b/node_modules/date-fns/fp/isSameQuarter/index.js new file mode 100644 index 000000000..b49df64ab --- /dev/null +++ b/node_modules/date-fns/fp/isSameQuarter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameQuarter/index.js.flow b/node_modules/date-fns/fp/isSameQuarter/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameQuarter/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameQuarter/package.json b/node_modules/date-fns/fp/isSameQuarter/package.json new file mode 100644 index 000000000..3d70daba2 --- /dev/null +++ b/node_modules/date-fns/fp/isSameQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameQuarter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameSecond/index.d.ts b/node_modules/date-fns/fp/isSameSecond/index.d.ts new file mode 100644 index 000000000..b65413a73 --- /dev/null +++ b/node_modules/date-fns/fp/isSameSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameSecond } from 'date-fns/fp' +export default isSameSecond diff --git a/node_modules/date-fns/fp/isSameSecond/index.js b/node_modules/date-fns/fp/isSameSecond/index.js new file mode 100644 index 000000000..8c6ee1c37 --- /dev/null +++ b/node_modules/date-fns/fp/isSameSecond/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameSecond/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameSecond/index.js.flow b/node_modules/date-fns/fp/isSameSecond/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameSecond/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameSecond/package.json b/node_modules/date-fns/fp/isSameSecond/package.json new file mode 100644 index 000000000..7ed1e5dcb --- /dev/null +++ b/node_modules/date-fns/fp/isSameSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameSecond/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameWeek/index.d.ts b/node_modules/date-fns/fp/isSameWeek/index.d.ts new file mode 100644 index 000000000..e6b37fa57 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameWeek } from 'date-fns/fp' +export default isSameWeek diff --git a/node_modules/date-fns/fp/isSameWeek/index.js b/node_modules/date-fns/fp/isSameWeek/index.js new file mode 100644 index 000000000..7514f62c1 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameWeek/index.js.flow b/node_modules/date-fns/fp/isSameWeek/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameWeek/package.json b/node_modules/date-fns/fp/isSameWeek/package.json new file mode 100644 index 000000000..aee7db986 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameWeekWithOptions/index.d.ts b/node_modules/date-fns/fp/isSameWeekWithOptions/index.d.ts new file mode 100644 index 000000000..240b654b3 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameWeekWithOptions } from 'date-fns/fp' +export default isSameWeekWithOptions diff --git a/node_modules/date-fns/fp/isSameWeekWithOptions/index.js b/node_modules/date-fns/fp/isSameWeekWithOptions/index.js new file mode 100644 index 000000000..834b35111 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeekWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameWeekWithOptions/index.js.flow b/node_modules/date-fns/fp/isSameWeekWithOptions/index.js.flow new file mode 100644 index 000000000..154b89497 --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeekWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date | number, + boolean +> diff --git a/node_modules/date-fns/fp/isSameWeekWithOptions/package.json b/node_modules/date-fns/fp/isSameWeekWithOptions/package.json new file mode 100644 index 000000000..c201ac99f --- /dev/null +++ b/node_modules/date-fns/fp/isSameWeekWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameWeekWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameYear/index.d.ts b/node_modules/date-fns/fp/isSameYear/index.d.ts new file mode 100644 index 000000000..da9db0728 --- /dev/null +++ b/node_modules/date-fns/fp/isSameYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameYear } from 'date-fns/fp' +export default isSameYear diff --git a/node_modules/date-fns/fp/isSameYear/index.js b/node_modules/date-fns/fp/isSameYear/index.js new file mode 100644 index 000000000..42ce51c99 --- /dev/null +++ b/node_modules/date-fns/fp/isSameYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSameYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSameYear/index.js.flow b/node_modules/date-fns/fp/isSameYear/index.js.flow new file mode 100644 index 000000000..38638c404 --- /dev/null +++ b/node_modules/date-fns/fp/isSameYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isSameYear/package.json b/node_modules/date-fns/fp/isSameYear/package.json new file mode 100644 index 000000000..297d77990 --- /dev/null +++ b/node_modules/date-fns/fp/isSameYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSameYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSaturday/index.d.ts b/node_modules/date-fns/fp/isSaturday/index.d.ts new file mode 100644 index 000000000..d6c100aaa --- /dev/null +++ b/node_modules/date-fns/fp/isSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSaturday } from 'date-fns/fp' +export default isSaturday diff --git a/node_modules/date-fns/fp/isSaturday/index.js b/node_modules/date-fns/fp/isSaturday/index.js new file mode 100644 index 000000000..0e49ac766 --- /dev/null +++ b/node_modules/date-fns/fp/isSaturday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSaturday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSaturday/index.js.flow b/node_modules/date-fns/fp/isSaturday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isSaturday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isSaturday/package.json b/node_modules/date-fns/fp/isSaturday/package.json new file mode 100644 index 000000000..ab6efa35e --- /dev/null +++ b/node_modules/date-fns/fp/isSaturday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSaturday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSunday/index.d.ts b/node_modules/date-fns/fp/isSunday/index.d.ts new file mode 100644 index 000000000..d5ff84fa8 --- /dev/null +++ b/node_modules/date-fns/fp/isSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSunday } from 'date-fns/fp' +export default isSunday diff --git a/node_modules/date-fns/fp/isSunday/index.js b/node_modules/date-fns/fp/isSunday/index.js new file mode 100644 index 000000000..7d503b313 --- /dev/null +++ b/node_modules/date-fns/fp/isSunday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isSunday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isSunday/index.js.flow b/node_modules/date-fns/fp/isSunday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isSunday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isSunday/package.json b/node_modules/date-fns/fp/isSunday/package.json new file mode 100644 index 000000000..44b2f2772 --- /dev/null +++ b/node_modules/date-fns/fp/isSunday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isSunday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isThursday/index.d.ts b/node_modules/date-fns/fp/isThursday/index.d.ts new file mode 100644 index 000000000..5f7c57c41 --- /dev/null +++ b/node_modules/date-fns/fp/isThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThursday } from 'date-fns/fp' +export default isThursday diff --git a/node_modules/date-fns/fp/isThursday/index.js b/node_modules/date-fns/fp/isThursday/index.js new file mode 100644 index 000000000..398b42f43 --- /dev/null +++ b/node_modules/date-fns/fp/isThursday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isThursday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isThursday/index.js.flow b/node_modules/date-fns/fp/isThursday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isThursday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isThursday/package.json b/node_modules/date-fns/fp/isThursday/package.json new file mode 100644 index 000000000..e7802a5b5 --- /dev/null +++ b/node_modules/date-fns/fp/isThursday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isThursday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isTuesday/index.d.ts b/node_modules/date-fns/fp/isTuesday/index.d.ts new file mode 100644 index 000000000..3a652b6df --- /dev/null +++ b/node_modules/date-fns/fp/isTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isTuesday } from 'date-fns/fp' +export default isTuesday diff --git a/node_modules/date-fns/fp/isTuesday/index.js b/node_modules/date-fns/fp/isTuesday/index.js new file mode 100644 index 000000000..e81385c7c --- /dev/null +++ b/node_modules/date-fns/fp/isTuesday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isTuesday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isTuesday/index.js.flow b/node_modules/date-fns/fp/isTuesday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isTuesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isTuesday/package.json b/node_modules/date-fns/fp/isTuesday/package.json new file mode 100644 index 000000000..79cd0eedb --- /dev/null +++ b/node_modules/date-fns/fp/isTuesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isTuesday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isValid/index.d.ts b/node_modules/date-fns/fp/isValid/index.d.ts new file mode 100644 index 000000000..42a843223 --- /dev/null +++ b/node_modules/date-fns/fp/isValid/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isValid } from 'date-fns/fp' +export default isValid diff --git a/node_modules/date-fns/fp/isValid/index.js b/node_modules/date-fns/fp/isValid/index.js new file mode 100644 index 000000000..d11980af2 --- /dev/null +++ b/node_modules/date-fns/fp/isValid/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isValid/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isValid/index.js.flow b/node_modules/date-fns/fp/isValid/index.js.flow new file mode 100644 index 000000000..62e70e24a --- /dev/null +++ b/node_modules/date-fns/fp/isValid/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isValid/package.json b/node_modules/date-fns/fp/isValid/package.json new file mode 100644 index 000000000..8bd7796d1 --- /dev/null +++ b/node_modules/date-fns/fp/isValid/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isValid/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isWednesday/index.d.ts b/node_modules/date-fns/fp/isWednesday/index.d.ts new file mode 100644 index 000000000..9752d6a9c --- /dev/null +++ b/node_modules/date-fns/fp/isWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWednesday } from 'date-fns/fp' +export default isWednesday diff --git a/node_modules/date-fns/fp/isWednesday/index.js b/node_modules/date-fns/fp/isWednesday/index.js new file mode 100644 index 000000000..79584bf0b --- /dev/null +++ b/node_modules/date-fns/fp/isWednesday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isWednesday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isWednesday/index.js.flow b/node_modules/date-fns/fp/isWednesday/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isWednesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isWednesday/package.json b/node_modules/date-fns/fp/isWednesday/package.json new file mode 100644 index 000000000..ff83af4c4 --- /dev/null +++ b/node_modules/date-fns/fp/isWednesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isWednesday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isWeekend/index.d.ts b/node_modules/date-fns/fp/isWeekend/index.d.ts new file mode 100644 index 000000000..ff6c8a3ee --- /dev/null +++ b/node_modules/date-fns/fp/isWeekend/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWeekend } from 'date-fns/fp' +export default isWeekend diff --git a/node_modules/date-fns/fp/isWeekend/index.js b/node_modules/date-fns/fp/isWeekend/index.js new file mode 100644 index 000000000..b6abf6799 --- /dev/null +++ b/node_modules/date-fns/fp/isWeekend/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isWeekend/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isWeekend/index.js.flow b/node_modules/date-fns/fp/isWeekend/index.js.flow new file mode 100644 index 000000000..8f53be61c --- /dev/null +++ b/node_modules/date-fns/fp/isWeekend/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/isWeekend/package.json b/node_modules/date-fns/fp/isWeekend/package.json new file mode 100644 index 000000000..97cd751bd --- /dev/null +++ b/node_modules/date-fns/fp/isWeekend/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isWeekend/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/isWithinInterval/index.d.ts b/node_modules/date-fns/fp/isWithinInterval/index.d.ts new file mode 100644 index 000000000..c3b3c9b3b --- /dev/null +++ b/node_modules/date-fns/fp/isWithinInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWithinInterval } from 'date-fns/fp' +export default isWithinInterval diff --git a/node_modules/date-fns/fp/isWithinInterval/index.js b/node_modules/date-fns/fp/isWithinInterval/index.js new file mode 100644 index 000000000..b2843d454 --- /dev/null +++ b/node_modules/date-fns/fp/isWithinInterval/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../isWithinInterval/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/isWithinInterval/index.js.flow b/node_modules/date-fns/fp/isWithinInterval/index.js.flow new file mode 100644 index 000000000..8b45a5e16 --- /dev/null +++ b/node_modules/date-fns/fp/isWithinInterval/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/isWithinInterval/package.json b/node_modules/date-fns/fp/isWithinInterval/package.json new file mode 100644 index 000000000..ea9be81ed --- /dev/null +++ b/node_modules/date-fns/fp/isWithinInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/isWithinInterval/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfDecade/index.d.ts b/node_modules/date-fns/fp/lastDayOfDecade/index.d.ts new file mode 100644 index 000000000..6b32f4637 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfDecade } from 'date-fns/fp' +export default lastDayOfDecade diff --git a/node_modules/date-fns/fp/lastDayOfDecade/index.js b/node_modules/date-fns/fp/lastDayOfDecade/index.js new file mode 100644 index 000000000..fb8708fb1 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfDecade/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfDecade/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfDecade/index.js.flow b/node_modules/date-fns/fp/lastDayOfDecade/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfDecade/package.json b/node_modules/date-fns/fp/lastDayOfDecade/package.json new file mode 100644 index 000000000..ba0ce496a --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfDecade/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfISOWeek/index.d.ts b/node_modules/date-fns/fp/lastDayOfISOWeek/index.d.ts new file mode 100644 index 000000000..13d7cbe02 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeek } from 'date-fns/fp' +export default lastDayOfISOWeek diff --git a/node_modules/date-fns/fp/lastDayOfISOWeek/index.js b/node_modules/date-fns/fp/lastDayOfISOWeek/index.js new file mode 100644 index 000000000..acde89e7f --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfISOWeek/index.js.flow b/node_modules/date-fns/fp/lastDayOfISOWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfISOWeek/package.json b/node_modules/date-fns/fp/lastDayOfISOWeek/package.json new file mode 100644 index 000000000..7f91835be --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfISOWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.d.ts b/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..8e75ca7fe --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeekYear } from 'date-fns/fp' +export default lastDayOfISOWeekYear diff --git a/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.js b/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.js new file mode 100644 index 000000000..399b7abf7 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.js.flow b/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfISOWeekYear/package.json b/node_modules/date-fns/fp/lastDayOfISOWeekYear/package.json new file mode 100644 index 000000000..fb0e10d02 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfISOWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfMonth/index.d.ts b/node_modules/date-fns/fp/lastDayOfMonth/index.d.ts new file mode 100644 index 000000000..1a65a1479 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfMonth } from 'date-fns/fp' +export default lastDayOfMonth diff --git a/node_modules/date-fns/fp/lastDayOfMonth/index.js b/node_modules/date-fns/fp/lastDayOfMonth/index.js new file mode 100644 index 000000000..e352d7816 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfMonth/index.js.flow b/node_modules/date-fns/fp/lastDayOfMonth/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfMonth/package.json b/node_modules/date-fns/fp/lastDayOfMonth/package.json new file mode 100644 index 000000000..a9cbc8064 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfQuarter/index.d.ts b/node_modules/date-fns/fp/lastDayOfQuarter/index.d.ts new file mode 100644 index 000000000..27f41a817 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfQuarter } from 'date-fns/fp' +export default lastDayOfQuarter diff --git a/node_modules/date-fns/fp/lastDayOfQuarter/index.js b/node_modules/date-fns/fp/lastDayOfQuarter/index.js new file mode 100644 index 000000000..b4c4dfdcc --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfQuarter/index.js.flow b/node_modules/date-fns/fp/lastDayOfQuarter/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfQuarter/package.json b/node_modules/date-fns/fp/lastDayOfQuarter/package.json new file mode 100644 index 000000000..576786b6a --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfQuarter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.d.ts b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.d.ts new file mode 100644 index 000000000..4327d12c9 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfQuarterWithOptions } from 'date-fns/fp' +export default lastDayOfQuarterWithOptions diff --git a/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.js b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.js new file mode 100644 index 000000000..010961150 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.js.flow b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.js.flow new file mode 100644 index 000000000..4b6d0d466 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/package.json b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/package.json new file mode 100644 index 000000000..1d69732f5 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfQuarterWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfQuarterWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfWeek/index.d.ts b/node_modules/date-fns/fp/lastDayOfWeek/index.d.ts new file mode 100644 index 000000000..0d79da710 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfWeek } from 'date-fns/fp' +export default lastDayOfWeek diff --git a/node_modules/date-fns/fp/lastDayOfWeek/index.js b/node_modules/date-fns/fp/lastDayOfWeek/index.js new file mode 100644 index 000000000..6e2cc5ba4 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfWeek/index.js.flow b/node_modules/date-fns/fp/lastDayOfWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfWeek/package.json b/node_modules/date-fns/fp/lastDayOfWeek/package.json new file mode 100644 index 000000000..88f2d1d48 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.d.ts b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.d.ts new file mode 100644 index 000000000..571952469 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfWeekWithOptions } from 'date-fns/fp' +export default lastDayOfWeekWithOptions diff --git a/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.js b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.js new file mode 100644 index 000000000..4af8c6f78 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.js.flow b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.js.flow new file mode 100644 index 000000000..9821646c7 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/lastDayOfWeekWithOptions/package.json b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/package.json new file mode 100644 index 000000000..6d9195f77 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfWeekWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfWeekWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfYear/index.d.ts b/node_modules/date-fns/fp/lastDayOfYear/index.d.ts new file mode 100644 index 000000000..340473ee4 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfYear } from 'date-fns/fp' +export default lastDayOfYear diff --git a/node_modules/date-fns/fp/lastDayOfYear/index.js b/node_modules/date-fns/fp/lastDayOfYear/index.js new file mode 100644 index 000000000..71f8159fd --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lastDayOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lastDayOfYear/index.js.flow b/node_modules/date-fns/fp/lastDayOfYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/lastDayOfYear/package.json b/node_modules/date-fns/fp/lastDayOfYear/package.json new file mode 100644 index 000000000..c49d33460 --- /dev/null +++ b/node_modules/date-fns/fp/lastDayOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lastDayOfYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/lightFormat/index.d.ts b/node_modules/date-fns/fp/lightFormat/index.d.ts new file mode 100644 index 000000000..843b7fdfd --- /dev/null +++ b/node_modules/date-fns/fp/lightFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lightFormat } from 'date-fns/fp' +export default lightFormat diff --git a/node_modules/date-fns/fp/lightFormat/index.js b/node_modules/date-fns/fp/lightFormat/index.js new file mode 100644 index 000000000..214c9ced2 --- /dev/null +++ b/node_modules/date-fns/fp/lightFormat/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../lightFormat/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/lightFormat/index.js.flow b/node_modules/date-fns/fp/lightFormat/index.js.flow new file mode 100644 index 000000000..013f277c8 --- /dev/null +++ b/node_modules/date-fns/fp/lightFormat/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/lightFormat/package.json b/node_modules/date-fns/fp/lightFormat/package.json new file mode 100644 index 000000000..cc914e51b --- /dev/null +++ b/node_modules/date-fns/fp/lightFormat/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/lightFormat/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/max/index.d.ts b/node_modules/date-fns/fp/max/index.d.ts new file mode 100644 index 000000000..000bf1dc3 --- /dev/null +++ b/node_modules/date-fns/fp/max/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { max } from 'date-fns/fp' +export default max diff --git a/node_modules/date-fns/fp/max/index.js b/node_modules/date-fns/fp/max/index.js new file mode 100644 index 000000000..997604e7e --- /dev/null +++ b/node_modules/date-fns/fp/max/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../max/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/max/index.js.flow b/node_modules/date-fns/fp/max/index.js.flow new file mode 100644 index 000000000..dc6668965 --- /dev/null +++ b/node_modules/date-fns/fp/max/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1<(Date | number)[], Date> diff --git a/node_modules/date-fns/fp/max/package.json b/node_modules/date-fns/fp/max/package.json new file mode 100644 index 000000000..b887c1d3b --- /dev/null +++ b/node_modules/date-fns/fp/max/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/max/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/milliseconds/index.d.ts b/node_modules/date-fns/fp/milliseconds/index.d.ts new file mode 100644 index 000000000..2552885bf --- /dev/null +++ b/node_modules/date-fns/fp/milliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { milliseconds } from 'date-fns/fp' +export default milliseconds diff --git a/node_modules/date-fns/fp/milliseconds/index.js b/node_modules/date-fns/fp/milliseconds/index.js new file mode 100644 index 000000000..a99123ac8 --- /dev/null +++ b/node_modules/date-fns/fp/milliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../milliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/milliseconds/index.js.flow b/node_modules/date-fns/fp/milliseconds/index.js.flow new file mode 100644 index 000000000..a025a6730 --- /dev/null +++ b/node_modules/date-fns/fp/milliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/milliseconds/package.json b/node_modules/date-fns/fp/milliseconds/package.json new file mode 100644 index 000000000..f50e3dd2d --- /dev/null +++ b/node_modules/date-fns/fp/milliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/milliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/millisecondsToHours/index.d.ts b/node_modules/date-fns/fp/millisecondsToHours/index.d.ts new file mode 100644 index 000000000..0ee686331 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToHours } from 'date-fns/fp' +export default millisecondsToHours diff --git a/node_modules/date-fns/fp/millisecondsToHours/index.js b/node_modules/date-fns/fp/millisecondsToHours/index.js new file mode 100644 index 000000000..88e7cad33 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../millisecondsToHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/millisecondsToHours/index.js.flow b/node_modules/date-fns/fp/millisecondsToHours/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/millisecondsToHours/package.json b/node_modules/date-fns/fp/millisecondsToHours/package.json new file mode 100644 index 000000000..2de8a7d46 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/millisecondsToHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/millisecondsToMinutes/index.d.ts b/node_modules/date-fns/fp/millisecondsToMinutes/index.d.ts new file mode 100644 index 000000000..de8470060 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToMinutes } from 'date-fns/fp' +export default millisecondsToMinutes diff --git a/node_modules/date-fns/fp/millisecondsToMinutes/index.js b/node_modules/date-fns/fp/millisecondsToMinutes/index.js new file mode 100644 index 000000000..363e64e90 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../millisecondsToMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/millisecondsToMinutes/index.js.flow b/node_modules/date-fns/fp/millisecondsToMinutes/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/millisecondsToMinutes/package.json b/node_modules/date-fns/fp/millisecondsToMinutes/package.json new file mode 100644 index 000000000..7ba40fb02 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/millisecondsToMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/millisecondsToSeconds/index.d.ts b/node_modules/date-fns/fp/millisecondsToSeconds/index.d.ts new file mode 100644 index 000000000..99736c4b9 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToSeconds } from 'date-fns/fp' +export default millisecondsToSeconds diff --git a/node_modules/date-fns/fp/millisecondsToSeconds/index.js b/node_modules/date-fns/fp/millisecondsToSeconds/index.js new file mode 100644 index 000000000..f94541e2e --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../millisecondsToSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/millisecondsToSeconds/index.js.flow b/node_modules/date-fns/fp/millisecondsToSeconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/millisecondsToSeconds/package.json b/node_modules/date-fns/fp/millisecondsToSeconds/package.json new file mode 100644 index 000000000..bf3f77ef8 --- /dev/null +++ b/node_modules/date-fns/fp/millisecondsToSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/millisecondsToSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/min/index.d.ts b/node_modules/date-fns/fp/min/index.d.ts new file mode 100644 index 000000000..b66616563 --- /dev/null +++ b/node_modules/date-fns/fp/min/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { min } from 'date-fns/fp' +export default min diff --git a/node_modules/date-fns/fp/min/index.js b/node_modules/date-fns/fp/min/index.js new file mode 100644 index 000000000..c7a994fdb --- /dev/null +++ b/node_modules/date-fns/fp/min/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../min/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/min/index.js.flow b/node_modules/date-fns/fp/min/index.js.flow new file mode 100644 index 000000000..dc6668965 --- /dev/null +++ b/node_modules/date-fns/fp/min/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1<(Date | number)[], Date> diff --git a/node_modules/date-fns/fp/min/package.json b/node_modules/date-fns/fp/min/package.json new file mode 100644 index 000000000..d282394e3 --- /dev/null +++ b/node_modules/date-fns/fp/min/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/min/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/minutesToHours/index.d.ts b/node_modules/date-fns/fp/minutesToHours/index.d.ts new file mode 100644 index 000000000..15aeb30c2 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToHours } from 'date-fns/fp' +export default minutesToHours diff --git a/node_modules/date-fns/fp/minutesToHours/index.js b/node_modules/date-fns/fp/minutesToHours/index.js new file mode 100644 index 000000000..06ba1a661 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../minutesToHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/minutesToHours/index.js.flow b/node_modules/date-fns/fp/minutesToHours/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/minutesToHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/minutesToHours/package.json b/node_modules/date-fns/fp/minutesToHours/package.json new file mode 100644 index 000000000..83c65b7ba --- /dev/null +++ b/node_modules/date-fns/fp/minutesToHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/minutesToHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/minutesToMilliseconds/index.d.ts b/node_modules/date-fns/fp/minutesToMilliseconds/index.d.ts new file mode 100644 index 000000000..0b19d018e --- /dev/null +++ b/node_modules/date-fns/fp/minutesToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToMilliseconds } from 'date-fns/fp' +export default minutesToMilliseconds diff --git a/node_modules/date-fns/fp/minutesToMilliseconds/index.js b/node_modules/date-fns/fp/minutesToMilliseconds/index.js new file mode 100644 index 000000000..f49205768 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../minutesToMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/minutesToMilliseconds/index.js.flow b/node_modules/date-fns/fp/minutesToMilliseconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/minutesToMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/minutesToMilliseconds/package.json b/node_modules/date-fns/fp/minutesToMilliseconds/package.json new file mode 100644 index 000000000..fb959db85 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/minutesToMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/minutesToSeconds/index.d.ts b/node_modules/date-fns/fp/minutesToSeconds/index.d.ts new file mode 100644 index 000000000..bc47b3f72 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToSeconds } from 'date-fns/fp' +export default minutesToSeconds diff --git a/node_modules/date-fns/fp/minutesToSeconds/index.js b/node_modules/date-fns/fp/minutesToSeconds/index.js new file mode 100644 index 000000000..90172a904 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../minutesToSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/minutesToSeconds/index.js.flow b/node_modules/date-fns/fp/minutesToSeconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/minutesToSeconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/minutesToSeconds/package.json b/node_modules/date-fns/fp/minutesToSeconds/package.json new file mode 100644 index 000000000..0d8e5e6c9 --- /dev/null +++ b/node_modules/date-fns/fp/minutesToSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/minutesToSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/monthsToQuarters/index.d.ts b/node_modules/date-fns/fp/monthsToQuarters/index.d.ts new file mode 100644 index 000000000..05ae53ce4 --- /dev/null +++ b/node_modules/date-fns/fp/monthsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToQuarters } from 'date-fns/fp' +export default monthsToQuarters diff --git a/node_modules/date-fns/fp/monthsToQuarters/index.js b/node_modules/date-fns/fp/monthsToQuarters/index.js new file mode 100644 index 000000000..4ca9dc60b --- /dev/null +++ b/node_modules/date-fns/fp/monthsToQuarters/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../monthsToQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/monthsToQuarters/index.js.flow b/node_modules/date-fns/fp/monthsToQuarters/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/monthsToQuarters/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/monthsToQuarters/package.json b/node_modules/date-fns/fp/monthsToQuarters/package.json new file mode 100644 index 000000000..68bc9a51b --- /dev/null +++ b/node_modules/date-fns/fp/monthsToQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/monthsToQuarters/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/monthsToYears/index.d.ts b/node_modules/date-fns/fp/monthsToYears/index.d.ts new file mode 100644 index 000000000..bc5f11346 --- /dev/null +++ b/node_modules/date-fns/fp/monthsToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToYears } from 'date-fns/fp' +export default monthsToYears diff --git a/node_modules/date-fns/fp/monthsToYears/index.js b/node_modules/date-fns/fp/monthsToYears/index.js new file mode 100644 index 000000000..5552569e4 --- /dev/null +++ b/node_modules/date-fns/fp/monthsToYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../monthsToYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/monthsToYears/index.js.flow b/node_modules/date-fns/fp/monthsToYears/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/monthsToYears/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/monthsToYears/package.json b/node_modules/date-fns/fp/monthsToYears/package.json new file mode 100644 index 000000000..10afb196a --- /dev/null +++ b/node_modules/date-fns/fp/monthsToYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/monthsToYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextDay/index.d.ts b/node_modules/date-fns/fp/nextDay/index.d.ts new file mode 100644 index 000000000..dc6cd80c5 --- /dev/null +++ b/node_modules/date-fns/fp/nextDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextDay } from 'date-fns/fp' +export default nextDay diff --git a/node_modules/date-fns/fp/nextDay/index.js b/node_modules/date-fns/fp/nextDay/index.js new file mode 100644 index 000000000..27cb7a468 --- /dev/null +++ b/node_modules/date-fns/fp/nextDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextDay/index.js.flow b/node_modules/date-fns/fp/nextDay/index.js.flow new file mode 100644 index 000000000..3d001b257 --- /dev/null +++ b/node_modules/date-fns/fp/nextDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/nextDay/package.json b/node_modules/date-fns/fp/nextDay/package.json new file mode 100644 index 000000000..9962ad2b2 --- /dev/null +++ b/node_modules/date-fns/fp/nextDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextFriday/index.d.ts b/node_modules/date-fns/fp/nextFriday/index.d.ts new file mode 100644 index 000000000..48e88ccf5 --- /dev/null +++ b/node_modules/date-fns/fp/nextFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextFriday } from 'date-fns/fp' +export default nextFriday diff --git a/node_modules/date-fns/fp/nextFriday/index.js b/node_modules/date-fns/fp/nextFriday/index.js new file mode 100644 index 000000000..5113c5b26 --- /dev/null +++ b/node_modules/date-fns/fp/nextFriday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextFriday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextFriday/index.js.flow b/node_modules/date-fns/fp/nextFriday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextFriday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextFriday/package.json b/node_modules/date-fns/fp/nextFriday/package.json new file mode 100644 index 000000000..99a7fb1b0 --- /dev/null +++ b/node_modules/date-fns/fp/nextFriday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextFriday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextMonday/index.d.ts b/node_modules/date-fns/fp/nextMonday/index.d.ts new file mode 100644 index 000000000..50926c460 --- /dev/null +++ b/node_modules/date-fns/fp/nextMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextMonday } from 'date-fns/fp' +export default nextMonday diff --git a/node_modules/date-fns/fp/nextMonday/index.js b/node_modules/date-fns/fp/nextMonday/index.js new file mode 100644 index 000000000..fc637a989 --- /dev/null +++ b/node_modules/date-fns/fp/nextMonday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextMonday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextMonday/index.js.flow b/node_modules/date-fns/fp/nextMonday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextMonday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextMonday/package.json b/node_modules/date-fns/fp/nextMonday/package.json new file mode 100644 index 000000000..bcdaea382 --- /dev/null +++ b/node_modules/date-fns/fp/nextMonday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextMonday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextSaturday/index.d.ts b/node_modules/date-fns/fp/nextSaturday/index.d.ts new file mode 100644 index 000000000..5774aa571 --- /dev/null +++ b/node_modules/date-fns/fp/nextSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSaturday } from 'date-fns/fp' +export default nextSaturday diff --git a/node_modules/date-fns/fp/nextSaturday/index.js b/node_modules/date-fns/fp/nextSaturday/index.js new file mode 100644 index 000000000..a2b99735e --- /dev/null +++ b/node_modules/date-fns/fp/nextSaturday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextSaturday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextSaturday/index.js.flow b/node_modules/date-fns/fp/nextSaturday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextSaturday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextSaturday/package.json b/node_modules/date-fns/fp/nextSaturday/package.json new file mode 100644 index 000000000..83ab4e7a4 --- /dev/null +++ b/node_modules/date-fns/fp/nextSaturday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextSaturday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextSunday/index.d.ts b/node_modules/date-fns/fp/nextSunday/index.d.ts new file mode 100644 index 000000000..acd1202d6 --- /dev/null +++ b/node_modules/date-fns/fp/nextSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSunday } from 'date-fns/fp' +export default nextSunday diff --git a/node_modules/date-fns/fp/nextSunday/index.js b/node_modules/date-fns/fp/nextSunday/index.js new file mode 100644 index 000000000..c879ede38 --- /dev/null +++ b/node_modules/date-fns/fp/nextSunday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextSunday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextSunday/index.js.flow b/node_modules/date-fns/fp/nextSunday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextSunday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextSunday/package.json b/node_modules/date-fns/fp/nextSunday/package.json new file mode 100644 index 000000000..3916a9044 --- /dev/null +++ b/node_modules/date-fns/fp/nextSunday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextSunday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextThursday/index.d.ts b/node_modules/date-fns/fp/nextThursday/index.d.ts new file mode 100644 index 000000000..1f2dcf06f --- /dev/null +++ b/node_modules/date-fns/fp/nextThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextThursday } from 'date-fns/fp' +export default nextThursday diff --git a/node_modules/date-fns/fp/nextThursday/index.js b/node_modules/date-fns/fp/nextThursday/index.js new file mode 100644 index 000000000..3c528df66 --- /dev/null +++ b/node_modules/date-fns/fp/nextThursday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextThursday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextThursday/index.js.flow b/node_modules/date-fns/fp/nextThursday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextThursday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextThursday/package.json b/node_modules/date-fns/fp/nextThursday/package.json new file mode 100644 index 000000000..8614b703e --- /dev/null +++ b/node_modules/date-fns/fp/nextThursday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextThursday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextTuesday/index.d.ts b/node_modules/date-fns/fp/nextTuesday/index.d.ts new file mode 100644 index 000000000..4842cc0cd --- /dev/null +++ b/node_modules/date-fns/fp/nextTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextTuesday } from 'date-fns/fp' +export default nextTuesday diff --git a/node_modules/date-fns/fp/nextTuesday/index.js b/node_modules/date-fns/fp/nextTuesday/index.js new file mode 100644 index 000000000..1a19bfad8 --- /dev/null +++ b/node_modules/date-fns/fp/nextTuesday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextTuesday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextTuesday/index.js.flow b/node_modules/date-fns/fp/nextTuesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextTuesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextTuesday/package.json b/node_modules/date-fns/fp/nextTuesday/package.json new file mode 100644 index 000000000..27ccea067 --- /dev/null +++ b/node_modules/date-fns/fp/nextTuesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextTuesday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextWednesday/index.d.ts b/node_modules/date-fns/fp/nextWednesday/index.d.ts new file mode 100644 index 000000000..800d5a508 --- /dev/null +++ b/node_modules/date-fns/fp/nextWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextWednesday } from 'date-fns/fp' +export default nextWednesday diff --git a/node_modules/date-fns/fp/nextWednesday/index.js b/node_modules/date-fns/fp/nextWednesday/index.js new file mode 100644 index 000000000..0f5a59e37 --- /dev/null +++ b/node_modules/date-fns/fp/nextWednesday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../nextWednesday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/nextWednesday/index.js.flow b/node_modules/date-fns/fp/nextWednesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/nextWednesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/nextWednesday/package.json b/node_modules/date-fns/fp/nextWednesday/package.json new file mode 100644 index 000000000..6713c5e24 --- /dev/null +++ b/node_modules/date-fns/fp/nextWednesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/nextWednesday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/package.json b/node_modules/date-fns/fp/package.json new file mode 100644 index 000000000..4bcc2413e --- /dev/null +++ b/node_modules/date-fns/fp/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/fp/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/parse/index.d.ts b/node_modules/date-fns/fp/parse/index.d.ts new file mode 100644 index 000000000..0d42228ba --- /dev/null +++ b/node_modules/date-fns/fp/parse/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parse } from 'date-fns/fp' +export default parse diff --git a/node_modules/date-fns/fp/parse/index.js b/node_modules/date-fns/fp/parse/index.js new file mode 100644 index 000000000..4b3775d1f --- /dev/null +++ b/node_modules/date-fns/fp/parse/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../parse/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/parse/index.js.flow b/node_modules/date-fns/fp/parse/index.js.flow new file mode 100644 index 000000000..7146666f6 --- /dev/null +++ b/node_modules/date-fns/fp/parse/index.js.flow @@ -0,0 +1,67 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3 diff --git a/node_modules/date-fns/fp/parse/package.json b/node_modules/date-fns/fp/parse/package.json new file mode 100644 index 000000000..d2088d101 --- /dev/null +++ b/node_modules/date-fns/fp/parse/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/parse/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseISO/index.d.ts b/node_modules/date-fns/fp/parseISO/index.d.ts new file mode 100644 index 000000000..f89741c47 --- /dev/null +++ b/node_modules/date-fns/fp/parseISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseISO } from 'date-fns/fp' +export default parseISO diff --git a/node_modules/date-fns/fp/parseISO/index.js b/node_modules/date-fns/fp/parseISO/index.js new file mode 100644 index 000000000..eec008d9a --- /dev/null +++ b/node_modules/date-fns/fp/parseISO/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../parseISO/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseISO/index.js.flow b/node_modules/date-fns/fp/parseISO/index.js.flow new file mode 100644 index 000000000..4d845937a --- /dev/null +++ b/node_modules/date-fns/fp/parseISO/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/parseISO/package.json b/node_modules/date-fns/fp/parseISO/package.json new file mode 100644 index 000000000..8c6745cac --- /dev/null +++ b/node_modules/date-fns/fp/parseISO/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/parseISO/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseISOWithOptions/index.d.ts b/node_modules/date-fns/fp/parseISOWithOptions/index.d.ts new file mode 100644 index 000000000..b90cbd3b1 --- /dev/null +++ b/node_modules/date-fns/fp/parseISOWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseISOWithOptions } from 'date-fns/fp' +export default parseISOWithOptions diff --git a/node_modules/date-fns/fp/parseISOWithOptions/index.js b/node_modules/date-fns/fp/parseISOWithOptions/index.js new file mode 100644 index 000000000..ec5fd7fd0 --- /dev/null +++ b/node_modules/date-fns/fp/parseISOWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../parseISO/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseISOWithOptions/index.js.flow b/node_modules/date-fns/fp/parseISOWithOptions/index.js.flow new file mode 100644 index 000000000..d2d80caa4 --- /dev/null +++ b/node_modules/date-fns/fp/parseISOWithOptions/index.js.flow @@ -0,0 +1,64 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2, + }, + string, + Date +> diff --git a/node_modules/date-fns/fp/parseISOWithOptions/package.json b/node_modules/date-fns/fp/parseISOWithOptions/package.json new file mode 100644 index 000000000..316d54f19 --- /dev/null +++ b/node_modules/date-fns/fp/parseISOWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/parseISOWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseJSON/index.d.ts b/node_modules/date-fns/fp/parseJSON/index.d.ts new file mode 100644 index 000000000..dd64334ef --- /dev/null +++ b/node_modules/date-fns/fp/parseJSON/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseJSON } from 'date-fns/fp' +export default parseJSON diff --git a/node_modules/date-fns/fp/parseJSON/index.js b/node_modules/date-fns/fp/parseJSON/index.js new file mode 100644 index 000000000..dcf2c0347 --- /dev/null +++ b/node_modules/date-fns/fp/parseJSON/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../parseJSON/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseJSON/index.js.flow b/node_modules/date-fns/fp/parseJSON/index.js.flow new file mode 100644 index 000000000..9b7f47a4a --- /dev/null +++ b/node_modules/date-fns/fp/parseJSON/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/parseJSON/package.json b/node_modules/date-fns/fp/parseJSON/package.json new file mode 100644 index 000000000..6ccd2fb01 --- /dev/null +++ b/node_modules/date-fns/fp/parseJSON/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/parseJSON/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseWithOptions/index.d.ts b/node_modules/date-fns/fp/parseWithOptions/index.d.ts new file mode 100644 index 000000000..d33b4ae16 --- /dev/null +++ b/node_modules/date-fns/fp/parseWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseWithOptions } from 'date-fns/fp' +export default parseWithOptions diff --git a/node_modules/date-fns/fp/parseWithOptions/index.js b/node_modules/date-fns/fp/parseWithOptions/index.js new file mode 100644 index 000000000..37cd2f12a --- /dev/null +++ b/node_modules/date-fns/fp/parseWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../parse/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 4); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/parseWithOptions/index.js.flow b/node_modules/date-fns/fp/parseWithOptions/index.js.flow new file mode 100644 index 000000000..e767e62c0 --- /dev/null +++ b/node_modules/date-fns/fp/parseWithOptions/index.js.flow @@ -0,0 +1,94 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +type CurriedFn4 = ( + a: A +) => + | CurriedFn3 + | (( + a: A, + b: B + ) => + | CurriedFn2 + | (( + a: A, + b: B, + c: C + ) => CurriedFn1 | ((a: A, b: B, c: C, d: D) => R))) + +declare module.exports: CurriedFn4< + { + useAdditionalDayOfYearTokens?: boolean, + useAdditionalWeekYearTokens?: boolean, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + string, + string, + Date +> diff --git a/node_modules/date-fns/fp/parseWithOptions/package.json b/node_modules/date-fns/fp/parseWithOptions/package.json new file mode 100644 index 000000000..ae08f0094 --- /dev/null +++ b/node_modules/date-fns/fp/parseWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/parseWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousDay/index.d.ts b/node_modules/date-fns/fp/previousDay/index.d.ts new file mode 100644 index 000000000..753808c2a --- /dev/null +++ b/node_modules/date-fns/fp/previousDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousDay } from 'date-fns/fp' +export default previousDay diff --git a/node_modules/date-fns/fp/previousDay/index.js b/node_modules/date-fns/fp/previousDay/index.js new file mode 100644 index 000000000..c3327fc4f --- /dev/null +++ b/node_modules/date-fns/fp/previousDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousDay/index.js.flow b/node_modules/date-fns/fp/previousDay/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/previousDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/previousDay/package.json b/node_modules/date-fns/fp/previousDay/package.json new file mode 100644 index 000000000..73c1af877 --- /dev/null +++ b/node_modules/date-fns/fp/previousDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousFriday/index.d.ts b/node_modules/date-fns/fp/previousFriday/index.d.ts new file mode 100644 index 000000000..847fd924d --- /dev/null +++ b/node_modules/date-fns/fp/previousFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousFriday } from 'date-fns/fp' +export default previousFriday diff --git a/node_modules/date-fns/fp/previousFriday/index.js b/node_modules/date-fns/fp/previousFriday/index.js new file mode 100644 index 000000000..bfc0813b1 --- /dev/null +++ b/node_modules/date-fns/fp/previousFriday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousFriday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousFriday/index.js.flow b/node_modules/date-fns/fp/previousFriday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousFriday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousFriday/package.json b/node_modules/date-fns/fp/previousFriday/package.json new file mode 100644 index 000000000..7dada6967 --- /dev/null +++ b/node_modules/date-fns/fp/previousFriday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousFriday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousMonday/index.d.ts b/node_modules/date-fns/fp/previousMonday/index.d.ts new file mode 100644 index 000000000..dd742b86b --- /dev/null +++ b/node_modules/date-fns/fp/previousMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousMonday } from 'date-fns/fp' +export default previousMonday diff --git a/node_modules/date-fns/fp/previousMonday/index.js b/node_modules/date-fns/fp/previousMonday/index.js new file mode 100644 index 000000000..299bd83dc --- /dev/null +++ b/node_modules/date-fns/fp/previousMonday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousMonday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousMonday/index.js.flow b/node_modules/date-fns/fp/previousMonday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousMonday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousMonday/package.json b/node_modules/date-fns/fp/previousMonday/package.json new file mode 100644 index 000000000..988d4bf14 --- /dev/null +++ b/node_modules/date-fns/fp/previousMonday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousMonday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousSaturday/index.d.ts b/node_modules/date-fns/fp/previousSaturday/index.d.ts new file mode 100644 index 000000000..61b0b785c --- /dev/null +++ b/node_modules/date-fns/fp/previousSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSaturday } from 'date-fns/fp' +export default previousSaturday diff --git a/node_modules/date-fns/fp/previousSaturday/index.js b/node_modules/date-fns/fp/previousSaturday/index.js new file mode 100644 index 000000000..a3e6e7511 --- /dev/null +++ b/node_modules/date-fns/fp/previousSaturday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousSaturday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousSaturday/index.js.flow b/node_modules/date-fns/fp/previousSaturday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousSaturday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousSaturday/package.json b/node_modules/date-fns/fp/previousSaturday/package.json new file mode 100644 index 000000000..da731ceda --- /dev/null +++ b/node_modules/date-fns/fp/previousSaturday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousSaturday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousSunday/index.d.ts b/node_modules/date-fns/fp/previousSunday/index.d.ts new file mode 100644 index 000000000..c52f02d98 --- /dev/null +++ b/node_modules/date-fns/fp/previousSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSunday } from 'date-fns/fp' +export default previousSunday diff --git a/node_modules/date-fns/fp/previousSunday/index.js b/node_modules/date-fns/fp/previousSunday/index.js new file mode 100644 index 000000000..facfd859e --- /dev/null +++ b/node_modules/date-fns/fp/previousSunday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousSunday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousSunday/index.js.flow b/node_modules/date-fns/fp/previousSunday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousSunday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousSunday/package.json b/node_modules/date-fns/fp/previousSunday/package.json new file mode 100644 index 000000000..51500a32e --- /dev/null +++ b/node_modules/date-fns/fp/previousSunday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousSunday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousThursday/index.d.ts b/node_modules/date-fns/fp/previousThursday/index.d.ts new file mode 100644 index 000000000..8f54518ee --- /dev/null +++ b/node_modules/date-fns/fp/previousThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousThursday } from 'date-fns/fp' +export default previousThursday diff --git a/node_modules/date-fns/fp/previousThursday/index.js b/node_modules/date-fns/fp/previousThursday/index.js new file mode 100644 index 000000000..4507375a0 --- /dev/null +++ b/node_modules/date-fns/fp/previousThursday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousThursday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousThursday/index.js.flow b/node_modules/date-fns/fp/previousThursday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousThursday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousThursday/package.json b/node_modules/date-fns/fp/previousThursday/package.json new file mode 100644 index 000000000..4c3920e47 --- /dev/null +++ b/node_modules/date-fns/fp/previousThursday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousThursday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousTuesday/index.d.ts b/node_modules/date-fns/fp/previousTuesday/index.d.ts new file mode 100644 index 000000000..f801ca2ba --- /dev/null +++ b/node_modules/date-fns/fp/previousTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousTuesday } from 'date-fns/fp' +export default previousTuesday diff --git a/node_modules/date-fns/fp/previousTuesday/index.js b/node_modules/date-fns/fp/previousTuesday/index.js new file mode 100644 index 000000000..9bbfd54e3 --- /dev/null +++ b/node_modules/date-fns/fp/previousTuesday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousTuesday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousTuesday/index.js.flow b/node_modules/date-fns/fp/previousTuesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousTuesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousTuesday/package.json b/node_modules/date-fns/fp/previousTuesday/package.json new file mode 100644 index 000000000..84c24ca4b --- /dev/null +++ b/node_modules/date-fns/fp/previousTuesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousTuesday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousWednesday/index.d.ts b/node_modules/date-fns/fp/previousWednesday/index.d.ts new file mode 100644 index 000000000..ac6226e95 --- /dev/null +++ b/node_modules/date-fns/fp/previousWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousWednesday } from 'date-fns/fp' +export default previousWednesday diff --git a/node_modules/date-fns/fp/previousWednesday/index.js b/node_modules/date-fns/fp/previousWednesday/index.js new file mode 100644 index 000000000..8088a123f --- /dev/null +++ b/node_modules/date-fns/fp/previousWednesday/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../previousWednesday/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/previousWednesday/index.js.flow b/node_modules/date-fns/fp/previousWednesday/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/previousWednesday/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/previousWednesday/package.json b/node_modules/date-fns/fp/previousWednesday/package.json new file mode 100644 index 000000000..b6915f0ce --- /dev/null +++ b/node_modules/date-fns/fp/previousWednesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/previousWednesday/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/quartersToMonths/index.d.ts b/node_modules/date-fns/fp/quartersToMonths/index.d.ts new file mode 100644 index 000000000..07220e87c --- /dev/null +++ b/node_modules/date-fns/fp/quartersToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToMonths } from 'date-fns/fp' +export default quartersToMonths diff --git a/node_modules/date-fns/fp/quartersToMonths/index.js b/node_modules/date-fns/fp/quartersToMonths/index.js new file mode 100644 index 000000000..900fe5dce --- /dev/null +++ b/node_modules/date-fns/fp/quartersToMonths/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../quartersToMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/quartersToMonths/index.js.flow b/node_modules/date-fns/fp/quartersToMonths/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/quartersToMonths/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/quartersToMonths/package.json b/node_modules/date-fns/fp/quartersToMonths/package.json new file mode 100644 index 000000000..5efa8ea9c --- /dev/null +++ b/node_modules/date-fns/fp/quartersToMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/quartersToMonths/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/quartersToYears/index.d.ts b/node_modules/date-fns/fp/quartersToYears/index.d.ts new file mode 100644 index 000000000..6613aeb17 --- /dev/null +++ b/node_modules/date-fns/fp/quartersToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToYears } from 'date-fns/fp' +export default quartersToYears diff --git a/node_modules/date-fns/fp/quartersToYears/index.js b/node_modules/date-fns/fp/quartersToYears/index.js new file mode 100644 index 000000000..2f6a9560f --- /dev/null +++ b/node_modules/date-fns/fp/quartersToYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../quartersToYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/quartersToYears/index.js.flow b/node_modules/date-fns/fp/quartersToYears/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/quartersToYears/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/quartersToYears/package.json b/node_modules/date-fns/fp/quartersToYears/package.json new file mode 100644 index 000000000..1b528ee0d --- /dev/null +++ b/node_modules/date-fns/fp/quartersToYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/quartersToYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/roundToNearestMinutes/index.d.ts b/node_modules/date-fns/fp/roundToNearestMinutes/index.d.ts new file mode 100644 index 000000000..7777ce20f --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { roundToNearestMinutes } from 'date-fns/fp' +export default roundToNearestMinutes diff --git a/node_modules/date-fns/fp/roundToNearestMinutes/index.js b/node_modules/date-fns/fp/roundToNearestMinutes/index.js new file mode 100644 index 000000000..a58149cdf --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../roundToNearestMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/roundToNearestMinutes/index.js.flow b/node_modules/date-fns/fp/roundToNearestMinutes/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/roundToNearestMinutes/package.json b/node_modules/date-fns/fp/roundToNearestMinutes/package.json new file mode 100644 index 000000000..ebde3a84c --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/roundToNearestMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.d.ts b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.d.ts new file mode 100644 index 000000000..fcd4df498 --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { roundToNearestMinutesWithOptions } from 'date-fns/fp' +export default roundToNearestMinutesWithOptions diff --git a/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.js b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.js new file mode 100644 index 000000000..b6c695d45 --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../roundToNearestMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.js.flow b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.js.flow new file mode 100644 index 000000000..44085b1a0 --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + roundingMethod?: string, + nearestTo?: number, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/package.json b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/package.json new file mode 100644 index 000000000..0f39eea62 --- /dev/null +++ b/node_modules/date-fns/fp/roundToNearestMinutesWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/roundToNearestMinutesWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/secondsToHours/index.d.ts b/node_modules/date-fns/fp/secondsToHours/index.d.ts new file mode 100644 index 000000000..931f3a782 --- /dev/null +++ b/node_modules/date-fns/fp/secondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToHours } from 'date-fns/fp' +export default secondsToHours diff --git a/node_modules/date-fns/fp/secondsToHours/index.js b/node_modules/date-fns/fp/secondsToHours/index.js new file mode 100644 index 000000000..56ddf1966 --- /dev/null +++ b/node_modules/date-fns/fp/secondsToHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../secondsToHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/secondsToHours/index.js.flow b/node_modules/date-fns/fp/secondsToHours/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/secondsToHours/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/secondsToHours/package.json b/node_modules/date-fns/fp/secondsToHours/package.json new file mode 100644 index 000000000..a88029452 --- /dev/null +++ b/node_modules/date-fns/fp/secondsToHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/secondsToHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/secondsToMilliseconds/index.d.ts b/node_modules/date-fns/fp/secondsToMilliseconds/index.d.ts new file mode 100644 index 000000000..98df8f21d --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMilliseconds } from 'date-fns/fp' +export default secondsToMilliseconds diff --git a/node_modules/date-fns/fp/secondsToMilliseconds/index.js b/node_modules/date-fns/fp/secondsToMilliseconds/index.js new file mode 100644 index 000000000..90fd8a1e3 --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../secondsToMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/secondsToMilliseconds/index.js.flow b/node_modules/date-fns/fp/secondsToMilliseconds/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMilliseconds/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/secondsToMilliseconds/package.json b/node_modules/date-fns/fp/secondsToMilliseconds/package.json new file mode 100644 index 000000000..f79adf489 --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/secondsToMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/secondsToMinutes/index.d.ts b/node_modules/date-fns/fp/secondsToMinutes/index.d.ts new file mode 100644 index 000000000..e22b5287e --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMinutes } from 'date-fns/fp' +export default secondsToMinutes diff --git a/node_modules/date-fns/fp/secondsToMinutes/index.js b/node_modules/date-fns/fp/secondsToMinutes/index.js new file mode 100644 index 000000000..df623419c --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../secondsToMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/secondsToMinutes/index.js.flow b/node_modules/date-fns/fp/secondsToMinutes/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMinutes/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/secondsToMinutes/package.json b/node_modules/date-fns/fp/secondsToMinutes/package.json new file mode 100644 index 000000000..fc0f8fefe --- /dev/null +++ b/node_modules/date-fns/fp/secondsToMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/secondsToMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/set/index.d.ts b/node_modules/date-fns/fp/set/index.d.ts new file mode 100644 index 000000000..601f00b8d --- /dev/null +++ b/node_modules/date-fns/fp/set/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { set } from 'date-fns/fp' +export default set diff --git a/node_modules/date-fns/fp/set/index.js b/node_modules/date-fns/fp/set/index.js new file mode 100644 index 000000000..3279c1c42 --- /dev/null +++ b/node_modules/date-fns/fp/set/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../set/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/set/index.js.flow b/node_modules/date-fns/fp/set/index.js.flow new file mode 100644 index 000000000..ccc5aca58 --- /dev/null +++ b/node_modules/date-fns/fp/set/index.js.flow @@ -0,0 +1,70 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + milliseconds?: number, + seconds?: number, + minutes?: number, + hours?: number, + date?: number, + month?: number, + year?: number, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/set/package.json b/node_modules/date-fns/fp/set/package.json new file mode 100644 index 000000000..b180d7000 --- /dev/null +++ b/node_modules/date-fns/fp/set/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/set/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDate/index.d.ts b/node_modules/date-fns/fp/setDate/index.d.ts new file mode 100644 index 000000000..1d6343e1f --- /dev/null +++ b/node_modules/date-fns/fp/setDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDate } from 'date-fns/fp' +export default setDate diff --git a/node_modules/date-fns/fp/setDate/index.js b/node_modules/date-fns/fp/setDate/index.js new file mode 100644 index 000000000..a53c40a48 --- /dev/null +++ b/node_modules/date-fns/fp/setDate/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDate/index.js.flow b/node_modules/date-fns/fp/setDate/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setDate/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setDate/package.json b/node_modules/date-fns/fp/setDate/package.json new file mode 100644 index 000000000..a5ef6de6e --- /dev/null +++ b/node_modules/date-fns/fp/setDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setDate/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDay/index.d.ts b/node_modules/date-fns/fp/setDay/index.d.ts new file mode 100644 index 000000000..aa37dd910 --- /dev/null +++ b/node_modules/date-fns/fp/setDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDay } from 'date-fns/fp' +export default setDay diff --git a/node_modules/date-fns/fp/setDay/index.js b/node_modules/date-fns/fp/setDay/index.js new file mode 100644 index 000000000..ef0890b2e --- /dev/null +++ b/node_modules/date-fns/fp/setDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDay/index.js.flow b/node_modules/date-fns/fp/setDay/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setDay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setDay/package.json b/node_modules/date-fns/fp/setDay/package.json new file mode 100644 index 000000000..7619e1e85 --- /dev/null +++ b/node_modules/date-fns/fp/setDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDayOfYear/index.d.ts b/node_modules/date-fns/fp/setDayOfYear/index.d.ts new file mode 100644 index 000000000..4453a591e --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDayOfYear } from 'date-fns/fp' +export default setDayOfYear diff --git a/node_modules/date-fns/fp/setDayOfYear/index.js b/node_modules/date-fns/fp/setDayOfYear/index.js new file mode 100644 index 000000000..88e5268d3 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setDayOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDayOfYear/index.js.flow b/node_modules/date-fns/fp/setDayOfYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setDayOfYear/package.json b/node_modules/date-fns/fp/setDayOfYear/package.json new file mode 100644 index 000000000..7bb39ddd3 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setDayOfYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDayWithOptions/index.d.ts b/node_modules/date-fns/fp/setDayWithOptions/index.d.ts new file mode 100644 index 000000000..537c230af --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDayWithOptions } from 'date-fns/fp' +export default setDayWithOptions diff --git a/node_modules/date-fns/fp/setDayWithOptions/index.js b/node_modules/date-fns/fp/setDayWithOptions/index.js new file mode 100644 index 000000000..adcc31a6d --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setDayWithOptions/index.js.flow b/node_modules/date-fns/fp/setDayWithOptions/index.js.flow new file mode 100644 index 000000000..62d0e5ef5 --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions/index.js.flow @@ -0,0 +1,75 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/setDayWithOptions/package.json b/node_modules/date-fns/fp/setDayWithOptions/package.json new file mode 100644 index 000000000..3b5056f5c --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setDayWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setHours/index.d.ts b/node_modules/date-fns/fp/setHours/index.d.ts new file mode 100644 index 000000000..4ca8a0650 --- /dev/null +++ b/node_modules/date-fns/fp/setHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setHours } from 'date-fns/fp' +export default setHours diff --git a/node_modules/date-fns/fp/setHours/index.js b/node_modules/date-fns/fp/setHours/index.js new file mode 100644 index 000000000..03ce90982 --- /dev/null +++ b/node_modules/date-fns/fp/setHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setHours/index.js.flow b/node_modules/date-fns/fp/setHours/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setHours/package.json b/node_modules/date-fns/fp/setHours/package.json new file mode 100644 index 000000000..69cfcfd37 --- /dev/null +++ b/node_modules/date-fns/fp/setHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setISODay/index.d.ts b/node_modules/date-fns/fp/setISODay/index.d.ts new file mode 100644 index 000000000..7319d5af8 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISODay } from 'date-fns/fp' +export default setISODay diff --git a/node_modules/date-fns/fp/setISODay/index.js b/node_modules/date-fns/fp/setISODay/index.js new file mode 100644 index 000000000..b7403bb57 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setISODay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setISODay/index.js.flow b/node_modules/date-fns/fp/setISODay/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setISODay/package.json b/node_modules/date-fns/fp/setISODay/package.json new file mode 100644 index 000000000..85fbdac6a --- /dev/null +++ b/node_modules/date-fns/fp/setISODay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setISODay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setISOWeek/index.d.ts b/node_modules/date-fns/fp/setISOWeek/index.d.ts new file mode 100644 index 000000000..ca354ce07 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeek } from 'date-fns/fp' +export default setISOWeek diff --git a/node_modules/date-fns/fp/setISOWeek/index.js b/node_modules/date-fns/fp/setISOWeek/index.js new file mode 100644 index 000000000..a618f878d --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setISOWeek/index.js.flow b/node_modules/date-fns/fp/setISOWeek/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setISOWeek/package.json b/node_modules/date-fns/fp/setISOWeek/package.json new file mode 100644 index 000000000..ecf74116b --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setISOWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setISOWeekYear/index.d.ts b/node_modules/date-fns/fp/setISOWeekYear/index.d.ts new file mode 100644 index 000000000..7e1fc21b3 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeekYear } from 'date-fns/fp' +export default setISOWeekYear diff --git a/node_modules/date-fns/fp/setISOWeekYear/index.js b/node_modules/date-fns/fp/setISOWeekYear/index.js new file mode 100644 index 000000000..f3d1debc7 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setISOWeekYear/index.js.flow b/node_modules/date-fns/fp/setISOWeekYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setISOWeekYear/package.json b/node_modules/date-fns/fp/setISOWeekYear/package.json new file mode 100644 index 000000000..3dc257c70 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setISOWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setMilliseconds/index.d.ts b/node_modules/date-fns/fp/setMilliseconds/index.d.ts new file mode 100644 index 000000000..0ee89fab7 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMilliseconds } from 'date-fns/fp' +export default setMilliseconds diff --git a/node_modules/date-fns/fp/setMilliseconds/index.js b/node_modules/date-fns/fp/setMilliseconds/index.js new file mode 100644 index 000000000..d54924ac7 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setMilliseconds/index.js.flow b/node_modules/date-fns/fp/setMilliseconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setMilliseconds/package.json b/node_modules/date-fns/fp/setMilliseconds/package.json new file mode 100644 index 000000000..e03adade9 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setMinutes/index.d.ts b/node_modules/date-fns/fp/setMinutes/index.d.ts new file mode 100644 index 000000000..9e8d63606 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMinutes } from 'date-fns/fp' +export default setMinutes diff --git a/node_modules/date-fns/fp/setMinutes/index.js b/node_modules/date-fns/fp/setMinutes/index.js new file mode 100644 index 000000000..88ed384ad --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setMinutes/index.js.flow b/node_modules/date-fns/fp/setMinutes/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setMinutes/package.json b/node_modules/date-fns/fp/setMinutes/package.json new file mode 100644 index 000000000..2b2bd8b32 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setMonth/index.d.ts b/node_modules/date-fns/fp/setMonth/index.d.ts new file mode 100644 index 000000000..c9647b17f --- /dev/null +++ b/node_modules/date-fns/fp/setMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMonth } from 'date-fns/fp' +export default setMonth diff --git a/node_modules/date-fns/fp/setMonth/index.js b/node_modules/date-fns/fp/setMonth/index.js new file mode 100644 index 000000000..d4e0139f8 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setMonth/index.js.flow b/node_modules/date-fns/fp/setMonth/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setMonth/package.json b/node_modules/date-fns/fp/setMonth/package.json new file mode 100644 index 000000000..2cf28e334 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setQuarter/index.d.ts b/node_modules/date-fns/fp/setQuarter/index.d.ts new file mode 100644 index 000000000..b94ff08e7 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setQuarter } from 'date-fns/fp' +export default setQuarter diff --git a/node_modules/date-fns/fp/setQuarter/index.js b/node_modules/date-fns/fp/setQuarter/index.js new file mode 100644 index 000000000..6839e237f --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setQuarter/index.js.flow b/node_modules/date-fns/fp/setQuarter/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setQuarter/package.json b/node_modules/date-fns/fp/setQuarter/package.json new file mode 100644 index 000000000..b6a8b592f --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setQuarter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setSeconds/index.d.ts b/node_modules/date-fns/fp/setSeconds/index.d.ts new file mode 100644 index 000000000..fbfa77e60 --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setSeconds } from 'date-fns/fp' +export default setSeconds diff --git a/node_modules/date-fns/fp/setSeconds/index.js b/node_modules/date-fns/fp/setSeconds/index.js new file mode 100644 index 000000000..dbfca4b4c --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setSeconds/index.js.flow b/node_modules/date-fns/fp/setSeconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setSeconds/package.json b/node_modules/date-fns/fp/setSeconds/package.json new file mode 100644 index 000000000..98b0c6224 --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeek/index.d.ts b/node_modules/date-fns/fp/setWeek/index.d.ts new file mode 100644 index 000000000..d9edcaa4e --- /dev/null +++ b/node_modules/date-fns/fp/setWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeek } from 'date-fns/fp' +export default setWeek diff --git a/node_modules/date-fns/fp/setWeek/index.js b/node_modules/date-fns/fp/setWeek/index.js new file mode 100644 index 000000000..d0819f897 --- /dev/null +++ b/node_modules/date-fns/fp/setWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeek/index.js.flow b/node_modules/date-fns/fp/setWeek/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setWeek/package.json b/node_modules/date-fns/fp/setWeek/package.json new file mode 100644 index 000000000..48423ed42 --- /dev/null +++ b/node_modules/date-fns/fp/setWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeekWithOptions/index.d.ts b/node_modules/date-fns/fp/setWeekWithOptions/index.d.ts new file mode 100644 index 000000000..2971c7afd --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekWithOptions } from 'date-fns/fp' +export default setWeekWithOptions diff --git a/node_modules/date-fns/fp/setWeekWithOptions/index.js b/node_modules/date-fns/fp/setWeekWithOptions/index.js new file mode 100644 index 000000000..cc04262f3 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeekWithOptions/index.js.flow b/node_modules/date-fns/fp/setWeekWithOptions/index.js.flow new file mode 100644 index 000000000..ffea29c57 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions/index.js.flow @@ -0,0 +1,76 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/setWeekWithOptions/package.json b/node_modules/date-fns/fp/setWeekWithOptions/package.json new file mode 100644 index 000000000..e12b9fe0b --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setWeekWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeekYear/index.d.ts b/node_modules/date-fns/fp/setWeekYear/index.d.ts new file mode 100644 index 000000000..7d2c6ccae --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekYear } from 'date-fns/fp' +export default setWeekYear diff --git a/node_modules/date-fns/fp/setWeekYear/index.js b/node_modules/date-fns/fp/setWeekYear/index.js new file mode 100644 index 000000000..29dc952ed --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeekYear/index.js.flow b/node_modules/date-fns/fp/setWeekYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setWeekYear/package.json b/node_modules/date-fns/fp/setWeekYear/package.json new file mode 100644 index 000000000..1efd506e0 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions/index.d.ts b/node_modules/date-fns/fp/setWeekYearWithOptions/index.d.ts new file mode 100644 index 000000000..5d52f8f3b --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekYearWithOptions } from 'date-fns/fp' +export default setWeekYearWithOptions diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions/index.js b/node_modules/date-fns/fp/setWeekYearWithOptions/index.js new file mode 100644 index 000000000..e48c9bb12 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 3); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions/index.js.flow b/node_modules/date-fns/fp/setWeekYearWithOptions/index.js.flow new file mode 100644 index 000000000..ffea29c57 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions/index.js.flow @@ -0,0 +1,76 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +type CurriedFn3 = ( + a: A +) => + | CurriedFn2 + | (( + a: A, + b: B + ) => CurriedFn1 | ((a: A, b: B, c: C) => R)) + +declare module.exports: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + number, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions/package.json b/node_modules/date-fns/fp/setWeekYearWithOptions/package.json new file mode 100644 index 000000000..3686a0255 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setWeekYearWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/setYear/index.d.ts b/node_modules/date-fns/fp/setYear/index.d.ts new file mode 100644 index 000000000..be24ce0b8 --- /dev/null +++ b/node_modules/date-fns/fp/setYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setYear } from 'date-fns/fp' +export default setYear diff --git a/node_modules/date-fns/fp/setYear/index.js b/node_modules/date-fns/fp/setYear/index.js new file mode 100644 index 000000000..4f5bbd378 --- /dev/null +++ b/node_modules/date-fns/fp/setYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../setYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/setYear/index.js.flow b/node_modules/date-fns/fp/setYear/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/setYear/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/setYear/package.json b/node_modules/date-fns/fp/setYear/package.json new file mode 100644 index 000000000..cf794574e --- /dev/null +++ b/node_modules/date-fns/fp/setYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/setYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfDay/index.d.ts b/node_modules/date-fns/fp/startOfDay/index.d.ts new file mode 100644 index 000000000..fed6b052f --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDay } from 'date-fns/fp' +export default startOfDay diff --git a/node_modules/date-fns/fp/startOfDay/index.js b/node_modules/date-fns/fp/startOfDay/index.js new file mode 100644 index 000000000..a830c3dfd --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfDay/index.js.flow b/node_modules/date-fns/fp/startOfDay/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfDay/package.json b/node_modules/date-fns/fp/startOfDay/package.json new file mode 100644 index 000000000..d9a091043 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfDay/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfDecade/index.d.ts b/node_modules/date-fns/fp/startOfDecade/index.d.ts new file mode 100644 index 000000000..127c15631 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDecade } from 'date-fns/fp' +export default startOfDecade diff --git a/node_modules/date-fns/fp/startOfDecade/index.js b/node_modules/date-fns/fp/startOfDecade/index.js new file mode 100644 index 000000000..c55142cc2 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfDecade/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfDecade/index.js.flow b/node_modules/date-fns/fp/startOfDecade/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfDecade/package.json b/node_modules/date-fns/fp/startOfDecade/package.json new file mode 100644 index 000000000..286d353f8 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfDecade/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfHour/index.d.ts b/node_modules/date-fns/fp/startOfHour/index.d.ts new file mode 100644 index 000000000..9a1905e04 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfHour } from 'date-fns/fp' +export default startOfHour diff --git a/node_modules/date-fns/fp/startOfHour/index.js b/node_modules/date-fns/fp/startOfHour/index.js new file mode 100644 index 000000000..0a5f7d0c4 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfHour/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfHour/index.js.flow b/node_modules/date-fns/fp/startOfHour/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfHour/package.json b/node_modules/date-fns/fp/startOfHour/package.json new file mode 100644 index 000000000..ed0108376 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfHour/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfISOWeek/index.d.ts b/node_modules/date-fns/fp/startOfISOWeek/index.d.ts new file mode 100644 index 000000000..008f896c9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeek } from 'date-fns/fp' +export default startOfISOWeek diff --git a/node_modules/date-fns/fp/startOfISOWeek/index.js b/node_modules/date-fns/fp/startOfISOWeek/index.js new file mode 100644 index 000000000..e685936e9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfISOWeek/index.js.flow b/node_modules/date-fns/fp/startOfISOWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfISOWeek/package.json b/node_modules/date-fns/fp/startOfISOWeek/package.json new file mode 100644 index 000000000..ba8524ab4 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfISOWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfISOWeekYear/index.d.ts b/node_modules/date-fns/fp/startOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..aab0b5a7b --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeekYear } from 'date-fns/fp' +export default startOfISOWeekYear diff --git a/node_modules/date-fns/fp/startOfISOWeekYear/index.js b/node_modules/date-fns/fp/startOfISOWeekYear/index.js new file mode 100644 index 000000000..4b4335493 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfISOWeekYear/index.js.flow b/node_modules/date-fns/fp/startOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfISOWeekYear/package.json b/node_modules/date-fns/fp/startOfISOWeekYear/package.json new file mode 100644 index 000000000..1b0fa3a00 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfISOWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfMinute/index.d.ts b/node_modules/date-fns/fp/startOfMinute/index.d.ts new file mode 100644 index 000000000..013f3a464 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMinute } from 'date-fns/fp' +export default startOfMinute diff --git a/node_modules/date-fns/fp/startOfMinute/index.js b/node_modules/date-fns/fp/startOfMinute/index.js new file mode 100644 index 000000000..519d5f47c --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfMinute/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfMinute/index.js.flow b/node_modules/date-fns/fp/startOfMinute/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfMinute/package.json b/node_modules/date-fns/fp/startOfMinute/package.json new file mode 100644 index 000000000..0b05d7248 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfMinute/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfMonth/index.d.ts b/node_modules/date-fns/fp/startOfMonth/index.d.ts new file mode 100644 index 000000000..edbb15ffc --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMonth } from 'date-fns/fp' +export default startOfMonth diff --git a/node_modules/date-fns/fp/startOfMonth/index.js b/node_modules/date-fns/fp/startOfMonth/index.js new file mode 100644 index 000000000..85b39bbd3 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfMonth/index.js.flow b/node_modules/date-fns/fp/startOfMonth/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfMonth/package.json b/node_modules/date-fns/fp/startOfMonth/package.json new file mode 100644 index 000000000..73788e160 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfMonth/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfQuarter/index.d.ts b/node_modules/date-fns/fp/startOfQuarter/index.d.ts new file mode 100644 index 000000000..1c3b6020d --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfQuarter } from 'date-fns/fp' +export default startOfQuarter diff --git a/node_modules/date-fns/fp/startOfQuarter/index.js b/node_modules/date-fns/fp/startOfQuarter/index.js new file mode 100644 index 000000000..e1528ca9c --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfQuarter/index.js.flow b/node_modules/date-fns/fp/startOfQuarter/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfQuarter/package.json b/node_modules/date-fns/fp/startOfQuarter/package.json new file mode 100644 index 000000000..ef21bb917 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfQuarter/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfSecond/index.d.ts b/node_modules/date-fns/fp/startOfSecond/index.d.ts new file mode 100644 index 000000000..866aa6f92 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfSecond } from 'date-fns/fp' +export default startOfSecond diff --git a/node_modules/date-fns/fp/startOfSecond/index.js b/node_modules/date-fns/fp/startOfSecond/index.js new file mode 100644 index 000000000..6527c3b44 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfSecond/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfSecond/index.js.flow b/node_modules/date-fns/fp/startOfSecond/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfSecond/package.json b/node_modules/date-fns/fp/startOfSecond/package.json new file mode 100644 index 000000000..d56e4a71d --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfSecond/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeek/index.d.ts b/node_modules/date-fns/fp/startOfWeek/index.d.ts new file mode 100644 index 000000000..ab178410c --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeek } from 'date-fns/fp' +export default startOfWeek diff --git a/node_modules/date-fns/fp/startOfWeek/index.js b/node_modules/date-fns/fp/startOfWeek/index.js new file mode 100644 index 000000000..8da40316c --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeek/index.js.flow b/node_modules/date-fns/fp/startOfWeek/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfWeek/package.json b/node_modules/date-fns/fp/startOfWeek/package.json new file mode 100644 index 000000000..2e5d020a4 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfWeek/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions/index.d.ts b/node_modules/date-fns/fp/startOfWeekWithOptions/index.d.ts new file mode 100644 index 000000000..0bd5568f1 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekWithOptions } from 'date-fns/fp' +export default startOfWeekWithOptions diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions/index.js b/node_modules/date-fns/fp/startOfWeekWithOptions/index.js new file mode 100644 index 000000000..78fda8694 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions/index.js.flow b/node_modules/date-fns/fp/startOfWeekWithOptions/index.js.flow new file mode 100644 index 000000000..9821646c7 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions/index.js.flow @@ -0,0 +1,65 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions/package.json b/node_modules/date-fns/fp/startOfWeekWithOptions/package.json new file mode 100644 index 000000000..3482c5e9a --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfWeekWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeekYear/index.d.ts b/node_modules/date-fns/fp/startOfWeekYear/index.d.ts new file mode 100644 index 000000000..17ce1cbe2 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekYear } from 'date-fns/fp' +export default startOfWeekYear diff --git a/node_modules/date-fns/fp/startOfWeekYear/index.js b/node_modules/date-fns/fp/startOfWeekYear/index.js new file mode 100644 index 000000000..c26b69e55 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeekYear/index.js.flow b/node_modules/date-fns/fp/startOfWeekYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfWeekYear/package.json b/node_modules/date-fns/fp/startOfWeekYear/package.json new file mode 100644 index 000000000..4ff4d003d --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfWeekYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.d.ts b/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.d.ts new file mode 100644 index 000000000..26f9e804a --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekYearWithOptions } from 'date-fns/fp' +export default startOfWeekYearWithOptions diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.js b/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.js new file mode 100644 index 000000000..e5b5f0f74 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.js.flow b/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.js.flow new file mode 100644 index 000000000..236eaa53a --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions/index.js.flow @@ -0,0 +1,66 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + locale?: Locale, + }, + Date | number, + Date +> diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions/package.json b/node_modules/date-fns/fp/startOfWeekYearWithOptions/package.json new file mode 100644 index 000000000..34f9d6079 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfWeekYearWithOptions/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfYear/index.d.ts b/node_modules/date-fns/fp/startOfYear/index.d.ts new file mode 100644 index 000000000..6e94924da --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfYear } from 'date-fns/fp' +export default startOfYear diff --git a/node_modules/date-fns/fp/startOfYear/index.js b/node_modules/date-fns/fp/startOfYear/index.js new file mode 100644 index 000000000..407422093 --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../startOfYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/startOfYear/index.js.flow b/node_modules/date-fns/fp/startOfYear/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/startOfYear/package.json b/node_modules/date-fns/fp/startOfYear/package.json new file mode 100644 index 000000000..6dca1d305 --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/startOfYear/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/sub/index.d.ts b/node_modules/date-fns/fp/sub/index.d.ts new file mode 100644 index 000000000..c50f32f09 --- /dev/null +++ b/node_modules/date-fns/fp/sub/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sub } from 'date-fns/fp' +export default sub diff --git a/node_modules/date-fns/fp/sub/index.js b/node_modules/date-fns/fp/sub/index.js new file mode 100644 index 000000000..af4634c8a --- /dev/null +++ b/node_modules/date-fns/fp/sub/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../sub/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/sub/index.js.flow b/node_modules/date-fns/fp/sub/index.js.flow new file mode 100644 index 000000000..3d4363b37 --- /dev/null +++ b/node_modules/date-fns/fp/sub/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/sub/package.json b/node_modules/date-fns/fp/sub/package.json new file mode 100644 index 000000000..d7e635598 --- /dev/null +++ b/node_modules/date-fns/fp/sub/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/sub/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subBusinessDays/index.d.ts b/node_modules/date-fns/fp/subBusinessDays/index.d.ts new file mode 100644 index 000000000..6f7c95a5c --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subBusinessDays } from 'date-fns/fp' +export default subBusinessDays diff --git a/node_modules/date-fns/fp/subBusinessDays/index.js b/node_modules/date-fns/fp/subBusinessDays/index.js new file mode 100644 index 000000000..6d20f24a3 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subBusinessDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subBusinessDays/index.js.flow b/node_modules/date-fns/fp/subBusinessDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subBusinessDays/package.json b/node_modules/date-fns/fp/subBusinessDays/package.json new file mode 100644 index 000000000..b60ff46a6 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subBusinessDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subDays/index.d.ts b/node_modules/date-fns/fp/subDays/index.d.ts new file mode 100644 index 000000000..8a72d43a9 --- /dev/null +++ b/node_modules/date-fns/fp/subDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subDays } from 'date-fns/fp' +export default subDays diff --git a/node_modules/date-fns/fp/subDays/index.js b/node_modules/date-fns/fp/subDays/index.js new file mode 100644 index 000000000..b049acb34 --- /dev/null +++ b/node_modules/date-fns/fp/subDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subDays/index.js.flow b/node_modules/date-fns/fp/subDays/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subDays/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subDays/package.json b/node_modules/date-fns/fp/subDays/package.json new file mode 100644 index 000000000..4c0ee791d --- /dev/null +++ b/node_modules/date-fns/fp/subDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subHours/index.d.ts b/node_modules/date-fns/fp/subHours/index.d.ts new file mode 100644 index 000000000..6fcfa1f5c --- /dev/null +++ b/node_modules/date-fns/fp/subHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subHours } from 'date-fns/fp' +export default subHours diff --git a/node_modules/date-fns/fp/subHours/index.js b/node_modules/date-fns/fp/subHours/index.js new file mode 100644 index 000000000..9b61aebd9 --- /dev/null +++ b/node_modules/date-fns/fp/subHours/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subHours/index.js.flow b/node_modules/date-fns/fp/subHours/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subHours/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subHours/package.json b/node_modules/date-fns/fp/subHours/package.json new file mode 100644 index 000000000..778ea1775 --- /dev/null +++ b/node_modules/date-fns/fp/subHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subHours/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subISOWeekYears/index.d.ts b/node_modules/date-fns/fp/subISOWeekYears/index.d.ts new file mode 100644 index 000000000..430fca404 --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subISOWeekYears } from 'date-fns/fp' +export default subISOWeekYears diff --git a/node_modules/date-fns/fp/subISOWeekYears/index.js b/node_modules/date-fns/fp/subISOWeekYears/index.js new file mode 100644 index 000000000..f2e1bb9ce --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subISOWeekYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subISOWeekYears/index.js.flow b/node_modules/date-fns/fp/subISOWeekYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subISOWeekYears/package.json b/node_modules/date-fns/fp/subISOWeekYears/package.json new file mode 100644 index 000000000..2495c1c17 --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subISOWeekYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subMilliseconds/index.d.ts b/node_modules/date-fns/fp/subMilliseconds/index.d.ts new file mode 100644 index 000000000..9310a1c3c --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMilliseconds } from 'date-fns/fp' +export default subMilliseconds diff --git a/node_modules/date-fns/fp/subMilliseconds/index.js b/node_modules/date-fns/fp/subMilliseconds/index.js new file mode 100644 index 000000000..57a29d5ed --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subMilliseconds/index.js.flow b/node_modules/date-fns/fp/subMilliseconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subMilliseconds/package.json b/node_modules/date-fns/fp/subMilliseconds/package.json new file mode 100644 index 000000000..e6e289292 --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subMilliseconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subMinutes/index.d.ts b/node_modules/date-fns/fp/subMinutes/index.d.ts new file mode 100644 index 000000000..0b7db1053 --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMinutes } from 'date-fns/fp' +export default subMinutes diff --git a/node_modules/date-fns/fp/subMinutes/index.js b/node_modules/date-fns/fp/subMinutes/index.js new file mode 100644 index 000000000..542ca80e9 --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subMinutes/index.js.flow b/node_modules/date-fns/fp/subMinutes/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subMinutes/package.json b/node_modules/date-fns/fp/subMinutes/package.json new file mode 100644 index 000000000..f977b8dac --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subMinutes/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subMonths/index.d.ts b/node_modules/date-fns/fp/subMonths/index.d.ts new file mode 100644 index 000000000..3d03d27e2 --- /dev/null +++ b/node_modules/date-fns/fp/subMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMonths } from 'date-fns/fp' +export default subMonths diff --git a/node_modules/date-fns/fp/subMonths/index.js b/node_modules/date-fns/fp/subMonths/index.js new file mode 100644 index 000000000..1470a8c28 --- /dev/null +++ b/node_modules/date-fns/fp/subMonths/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subMonths/index.js.flow b/node_modules/date-fns/fp/subMonths/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subMonths/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subMonths/package.json b/node_modules/date-fns/fp/subMonths/package.json new file mode 100644 index 000000000..2d80ede0c --- /dev/null +++ b/node_modules/date-fns/fp/subMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subMonths/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subQuarters/index.d.ts b/node_modules/date-fns/fp/subQuarters/index.d.ts new file mode 100644 index 000000000..6362ceca9 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subQuarters } from 'date-fns/fp' +export default subQuarters diff --git a/node_modules/date-fns/fp/subQuarters/index.js b/node_modules/date-fns/fp/subQuarters/index.js new file mode 100644 index 000000000..c50f5708c --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subQuarters/index.js.flow b/node_modules/date-fns/fp/subQuarters/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subQuarters/package.json b/node_modules/date-fns/fp/subQuarters/package.json new file mode 100644 index 000000000..b86e3f8d9 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subQuarters/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subSeconds/index.d.ts b/node_modules/date-fns/fp/subSeconds/index.d.ts new file mode 100644 index 000000000..c5c6635bf --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subSeconds } from 'date-fns/fp' +export default subSeconds diff --git a/node_modules/date-fns/fp/subSeconds/index.js b/node_modules/date-fns/fp/subSeconds/index.js new file mode 100644 index 000000000..b700a8bfa --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subSeconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subSeconds/index.js.flow b/node_modules/date-fns/fp/subSeconds/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subSeconds/package.json b/node_modules/date-fns/fp/subSeconds/package.json new file mode 100644 index 000000000..147616ab0 --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subSeconds/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subWeeks/index.d.ts b/node_modules/date-fns/fp/subWeeks/index.d.ts new file mode 100644 index 000000000..18eebcb0c --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subWeeks } from 'date-fns/fp' +export default subWeeks diff --git a/node_modules/date-fns/fp/subWeeks/index.js b/node_modules/date-fns/fp/subWeeks/index.js new file mode 100644 index 000000000..fe5ec2836 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subWeeks/index.js.flow b/node_modules/date-fns/fp/subWeeks/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subWeeks/package.json b/node_modules/date-fns/fp/subWeeks/package.json new file mode 100644 index 000000000..e4b2aaa81 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subWeeks/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/subYears/index.d.ts b/node_modules/date-fns/fp/subYears/index.d.ts new file mode 100644 index 000000000..55abb01db --- /dev/null +++ b/node_modules/date-fns/fp/subYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subYears } from 'date-fns/fp' +export default subYears diff --git a/node_modules/date-fns/fp/subYears/index.js b/node_modules/date-fns/fp/subYears/index.js new file mode 100644 index 000000000..102776933 --- /dev/null +++ b/node_modules/date-fns/fp/subYears/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../subYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 2); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/subYears/index.js.flow b/node_modules/date-fns/fp/subYears/index.js.flow new file mode 100644 index 000000000..75c22e231 --- /dev/null +++ b/node_modules/date-fns/fp/subYears/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +type CurriedFn2 = ( + a: A +) => CurriedFn1 | ((a: A, b: B) => R) + +declare module.exports: CurriedFn2 diff --git a/node_modules/date-fns/fp/subYears/package.json b/node_modules/date-fns/fp/subYears/package.json new file mode 100644 index 000000000..961ee2e3e --- /dev/null +++ b/node_modules/date-fns/fp/subYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/subYears/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/toDate/index.d.ts b/node_modules/date-fns/fp/toDate/index.d.ts new file mode 100644 index 000000000..2bbca8081 --- /dev/null +++ b/node_modules/date-fns/fp/toDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { toDate } from 'date-fns/fp' +export default toDate diff --git a/node_modules/date-fns/fp/toDate/index.js b/node_modules/date-fns/fp/toDate/index.js new file mode 100644 index 000000000..79d69b131 --- /dev/null +++ b/node_modules/date-fns/fp/toDate/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/toDate/index.js.flow b/node_modules/date-fns/fp/toDate/index.js.flow new file mode 100644 index 000000000..1fc072e6c --- /dev/null +++ b/node_modules/date-fns/fp/toDate/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/toDate/package.json b/node_modules/date-fns/fp/toDate/package.json new file mode 100644 index 000000000..25085a888 --- /dev/null +++ b/node_modules/date-fns/fp/toDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/toDate/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/weeksToDays/index.d.ts b/node_modules/date-fns/fp/weeksToDays/index.d.ts new file mode 100644 index 000000000..df6823916 --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { weeksToDays } from 'date-fns/fp' +export default weeksToDays diff --git a/node_modules/date-fns/fp/weeksToDays/index.js b/node_modules/date-fns/fp/weeksToDays/index.js new file mode 100644 index 000000000..86d7c9d22 --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../weeksToDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/weeksToDays/index.js.flow b/node_modules/date-fns/fp/weeksToDays/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/weeksToDays/package.json b/node_modules/date-fns/fp/weeksToDays/package.json new file mode 100644 index 000000000..3a479d991 --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/weeksToDays/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/yearsToMonths/index.d.ts b/node_modules/date-fns/fp/yearsToMonths/index.d.ts new file mode 100644 index 000000000..39cd7738c --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToMonths } from 'date-fns/fp' +export default yearsToMonths diff --git a/node_modules/date-fns/fp/yearsToMonths/index.js b/node_modules/date-fns/fp/yearsToMonths/index.js new file mode 100644 index 000000000..587ce1d83 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../yearsToMonths/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/yearsToMonths/index.js.flow b/node_modules/date-fns/fp/yearsToMonths/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/yearsToMonths/package.json b/node_modules/date-fns/fp/yearsToMonths/package.json new file mode 100644 index 000000000..fff64d2df --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/yearsToMonths/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fp/yearsToQuarters/index.d.ts b/node_modules/date-fns/fp/yearsToQuarters/index.d.ts new file mode 100644 index 000000000..cbb664df4 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToQuarters } from 'date-fns/fp' +export default yearsToQuarters diff --git a/node_modules/date-fns/fp/yearsToQuarters/index.js b/node_modules/date-fns/fp/yearsToQuarters/index.js new file mode 100644 index 000000000..240b18a5e --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters/index.js @@ -0,0 +1,13 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../yearsToQuarters/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/convertToFP/index.js")); +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. +var _default = (0, _index2.default)(_index.default, 1); +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fp/yearsToQuarters/index.js.flow b/node_modules/date-fns/fp/yearsToQuarters/index.js.flow new file mode 100644 index 000000000..aa51b5f1b --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters/index.js.flow @@ -0,0 +1,54 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +type CurriedFn1 = (a: A) => R + +declare module.exports: CurriedFn1 diff --git a/node_modules/date-fns/fp/yearsToQuarters/package.json b/node_modules/date-fns/fp/yearsToQuarters/package.json new file mode 100644 index 000000000..174c27a80 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/fp/yearsToQuarters/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/fromUnixTime/index.d.ts b/node_modules/date-fns/fromUnixTime/index.d.ts new file mode 100644 index 000000000..a88920d83 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fromUnixTime } from 'date-fns' +export default fromUnixTime diff --git a/node_modules/date-fns/fromUnixTime/index.js b/node_modules/date-fns/fromUnixTime/index.js new file mode 100644 index 000000000..c0f546487 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = fromUnixTime; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name fromUnixTime + * @category Timestamp Helpers + * @summary Create a date from a Unix timestamp. + * + * @description + * Create a date from a Unix timestamp (in seconds). Decimal values will be discarded. + * + * @param {Number} unixTime - the given Unix timestamp (in seconds) + * @returns {Date} the date + * @throws {TypeError} 1 argument required + * + * @example + * // Create the date 29 February 2012 11:45:05: + * const result = fromUnixTime(1330515905) + * //=> Wed Feb 29 2012 11:45:05 + */ +function fromUnixTime(dirtyUnixTime) { + (0, _index3.default)(1, arguments); + var unixTime = (0, _index2.default)(dirtyUnixTime); + return (0, _index.default)(unixTime * 1000); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/fromUnixTime/index.js.flow b/node_modules/date-fns/fromUnixTime/index.js.flow new file mode 100644 index 000000000..a286bdf09 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (unixTime: number) => Date diff --git a/node_modules/date-fns/fromUnixTime/package.json b/node_modules/date-fns/fromUnixTime/package.json new file mode 100644 index 000000000..6ef2a8ed5 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/fromUnixTime/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDate/index.d.ts b/node_modules/date-fns/getDate/index.d.ts new file mode 100644 index 000000000..cb8644116 --- /dev/null +++ b/node_modules/date-fns/getDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDate } from 'date-fns' +export default getDate diff --git a/node_modules/date-fns/getDate/index.js b/node_modules/date-fns/getDate/index.js new file mode 100644 index 000000000..1a3dc6d4f --- /dev/null +++ b/node_modules/date-fns/getDate/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDate; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the day of month + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the month is 29 February 2012? + * const result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ +function getDate(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var dayOfMonth = date.getDate(); + return dayOfMonth; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDate/index.js.flow b/node_modules/date-fns/getDate/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getDate/package.json b/node_modules/date-fns/getDate/package.json new file mode 100644 index 000000000..d1dbd4ee1 --- /dev/null +++ b/node_modules/date-fns/getDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDate/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDay/index.d.ts b/node_modules/date-fns/getDay/index.d.ts new file mode 100644 index 000000000..5ea22c01a --- /dev/null +++ b/node_modules/date-fns/getDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDay } from 'date-fns' +export default getDay diff --git a/node_modules/date-fns/getDay/index.js b/node_modules/date-fns/getDay/index.js new file mode 100644 index 000000000..a2920212d --- /dev/null +++ b/node_modules/date-fns/getDay/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDay; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param {Date|Number} date - the given date + * @returns {0|1|2|3|4|5|6} the day of week, 0 represents Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the week is 29 February 2012? + * const result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ +function getDay(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var day = date.getDay(); + return day; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDay/index.js.flow b/node_modules/date-fns/getDay/index.js.flow new file mode 100644 index 000000000..6ff2a5454 --- /dev/null +++ b/node_modules/date-fns/getDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => 0 | 1 | 2 | 3 | 4 | 5 | 6 diff --git a/node_modules/date-fns/getDay/package.json b/node_modules/date-fns/getDay/package.json new file mode 100644 index 000000000..d5418e1c1 --- /dev/null +++ b/node_modules/date-fns/getDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDayOfYear/index.d.ts b/node_modules/date-fns/getDayOfYear/index.d.ts new file mode 100644 index 000000000..ec58442be --- /dev/null +++ b/node_modules/date-fns/getDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDayOfYear } from 'date-fns' +export default getDayOfYear diff --git a/node_modules/date-fns/getDayOfYear/index.js b/node_modules/date-fns/getDayOfYear/index.js new file mode 100644 index 000000000..9f2f4d639 --- /dev/null +++ b/node_modules/date-fns/getDayOfYear/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDayOfYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../startOfYear/index.js")); +var _index3 = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getDayOfYear + * @category Day Helpers + * @summary Get the day of the year of the given date. + * + * @description + * Get the day of the year of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the day of year + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the year is 2 July 2014? + * const result = getDayOfYear(new Date(2014, 6, 2)) + * //=> 183 + */ +function getDayOfYear(dirtyDate) { + (0, _index4.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var diff = (0, _index3.default)(date, (0, _index2.default)(date)); + var dayOfYear = diff + 1; + return dayOfYear; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDayOfYear/index.js.flow b/node_modules/date-fns/getDayOfYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getDayOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getDayOfYear/package.json b/node_modules/date-fns/getDayOfYear/package.json new file mode 100644 index 000000000..476f563ca --- /dev/null +++ b/node_modules/date-fns/getDayOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDayOfYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDaysInMonth/index.d.ts b/node_modules/date-fns/getDaysInMonth/index.d.ts new file mode 100644 index 000000000..6b69daec1 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInMonth } from 'date-fns' +export default getDaysInMonth diff --git a/node_modules/date-fns/getDaysInMonth/index.js b/node_modules/date-fns/getDaysInMonth/index.js new file mode 100644 index 000000000..87d705171 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDaysInMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the number of days in a month + * @throws {TypeError} 1 argument required + * + * @example + * // How many days are in February 2000? + * const result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ +function getDaysInMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + var monthIndex = date.getMonth(); + var lastDayOfMonth = new Date(0); + lastDayOfMonth.setFullYear(year, monthIndex + 1, 0); + lastDayOfMonth.setHours(0, 0, 0, 0); + return lastDayOfMonth.getDate(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDaysInMonth/index.js.flow b/node_modules/date-fns/getDaysInMonth/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getDaysInMonth/package.json b/node_modules/date-fns/getDaysInMonth/package.json new file mode 100644 index 000000000..4013ccd93 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDaysInMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDaysInYear/index.d.ts b/node_modules/date-fns/getDaysInYear/index.d.ts new file mode 100644 index 000000000..053d44bd2 --- /dev/null +++ b/node_modules/date-fns/getDaysInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDaysInYear } from 'date-fns' +export default getDaysInYear diff --git a/node_modules/date-fns/getDaysInYear/index.js b/node_modules/date-fns/getDaysInYear/index.js new file mode 100644 index 000000000..7a37bf407 --- /dev/null +++ b/node_modules/date-fns/getDaysInYear/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDaysInYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../isLeapYear/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getDaysInYear + * @category Year Helpers + * @summary Get the number of days in a year of the given date. + * + * @description + * Get the number of days in a year of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the number of days in a year + * @throws {TypeError} 1 argument required + * + * @example + * // How many days are in 2012? + * const result = getDaysInYear(new Date(2012, 0, 1)) + * //=> 366 + */ +function getDaysInYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + if (String(new Date(date)) === 'Invalid Date') { + return NaN; + } + return (0, _index2.default)(date) ? 366 : 365; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDaysInYear/index.js.flow b/node_modules/date-fns/getDaysInYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getDaysInYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getDaysInYear/package.json b/node_modules/date-fns/getDaysInYear/package.json new file mode 100644 index 000000000..88ddf89e2 --- /dev/null +++ b/node_modules/date-fns/getDaysInYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDaysInYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDecade/index.d.ts b/node_modules/date-fns/getDecade/index.d.ts new file mode 100644 index 000000000..dfa8961c9 --- /dev/null +++ b/node_modules/date-fns/getDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDecade } from 'date-fns' +export default getDecade diff --git a/node_modules/date-fns/getDecade/index.js b/node_modules/date-fns/getDecade/index.js new file mode 100644 index 000000000..e56e387a1 --- /dev/null +++ b/node_modules/date-fns/getDecade/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDecade; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getDecade + * @category Decade Helpers + * @summary Get the decade of the given date. + * + * @description + * Get the decade of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the year of decade + * @throws {TypeError} 1 argument required + * + * @example + * // Which decade belongs 27 November 1942? + * const result = getDecade(new Date(1942, 10, 27)) + * //=> 1940 + */ +function getDecade(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + var decade = Math.floor(year / 10) * 10; + return decade; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDecade/index.js.flow b/node_modules/date-fns/getDecade/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getDecade/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getDecade/package.json b/node_modules/date-fns/getDecade/package.json new file mode 100644 index 000000000..b472865a2 --- /dev/null +++ b/node_modules/date-fns/getDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDecade/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getDefaultOptions/index.d.ts b/node_modules/date-fns/getDefaultOptions/index.d.ts new file mode 100644 index 000000000..43e2dea02 --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getDefaultOptions } from 'date-fns' +export default getDefaultOptions diff --git a/node_modules/date-fns/getDefaultOptions/index.js b/node_modules/date-fns/getDefaultOptions/index.js new file mode 100644 index 000000000..bce63990f --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getDefaultOptions; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../_lib/assign/index.js")); +/** + * @name getDefaultOptions + * @category Common Helpers + * @summary Get default options. + * @pure false + * + * @description + * Returns an object that contains defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * You can change these with [setDefaultOptions]{@link https://date-fns.org/docs/setDefaultOptions}. + * + * @returns {Object} default options + * + * @example + * const result = getDefaultOptions() + * //=> {} + * + * @example + * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 }) + * const result = getDefaultOptions() + * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 } + */ +function getDefaultOptions() { + return (0, _index2.default)({}, (0, _index.getDefaultOptions)()); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getDefaultOptions/index.js.flow b/node_modules/date-fns/getDefaultOptions/index.js.flow new file mode 100644 index 000000000..2a0fd28f4 --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Object diff --git a/node_modules/date-fns/getDefaultOptions/package.json b/node_modules/date-fns/getDefaultOptions/package.json new file mode 100644 index 000000000..d18eece19 --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getDefaultOptions/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getHours/index.d.ts b/node_modules/date-fns/getHours/index.d.ts new file mode 100644 index 000000000..1ef49091a --- /dev/null +++ b/node_modules/date-fns/getHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getHours } from 'date-fns' +export default getHours diff --git a/node_modules/date-fns/getHours/index.js b/node_modules/date-fns/getHours/index.js new file mode 100644 index 000000000..3ec27ea46 --- /dev/null +++ b/node_modules/date-fns/getHours/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getHours; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the hours + * @throws {TypeError} 1 argument required + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * const result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ +function getHours(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var hours = date.getHours(); + return hours; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getHours/index.js.flow b/node_modules/date-fns/getHours/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getHours/package.json b/node_modules/date-fns/getHours/package.json new file mode 100644 index 000000000..768309962 --- /dev/null +++ b/node_modules/date-fns/getHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getISODay/index.d.ts b/node_modules/date-fns/getISODay/index.d.ts new file mode 100644 index 000000000..fef75877c --- /dev/null +++ b/node_modules/date-fns/getISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISODay } from 'date-fns' +export default getISODay diff --git a/node_modules/date-fns/getISODay/index.js b/node_modules/date-fns/getISODay/index.js new file mode 100644 index 000000000..7aacae06d --- /dev/null +++ b/node_modules/date-fns/getISODay/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getISODay; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getISODay + * @category Weekday Helpers + * @summary Get the day of the ISO week of the given date. + * + * @description + * Get the day of the ISO week of the given date, + * which is 7 for Sunday, 1 for Monday etc. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the day of ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // Which day of the ISO week is 26 February 2012? + * const result = getISODay(new Date(2012, 1, 26)) + * //=> 7 + */ +function getISODay(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var day = date.getDay(); + if (day === 0) { + day = 7; + } + return day; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getISODay/index.js.flow b/node_modules/date-fns/getISODay/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getISODay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getISODay/package.json b/node_modules/date-fns/getISODay/package.json new file mode 100644 index 000000000..6f1ada79d --- /dev/null +++ b/node_modules/date-fns/getISODay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getISODay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getISOWeek/index.d.ts b/node_modules/date-fns/getISOWeek/index.d.ts new file mode 100644 index 000000000..f24419b68 --- /dev/null +++ b/node_modules/date-fns/getISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeek } from 'date-fns' +export default getISOWeek diff --git a/node_modules/date-fns/getISOWeek/index.js b/node_modules/date-fns/getISOWeek/index.js new file mode 100644 index 000000000..d203eaf6d --- /dev/null +++ b/node_modules/date-fns/getISOWeek/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getISOWeek; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../startOfISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../startOfISOWeekYear/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name getISOWeek + * @category ISO Week Helpers + * @summary Get the ISO week of the given date. + * + * @description + * Get the ISO week of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // Which week of the ISO-week numbering year is 2 January 2005? + * const result = getISOWeek(new Date(2005, 0, 2)) + * //=> 53 + */ +function getISOWeek(dirtyDate) { + (0, _index4.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var diff = (0, _index2.default)(date).getTime() - (0, _index3.default)(date).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getISOWeek/index.js.flow b/node_modules/date-fns/getISOWeek/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getISOWeek/package.json b/node_modules/date-fns/getISOWeek/package.json new file mode 100644 index 000000000..0b6f71b22 --- /dev/null +++ b/node_modules/date-fns/getISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getISOWeekYear/index.d.ts b/node_modules/date-fns/getISOWeekYear/index.d.ts new file mode 100644 index 000000000..018d0c810 --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeekYear } from 'date-fns' +export default getISOWeekYear diff --git a/node_modules/date-fns/getISOWeekYear/index.js b/node_modules/date-fns/getISOWeekYear/index.js new file mode 100644 index 000000000..f32dede0b --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear/index.js @@ -0,0 +1,51 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getISOWeekYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../startOfISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the ISO week-numbering year of the given date. + * + * @description + * Get the ISO week-numbering year of the given date, + * which always starts 3 days before the year's first Thursday. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // Which ISO-week numbering year is 2 January 2005? + * const result = getISOWeekYear(new Date(2005, 0, 2)) + * //=> 2004 + */ +function getISOWeekYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0); + var startOfNextYear = (0, _index2.default)(fourthOfJanuaryOfNextYear); + var fourthOfJanuaryOfThisYear = new Date(0); + fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0); + var startOfThisYear = (0, _index2.default)(fourthOfJanuaryOfThisYear); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getISOWeekYear/index.js.flow b/node_modules/date-fns/getISOWeekYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getISOWeekYear/package.json b/node_modules/date-fns/getISOWeekYear/package.json new file mode 100644 index 000000000..ff5d730b7 --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getISOWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getISOWeeksInYear/index.d.ts b/node_modules/date-fns/getISOWeeksInYear/index.d.ts new file mode 100644 index 000000000..5d3ee66a0 --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getISOWeeksInYear } from 'date-fns' +export default getISOWeeksInYear diff --git a/node_modules/date-fns/getISOWeeksInYear/index.js b/node_modules/date-fns/getISOWeeksInYear/index.js new file mode 100644 index 000000000..e6d05c611 --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear/index.js @@ -0,0 +1,42 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getISOWeeksInYear; +var _index = _interopRequireDefault(require("../startOfISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../addWeeks/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name getISOWeeksInYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of weeks in an ISO week-numbering year of the given date. + * + * @description + * Get the number of weeks in an ISO week-numbering year of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the given date + * @returns {Number} the number of ISO weeks in a year + * @throws {TypeError} 1 argument required + * + * @example + * // How many weeks are in ISO week-numbering year 2015? + * const result = getISOWeeksInYear(new Date(2015, 1, 11)) + * //=> 53 + */ +function getISOWeeksInYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var thisYear = (0, _index.default)(dirtyDate); + var nextYear = (0, _index.default)((0, _index2.default)(thisYear, 60)); + var diff = nextYear.valueOf() - thisYear.valueOf(); + // Round the number of weeks to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getISOWeeksInYear/index.js.flow b/node_modules/date-fns/getISOWeeksInYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getISOWeeksInYear/package.json b/node_modules/date-fns/getISOWeeksInYear/package.json new file mode 100644 index 000000000..9796b1796 --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getISOWeeksInYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getMilliseconds/index.d.ts b/node_modules/date-fns/getMilliseconds/index.d.ts new file mode 100644 index 000000000..7476168ca --- /dev/null +++ b/node_modules/date-fns/getMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMilliseconds } from 'date-fns' +export default getMilliseconds diff --git a/node_modules/date-fns/getMilliseconds/index.js b/node_modules/date-fns/getMilliseconds/index.js new file mode 100644 index 000000000..d14bfb370 --- /dev/null +++ b/node_modules/date-fns/getMilliseconds/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getMilliseconds; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getMilliseconds + * @category Millisecond Helpers + * @summary Get the milliseconds of the given date. + * + * @description + * Get the milliseconds of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Get the milliseconds of 29 February 2012 11:45:05.123: + * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 123 + */ +function getMilliseconds(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var milliseconds = date.getMilliseconds(); + return milliseconds; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getMilliseconds/index.js.flow b/node_modules/date-fns/getMilliseconds/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getMilliseconds/package.json b/node_modules/date-fns/getMilliseconds/package.json new file mode 100644 index 000000000..be8fa3ee6 --- /dev/null +++ b/node_modules/date-fns/getMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getMinutes/index.d.ts b/node_modules/date-fns/getMinutes/index.d.ts new file mode 100644 index 000000000..e6a92842a --- /dev/null +++ b/node_modules/date-fns/getMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMinutes } from 'date-fns' +export default getMinutes diff --git a/node_modules/date-fns/getMinutes/index.js b/node_modules/date-fns/getMinutes/index.js new file mode 100644 index 000000000..931eea189 --- /dev/null +++ b/node_modules/date-fns/getMinutes/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getMinutes; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ +function getMinutes(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var minutes = date.getMinutes(); + return minutes; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getMinutes/index.js.flow b/node_modules/date-fns/getMinutes/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getMinutes/package.json b/node_modules/date-fns/getMinutes/package.json new file mode 100644 index 000000000..6c8a4f787 --- /dev/null +++ b/node_modules/date-fns/getMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getMonth/index.d.ts b/node_modules/date-fns/getMonth/index.d.ts new file mode 100644 index 000000000..e0b621736 --- /dev/null +++ b/node_modules/date-fns/getMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getMonth } from 'date-fns' +export default getMonth diff --git a/node_modules/date-fns/getMonth/index.js b/node_modules/date-fns/getMonth/index.js new file mode 100644 index 000000000..5f97ec83b --- /dev/null +++ b/node_modules/date-fns/getMonth/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the month + * @throws {TypeError} 1 argument required + * + * @example + * // Which month is 29 February 2012? + * const result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ +function getMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var month = date.getMonth(); + return month; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getMonth/index.js.flow b/node_modules/date-fns/getMonth/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getMonth/package.json b/node_modules/date-fns/getMonth/package.json new file mode 100644 index 000000000..0539a9f94 --- /dev/null +++ b/node_modules/date-fns/getMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals/index.d.ts b/node_modules/date-fns/getOverlappingDaysInIntervals/index.d.ts new file mode 100644 index 000000000..e309ff912 --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getOverlappingDaysInIntervals } from 'date-fns' +export default getOverlappingDaysInIntervals diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals/index.js b/node_modules/date-fns/getOverlappingDaysInIntervals/index.js new file mode 100644 index 000000000..4c98bc9c7 --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals/index.js @@ -0,0 +1,66 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getOverlappingDaysInIntervals; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_DAY = 24 * 60 * 60 * 1000; + +/** + * @name getOverlappingDaysInIntervals + * @category Interval Helpers + * @summary Get the number of days that overlap in two time intervals + * + * @description + * Get the number of days that overlap in two time intervals + * + * @param {Interval} intervalLeft - the first interval to compare. See [Interval]{@link docs/Interval} + * @param {Interval} intervalRight - the second interval to compare. See [Interval]{@link docs/Interval} + * @returns {Number} the number of days that overlap in two time intervals + * @throws {TypeError} 2 arguments required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For overlapping time intervals adds 1 for each started overlapping day: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> 3 + * + * @example + * // For non-overlapping time intervals returns 0: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> 0 + */ + +function getOverlappingDaysInIntervals(dirtyIntervalLeft, dirtyIntervalRight) { + (0, _index2.default)(2, arguments); + var intervalLeft = dirtyIntervalLeft || {}; + var intervalRight = dirtyIntervalRight || {}; + var leftStartTime = (0, _index.default)(intervalLeft.start).getTime(); + var leftEndTime = (0, _index.default)(intervalLeft.end).getTime(); + var rightStartTime = (0, _index.default)(intervalRight.start).getTime(); + var rightEndTime = (0, _index.default)(intervalRight.end).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(leftStartTime <= leftEndTime && rightStartTime <= rightEndTime)) { + throw new RangeError('Invalid interval'); + } + var isOverlapping = leftStartTime < rightEndTime && rightStartTime < leftEndTime; + if (!isOverlapping) { + return 0; + } + var overlapStartDate = rightStartTime < leftStartTime ? leftStartTime : rightStartTime; + var overlapEndDate = rightEndTime > leftEndTime ? leftEndTime : rightEndTime; + var differenceInMs = overlapEndDate - overlapStartDate; + return Math.ceil(differenceInMs / MILLISECONDS_IN_DAY); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals/index.js.flow b/node_modules/date-fns/getOverlappingDaysInIntervals/index.js.flow new file mode 100644 index 000000000..9c0f272ca --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + intervalLeft: Interval, + intervalRight: Interval +) => number diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals/package.json b/node_modules/date-fns/getOverlappingDaysInIntervals/package.json new file mode 100644 index 000000000..62dd26b6f --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getOverlappingDaysInIntervals/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getQuarter/index.d.ts b/node_modules/date-fns/getQuarter/index.d.ts new file mode 100644 index 000000000..6434ba0bd --- /dev/null +++ b/node_modules/date-fns/getQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getQuarter } from 'date-fns' +export default getQuarter diff --git a/node_modules/date-fns/getQuarter/index.js b/node_modules/date-fns/getQuarter/index.js new file mode 100644 index 000000000..117a9b100 --- /dev/null +++ b/node_modules/date-fns/getQuarter/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getQuarter; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getQuarter + * @category Quarter Helpers + * @summary Get the year quarter of the given date. + * + * @description + * Get the year quarter of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the quarter + * @throws {TypeError} 1 argument required + * + * @example + * // Which quarter is 2 July 2014? + * const result = getQuarter(new Date(2014, 6, 2)) + * //=> 3 + */ +function getQuarter(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var quarter = Math.floor(date.getMonth() / 3) + 1; + return quarter; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getQuarter/index.js.flow b/node_modules/date-fns/getQuarter/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getQuarter/package.json b/node_modules/date-fns/getQuarter/package.json new file mode 100644 index 000000000..56ffce60e --- /dev/null +++ b/node_modules/date-fns/getQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getSeconds/index.d.ts b/node_modules/date-fns/getSeconds/index.d.ts new file mode 100644 index 000000000..7b609441b --- /dev/null +++ b/node_modules/date-fns/getSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getSeconds } from 'date-fns' +export default getSeconds diff --git a/node_modules/date-fns/getSeconds/index.js b/node_modules/date-fns/getSeconds/index.js new file mode 100644 index 000000000..05f2e2037 --- /dev/null +++ b/node_modules/date-fns/getSeconds/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getSeconds; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * const result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ +function getSeconds(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var seconds = date.getSeconds(); + return seconds; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getSeconds/index.js.flow b/node_modules/date-fns/getSeconds/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getSeconds/package.json b/node_modules/date-fns/getSeconds/package.json new file mode 100644 index 000000000..f76ee5426 --- /dev/null +++ b/node_modules/date-fns/getSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getTime/index.d.ts b/node_modules/date-fns/getTime/index.d.ts new file mode 100644 index 000000000..87c958e6f --- /dev/null +++ b/node_modules/date-fns/getTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getTime } from 'date-fns' +export default getTime diff --git a/node_modules/date-fns/getTime/index.js b/node_modules/date-fns/getTime/index.js new file mode 100644 index 000000000..b7c1b91f5 --- /dev/null +++ b/node_modules/date-fns/getTime/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getTime; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the timestamp + * @throws {TypeError} 1 argument required + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ +function getTime(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var timestamp = date.getTime(); + return timestamp; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getTime/index.js.flow b/node_modules/date-fns/getTime/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getTime/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getTime/package.json b/node_modules/date-fns/getTime/package.json new file mode 100644 index 000000000..d9e138cb6 --- /dev/null +++ b/node_modules/date-fns/getTime/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getTime/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getUnixTime/index.d.ts b/node_modules/date-fns/getUnixTime/index.d.ts new file mode 100644 index 000000000..8f85a122c --- /dev/null +++ b/node_modules/date-fns/getUnixTime/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getUnixTime } from 'date-fns' +export default getUnixTime diff --git a/node_modules/date-fns/getUnixTime/index.js b/node_modules/date-fns/getUnixTime/index.js new file mode 100644 index 000000000..adea62769 --- /dev/null +++ b/node_modules/date-fns/getUnixTime/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getUnixTime; +var _index = _interopRequireDefault(require("../getTime/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getUnixTime + * @category Timestamp Helpers + * @summary Get the seconds timestamp of the given date. + * + * @description + * Get the seconds timestamp of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the timestamp + * @throws {TypeError} 1 argument required + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05 CET: + * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 1330512305 + */ +function getUnixTime(dirtyDate) { + (0, _index2.default)(1, arguments); + return Math.floor((0, _index.default)(dirtyDate) / 1000); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getUnixTime/index.js.flow b/node_modules/date-fns/getUnixTime/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getUnixTime/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getUnixTime/package.json b/node_modules/date-fns/getUnixTime/package.json new file mode 100644 index 000000000..bc24ccb7e --- /dev/null +++ b/node_modules/date-fns/getUnixTime/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getUnixTime/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getWeek/index.d.ts b/node_modules/date-fns/getWeek/index.d.ts new file mode 100644 index 000000000..dfa1327ed --- /dev/null +++ b/node_modules/date-fns/getWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeek } from 'date-fns' +export default getWeek diff --git a/node_modules/date-fns/getWeek/index.js b/node_modules/date-fns/getWeek/index.js new file mode 100644 index 000000000..01435abd9 --- /dev/null +++ b/node_modules/date-fns/getWeek/index.js @@ -0,0 +1,63 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getWeek; +var _index = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../startOfWeekYear/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var MILLISECONDS_IN_WEEK = 604800000; + +/** + * @name getWeek + * @category Week Helpers + * @summary Get the local week index of the given date. + * + * @description + * Get the local week index of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Number} the week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Which week of the local week numbering year is 2 January 2005 with default options? + * const result = getWeek(new Date(2005, 0, 2)) + * //=> 2 + * + * // Which week of the local week numbering year is 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January? + * const result = getWeek(new Date(2005, 0, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> 53 + */ + +function getWeek(dirtyDate, options) { + (0, _index4.default)(1, arguments); + var date = (0, _index3.default)(dirtyDate); + var diff = (0, _index.default)(date, options).getTime() - (0, _index2.default)(date, options).getTime(); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getWeek/index.js.flow b/node_modules/date-fns/getWeek/index.js.flow new file mode 100644 index 000000000..2c948ae24 --- /dev/null +++ b/node_modules/date-fns/getWeek/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => number diff --git a/node_modules/date-fns/getWeek/package.json b/node_modules/date-fns/getWeek/package.json new file mode 100644 index 000000000..deb1966ce --- /dev/null +++ b/node_modules/date-fns/getWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getWeekOfMonth/index.d.ts b/node_modules/date-fns/getWeekOfMonth/index.d.ts new file mode 100644 index 000000000..781b2add4 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekOfMonth } from 'date-fns' +export default getWeekOfMonth diff --git a/node_modules/date-fns/getWeekOfMonth/index.js b/node_modules/date-fns/getWeekOfMonth/index.js new file mode 100644 index 000000000..ea2bc7773 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth/index.js @@ -0,0 +1,51 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getWeekOfMonth; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../getDate/index.js")); +var _index3 = _interopRequireDefault(require("../getDay/index.js")); +var _index4 = _interopRequireDefault(require("../startOfMonth/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index6 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name getWeekOfMonth + * @category Week Helpers + * @summary Get the week of the month of the given date. + * + * @description + * Get the week of the month of the given date. + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Number} the week of month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 inclusively + * + * @example + * // Which week of the month is 9 November 2017? + * const result = getWeekOfMonth(new Date(2017, 10, 9)) + * //=> 2 + */ +function getWeekOfMonth(date, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index5.default)(1, arguments); + var defaultOptions = (0, _index.getDefaultOptions)(); + var weekStartsOn = (0, _index6.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var currentDayOfMonth = (0, _index2.default)(date); + if (isNaN(currentDayOfMonth)) return NaN; + var startWeekDay = (0, _index3.default)((0, _index4.default)(date)); + var lastDayOfFirstWeek = weekStartsOn - startWeekDay; + if (lastDayOfFirstWeek <= 0) lastDayOfFirstWeek += 7; + var remainingDaysAfterFirstWeek = currentDayOfMonth - lastDayOfFirstWeek; + return Math.ceil(remainingDaysAfterFirstWeek / 7) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getWeekOfMonth/index.js.flow b/node_modules/date-fns/getWeekOfMonth/index.js.flow new file mode 100644 index 000000000..1115f28e5 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => number diff --git a/node_modules/date-fns/getWeekOfMonth/package.json b/node_modules/date-fns/getWeekOfMonth/package.json new file mode 100644 index 000000000..51da61c6c --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getWeekOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getWeekYear/index.d.ts b/node_modules/date-fns/getWeekYear/index.d.ts new file mode 100644 index 000000000..c8fc52890 --- /dev/null +++ b/node_modules/date-fns/getWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeekYear } from 'date-fns' +export default getWeekYear diff --git a/node_modules/date-fns/getWeekYear/index.js b/node_modules/date-fns/getWeekYear/index.js new file mode 100644 index 000000000..616b59747 --- /dev/null +++ b/node_modules/date-fns/getWeekYear/index.js @@ -0,0 +1,80 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getWeekYear; +var _index = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index5 = require("../_lib/defaultOptions/index.js"); +/** + * @name getWeekYear + * @category Week-Numbering Year Helpers + * @summary Get the local week-numbering year of the given date. + * + * @description + * Get the local week-numbering year of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Number} the local week-numbering year + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Which week numbering year is 26 December 2004 with the default settings? + * const result = getWeekYear(new Date(2004, 11, 26)) + * //=> 2005 + * + * @example + * // Which week numbering year is 26 December 2004 if week starts on Saturday? + * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) + * //=> 2004 + * + * @example + * // Which week numbering year is 26 December 2004 if the first week contains 4 January? + * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) + * //=> 2004 + */ +function getWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index4.default)(1, arguments); + var date = (0, _index2.default)(dirtyDate); + var year = date.getFullYear(); + var defaultOptions = (0, _index5.getDefaultOptions)(); + var firstWeekContainsDate = (0, _index3.default)((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var firstWeekOfNextYear = new Date(0); + firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setHours(0, 0, 0, 0); + var startOfNextYear = (0, _index.default)(firstWeekOfNextYear, options); + var firstWeekOfThisYear = new Date(0); + firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setHours(0, 0, 0, 0); + var startOfThisYear = (0, _index.default)(firstWeekOfThisYear, options); + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getWeekYear/index.js.flow b/node_modules/date-fns/getWeekYear/index.js.flow new file mode 100644 index 000000000..2c948ae24 --- /dev/null +++ b/node_modules/date-fns/getWeekYear/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => number diff --git a/node_modules/date-fns/getWeekYear/package.json b/node_modules/date-fns/getWeekYear/package.json new file mode 100644 index 000000000..e53b02cce --- /dev/null +++ b/node_modules/date-fns/getWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getWeeksInMonth/index.d.ts b/node_modules/date-fns/getWeeksInMonth/index.d.ts new file mode 100644 index 000000000..e6ffaaaad --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getWeeksInMonth } from 'date-fns' +export default getWeeksInMonth diff --git a/node_modules/date-fns/getWeeksInMonth/index.js b/node_modules/date-fns/getWeeksInMonth/index.js new file mode 100644 index 000000000..d70d3ffe8 --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getWeeksInMonth; +var _index = _interopRequireDefault(require("../differenceInCalendarWeeks/index.js")); +var _index2 = _interopRequireDefault(require("../lastDayOfMonth/index.js")); +var _index3 = _interopRequireDefault(require("../startOfMonth/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getWeeksInMonth + * @category Week Helpers + * @summary Get the number of calendar weeks a month spans. + * + * @description + * Get the number of calendar weeks the month in the given date spans. + * + * @param {Date|Number} date - the given date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Number} the number of calendar weeks + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // How many calendar weeks does February 2015 span? + * const result = getWeeksInMonth(new Date(2015, 1, 8)) + * //=> 4 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks does July 2017 span? + * const result = getWeeksInMonth(new Date(2017, 6, 5), { weekStartsOn: 1 }) + * //=> 6 + */ +function getWeeksInMonth(date, options) { + (0, _index4.default)(1, arguments); + return (0, _index.default)((0, _index2.default)(date), (0, _index3.default)(date), options) + 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getWeeksInMonth/index.js.flow b/node_modules/date-fns/getWeeksInMonth/index.js.flow new file mode 100644 index 000000000..1115f28e5 --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => number diff --git a/node_modules/date-fns/getWeeksInMonth/package.json b/node_modules/date-fns/getWeeksInMonth/package.json new file mode 100644 index 000000000..aaff5d2bd --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getWeeksInMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/getYear/index.d.ts b/node_modules/date-fns/getYear/index.d.ts new file mode 100644 index 000000000..3ef8154a8 --- /dev/null +++ b/node_modules/date-fns/getYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { getYear } from 'date-fns' +export default getYear diff --git a/node_modules/date-fns/getYear/index.js b/node_modules/date-fns/getYear/index.js new file mode 100644 index 000000000..db682aecc --- /dev/null +++ b/node_modules/date-fns/getYear/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param {Date|Number} date - the given date + * @returns {Number} the year + * @throws {TypeError} 1 argument required + * + * @example + * // Which year is 2 July 2014? + * const result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ +function getYear(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getFullYear(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/getYear/index.js.flow b/node_modules/date-fns/getYear/index.js.flow new file mode 100644 index 000000000..07bb01214 --- /dev/null +++ b/node_modules/date-fns/getYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => number diff --git a/node_modules/date-fns/getYear/package.json b/node_modules/date-fns/getYear/package.json new file mode 100644 index 000000000..cb4a6dc3b --- /dev/null +++ b/node_modules/date-fns/getYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/getYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/hoursToMilliseconds/index.d.ts b/node_modules/date-fns/hoursToMilliseconds/index.d.ts new file mode 100644 index 000000000..ed24a0d66 --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMilliseconds } from 'date-fns' +export default hoursToMilliseconds diff --git a/node_modules/date-fns/hoursToMilliseconds/index.js b/node_modules/date-fns/hoursToMilliseconds/index.js new file mode 100644 index 000000000..c49a3ae4c --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = hoursToMilliseconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name hoursToMilliseconds + * @category Conversion Helpers + * @summary Convert hours to milliseconds. + * + * @description + * Convert a number of hours to a full number of milliseconds. + * + * @param {number} hours - number of hours to be converted + * + * @returns {number} the number of hours converted to milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 hours to milliseconds: + * const result = hoursToMilliseconds(2) + * //=> 7200000 + */ +function hoursToMilliseconds(hours) { + (0, _index.default)(1, arguments); + return Math.floor(hours * _index2.millisecondsInHour); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/hoursToMilliseconds/index.js.flow b/node_modules/date-fns/hoursToMilliseconds/index.js.flow new file mode 100644 index 000000000..950ac71ee --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (hours: number) => number diff --git a/node_modules/date-fns/hoursToMilliseconds/package.json b/node_modules/date-fns/hoursToMilliseconds/package.json new file mode 100644 index 000000000..1216b900b --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/hoursToMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/hoursToMinutes/index.d.ts b/node_modules/date-fns/hoursToMinutes/index.d.ts new file mode 100644 index 000000000..d0fbbbf46 --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToMinutes } from 'date-fns' +export default hoursToMinutes diff --git a/node_modules/date-fns/hoursToMinutes/index.js b/node_modules/date-fns/hoursToMinutes/index.js new file mode 100644 index 000000000..eab8ed44e --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = hoursToMinutes; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name hoursToMinutes + * @category Conversion Helpers + * @summary Convert hours to minutes. + * + * @description + * Convert a number of hours to a full number of minutes. + * + * @param {number} hours - number of hours to be converted + * + * @returns {number} the number of hours converted in minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 hours to minutes: + * const result = hoursToMinutes(2) + * //=> 120 + */ +function hoursToMinutes(hours) { + (0, _index.default)(1, arguments); + return Math.floor(hours * _index2.minutesInHour); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/hoursToMinutes/index.js.flow b/node_modules/date-fns/hoursToMinutes/index.js.flow new file mode 100644 index 000000000..950ac71ee --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (hours: number) => number diff --git a/node_modules/date-fns/hoursToMinutes/package.json b/node_modules/date-fns/hoursToMinutes/package.json new file mode 100644 index 000000000..47912c8e5 --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/hoursToMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/hoursToSeconds/index.d.ts b/node_modules/date-fns/hoursToSeconds/index.d.ts new file mode 100644 index 000000000..8544afb7a --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hoursToSeconds } from 'date-fns' +export default hoursToSeconds diff --git a/node_modules/date-fns/hoursToSeconds/index.js b/node_modules/date-fns/hoursToSeconds/index.js new file mode 100644 index 000000000..dba047623 --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = hoursToSeconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name hoursToSeconds + * @category Conversion Helpers + * @summary Convert hours to seconds. + * + * @description + * Convert a number of hours to a full number of seconds. + * + * @param {number} hours - number of hours to be converted + * + * @returns {number} the number of hours converted in seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 hours to seconds: + * const result = hoursToSeconds(2) + * //=> 7200 + */ +function hoursToSeconds(hours) { + (0, _index.default)(1, arguments); + return Math.floor(hours * _index2.secondsInHour); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/hoursToSeconds/index.js.flow b/node_modules/date-fns/hoursToSeconds/index.js.flow new file mode 100644 index 000000000..950ac71ee --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (hours: number) => number diff --git a/node_modules/date-fns/hoursToSeconds/package.json b/node_modules/date-fns/hoursToSeconds/package.json new file mode 100644 index 000000000..795b4e002 --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/hoursToSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/index.js b/node_modules/date-fns/index.js new file mode 100644 index 000000000..dafaf854e --- /dev/null +++ b/node_modules/date-fns/index.js @@ -0,0 +1,1932 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + add: true, + addBusinessDays: true, + addDays: true, + addHours: true, + addISOWeekYears: true, + addMilliseconds: true, + addMinutes: true, + addMonths: true, + addQuarters: true, + addSeconds: true, + addWeeks: true, + addYears: true, + areIntervalsOverlapping: true, + clamp: true, + closestIndexTo: true, + closestTo: true, + compareAsc: true, + compareDesc: true, + daysToWeeks: true, + differenceInBusinessDays: true, + differenceInCalendarDays: true, + differenceInCalendarISOWeekYears: true, + differenceInCalendarISOWeeks: true, + differenceInCalendarMonths: true, + differenceInCalendarQuarters: true, + differenceInCalendarWeeks: true, + differenceInCalendarYears: true, + differenceInDays: true, + differenceInHours: true, + differenceInISOWeekYears: true, + differenceInMilliseconds: true, + differenceInMinutes: true, + differenceInMonths: true, + differenceInQuarters: true, + differenceInSeconds: true, + differenceInWeeks: true, + differenceInYears: true, + eachDayOfInterval: true, + eachHourOfInterval: true, + eachMinuteOfInterval: true, + eachMonthOfInterval: true, + eachQuarterOfInterval: true, + eachWeekOfInterval: true, + eachWeekendOfInterval: true, + eachWeekendOfMonth: true, + eachWeekendOfYear: true, + eachYearOfInterval: true, + endOfDay: true, + endOfDecade: true, + endOfHour: true, + endOfISOWeek: true, + endOfISOWeekYear: true, + endOfMinute: true, + endOfMonth: true, + endOfQuarter: true, + endOfSecond: true, + endOfToday: true, + endOfTomorrow: true, + endOfWeek: true, + endOfYear: true, + endOfYesterday: true, + format: true, + formatDistance: true, + formatDistanceStrict: true, + formatDistanceToNow: true, + formatDistanceToNowStrict: true, + formatDuration: true, + formatISO: true, + formatISO9075: true, + formatISODuration: true, + formatRFC3339: true, + formatRFC7231: true, + formatRelative: true, + fromUnixTime: true, + getDate: true, + getDay: true, + getDayOfYear: true, + getDaysInMonth: true, + getDaysInYear: true, + getDecade: true, + getDefaultOptions: true, + getHours: true, + getISODay: true, + getISOWeek: true, + getISOWeekYear: true, + getISOWeeksInYear: true, + getMilliseconds: true, + getMinutes: true, + getMonth: true, + getOverlappingDaysInIntervals: true, + getQuarter: true, + getSeconds: true, + getTime: true, + getUnixTime: true, + getWeek: true, + getWeekOfMonth: true, + getWeekYear: true, + getWeeksInMonth: true, + getYear: true, + hoursToMilliseconds: true, + hoursToMinutes: true, + hoursToSeconds: true, + intervalToDuration: true, + intlFormat: true, + intlFormatDistance: true, + isAfter: true, + isBefore: true, + isDate: true, + isEqual: true, + isExists: true, + isFirstDayOfMonth: true, + isFriday: true, + isFuture: true, + isLastDayOfMonth: true, + isLeapYear: true, + isMatch: true, + isMonday: true, + isPast: true, + isSameDay: true, + isSameHour: true, + isSameISOWeek: true, + isSameISOWeekYear: true, + isSameMinute: true, + isSameMonth: true, + isSameQuarter: true, + isSameSecond: true, + isSameWeek: true, + isSameYear: true, + isSaturday: true, + isSunday: true, + isThisHour: true, + isThisISOWeek: true, + isThisMinute: true, + isThisMonth: true, + isThisQuarter: true, + isThisSecond: true, + isThisWeek: true, + isThisYear: true, + isThursday: true, + isToday: true, + isTomorrow: true, + isTuesday: true, + isValid: true, + isWednesday: true, + isWeekend: true, + isWithinInterval: true, + isYesterday: true, + lastDayOfDecade: true, + lastDayOfISOWeek: true, + lastDayOfISOWeekYear: true, + lastDayOfMonth: true, + lastDayOfQuarter: true, + lastDayOfWeek: true, + lastDayOfYear: true, + lightFormat: true, + max: true, + milliseconds: true, + millisecondsToHours: true, + millisecondsToMinutes: true, + millisecondsToSeconds: true, + min: true, + minutesToHours: true, + minutesToMilliseconds: true, + minutesToSeconds: true, + monthsToQuarters: true, + monthsToYears: true, + nextDay: true, + nextFriday: true, + nextMonday: true, + nextSaturday: true, + nextSunday: true, + nextThursday: true, + nextTuesday: true, + nextWednesday: true, + parse: true, + parseISO: true, + parseJSON: true, + previousDay: true, + previousFriday: true, + previousMonday: true, + previousSaturday: true, + previousSunday: true, + previousThursday: true, + previousTuesday: true, + previousWednesday: true, + quartersToMonths: true, + quartersToYears: true, + roundToNearestMinutes: true, + secondsToHours: true, + secondsToMilliseconds: true, + secondsToMinutes: true, + set: true, + setDate: true, + setDay: true, + setDayOfYear: true, + setDefaultOptions: true, + setHours: true, + setISODay: true, + setISOWeek: true, + setISOWeekYear: true, + setMilliseconds: true, + setMinutes: true, + setMonth: true, + setQuarter: true, + setSeconds: true, + setWeek: true, + setWeekYear: true, + setYear: true, + startOfDay: true, + startOfDecade: true, + startOfHour: true, + startOfISOWeek: true, + startOfISOWeekYear: true, + startOfMinute: true, + startOfMonth: true, + startOfQuarter: true, + startOfSecond: true, + startOfToday: true, + startOfTomorrow: true, + startOfWeek: true, + startOfWeekYear: true, + startOfYear: true, + startOfYesterday: true, + sub: true, + subBusinessDays: true, + subDays: true, + subHours: true, + subISOWeekYears: true, + subMilliseconds: true, + subMinutes: true, + subMonths: true, + subQuarters: true, + subSeconds: true, + subWeeks: true, + subYears: true, + toDate: true, + weeksToDays: true, + yearsToMonths: true, + yearsToQuarters: true +}; +Object.defineProperty(exports, "add", { + enumerable: true, + get: function get() { + return _index.default; + } +}); +Object.defineProperty(exports, "addBusinessDays", { + enumerable: true, + get: function get() { + return _index2.default; + } +}); +Object.defineProperty(exports, "addDays", { + enumerable: true, + get: function get() { + return _index3.default; + } +}); +Object.defineProperty(exports, "addHours", { + enumerable: true, + get: function get() { + return _index4.default; + } +}); +Object.defineProperty(exports, "addISOWeekYears", { + enumerable: true, + get: function get() { + return _index5.default; + } +}); +Object.defineProperty(exports, "addMilliseconds", { + enumerable: true, + get: function get() { + return _index6.default; + } +}); +Object.defineProperty(exports, "addMinutes", { + enumerable: true, + get: function get() { + return _index7.default; + } +}); +Object.defineProperty(exports, "addMonths", { + enumerable: true, + get: function get() { + return _index8.default; + } +}); +Object.defineProperty(exports, "addQuarters", { + enumerable: true, + get: function get() { + return _index9.default; + } +}); +Object.defineProperty(exports, "addSeconds", { + enumerable: true, + get: function get() { + return _index10.default; + } +}); +Object.defineProperty(exports, "addWeeks", { + enumerable: true, + get: function get() { + return _index11.default; + } +}); +Object.defineProperty(exports, "addYears", { + enumerable: true, + get: function get() { + return _index12.default; + } +}); +Object.defineProperty(exports, "areIntervalsOverlapping", { + enumerable: true, + get: function get() { + return _index13.default; + } +}); +Object.defineProperty(exports, "clamp", { + enumerable: true, + get: function get() { + return _index14.default; + } +}); +Object.defineProperty(exports, "closestIndexTo", { + enumerable: true, + get: function get() { + return _index15.default; + } +}); +Object.defineProperty(exports, "closestTo", { + enumerable: true, + get: function get() { + return _index16.default; + } +}); +Object.defineProperty(exports, "compareAsc", { + enumerable: true, + get: function get() { + return _index17.default; + } +}); +Object.defineProperty(exports, "compareDesc", { + enumerable: true, + get: function get() { + return _index18.default; + } +}); +Object.defineProperty(exports, "daysToWeeks", { + enumerable: true, + get: function get() { + return _index19.default; + } +}); +Object.defineProperty(exports, "differenceInBusinessDays", { + enumerable: true, + get: function get() { + return _index20.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarDays", { + enumerable: true, + get: function get() { + return _index21.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarISOWeekYears", { + enumerable: true, + get: function get() { + return _index22.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarISOWeeks", { + enumerable: true, + get: function get() { + return _index23.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarMonths", { + enumerable: true, + get: function get() { + return _index24.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarQuarters", { + enumerable: true, + get: function get() { + return _index25.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarWeeks", { + enumerable: true, + get: function get() { + return _index26.default; + } +}); +Object.defineProperty(exports, "differenceInCalendarYears", { + enumerable: true, + get: function get() { + return _index27.default; + } +}); +Object.defineProperty(exports, "differenceInDays", { + enumerable: true, + get: function get() { + return _index28.default; + } +}); +Object.defineProperty(exports, "differenceInHours", { + enumerable: true, + get: function get() { + return _index29.default; + } +}); +Object.defineProperty(exports, "differenceInISOWeekYears", { + enumerable: true, + get: function get() { + return _index30.default; + } +}); +Object.defineProperty(exports, "differenceInMilliseconds", { + enumerable: true, + get: function get() { + return _index31.default; + } +}); +Object.defineProperty(exports, "differenceInMinutes", { + enumerable: true, + get: function get() { + return _index32.default; + } +}); +Object.defineProperty(exports, "differenceInMonths", { + enumerable: true, + get: function get() { + return _index33.default; + } +}); +Object.defineProperty(exports, "differenceInQuarters", { + enumerable: true, + get: function get() { + return _index34.default; + } +}); +Object.defineProperty(exports, "differenceInSeconds", { + enumerable: true, + get: function get() { + return _index35.default; + } +}); +Object.defineProperty(exports, "differenceInWeeks", { + enumerable: true, + get: function get() { + return _index36.default; + } +}); +Object.defineProperty(exports, "differenceInYears", { + enumerable: true, + get: function get() { + return _index37.default; + } +}); +Object.defineProperty(exports, "eachDayOfInterval", { + enumerable: true, + get: function get() { + return _index38.default; + } +}); +Object.defineProperty(exports, "eachHourOfInterval", { + enumerable: true, + get: function get() { + return _index39.default; + } +}); +Object.defineProperty(exports, "eachMinuteOfInterval", { + enumerable: true, + get: function get() { + return _index40.default; + } +}); +Object.defineProperty(exports, "eachMonthOfInterval", { + enumerable: true, + get: function get() { + return _index41.default; + } +}); +Object.defineProperty(exports, "eachQuarterOfInterval", { + enumerable: true, + get: function get() { + return _index42.default; + } +}); +Object.defineProperty(exports, "eachWeekOfInterval", { + enumerable: true, + get: function get() { + return _index43.default; + } +}); +Object.defineProperty(exports, "eachWeekendOfInterval", { + enumerable: true, + get: function get() { + return _index44.default; + } +}); +Object.defineProperty(exports, "eachWeekendOfMonth", { + enumerable: true, + get: function get() { + return _index45.default; + } +}); +Object.defineProperty(exports, "eachWeekendOfYear", { + enumerable: true, + get: function get() { + return _index46.default; + } +}); +Object.defineProperty(exports, "eachYearOfInterval", { + enumerable: true, + get: function get() { + return _index47.default; + } +}); +Object.defineProperty(exports, "endOfDay", { + enumerable: true, + get: function get() { + return _index48.default; + } +}); +Object.defineProperty(exports, "endOfDecade", { + enumerable: true, + get: function get() { + return _index49.default; + } +}); +Object.defineProperty(exports, "endOfHour", { + enumerable: true, + get: function get() { + return _index50.default; + } +}); +Object.defineProperty(exports, "endOfISOWeek", { + enumerable: true, + get: function get() { + return _index51.default; + } +}); +Object.defineProperty(exports, "endOfISOWeekYear", { + enumerable: true, + get: function get() { + return _index52.default; + } +}); +Object.defineProperty(exports, "endOfMinute", { + enumerable: true, + get: function get() { + return _index53.default; + } +}); +Object.defineProperty(exports, "endOfMonth", { + enumerable: true, + get: function get() { + return _index54.default; + } +}); +Object.defineProperty(exports, "endOfQuarter", { + enumerable: true, + get: function get() { + return _index55.default; + } +}); +Object.defineProperty(exports, "endOfSecond", { + enumerable: true, + get: function get() { + return _index56.default; + } +}); +Object.defineProperty(exports, "endOfToday", { + enumerable: true, + get: function get() { + return _index57.default; + } +}); +Object.defineProperty(exports, "endOfTomorrow", { + enumerable: true, + get: function get() { + return _index58.default; + } +}); +Object.defineProperty(exports, "endOfWeek", { + enumerable: true, + get: function get() { + return _index59.default; + } +}); +Object.defineProperty(exports, "endOfYear", { + enumerable: true, + get: function get() { + return _index60.default; + } +}); +Object.defineProperty(exports, "endOfYesterday", { + enumerable: true, + get: function get() { + return _index61.default; + } +}); +Object.defineProperty(exports, "format", { + enumerable: true, + get: function get() { + return _index62.default; + } +}); +Object.defineProperty(exports, "formatDistance", { + enumerable: true, + get: function get() { + return _index63.default; + } +}); +Object.defineProperty(exports, "formatDistanceStrict", { + enumerable: true, + get: function get() { + return _index64.default; + } +}); +Object.defineProperty(exports, "formatDistanceToNow", { + enumerable: true, + get: function get() { + return _index65.default; + } +}); +Object.defineProperty(exports, "formatDistanceToNowStrict", { + enumerable: true, + get: function get() { + return _index66.default; + } +}); +Object.defineProperty(exports, "formatDuration", { + enumerable: true, + get: function get() { + return _index67.default; + } +}); +Object.defineProperty(exports, "formatISO", { + enumerable: true, + get: function get() { + return _index68.default; + } +}); +Object.defineProperty(exports, "formatISO9075", { + enumerable: true, + get: function get() { + return _index69.default; + } +}); +Object.defineProperty(exports, "formatISODuration", { + enumerable: true, + get: function get() { + return _index70.default; + } +}); +Object.defineProperty(exports, "formatRFC3339", { + enumerable: true, + get: function get() { + return _index71.default; + } +}); +Object.defineProperty(exports, "formatRFC7231", { + enumerable: true, + get: function get() { + return _index72.default; + } +}); +Object.defineProperty(exports, "formatRelative", { + enumerable: true, + get: function get() { + return _index73.default; + } +}); +Object.defineProperty(exports, "fromUnixTime", { + enumerable: true, + get: function get() { + return _index74.default; + } +}); +Object.defineProperty(exports, "getDate", { + enumerable: true, + get: function get() { + return _index75.default; + } +}); +Object.defineProperty(exports, "getDay", { + enumerable: true, + get: function get() { + return _index76.default; + } +}); +Object.defineProperty(exports, "getDayOfYear", { + enumerable: true, + get: function get() { + return _index77.default; + } +}); +Object.defineProperty(exports, "getDaysInMonth", { + enumerable: true, + get: function get() { + return _index78.default; + } +}); +Object.defineProperty(exports, "getDaysInYear", { + enumerable: true, + get: function get() { + return _index79.default; + } +}); +Object.defineProperty(exports, "getDecade", { + enumerable: true, + get: function get() { + return _index80.default; + } +}); +Object.defineProperty(exports, "getDefaultOptions", { + enumerable: true, + get: function get() { + return _index81.default; + } +}); +Object.defineProperty(exports, "getHours", { + enumerable: true, + get: function get() { + return _index82.default; + } +}); +Object.defineProperty(exports, "getISODay", { + enumerable: true, + get: function get() { + return _index83.default; + } +}); +Object.defineProperty(exports, "getISOWeek", { + enumerable: true, + get: function get() { + return _index84.default; + } +}); +Object.defineProperty(exports, "getISOWeekYear", { + enumerable: true, + get: function get() { + return _index85.default; + } +}); +Object.defineProperty(exports, "getISOWeeksInYear", { + enumerable: true, + get: function get() { + return _index86.default; + } +}); +Object.defineProperty(exports, "getMilliseconds", { + enumerable: true, + get: function get() { + return _index87.default; + } +}); +Object.defineProperty(exports, "getMinutes", { + enumerable: true, + get: function get() { + return _index88.default; + } +}); +Object.defineProperty(exports, "getMonth", { + enumerable: true, + get: function get() { + return _index89.default; + } +}); +Object.defineProperty(exports, "getOverlappingDaysInIntervals", { + enumerable: true, + get: function get() { + return _index90.default; + } +}); +Object.defineProperty(exports, "getQuarter", { + enumerable: true, + get: function get() { + return _index91.default; + } +}); +Object.defineProperty(exports, "getSeconds", { + enumerable: true, + get: function get() { + return _index92.default; + } +}); +Object.defineProperty(exports, "getTime", { + enumerable: true, + get: function get() { + return _index93.default; + } +}); +Object.defineProperty(exports, "getUnixTime", { + enumerable: true, + get: function get() { + return _index94.default; + } +}); +Object.defineProperty(exports, "getWeek", { + enumerable: true, + get: function get() { + return _index95.default; + } +}); +Object.defineProperty(exports, "getWeekOfMonth", { + enumerable: true, + get: function get() { + return _index96.default; + } +}); +Object.defineProperty(exports, "getWeekYear", { + enumerable: true, + get: function get() { + return _index97.default; + } +}); +Object.defineProperty(exports, "getWeeksInMonth", { + enumerable: true, + get: function get() { + return _index98.default; + } +}); +Object.defineProperty(exports, "getYear", { + enumerable: true, + get: function get() { + return _index99.default; + } +}); +Object.defineProperty(exports, "hoursToMilliseconds", { + enumerable: true, + get: function get() { + return _index100.default; + } +}); +Object.defineProperty(exports, "hoursToMinutes", { + enumerable: true, + get: function get() { + return _index101.default; + } +}); +Object.defineProperty(exports, "hoursToSeconds", { + enumerable: true, + get: function get() { + return _index102.default; + } +}); +Object.defineProperty(exports, "intervalToDuration", { + enumerable: true, + get: function get() { + return _index103.default; + } +}); +Object.defineProperty(exports, "intlFormat", { + enumerable: true, + get: function get() { + return _index104.default; + } +}); +Object.defineProperty(exports, "intlFormatDistance", { + enumerable: true, + get: function get() { + return _index105.default; + } +}); +Object.defineProperty(exports, "isAfter", { + enumerable: true, + get: function get() { + return _index106.default; + } +}); +Object.defineProperty(exports, "isBefore", { + enumerable: true, + get: function get() { + return _index107.default; + } +}); +Object.defineProperty(exports, "isDate", { + enumerable: true, + get: function get() { + return _index108.default; + } +}); +Object.defineProperty(exports, "isEqual", { + enumerable: true, + get: function get() { + return _index109.default; + } +}); +Object.defineProperty(exports, "isExists", { + enumerable: true, + get: function get() { + return _index110.default; + } +}); +Object.defineProperty(exports, "isFirstDayOfMonth", { + enumerable: true, + get: function get() { + return _index111.default; + } +}); +Object.defineProperty(exports, "isFriday", { + enumerable: true, + get: function get() { + return _index112.default; + } +}); +Object.defineProperty(exports, "isFuture", { + enumerable: true, + get: function get() { + return _index113.default; + } +}); +Object.defineProperty(exports, "isLastDayOfMonth", { + enumerable: true, + get: function get() { + return _index114.default; + } +}); +Object.defineProperty(exports, "isLeapYear", { + enumerable: true, + get: function get() { + return _index115.default; + } +}); +Object.defineProperty(exports, "isMatch", { + enumerable: true, + get: function get() { + return _index116.default; + } +}); +Object.defineProperty(exports, "isMonday", { + enumerable: true, + get: function get() { + return _index117.default; + } +}); +Object.defineProperty(exports, "isPast", { + enumerable: true, + get: function get() { + return _index118.default; + } +}); +Object.defineProperty(exports, "isSameDay", { + enumerable: true, + get: function get() { + return _index119.default; + } +}); +Object.defineProperty(exports, "isSameHour", { + enumerable: true, + get: function get() { + return _index120.default; + } +}); +Object.defineProperty(exports, "isSameISOWeek", { + enumerable: true, + get: function get() { + return _index121.default; + } +}); +Object.defineProperty(exports, "isSameISOWeekYear", { + enumerable: true, + get: function get() { + return _index122.default; + } +}); +Object.defineProperty(exports, "isSameMinute", { + enumerable: true, + get: function get() { + return _index123.default; + } +}); +Object.defineProperty(exports, "isSameMonth", { + enumerable: true, + get: function get() { + return _index124.default; + } +}); +Object.defineProperty(exports, "isSameQuarter", { + enumerable: true, + get: function get() { + return _index125.default; + } +}); +Object.defineProperty(exports, "isSameSecond", { + enumerable: true, + get: function get() { + return _index126.default; + } +}); +Object.defineProperty(exports, "isSameWeek", { + enumerable: true, + get: function get() { + return _index127.default; + } +}); +Object.defineProperty(exports, "isSameYear", { + enumerable: true, + get: function get() { + return _index128.default; + } +}); +Object.defineProperty(exports, "isSaturday", { + enumerable: true, + get: function get() { + return _index129.default; + } +}); +Object.defineProperty(exports, "isSunday", { + enumerable: true, + get: function get() { + return _index130.default; + } +}); +Object.defineProperty(exports, "isThisHour", { + enumerable: true, + get: function get() { + return _index131.default; + } +}); +Object.defineProperty(exports, "isThisISOWeek", { + enumerable: true, + get: function get() { + return _index132.default; + } +}); +Object.defineProperty(exports, "isThisMinute", { + enumerable: true, + get: function get() { + return _index133.default; + } +}); +Object.defineProperty(exports, "isThisMonth", { + enumerable: true, + get: function get() { + return _index134.default; + } +}); +Object.defineProperty(exports, "isThisQuarter", { + enumerable: true, + get: function get() { + return _index135.default; + } +}); +Object.defineProperty(exports, "isThisSecond", { + enumerable: true, + get: function get() { + return _index136.default; + } +}); +Object.defineProperty(exports, "isThisWeek", { + enumerable: true, + get: function get() { + return _index137.default; + } +}); +Object.defineProperty(exports, "isThisYear", { + enumerable: true, + get: function get() { + return _index138.default; + } +}); +Object.defineProperty(exports, "isThursday", { + enumerable: true, + get: function get() { + return _index139.default; + } +}); +Object.defineProperty(exports, "isToday", { + enumerable: true, + get: function get() { + return _index140.default; + } +}); +Object.defineProperty(exports, "isTomorrow", { + enumerable: true, + get: function get() { + return _index141.default; + } +}); +Object.defineProperty(exports, "isTuesday", { + enumerable: true, + get: function get() { + return _index142.default; + } +}); +Object.defineProperty(exports, "isValid", { + enumerable: true, + get: function get() { + return _index143.default; + } +}); +Object.defineProperty(exports, "isWednesday", { + enumerable: true, + get: function get() { + return _index144.default; + } +}); +Object.defineProperty(exports, "isWeekend", { + enumerable: true, + get: function get() { + return _index145.default; + } +}); +Object.defineProperty(exports, "isWithinInterval", { + enumerable: true, + get: function get() { + return _index146.default; + } +}); +Object.defineProperty(exports, "isYesterday", { + enumerable: true, + get: function get() { + return _index147.default; + } +}); +Object.defineProperty(exports, "lastDayOfDecade", { + enumerable: true, + get: function get() { + return _index148.default; + } +}); +Object.defineProperty(exports, "lastDayOfISOWeek", { + enumerable: true, + get: function get() { + return _index149.default; + } +}); +Object.defineProperty(exports, "lastDayOfISOWeekYear", { + enumerable: true, + get: function get() { + return _index150.default; + } +}); +Object.defineProperty(exports, "lastDayOfMonth", { + enumerable: true, + get: function get() { + return _index151.default; + } +}); +Object.defineProperty(exports, "lastDayOfQuarter", { + enumerable: true, + get: function get() { + return _index152.default; + } +}); +Object.defineProperty(exports, "lastDayOfWeek", { + enumerable: true, + get: function get() { + return _index153.default; + } +}); +Object.defineProperty(exports, "lastDayOfYear", { + enumerable: true, + get: function get() { + return _index154.default; + } +}); +Object.defineProperty(exports, "lightFormat", { + enumerable: true, + get: function get() { + return _index155.default; + } +}); +Object.defineProperty(exports, "max", { + enumerable: true, + get: function get() { + return _index156.default; + } +}); +Object.defineProperty(exports, "milliseconds", { + enumerable: true, + get: function get() { + return _index157.default; + } +}); +Object.defineProperty(exports, "millisecondsToHours", { + enumerable: true, + get: function get() { + return _index158.default; + } +}); +Object.defineProperty(exports, "millisecondsToMinutes", { + enumerable: true, + get: function get() { + return _index159.default; + } +}); +Object.defineProperty(exports, "millisecondsToSeconds", { + enumerable: true, + get: function get() { + return _index160.default; + } +}); +Object.defineProperty(exports, "min", { + enumerable: true, + get: function get() { + return _index161.default; + } +}); +Object.defineProperty(exports, "minutesToHours", { + enumerable: true, + get: function get() { + return _index162.default; + } +}); +Object.defineProperty(exports, "minutesToMilliseconds", { + enumerable: true, + get: function get() { + return _index163.default; + } +}); +Object.defineProperty(exports, "minutesToSeconds", { + enumerable: true, + get: function get() { + return _index164.default; + } +}); +Object.defineProperty(exports, "monthsToQuarters", { + enumerable: true, + get: function get() { + return _index165.default; + } +}); +Object.defineProperty(exports, "monthsToYears", { + enumerable: true, + get: function get() { + return _index166.default; + } +}); +Object.defineProperty(exports, "nextDay", { + enumerable: true, + get: function get() { + return _index167.default; + } +}); +Object.defineProperty(exports, "nextFriday", { + enumerable: true, + get: function get() { + return _index168.default; + } +}); +Object.defineProperty(exports, "nextMonday", { + enumerable: true, + get: function get() { + return _index169.default; + } +}); +Object.defineProperty(exports, "nextSaturday", { + enumerable: true, + get: function get() { + return _index170.default; + } +}); +Object.defineProperty(exports, "nextSunday", { + enumerable: true, + get: function get() { + return _index171.default; + } +}); +Object.defineProperty(exports, "nextThursday", { + enumerable: true, + get: function get() { + return _index172.default; + } +}); +Object.defineProperty(exports, "nextTuesday", { + enumerable: true, + get: function get() { + return _index173.default; + } +}); +Object.defineProperty(exports, "nextWednesday", { + enumerable: true, + get: function get() { + return _index174.default; + } +}); +Object.defineProperty(exports, "parse", { + enumerable: true, + get: function get() { + return _index175.default; + } +}); +Object.defineProperty(exports, "parseISO", { + enumerable: true, + get: function get() { + return _index176.default; + } +}); +Object.defineProperty(exports, "parseJSON", { + enumerable: true, + get: function get() { + return _index177.default; + } +}); +Object.defineProperty(exports, "previousDay", { + enumerable: true, + get: function get() { + return _index178.default; + } +}); +Object.defineProperty(exports, "previousFriday", { + enumerable: true, + get: function get() { + return _index179.default; + } +}); +Object.defineProperty(exports, "previousMonday", { + enumerable: true, + get: function get() { + return _index180.default; + } +}); +Object.defineProperty(exports, "previousSaturday", { + enumerable: true, + get: function get() { + return _index181.default; + } +}); +Object.defineProperty(exports, "previousSunday", { + enumerable: true, + get: function get() { + return _index182.default; + } +}); +Object.defineProperty(exports, "previousThursday", { + enumerable: true, + get: function get() { + return _index183.default; + } +}); +Object.defineProperty(exports, "previousTuesday", { + enumerable: true, + get: function get() { + return _index184.default; + } +}); +Object.defineProperty(exports, "previousWednesday", { + enumerable: true, + get: function get() { + return _index185.default; + } +}); +Object.defineProperty(exports, "quartersToMonths", { + enumerable: true, + get: function get() { + return _index186.default; + } +}); +Object.defineProperty(exports, "quartersToYears", { + enumerable: true, + get: function get() { + return _index187.default; + } +}); +Object.defineProperty(exports, "roundToNearestMinutes", { + enumerable: true, + get: function get() { + return _index188.default; + } +}); +Object.defineProperty(exports, "secondsToHours", { + enumerable: true, + get: function get() { + return _index189.default; + } +}); +Object.defineProperty(exports, "secondsToMilliseconds", { + enumerable: true, + get: function get() { + return _index190.default; + } +}); +Object.defineProperty(exports, "secondsToMinutes", { + enumerable: true, + get: function get() { + return _index191.default; + } +}); +Object.defineProperty(exports, "set", { + enumerable: true, + get: function get() { + return _index192.default; + } +}); +Object.defineProperty(exports, "setDate", { + enumerable: true, + get: function get() { + return _index193.default; + } +}); +Object.defineProperty(exports, "setDay", { + enumerable: true, + get: function get() { + return _index194.default; + } +}); +Object.defineProperty(exports, "setDayOfYear", { + enumerable: true, + get: function get() { + return _index195.default; + } +}); +Object.defineProperty(exports, "setDefaultOptions", { + enumerable: true, + get: function get() { + return _index196.default; + } +}); +Object.defineProperty(exports, "setHours", { + enumerable: true, + get: function get() { + return _index197.default; + } +}); +Object.defineProperty(exports, "setISODay", { + enumerable: true, + get: function get() { + return _index198.default; + } +}); +Object.defineProperty(exports, "setISOWeek", { + enumerable: true, + get: function get() { + return _index199.default; + } +}); +Object.defineProperty(exports, "setISOWeekYear", { + enumerable: true, + get: function get() { + return _index200.default; + } +}); +Object.defineProperty(exports, "setMilliseconds", { + enumerable: true, + get: function get() { + return _index201.default; + } +}); +Object.defineProperty(exports, "setMinutes", { + enumerable: true, + get: function get() { + return _index202.default; + } +}); +Object.defineProperty(exports, "setMonth", { + enumerable: true, + get: function get() { + return _index203.default; + } +}); +Object.defineProperty(exports, "setQuarter", { + enumerable: true, + get: function get() { + return _index204.default; + } +}); +Object.defineProperty(exports, "setSeconds", { + enumerable: true, + get: function get() { + return _index205.default; + } +}); +Object.defineProperty(exports, "setWeek", { + enumerable: true, + get: function get() { + return _index206.default; + } +}); +Object.defineProperty(exports, "setWeekYear", { + enumerable: true, + get: function get() { + return _index207.default; + } +}); +Object.defineProperty(exports, "setYear", { + enumerable: true, + get: function get() { + return _index208.default; + } +}); +Object.defineProperty(exports, "startOfDay", { + enumerable: true, + get: function get() { + return _index209.default; + } +}); +Object.defineProperty(exports, "startOfDecade", { + enumerable: true, + get: function get() { + return _index210.default; + } +}); +Object.defineProperty(exports, "startOfHour", { + enumerable: true, + get: function get() { + return _index211.default; + } +}); +Object.defineProperty(exports, "startOfISOWeek", { + enumerable: true, + get: function get() { + return _index212.default; + } +}); +Object.defineProperty(exports, "startOfISOWeekYear", { + enumerable: true, + get: function get() { + return _index213.default; + } +}); +Object.defineProperty(exports, "startOfMinute", { + enumerable: true, + get: function get() { + return _index214.default; + } +}); +Object.defineProperty(exports, "startOfMonth", { + enumerable: true, + get: function get() { + return _index215.default; + } +}); +Object.defineProperty(exports, "startOfQuarter", { + enumerable: true, + get: function get() { + return _index216.default; + } +}); +Object.defineProperty(exports, "startOfSecond", { + enumerable: true, + get: function get() { + return _index217.default; + } +}); +Object.defineProperty(exports, "startOfToday", { + enumerable: true, + get: function get() { + return _index218.default; + } +}); +Object.defineProperty(exports, "startOfTomorrow", { + enumerable: true, + get: function get() { + return _index219.default; + } +}); +Object.defineProperty(exports, "startOfWeek", { + enumerable: true, + get: function get() { + return _index220.default; + } +}); +Object.defineProperty(exports, "startOfWeekYear", { + enumerable: true, + get: function get() { + return _index221.default; + } +}); +Object.defineProperty(exports, "startOfYear", { + enumerable: true, + get: function get() { + return _index222.default; + } +}); +Object.defineProperty(exports, "startOfYesterday", { + enumerable: true, + get: function get() { + return _index223.default; + } +}); +Object.defineProperty(exports, "sub", { + enumerable: true, + get: function get() { + return _index224.default; + } +}); +Object.defineProperty(exports, "subBusinessDays", { + enumerable: true, + get: function get() { + return _index225.default; + } +}); +Object.defineProperty(exports, "subDays", { + enumerable: true, + get: function get() { + return _index226.default; + } +}); +Object.defineProperty(exports, "subHours", { + enumerable: true, + get: function get() { + return _index227.default; + } +}); +Object.defineProperty(exports, "subISOWeekYears", { + enumerable: true, + get: function get() { + return _index228.default; + } +}); +Object.defineProperty(exports, "subMilliseconds", { + enumerable: true, + get: function get() { + return _index229.default; + } +}); +Object.defineProperty(exports, "subMinutes", { + enumerable: true, + get: function get() { + return _index230.default; + } +}); +Object.defineProperty(exports, "subMonths", { + enumerable: true, + get: function get() { + return _index231.default; + } +}); +Object.defineProperty(exports, "subQuarters", { + enumerable: true, + get: function get() { + return _index232.default; + } +}); +Object.defineProperty(exports, "subSeconds", { + enumerable: true, + get: function get() { + return _index233.default; + } +}); +Object.defineProperty(exports, "subWeeks", { + enumerable: true, + get: function get() { + return _index234.default; + } +}); +Object.defineProperty(exports, "subYears", { + enumerable: true, + get: function get() { + return _index235.default; + } +}); +Object.defineProperty(exports, "toDate", { + enumerable: true, + get: function get() { + return _index236.default; + } +}); +Object.defineProperty(exports, "weeksToDays", { + enumerable: true, + get: function get() { + return _index237.default; + } +}); +Object.defineProperty(exports, "yearsToMonths", { + enumerable: true, + get: function get() { + return _index238.default; + } +}); +Object.defineProperty(exports, "yearsToQuarters", { + enumerable: true, + get: function get() { + return _index239.default; + } +}); +var _index = _interopRequireDefault(require("./add/index.js")); +var _index2 = _interopRequireDefault(require("./addBusinessDays/index.js")); +var _index3 = _interopRequireDefault(require("./addDays/index.js")); +var _index4 = _interopRequireDefault(require("./addHours/index.js")); +var _index5 = _interopRequireDefault(require("./addISOWeekYears/index.js")); +var _index6 = _interopRequireDefault(require("./addMilliseconds/index.js")); +var _index7 = _interopRequireDefault(require("./addMinutes/index.js")); +var _index8 = _interopRequireDefault(require("./addMonths/index.js")); +var _index9 = _interopRequireDefault(require("./addQuarters/index.js")); +var _index10 = _interopRequireDefault(require("./addSeconds/index.js")); +var _index11 = _interopRequireDefault(require("./addWeeks/index.js")); +var _index12 = _interopRequireDefault(require("./addYears/index.js")); +var _index13 = _interopRequireDefault(require("./areIntervalsOverlapping/index.js")); +var _index14 = _interopRequireDefault(require("./clamp/index.js")); +var _index15 = _interopRequireDefault(require("./closestIndexTo/index.js")); +var _index16 = _interopRequireDefault(require("./closestTo/index.js")); +var _index17 = _interopRequireDefault(require("./compareAsc/index.js")); +var _index18 = _interopRequireDefault(require("./compareDesc/index.js")); +var _index19 = _interopRequireDefault(require("./daysToWeeks/index.js")); +var _index20 = _interopRequireDefault(require("./differenceInBusinessDays/index.js")); +var _index21 = _interopRequireDefault(require("./differenceInCalendarDays/index.js")); +var _index22 = _interopRequireDefault(require("./differenceInCalendarISOWeekYears/index.js")); +var _index23 = _interopRequireDefault(require("./differenceInCalendarISOWeeks/index.js")); +var _index24 = _interopRequireDefault(require("./differenceInCalendarMonths/index.js")); +var _index25 = _interopRequireDefault(require("./differenceInCalendarQuarters/index.js")); +var _index26 = _interopRequireDefault(require("./differenceInCalendarWeeks/index.js")); +var _index27 = _interopRequireDefault(require("./differenceInCalendarYears/index.js")); +var _index28 = _interopRequireDefault(require("./differenceInDays/index.js")); +var _index29 = _interopRequireDefault(require("./differenceInHours/index.js")); +var _index30 = _interopRequireDefault(require("./differenceInISOWeekYears/index.js")); +var _index31 = _interopRequireDefault(require("./differenceInMilliseconds/index.js")); +var _index32 = _interopRequireDefault(require("./differenceInMinutes/index.js")); +var _index33 = _interopRequireDefault(require("./differenceInMonths/index.js")); +var _index34 = _interopRequireDefault(require("./differenceInQuarters/index.js")); +var _index35 = _interopRequireDefault(require("./differenceInSeconds/index.js")); +var _index36 = _interopRequireDefault(require("./differenceInWeeks/index.js")); +var _index37 = _interopRequireDefault(require("./differenceInYears/index.js")); +var _index38 = _interopRequireDefault(require("./eachDayOfInterval/index.js")); +var _index39 = _interopRequireDefault(require("./eachHourOfInterval/index.js")); +var _index40 = _interopRequireDefault(require("./eachMinuteOfInterval/index.js")); +var _index41 = _interopRequireDefault(require("./eachMonthOfInterval/index.js")); +var _index42 = _interopRequireDefault(require("./eachQuarterOfInterval/index.js")); +var _index43 = _interopRequireDefault(require("./eachWeekOfInterval/index.js")); +var _index44 = _interopRequireDefault(require("./eachWeekendOfInterval/index.js")); +var _index45 = _interopRequireDefault(require("./eachWeekendOfMonth/index.js")); +var _index46 = _interopRequireDefault(require("./eachWeekendOfYear/index.js")); +var _index47 = _interopRequireDefault(require("./eachYearOfInterval/index.js")); +var _index48 = _interopRequireDefault(require("./endOfDay/index.js")); +var _index49 = _interopRequireDefault(require("./endOfDecade/index.js")); +var _index50 = _interopRequireDefault(require("./endOfHour/index.js")); +var _index51 = _interopRequireDefault(require("./endOfISOWeek/index.js")); +var _index52 = _interopRequireDefault(require("./endOfISOWeekYear/index.js")); +var _index53 = _interopRequireDefault(require("./endOfMinute/index.js")); +var _index54 = _interopRequireDefault(require("./endOfMonth/index.js")); +var _index55 = _interopRequireDefault(require("./endOfQuarter/index.js")); +var _index56 = _interopRequireDefault(require("./endOfSecond/index.js")); +var _index57 = _interopRequireDefault(require("./endOfToday/index.js")); +var _index58 = _interopRequireDefault(require("./endOfTomorrow/index.js")); +var _index59 = _interopRequireDefault(require("./endOfWeek/index.js")); +var _index60 = _interopRequireDefault(require("./endOfYear/index.js")); +var _index61 = _interopRequireDefault(require("./endOfYesterday/index.js")); +var _index62 = _interopRequireDefault(require("./format/index.js")); +var _index63 = _interopRequireDefault(require("./formatDistance/index.js")); +var _index64 = _interopRequireDefault(require("./formatDistanceStrict/index.js")); +var _index65 = _interopRequireDefault(require("./formatDistanceToNow/index.js")); +var _index66 = _interopRequireDefault(require("./formatDistanceToNowStrict/index.js")); +var _index67 = _interopRequireDefault(require("./formatDuration/index.js")); +var _index68 = _interopRequireDefault(require("./formatISO/index.js")); +var _index69 = _interopRequireDefault(require("./formatISO9075/index.js")); +var _index70 = _interopRequireDefault(require("./formatISODuration/index.js")); +var _index71 = _interopRequireDefault(require("./formatRFC3339/index.js")); +var _index72 = _interopRequireDefault(require("./formatRFC7231/index.js")); +var _index73 = _interopRequireDefault(require("./formatRelative/index.js")); +var _index74 = _interopRequireDefault(require("./fromUnixTime/index.js")); +var _index75 = _interopRequireDefault(require("./getDate/index.js")); +var _index76 = _interopRequireDefault(require("./getDay/index.js")); +var _index77 = _interopRequireDefault(require("./getDayOfYear/index.js")); +var _index78 = _interopRequireDefault(require("./getDaysInMonth/index.js")); +var _index79 = _interopRequireDefault(require("./getDaysInYear/index.js")); +var _index80 = _interopRequireDefault(require("./getDecade/index.js")); +var _index81 = _interopRequireDefault(require("./getDefaultOptions/index.js")); +var _index82 = _interopRequireDefault(require("./getHours/index.js")); +var _index83 = _interopRequireDefault(require("./getISODay/index.js")); +var _index84 = _interopRequireDefault(require("./getISOWeek/index.js")); +var _index85 = _interopRequireDefault(require("./getISOWeekYear/index.js")); +var _index86 = _interopRequireDefault(require("./getISOWeeksInYear/index.js")); +var _index87 = _interopRequireDefault(require("./getMilliseconds/index.js")); +var _index88 = _interopRequireDefault(require("./getMinutes/index.js")); +var _index89 = _interopRequireDefault(require("./getMonth/index.js")); +var _index90 = _interopRequireDefault(require("./getOverlappingDaysInIntervals/index.js")); +var _index91 = _interopRequireDefault(require("./getQuarter/index.js")); +var _index92 = _interopRequireDefault(require("./getSeconds/index.js")); +var _index93 = _interopRequireDefault(require("./getTime/index.js")); +var _index94 = _interopRequireDefault(require("./getUnixTime/index.js")); +var _index95 = _interopRequireDefault(require("./getWeek/index.js")); +var _index96 = _interopRequireDefault(require("./getWeekOfMonth/index.js")); +var _index97 = _interopRequireDefault(require("./getWeekYear/index.js")); +var _index98 = _interopRequireDefault(require("./getWeeksInMonth/index.js")); +var _index99 = _interopRequireDefault(require("./getYear/index.js")); +var _index100 = _interopRequireDefault(require("./hoursToMilliseconds/index.js")); +var _index101 = _interopRequireDefault(require("./hoursToMinutes/index.js")); +var _index102 = _interopRequireDefault(require("./hoursToSeconds/index.js")); +var _index103 = _interopRequireDefault(require("./intervalToDuration/index.js")); +var _index104 = _interopRequireDefault(require("./intlFormat/index.js")); +var _index105 = _interopRequireDefault(require("./intlFormatDistance/index.js")); +var _index106 = _interopRequireDefault(require("./isAfter/index.js")); +var _index107 = _interopRequireDefault(require("./isBefore/index.js")); +var _index108 = _interopRequireDefault(require("./isDate/index.js")); +var _index109 = _interopRequireDefault(require("./isEqual/index.js")); +var _index110 = _interopRequireDefault(require("./isExists/index.js")); +var _index111 = _interopRequireDefault(require("./isFirstDayOfMonth/index.js")); +var _index112 = _interopRequireDefault(require("./isFriday/index.js")); +var _index113 = _interopRequireDefault(require("./isFuture/index.js")); +var _index114 = _interopRequireDefault(require("./isLastDayOfMonth/index.js")); +var _index115 = _interopRequireDefault(require("./isLeapYear/index.js")); +var _index116 = _interopRequireDefault(require("./isMatch/index.js")); +var _index117 = _interopRequireDefault(require("./isMonday/index.js")); +var _index118 = _interopRequireDefault(require("./isPast/index.js")); +var _index119 = _interopRequireDefault(require("./isSameDay/index.js")); +var _index120 = _interopRequireDefault(require("./isSameHour/index.js")); +var _index121 = _interopRequireDefault(require("./isSameISOWeek/index.js")); +var _index122 = _interopRequireDefault(require("./isSameISOWeekYear/index.js")); +var _index123 = _interopRequireDefault(require("./isSameMinute/index.js")); +var _index124 = _interopRequireDefault(require("./isSameMonth/index.js")); +var _index125 = _interopRequireDefault(require("./isSameQuarter/index.js")); +var _index126 = _interopRequireDefault(require("./isSameSecond/index.js")); +var _index127 = _interopRequireDefault(require("./isSameWeek/index.js")); +var _index128 = _interopRequireDefault(require("./isSameYear/index.js")); +var _index129 = _interopRequireDefault(require("./isSaturday/index.js")); +var _index130 = _interopRequireDefault(require("./isSunday/index.js")); +var _index131 = _interopRequireDefault(require("./isThisHour/index.js")); +var _index132 = _interopRequireDefault(require("./isThisISOWeek/index.js")); +var _index133 = _interopRequireDefault(require("./isThisMinute/index.js")); +var _index134 = _interopRequireDefault(require("./isThisMonth/index.js")); +var _index135 = _interopRequireDefault(require("./isThisQuarter/index.js")); +var _index136 = _interopRequireDefault(require("./isThisSecond/index.js")); +var _index137 = _interopRequireDefault(require("./isThisWeek/index.js")); +var _index138 = _interopRequireDefault(require("./isThisYear/index.js")); +var _index139 = _interopRequireDefault(require("./isThursday/index.js")); +var _index140 = _interopRequireDefault(require("./isToday/index.js")); +var _index141 = _interopRequireDefault(require("./isTomorrow/index.js")); +var _index142 = _interopRequireDefault(require("./isTuesday/index.js")); +var _index143 = _interopRequireDefault(require("./isValid/index.js")); +var _index144 = _interopRequireDefault(require("./isWednesday/index.js")); +var _index145 = _interopRequireDefault(require("./isWeekend/index.js")); +var _index146 = _interopRequireDefault(require("./isWithinInterval/index.js")); +var _index147 = _interopRequireDefault(require("./isYesterday/index.js")); +var _index148 = _interopRequireDefault(require("./lastDayOfDecade/index.js")); +var _index149 = _interopRequireDefault(require("./lastDayOfISOWeek/index.js")); +var _index150 = _interopRequireDefault(require("./lastDayOfISOWeekYear/index.js")); +var _index151 = _interopRequireDefault(require("./lastDayOfMonth/index.js")); +var _index152 = _interopRequireDefault(require("./lastDayOfQuarter/index.js")); +var _index153 = _interopRequireDefault(require("./lastDayOfWeek/index.js")); +var _index154 = _interopRequireDefault(require("./lastDayOfYear/index.js")); +var _index155 = _interopRequireDefault(require("./lightFormat/index.js")); +var _index156 = _interopRequireDefault(require("./max/index.js")); +var _index157 = _interopRequireDefault(require("./milliseconds/index.js")); +var _index158 = _interopRequireDefault(require("./millisecondsToHours/index.js")); +var _index159 = _interopRequireDefault(require("./millisecondsToMinutes/index.js")); +var _index160 = _interopRequireDefault(require("./millisecondsToSeconds/index.js")); +var _index161 = _interopRequireDefault(require("./min/index.js")); +var _index162 = _interopRequireDefault(require("./minutesToHours/index.js")); +var _index163 = _interopRequireDefault(require("./minutesToMilliseconds/index.js")); +var _index164 = _interopRequireDefault(require("./minutesToSeconds/index.js")); +var _index165 = _interopRequireDefault(require("./monthsToQuarters/index.js")); +var _index166 = _interopRequireDefault(require("./monthsToYears/index.js")); +var _index167 = _interopRequireDefault(require("./nextDay/index.js")); +var _index168 = _interopRequireDefault(require("./nextFriday/index.js")); +var _index169 = _interopRequireDefault(require("./nextMonday/index.js")); +var _index170 = _interopRequireDefault(require("./nextSaturday/index.js")); +var _index171 = _interopRequireDefault(require("./nextSunday/index.js")); +var _index172 = _interopRequireDefault(require("./nextThursday/index.js")); +var _index173 = _interopRequireDefault(require("./nextTuesday/index.js")); +var _index174 = _interopRequireDefault(require("./nextWednesday/index.js")); +var _index175 = _interopRequireDefault(require("./parse/index.js")); +var _index176 = _interopRequireDefault(require("./parseISO/index.js")); +var _index177 = _interopRequireDefault(require("./parseJSON/index.js")); +var _index178 = _interopRequireDefault(require("./previousDay/index.js")); +var _index179 = _interopRequireDefault(require("./previousFriday/index.js")); +var _index180 = _interopRequireDefault(require("./previousMonday/index.js")); +var _index181 = _interopRequireDefault(require("./previousSaturday/index.js")); +var _index182 = _interopRequireDefault(require("./previousSunday/index.js")); +var _index183 = _interopRequireDefault(require("./previousThursday/index.js")); +var _index184 = _interopRequireDefault(require("./previousTuesday/index.js")); +var _index185 = _interopRequireDefault(require("./previousWednesday/index.js")); +var _index186 = _interopRequireDefault(require("./quartersToMonths/index.js")); +var _index187 = _interopRequireDefault(require("./quartersToYears/index.js")); +var _index188 = _interopRequireDefault(require("./roundToNearestMinutes/index.js")); +var _index189 = _interopRequireDefault(require("./secondsToHours/index.js")); +var _index190 = _interopRequireDefault(require("./secondsToMilliseconds/index.js")); +var _index191 = _interopRequireDefault(require("./secondsToMinutes/index.js")); +var _index192 = _interopRequireDefault(require("./set/index.js")); +var _index193 = _interopRequireDefault(require("./setDate/index.js")); +var _index194 = _interopRequireDefault(require("./setDay/index.js")); +var _index195 = _interopRequireDefault(require("./setDayOfYear/index.js")); +var _index196 = _interopRequireDefault(require("./setDefaultOptions/index.js")); +var _index197 = _interopRequireDefault(require("./setHours/index.js")); +var _index198 = _interopRequireDefault(require("./setISODay/index.js")); +var _index199 = _interopRequireDefault(require("./setISOWeek/index.js")); +var _index200 = _interopRequireDefault(require("./setISOWeekYear/index.js")); +var _index201 = _interopRequireDefault(require("./setMilliseconds/index.js")); +var _index202 = _interopRequireDefault(require("./setMinutes/index.js")); +var _index203 = _interopRequireDefault(require("./setMonth/index.js")); +var _index204 = _interopRequireDefault(require("./setQuarter/index.js")); +var _index205 = _interopRequireDefault(require("./setSeconds/index.js")); +var _index206 = _interopRequireDefault(require("./setWeek/index.js")); +var _index207 = _interopRequireDefault(require("./setWeekYear/index.js")); +var _index208 = _interopRequireDefault(require("./setYear/index.js")); +var _index209 = _interopRequireDefault(require("./startOfDay/index.js")); +var _index210 = _interopRequireDefault(require("./startOfDecade/index.js")); +var _index211 = _interopRequireDefault(require("./startOfHour/index.js")); +var _index212 = _interopRequireDefault(require("./startOfISOWeek/index.js")); +var _index213 = _interopRequireDefault(require("./startOfISOWeekYear/index.js")); +var _index214 = _interopRequireDefault(require("./startOfMinute/index.js")); +var _index215 = _interopRequireDefault(require("./startOfMonth/index.js")); +var _index216 = _interopRequireDefault(require("./startOfQuarter/index.js")); +var _index217 = _interopRequireDefault(require("./startOfSecond/index.js")); +var _index218 = _interopRequireDefault(require("./startOfToday/index.js")); +var _index219 = _interopRequireDefault(require("./startOfTomorrow/index.js")); +var _index220 = _interopRequireDefault(require("./startOfWeek/index.js")); +var _index221 = _interopRequireDefault(require("./startOfWeekYear/index.js")); +var _index222 = _interopRequireDefault(require("./startOfYear/index.js")); +var _index223 = _interopRequireDefault(require("./startOfYesterday/index.js")); +var _index224 = _interopRequireDefault(require("./sub/index.js")); +var _index225 = _interopRequireDefault(require("./subBusinessDays/index.js")); +var _index226 = _interopRequireDefault(require("./subDays/index.js")); +var _index227 = _interopRequireDefault(require("./subHours/index.js")); +var _index228 = _interopRequireDefault(require("./subISOWeekYears/index.js")); +var _index229 = _interopRequireDefault(require("./subMilliseconds/index.js")); +var _index230 = _interopRequireDefault(require("./subMinutes/index.js")); +var _index231 = _interopRequireDefault(require("./subMonths/index.js")); +var _index232 = _interopRequireDefault(require("./subQuarters/index.js")); +var _index233 = _interopRequireDefault(require("./subSeconds/index.js")); +var _index234 = _interopRequireDefault(require("./subWeeks/index.js")); +var _index235 = _interopRequireDefault(require("./subYears/index.js")); +var _index236 = _interopRequireDefault(require("./toDate/index.js")); +var _index237 = _interopRequireDefault(require("./weeksToDays/index.js")); +var _index238 = _interopRequireDefault(require("./yearsToMonths/index.js")); +var _index239 = _interopRequireDefault(require("./yearsToQuarters/index.js")); +var _index240 = require("./constants/index.js"); +Object.keys(_index240).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index240[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _index240[key]; + } + }); +}); \ No newline at end of file diff --git a/node_modules/date-fns/index.js.flow b/node_modules/date-fns/index.js.flow new file mode 100644 index 000000000..b9cfcbf35 --- /dev/null +++ b/node_modules/date-fns/index.js.flow @@ -0,0 +1,926 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: { + add: (date: Date | number, duration: Duration) => Date, + + addBusinessDays: (date: Date | number, amount: number) => Date, + + addDays: (date: Date | number, amount: number) => Date, + + addHours: (date: Date | number, amount: number) => Date, + + addISOWeekYears: (date: Date | number, amount: number) => Date, + + addMilliseconds: (date: Date | number, amount: number) => Date, + + addMinutes: (date: Date | number, amount: number) => Date, + + addMonths: (date: Date | number, amount: number) => Date, + + addQuarters: (date: Date | number, amount: number) => Date, + + addSeconds: (date: Date | number, amount: number) => Date, + + addWeeks: (date: Date | number, amount: number) => Date, + + addYears: (date: Date | number, amount: number) => Date, + + areIntervalsOverlapping: ( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean, + } + ) => boolean, + + clamp: (date: Date | number, interval: Interval) => Date, + + closestIndexTo: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ) => ?number, + + closestTo: ( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ) => ?Date, + + compareAsc: (dateLeft: Date | number, dateRight: Date | number) => number, + + compareDesc: (dateLeft: Date | number, dateRight: Date | number) => number, + + daysToWeeks: (days: number) => number, + + differenceInBusinessDays: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarDays: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarISOWeeks: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarISOWeekYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarMonths: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarQuarters: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInCalendarWeeks: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => number, + + differenceInCalendarYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInDays: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInHours: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInISOWeekYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInMilliseconds: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInMinutes: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInMonths: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + differenceInQuarters: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInSeconds: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInWeeks: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string, + } + ) => number, + + differenceInYears: ( + dateLeft: Date | number, + dateRight: Date | number + ) => number, + + eachDayOfInterval: ( + interval: Interval, + options?: { + step?: number, + } + ) => Date[], + + eachHourOfInterval: ( + interval: Interval, + options?: { + step?: number, + } + ) => Date[], + + eachMinuteOfInterval: ( + interval: Interval, + options?: { + step?: number, + } + ) => Date[], + + eachMonthOfInterval: (interval: Interval) => Date[], + + eachQuarterOfInterval: (interval: Interval) => Date[], + + eachWeekendOfInterval: (interval: Interval) => Date[], + + eachWeekendOfMonth: (date: Date | number) => Date[], + + eachWeekendOfYear: (date: Date | number) => Date[], + + eachWeekOfInterval: ( + interval: Interval, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date[], + + eachYearOfInterval: (interval: Interval) => Date[], + + endOfDay: (date: Date | number) => Date, + + endOfDecade: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } + ) => Date, + + endOfHour: (date: Date | number) => Date, + + endOfISOWeek: (date: Date | number) => Date, + + endOfISOWeekYear: (date: Date | number) => Date, + + endOfMinute: (date: Date | number) => Date, + + endOfMonth: (date: Date | number) => Date, + + endOfQuarter: (date: Date | number) => Date, + + endOfSecond: (date: Date | number) => Date, + + endOfToday: () => Date, + + endOfTomorrow: () => Date, + + endOfWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + endOfYear: (date: Date | number) => Date, + + endOfYesterday: () => Date, + + format: ( + date: Date | number, + format: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: number, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } + ) => string, + + formatDistance: ( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } + ) => string, + + formatDistanceStrict: ( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } + ) => string, + + formatDistanceToNow: ( + date: Date | number, + options?: { + includeSeconds?: boolean, + addSuffix?: boolean, + locale?: Locale, + } + ) => string, + + formatDistanceToNowStrict: ( + date: Date | number, + options?: { + addSuffix?: boolean, + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', + roundingMethod?: 'floor' | 'ceil' | 'round', + locale?: Locale, + } + ) => string, + + formatDuration: ( + duration: Duration, + options?: { + format?: string[], + zero?: boolean, + delimiter?: string, + locale?: Locale, + } + ) => string, + + formatISO: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } + ) => string, + + formatISO9075: ( + date: Date | number, + options?: { + format?: 'extended' | 'basic', + representation?: 'complete' | 'date' | 'time', + } + ) => string, + + formatISODuration: (duration: Duration) => string, + + formatRelative: ( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => string, + + formatRFC3339: ( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3, + } + ) => string, + + formatRFC7231: (date: Date | number) => string, + + fromUnixTime: (unixTime: number) => Date, + + getDate: (date: Date | number) => number, + + getDay: (date: Date | number) => 0 | 1 | 2 | 3 | 4 | 5 | 6, + + getDayOfYear: (date: Date | number) => number, + + getDaysInMonth: (date: Date | number) => number, + + getDaysInYear: (date: Date | number) => number, + + getDecade: (date: Date | number) => number, + + getDefaultOptions: () => Object, + + getHours: (date: Date | number) => number, + + getISODay: (date: Date | number) => number, + + getISOWeek: (date: Date | number) => number, + + getISOWeeksInYear: (date: Date | number) => number, + + getISOWeekYear: (date: Date | number) => number, + + getMilliseconds: (date: Date | number) => number, + + getMinutes: (date: Date | number) => number, + + getMonth: (date: Date | number) => number, + + getOverlappingDaysInIntervals: ( + intervalLeft: Interval, + intervalRight: Interval + ) => number, + + getQuarter: (date: Date | number) => number, + + getSeconds: (date: Date | number) => number, + + getTime: (date: Date | number) => number, + + getUnixTime: (date: Date | number) => number, + + getWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => number, + + getWeekOfMonth: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => number, + + getWeeksInMonth: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => number, + + getWeekYear: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => number, + + getYear: (date: Date | number) => number, + + hoursToMilliseconds: (hours: number) => number, + + hoursToMinutes: (hours: number) => number, + + hoursToSeconds: (hours: number) => number, + + intervalToDuration: (interval: Interval) => Duration, + + intlFormat: ( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit', + weekday?: 'narrow' | 'short' | 'long', + era?: 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + day?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + second?: 'numeric' | '2-digit', + timeZoneName?: 'short' | 'long', + formatMatcher?: 'basic' | 'best fit', + hour12?: boolean, + timeZone?: string, + }, + localeOptions?: { + locale?: string | string[], + } + ) => string, + + intlFormatDistance: ( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string, + locale?: string | string[], + localeMatcher?: string, + numeric?: string, + style?: string, + } + ) => string, + + isAfter: (date: Date | number, dateToCompare: Date | number) => boolean, + + isBefore: (date: Date | number, dateToCompare: Date | number) => boolean, + + isDate: (value: any) => boolean, + + isEqual: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isExists: (year: number, month: number, day: number) => boolean, + + isFirstDayOfMonth: (date: Date | number) => boolean, + + isFriday: (date: Date | number) => boolean, + + isFuture: (date: Date | number) => boolean, + + isLastDayOfMonth: (date: Date | number) => boolean, + + isLeapYear: (date: Date | number) => boolean, + + isMatch: ( + dateString: string, + formatString: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } + ) => boolean, + + isMonday: (date: Date | number) => boolean, + + isPast: (date: Date | number) => boolean, + + isSameDay: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameHour: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameISOWeek: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameISOWeekYear: ( + dateLeft: Date | number, + dateRight: Date | number + ) => boolean, + + isSameMinute: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameMonth: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameQuarter: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameSecond: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSameWeek: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => boolean, + + isSameYear: (dateLeft: Date | number, dateRight: Date | number) => boolean, + + isSaturday: (date: Date | number) => boolean, + + isSunday: (date: Date | number) => boolean, + + isThisHour: (date: Date | number) => boolean, + + isThisISOWeek: (date: Date | number) => boolean, + + isThisMinute: (date: Date | number) => boolean, + + isThisMonth: (date: Date | number) => boolean, + + isThisQuarter: (date: Date | number) => boolean, + + isThisSecond: (date: Date | number) => boolean, + + isThisWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => boolean, + + isThisYear: (date: Date | number) => boolean, + + isThursday: (date: Date | number) => boolean, + + isToday: (date: Date | number) => boolean, + + isTomorrow: (date: Date | number) => boolean, + + isTuesday: (date: Date | number) => boolean, + + isValid: (date: any) => boolean, + + isWednesday: (date: Date | number) => boolean, + + isWeekend: (date: Date | number) => boolean, + + isWithinInterval: (date: Date | number, interval: Interval) => boolean, + + isYesterday: (date: Date | number) => boolean, + + lastDayOfDecade: (date: Date | number) => Date, + + lastDayOfISOWeek: (date: Date | number) => Date, + + lastDayOfISOWeekYear: (date: Date | number) => Date, + + lastDayOfMonth: (date: Date | number) => Date, + + lastDayOfQuarter: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } + ) => Date, + + lastDayOfWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + lastDayOfYear: (date: Date | number) => Date, + + lightFormat: (date: Date | number, format: string) => string, + + max: (datesArray: (Date | number)[]) => Date, + + milliseconds: (duration: Duration) => number, + + millisecondsToHours: (milliseconds: number) => number, + + millisecondsToMinutes: (milliseconds: number) => number, + + millisecondsToSeconds: (milliseconds: number) => number, + + min: (datesArray: (Date | number)[]) => Date, + + minutesToHours: (minutes: number) => number, + + minutesToMilliseconds: (minutes: number) => number, + + minutesToSeconds: (minutes: number) => number, + + monthsToQuarters: (months: number) => number, + + monthsToYears: (months: number) => number, + + nextDay: (date: Date | number, day: Day) => Date, + + nextFriday: (date: Date | number) => Date, + + nextMonday: (date: Date | number) => Date, + + nextSaturday: (date: Date | number) => Date, + + nextSunday: (date: Date | number) => Date, + + nextThursday: (date: Date | number) => Date, + + nextTuesday: (date: Date | number) => Date, + + nextWednesday: (date: Date | number) => Date, + + parse: ( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } + ) => Date, + + parseISO: ( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2, + } + ) => Date, + + parseJSON: (argument: string | number | Date) => Date, + + previousDay: (date: Date | number, day: number) => Date, + + previousFriday: (date: Date | number) => Date, + + previousMonday: (date: Date | number) => Date, + + previousSaturday: (date: Date | number) => Date, + + previousSunday: (date: Date | number) => Date, + + previousThursday: (date: Date | number) => Date, + + previousTuesday: (date: Date | number) => Date, + + previousWednesday: (date: Date | number) => Date, + + quartersToMonths: (quarters: number) => number, + + quartersToYears: (quarters: number) => number, + + roundToNearestMinutes: ( + date: Date | number, + options?: { + nearestTo?: number, + roundingMethod?: string, + } + ) => Date, + + secondsToHours: (seconds: number) => number, + + secondsToMilliseconds: (seconds: number) => number, + + secondsToMinutes: (seconds: number) => number, + + set: ( + date: Date | number, + values: { + year?: number, + month?: number, + date?: number, + hours?: number, + minutes?: number, + seconds?: number, + milliseconds?: number, + } + ) => Date, + + setDate: (date: Date | number, dayOfMonth: number) => Date, + + setDay: ( + date: Date | number, + day: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + setDayOfYear: (date: Date | number, dayOfYear: number) => Date, + + setDefaultOptions: (newOptions: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }) => void, + + setHours: (date: Date | number, hours: number) => Date, + + setISODay: (date: Date | number, day: number) => Date, + + setISOWeek: (date: Date | number, isoWeek: number) => Date, + + setISOWeekYear: (date: Date | number, isoWeekYear: number) => Date, + + setMilliseconds: (date: Date | number, milliseconds: number) => Date, + + setMinutes: (date: Date | number, minutes: number) => Date, + + setMonth: (date: Date | number, month: number) => Date, + + setQuarter: (date: Date | number, quarter: number) => Date, + + setSeconds: (date: Date | number, seconds: number) => Date, + + setWeek: ( + date: Date | number, + week: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => Date, + + setWeekYear: ( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => Date, + + setYear: (date: Date | number, year: number) => Date, + + startOfDay: (date: Date | number) => Date, + + startOfDecade: (date: Date | number) => Date, + + startOfHour: (date: Date | number) => Date, + + startOfISOWeek: (date: Date | number) => Date, + + startOfISOWeekYear: (date: Date | number) => Date, + + startOfMinute: (date: Date | number) => Date, + + startOfMonth: (date: Date | number) => Date, + + startOfQuarter: (date: Date | number) => Date, + + startOfSecond: (date: Date | number) => Date, + + startOfToday: () => Date, + + startOfTomorrow: () => Date, + + startOfWeek: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } + ) => Date, + + startOfWeekYear: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } + ) => Date, + + startOfYear: (date: Date | number) => Date, + + startOfYesterday: () => Date, + + sub: (date: Date | number, duration: Duration) => Date, + + subBusinessDays: (date: Date | number, amount: number) => Date, + + subDays: (date: Date | number, amount: number) => Date, + + subHours: (date: Date | number, amount: number) => Date, + + subISOWeekYears: (date: Date | number, amount: number) => Date, + + subMilliseconds: (date: Date | number, amount: number) => Date, + + subMinutes: (date: Date | number, amount: number) => Date, + + subMonths: (date: Date | number, amount: number) => Date, + + subQuarters: (date: Date | number, amount: number) => Date, + + subSeconds: (date: Date | number, amount: number) => Date, + + subWeeks: (date: Date | number, amount: number) => Date, + + subYears: (date: Date | number, amount: number) => Date, + + toDate: (argument: Date | number) => Date, + + weeksToDays: (weeks: number) => number, + + yearsToMonths: (years: number) => number, + + yearsToQuarters: (years: number) => number, + + daysInWeek: number, + + daysInYear: number, + + maxTime: number, + + millisecondsInMinute: number, + + millisecondsInHour: number, + + millisecondsInSecond: number, + + minTime: number, + + minutesInHour: number, + + monthsInQuarter: number, + + monthsInYear: number, + + quartersInYear: number, + + secondsInHour: number, + + secondsInMinute: number, + + secondsInDay: number, + + secondsInWeek: number, + + secondsInYear: number, + + secondsInMonth: number, + + secondsInQuarter: number, +} diff --git a/node_modules/date-fns/intervalToDuration/index.d.ts b/node_modules/date-fns/intervalToDuration/index.d.ts new file mode 100644 index 000000000..ce7bc762d --- /dev/null +++ b/node_modules/date-fns/intervalToDuration/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intervalToDuration } from 'date-fns' +export default intervalToDuration diff --git a/node_modules/date-fns/intervalToDuration/index.js b/node_modules/date-fns/intervalToDuration/index.js new file mode 100644 index 000000000..9a7ebf9c3 --- /dev/null +++ b/node_modules/date-fns/intervalToDuration/index.js @@ -0,0 +1,72 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = intervalToDuration; +var _index = _interopRequireDefault(require("../compareAsc/index.js")); +var _index2 = _interopRequireDefault(require("../add/index.js")); +var _index3 = _interopRequireDefault(require("../differenceInDays/index.js")); +var _index4 = _interopRequireDefault(require("../differenceInHours/index.js")); +var _index5 = _interopRequireDefault(require("../differenceInMinutes/index.js")); +var _index6 = _interopRequireDefault(require("../differenceInMonths/index.js")); +var _index7 = _interopRequireDefault(require("../differenceInSeconds/index.js")); +var _index8 = _interopRequireDefault(require("../differenceInYears/index.js")); +var _index9 = _interopRequireDefault(require("../toDate/index.js")); +var _index10 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name intervalToDuration + * @category Common Helpers + * @summary Convert interval to duration + * + * @description + * Convert a interval object to a duration object. + * + * @param {Interval} interval - the interval to convert to duration + * + * @returns {Duration} The duration Object + * @throws {TypeError} Requires 2 arguments + * @throws {RangeError} `start` must not be Invalid Date + * @throws {RangeError} `end` must not be Invalid Date + * + * @example + * // Get the duration between January 15, 1929 and April 4, 1968. + * intervalToDuration({ + * start: new Date(1929, 0, 15, 12, 0, 0), + * end: new Date(1968, 3, 4, 19, 5, 0) + * }) + * // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 } + */ +function intervalToDuration(interval) { + (0, _index10.default)(1, arguments); + var start = (0, _index9.default)(interval.start); + var end = (0, _index9.default)(interval.end); + if (isNaN(start.getTime())) throw new RangeError('Start Date is invalid'); + if (isNaN(end.getTime())) throw new RangeError('End Date is invalid'); + var duration = {}; + duration.years = Math.abs((0, _index8.default)(end, start)); + var sign = (0, _index.default)(end, start); + var remainingMonths = (0, _index2.default)(start, { + years: sign * duration.years + }); + duration.months = Math.abs((0, _index6.default)(end, remainingMonths)); + var remainingDays = (0, _index2.default)(remainingMonths, { + months: sign * duration.months + }); + duration.days = Math.abs((0, _index3.default)(end, remainingDays)); + var remainingHours = (0, _index2.default)(remainingDays, { + days: sign * duration.days + }); + duration.hours = Math.abs((0, _index4.default)(end, remainingHours)); + var remainingMinutes = (0, _index2.default)(remainingHours, { + hours: sign * duration.hours + }); + duration.minutes = Math.abs((0, _index5.default)(end, remainingMinutes)); + var remainingSeconds = (0, _index2.default)(remainingMinutes, { + minutes: sign * duration.minutes + }); + duration.seconds = Math.abs((0, _index7.default)(end, remainingSeconds)); + return duration; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/intervalToDuration/index.js.flow b/node_modules/date-fns/intervalToDuration/index.js.flow new file mode 100644 index 000000000..dbd61eec2 --- /dev/null +++ b/node_modules/date-fns/intervalToDuration/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (interval: Interval) => Duration diff --git a/node_modules/date-fns/intervalToDuration/package.json b/node_modules/date-fns/intervalToDuration/package.json new file mode 100644 index 000000000..30e149706 --- /dev/null +++ b/node_modules/date-fns/intervalToDuration/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/intervalToDuration/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/intlFormat/index.d.ts b/node_modules/date-fns/intlFormat/index.d.ts new file mode 100644 index 000000000..fc29cf582 --- /dev/null +++ b/node_modules/date-fns/intlFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormat } from 'date-fns' +export default intlFormat diff --git a/node_modules/date-fns/intlFormat/index.js b/node_modules/date-fns/intlFormat/index.js new file mode 100644 index 000000000..68161118d --- /dev/null +++ b/node_modules/date-fns/intlFormat/index.js @@ -0,0 +1,93 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = intlFormat; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name intlFormat + * @category Common Helpers + * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). + * + * @description + * Return the formatted date string in the given format. + * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. + * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) + * + * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. + * + * @param {Date|Number} argument - the original date. + * @param {Object} [formatOptions] - an object with options. + * @param {'lookup'|'best fit'} [formatOptions.localeMatcher='best fit'] - locale selection algorithm. + * @param {'narrow'|'short'|'long'} [formatOptions.weekday] - representation the days of the week. + * @param {'narrow'|'short'|'long'} [formatOptions.era] - representation of eras. + * @param {'numeric'|'2-digit'} [formatOptions.year] - representation of years. + * @param {'numeric'|'2-digit'|'narrow'|'short'|'long'} [formatOptions.month='numeric'] - representation of month. + * @param {'numeric'|'2-digit'} [formatOptions.day='numeric'] - representation of day. + * @param {'numeric'|'2-digit'} [formatOptions.hour='numeric'] - representation of hours. + * @param {'numeric'|'2-digit'} [formatOptions.minute] - representation of minutes. + * @param {'numeric'|'2-digit'} [formatOptions.second] - representation of seconds. + * @param {'short'|'long'} [formatOptions.timeZoneName] - representation of names of time zones. + * @param {'basic'|'best fit'} [formatOptions.formatMatcher='best fit'] - format selection algorithm. + * @param {Boolean} [formatOptions.hour12] - determines whether to use 12-hour time format. + * @param {String} [formatOptions.timeZone] - the time zone to use. + * @param {Object} [localeOptions] - an object with locale. + * @param {String|String[]} [localeOptions.locale] - the locale code + * @returns {String} the formatted date string. + * @throws {TypeError} 1 argument required. + * @throws {RangeError} `date` must not be Invalid Date + * + * @example + * // Represent 10 October 2019 in German. + * // Convert the date with format's options and locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * weekday: 'long', + * year: 'numeric', + * month: 'long', + * day: 'numeric', + * }, { + * locale: 'de-DE', + * }) + * //=> Freitag, 4. Oktober 2019 + * + * @example + * // Represent 10 October 2019. + * // Convert the date with format's options. + * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { + * year: 'numeric', + * month: 'numeric', + * day: 'numeric', + * hour: 'numeric', + * }) + * //=> 10/4/2019, 12 PM + * + * @example + * // Represent 10 October 2019 in Korean. + * // Convert the date with locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * locale: 'ko-KR', + * }) + * //=> 2019. 10. 4. + * + * @example + * // Represent 10 October 2019 in middle-endian format: + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) + * //=> 10/4/2019 + */ +function intlFormat(date, formatOrLocale, localeOptions) { + var _localeOptions; + (0, _index.default)(1, arguments); + var formatOptions; + if (isFormatOptions(formatOrLocale)) { + formatOptions = formatOrLocale; + } else { + localeOptions = formatOrLocale; + } + return new Intl.DateTimeFormat((_localeOptions = localeOptions) === null || _localeOptions === void 0 ? void 0 : _localeOptions.locale, formatOptions).format(date); +} +function isFormatOptions(opts) { + return opts !== undefined && !('locale' in opts); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/intlFormat/index.js.flow b/node_modules/date-fns/intlFormat/index.js.flow new file mode 100644 index 000000000..adc0bb4fd --- /dev/null +++ b/node_modules/date-fns/intlFormat/index.js.flow @@ -0,0 +1,72 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit', + weekday?: 'narrow' | 'short' | 'long', + era?: 'narrow' | 'short' | 'long', + year?: 'numeric' | '2-digit', + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long', + day?: 'numeric' | '2-digit', + hour?: 'numeric' | '2-digit', + minute?: 'numeric' | '2-digit', + second?: 'numeric' | '2-digit', + timeZoneName?: 'short' | 'long', + formatMatcher?: 'basic' | 'best fit', + hour12?: boolean, + timeZone?: string, + }, + localeOptions?: { + locale?: string | string[], + } +) => string diff --git a/node_modules/date-fns/intlFormat/package.json b/node_modules/date-fns/intlFormat/package.json new file mode 100644 index 000000000..91c0bb5c1 --- /dev/null +++ b/node_modules/date-fns/intlFormat/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/intlFormat/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/intlFormatDistance/index.d.ts b/node_modules/date-fns/intlFormatDistance/index.d.ts new file mode 100644 index 000000000..fe2e15cf6 --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { intlFormatDistance } from 'date-fns' +export default intlFormatDistance diff --git a/node_modules/date-fns/intlFormatDistance/index.js b/node_modules/date-fns/intlFormatDistance/index.js new file mode 100644 index 000000000..cd765cf5a --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance/index.js @@ -0,0 +1,188 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = intlFormatDistance; +var _index = require("../constants/index.js"); +var _index2 = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index3 = _interopRequireDefault(require("../differenceInCalendarMonths/index.js")); +var _index4 = _interopRequireDefault(require("../differenceInCalendarQuarters/index.js")); +var _index5 = _interopRequireDefault(require("../differenceInCalendarWeeks/index.js")); +var _index6 = _interopRequireDefault(require("../differenceInCalendarYears/index.js")); +var _index7 = _interopRequireDefault(require("../differenceInHours/index.js")); +var _index8 = _interopRequireDefault(require("../differenceInMinutes/index.js")); +var _index9 = _interopRequireDefault(require("../differenceInSeconds/index.js")); +var _index10 = _interopRequireDefault(require("../toDate/index.js")); +var _index11 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name intlFormatDistance + * @category Common Helpers + * @summary Formats distance between two dates in a human-readable format + * @description + * The function calculates the difference between two dates and formats it as a human-readable string. + * + * The function will pick the most appropriate unit depending on the distance between dates. For example, if the distance is a few hours, it might return `x hours`. If the distance is a few months, it might return `x months`. + * + * You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`. + * + * See the table below for the unit picking logic: + * + * | Distance between dates | Result (past) | Result (future) | + * | ---------------------- | -------------- | --------------- | + * | 0 seconds | now | now | + * | 1-59 seconds | X seconds ago | in X seconds | + * | 1-59 minutes | X minutes ago | in X minutes | + * | 1-23 hours | X hours ago | in X hours | + * | 1 day | yesterday | tomorrow | + * | 2-6 days | X days ago | in X days | + * | 7 days | last week | next week | + * | 8 days-1 month | X weeks ago | in X weeks | + * | 1 month | last month | next month | + * | 2-3 months | X months ago | in X months | + * | 1 quarter | last quarter | next quarter | + * | 2-3 quarters | X quarters ago | in X quarters | + * | 1 year | last year | next year | + * | 2+ years | X years ago | in X years | + * + * @param {Date|Number} date - the date + * @param {Date|Number} baseDate - the date to compare with. + * @param {Object} [options] - an object with options. + * @param {String} [options.unit] - formats the distance with the given unit ('year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second'). + * @param {String|String[]} [options.locale] - the locale to use. + * @param {String} [options.localeMatcher='best fit'] - the locale matching algorithm to use. Other value: 'lookup'. + * See MDN for details [Locale identification and negotiation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * @param {String} [options.numeric='auto'] - the output message format. The values are 'auto' (e.g. `yesterday`), 'always'(e.g. `1 day ago`). + * @param {String} [options.style='long'] - the length of the result. The values are: 'long' (e.g. `1 month`), 'short' (e.g. 'in 1 mo.'), 'narrow' (e.g. 'in 1 mo.'). + * The narrow one could be similar to the short one for some locales. + * @returns {String} the distance in words according to language-sensitive relative time formatting. + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `date` must not be Invalid Date + * @throws {RangeError} `baseDate` must not be Invalid Date + * @throws {RangeError} `options.unit` must not be invalid Unit + * @throws {RangeError} `options.locale` must not be invalid locale + * @throws {RangeError} `options.localeMatcher` must not be invalid localeMatcher + * @throws {RangeError} `options.numeric` must not be invalid numeric + * @throws {RangeError} `options.style` must not be invalid style + * + * @example + * // What is the distance between the dates when the fist date is after the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0) + * ) + * //=> 'in 1 hour' + * + * // What is the distance between the dates when the fist date is before the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 10, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0) + * ) + * //=> '1 hour ago' + * + * @example + * // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year" + * intlFormatDistance( + * new Date(1987, 6, 4, 10, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { unit: 'quarter' } + * ) + * //=> 'in 5 quarters' + * + * @example + * // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour". + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { locale: 'es' } + * ) + * //=> 'dentro de 1 hora' + * + * @example + * // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow". + * intlFormatDistance( + * new Date(1986, 3, 5, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { numeric: 'always' } + * ) + * //=> 'in 1 day' + * + * @example + * // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years". + * intlFormatDistance( + * new Date(1988, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { style: 'short' } + * ) + * //=> 'in 2 yr' + */ +function intlFormatDistance(date, baseDate, options) { + (0, _index11.default)(2, arguments); + var value = 0; + var unit; + var dateLeft = (0, _index10.default)(date); + var dateRight = (0, _index10.default)(baseDate); + if (!(options !== null && options !== void 0 && options.unit)) { + // Get the unit based on diffInSeconds calculations if no unit is specified + var diffInSeconds = (0, _index9.default)(dateLeft, dateRight); // The smallest unit + + if (Math.abs(diffInSeconds) < _index.secondsInMinute) { + value = (0, _index9.default)(dateLeft, dateRight); + unit = 'second'; + } else if (Math.abs(diffInSeconds) < _index.secondsInHour) { + value = (0, _index8.default)(dateLeft, dateRight); + unit = 'minute'; + } else if (Math.abs(diffInSeconds) < _index.secondsInDay && Math.abs((0, _index2.default)(dateLeft, dateRight)) < 1) { + value = (0, _index7.default)(dateLeft, dateRight); + unit = 'hour'; + } else if (Math.abs(diffInSeconds) < _index.secondsInWeek && (value = (0, _index2.default)(dateLeft, dateRight)) && Math.abs(value) < 7) { + unit = 'day'; + } else if (Math.abs(diffInSeconds) < _index.secondsInMonth) { + value = (0, _index5.default)(dateLeft, dateRight); + unit = 'week'; + } else if (Math.abs(diffInSeconds) < _index.secondsInQuarter) { + value = (0, _index3.default)(dateLeft, dateRight); + unit = 'month'; + } else if (Math.abs(diffInSeconds) < _index.secondsInYear) { + if ((0, _index4.default)(dateLeft, dateRight) < 4) { + // To filter out cases that are less than a year but match 4 quarters + value = (0, _index4.default)(dateLeft, dateRight); + unit = 'quarter'; + } else { + value = (0, _index6.default)(dateLeft, dateRight); + unit = 'year'; + } + } else { + value = (0, _index6.default)(dateLeft, dateRight); + unit = 'year'; + } + } else { + // Get the value if unit is specified + unit = options === null || options === void 0 ? void 0 : options.unit; + if (unit === 'second') { + value = (0, _index9.default)(dateLeft, dateRight); + } else if (unit === 'minute') { + value = (0, _index8.default)(dateLeft, dateRight); + } else if (unit === 'hour') { + value = (0, _index7.default)(dateLeft, dateRight); + } else if (unit === 'day') { + value = (0, _index2.default)(dateLeft, dateRight); + } else if (unit === 'week') { + value = (0, _index5.default)(dateLeft, dateRight); + } else if (unit === 'month') { + value = (0, _index3.default)(dateLeft, dateRight); + } else if (unit === 'quarter') { + value = (0, _index4.default)(dateLeft, dateRight); + } else if (unit === 'year') { + value = (0, _index6.default)(dateLeft, dateRight); + } + } + var rtf = new Intl.RelativeTimeFormat(options === null || options === void 0 ? void 0 : options.locale, { + localeMatcher: options === null || options === void 0 ? void 0 : options.localeMatcher, + numeric: (options === null || options === void 0 ? void 0 : options.numeric) || 'auto', + style: options === null || options === void 0 ? void 0 : options.style + }); + return rtf.format(value, unit); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/intlFormatDistance/index.js.flow b/node_modules/date-fns/intlFormatDistance/index.js.flow new file mode 100644 index 000000000..bea24df8e --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance/index.js.flow @@ -0,0 +1,62 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string, + locale?: string | string[], + localeMatcher?: string, + numeric?: string, + style?: string, + } +) => string diff --git a/node_modules/date-fns/intlFormatDistance/package.json b/node_modules/date-fns/intlFormatDistance/package.json new file mode 100644 index 000000000..64bce60a7 --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/intlFormatDistance/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isAfter/index.d.ts b/node_modules/date-fns/isAfter/index.d.ts new file mode 100644 index 000000000..0ef024b3c --- /dev/null +++ b/node_modules/date-fns/isAfter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isAfter } from 'date-fns' +export default isAfter diff --git a/node_modules/date-fns/isAfter/index.js b/node_modules/date-fns/isAfter/index.js new file mode 100644 index 000000000..86c66f81c --- /dev/null +++ b/node_modules/date-fns/isAfter/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isAfter; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param {Date|Number} date - the date that should be after the other one to return true + * @param {Date|Number} dateToCompare - the date to compare with + * @returns {Boolean} the first date is after the second date + * @throws {TypeError} 2 arguments required + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ +function isAfter(dirtyDate, dirtyDateToCompare) { + (0, _index2.default)(2, arguments); + var date = (0, _index.default)(dirtyDate); + var dateToCompare = (0, _index.default)(dirtyDateToCompare); + return date.getTime() > dateToCompare.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isAfter/index.js.flow b/node_modules/date-fns/isAfter/index.js.flow new file mode 100644 index 000000000..3cb525c90 --- /dev/null +++ b/node_modules/date-fns/isAfter/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + dateToCompare: Date | number +) => boolean diff --git a/node_modules/date-fns/isAfter/package.json b/node_modules/date-fns/isAfter/package.json new file mode 100644 index 000000000..91ba7dce2 --- /dev/null +++ b/node_modules/date-fns/isAfter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isAfter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isBefore/index.d.ts b/node_modules/date-fns/isBefore/index.d.ts new file mode 100644 index 000000000..127ed7ed5 --- /dev/null +++ b/node_modules/date-fns/isBefore/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isBefore } from 'date-fns' +export default isBefore diff --git a/node_modules/date-fns/isBefore/index.js b/node_modules/date-fns/isBefore/index.js new file mode 100644 index 000000000..49225ed39 --- /dev/null +++ b/node_modules/date-fns/isBefore/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isBefore; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param {Date|Number} date - the date that should be before the other one to return true + * @param {Date|Number} dateToCompare - the date to compare with + * @returns {Boolean} the first date is before the second date + * @throws {TypeError} 2 arguments required + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ +function isBefore(dirtyDate, dirtyDateToCompare) { + (0, _index2.default)(2, arguments); + var date = (0, _index.default)(dirtyDate); + var dateToCompare = (0, _index.default)(dirtyDateToCompare); + return date.getTime() < dateToCompare.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isBefore/index.js.flow b/node_modules/date-fns/isBefore/index.js.flow new file mode 100644 index 000000000..3cb525c90 --- /dev/null +++ b/node_modules/date-fns/isBefore/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + dateToCompare: Date | number +) => boolean diff --git a/node_modules/date-fns/isBefore/package.json b/node_modules/date-fns/isBefore/package.json new file mode 100644 index 000000000..611b1d803 --- /dev/null +++ b/node_modules/date-fns/isBefore/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isBefore/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isDate/index.d.ts b/node_modules/date-fns/isDate/index.d.ts new file mode 100644 index 000000000..518477ecc --- /dev/null +++ b/node_modules/date-fns/isDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isDate } from 'date-fns' +export default isDate diff --git a/node_modules/date-fns/isDate/index.js b/node_modules/date-fns/isDate/index.js new file mode 100644 index 000000000..a89f05b0d --- /dev/null +++ b/node_modules/date-fns/isDate/index.js @@ -0,0 +1,46 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isDate; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param {*} value - the value to check + * @returns {boolean} true if the given value is a date + * @throws {TypeError} 1 arguments required + * + * @example + * // For a valid date: + * const result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * const result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * const result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * const result = isDate({}) + * //=> false + */ +function isDate(value) { + (0, _index.default)(1, arguments); + return value instanceof Date || (0, _typeof2.default)(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]'; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isDate/index.js.flow b/node_modules/date-fns/isDate/index.js.flow new file mode 100644 index 000000000..cc97d4174 --- /dev/null +++ b/node_modules/date-fns/isDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (value: any) => boolean diff --git a/node_modules/date-fns/isDate/package.json b/node_modules/date-fns/isDate/package.json new file mode 100644 index 000000000..6031b7e90 --- /dev/null +++ b/node_modules/date-fns/isDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isDate/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isEqual/index.d.ts b/node_modules/date-fns/isEqual/index.d.ts new file mode 100644 index 000000000..87865db63 --- /dev/null +++ b/node_modules/date-fns/isEqual/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isEqual } from 'date-fns' +export default isEqual diff --git a/node_modules/date-fns/isEqual/index.js b/node_modules/date-fns/isEqual/index.js new file mode 100644 index 000000000..83ba08a83 --- /dev/null +++ b/node_modules/date-fns/isEqual/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isEqual; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param {Date|Number} dateLeft - the first date to compare + * @param {Date|Number} dateRight - the second date to compare + * @returns {Boolean} the dates are equal + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * const result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0), + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ +function isEqual(dirtyLeftDate, dirtyRightDate) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyLeftDate); + var dateRight = (0, _index.default)(dirtyRightDate); + return dateLeft.getTime() === dateRight.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isEqual/index.js.flow b/node_modules/date-fns/isEqual/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isEqual/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isEqual/package.json b/node_modules/date-fns/isEqual/package.json new file mode 100644 index 000000000..d0a69b7ae --- /dev/null +++ b/node_modules/date-fns/isEqual/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isEqual/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isExists/index.d.ts b/node_modules/date-fns/isExists/index.d.ts new file mode 100644 index 000000000..af919bef7 --- /dev/null +++ b/node_modules/date-fns/isExists/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isExists } from 'date-fns' +export default isExists diff --git a/node_modules/date-fns/isExists/index.js b/node_modules/date-fns/isExists/index.js new file mode 100644 index 000000000..cc69574fd --- /dev/null +++ b/node_modules/date-fns/isExists/index.js @@ -0,0 +1,38 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isExists; +/** + * @name isExists + * @category Common Helpers + * @summary Is the given date exists? + * + * @description + * Checks if the given arguments convert to an existing date. + * + * @param {Number} year of the date to check + * @param {Number} month of the date to check + * @param {Number} day of the date to check + * @returns {Boolean} the date exists + * @throws {TypeError} 3 arguments required + * + * @example + * // For the valid date: + * const result = isExists(2018, 0, 31) + * //=> true + * + * @example + * // For the invalid date: + * const result = isExists(2018, 1, 31) + * //=> false + */ +function isExists(year, month, day) { + if (arguments.length < 3) { + throw new TypeError('3 argument required, but only ' + arguments.length + ' present'); + } + var date = new Date(year, month, day); + return date.getFullYear() === year && date.getMonth() === month && date.getDate() === day; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isExists/index.js.flow b/node_modules/date-fns/isExists/index.js.flow new file mode 100644 index 000000000..810828e0f --- /dev/null +++ b/node_modules/date-fns/isExists/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (year: number, month: number, day: number) => boolean diff --git a/node_modules/date-fns/isExists/package.json b/node_modules/date-fns/isExists/package.json new file mode 100644 index 000000000..0dcf41298 --- /dev/null +++ b/node_modules/date-fns/isExists/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isExists/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isFirstDayOfMonth/index.d.ts b/node_modules/date-fns/isFirstDayOfMonth/index.d.ts new file mode 100644 index 000000000..6c1a3140e --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFirstDayOfMonth } from 'date-fns' +export default isFirstDayOfMonth diff --git a/node_modules/date-fns/isFirstDayOfMonth/index.js b/node_modules/date-fns/isFirstDayOfMonth/index.js new file mode 100644 index 000000000..b53915685 --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isFirstDayOfMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isFirstDayOfMonth + * @category Month Helpers + * @summary Is the given date the first day of a month? + * + * @description + * Is the given date the first day of a month? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is the first day of a month + * @throws {TypeError} 1 argument required + * + * @example + * // Is 1 September 2014 the first day of a month? + * const result = isFirstDayOfMonth(new Date(2014, 8, 1)) + * //=> true + */ +function isFirstDayOfMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDate() === 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isFirstDayOfMonth/index.js.flow b/node_modules/date-fns/isFirstDayOfMonth/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isFirstDayOfMonth/package.json b/node_modules/date-fns/isFirstDayOfMonth/package.json new file mode 100644 index 000000000..6c5299516 --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isFirstDayOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isFriday/index.d.ts b/node_modules/date-fns/isFriday/index.d.ts new file mode 100644 index 000000000..17ac2ef8d --- /dev/null +++ b/node_modules/date-fns/isFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFriday } from 'date-fns' +export default isFriday diff --git a/node_modules/date-fns/isFriday/index.js b/node_modules/date-fns/isFriday/index.js new file mode 100644 index 000000000..1c59b06d2 --- /dev/null +++ b/node_modules/date-fns/isFriday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isFriday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isFriday + * @category Weekday Helpers + * @summary Is the given date Friday? + * + * @description + * Is the given date Friday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Friday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 26 September 2014 Friday? + * const result = isFriday(new Date(2014, 8, 26)) + * //=> true + */ +function isFriday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDay() === 5; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isFriday/index.js.flow b/node_modules/date-fns/isFriday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isFriday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isFriday/package.json b/node_modules/date-fns/isFriday/package.json new file mode 100644 index 000000000..6cf69eab7 --- /dev/null +++ b/node_modules/date-fns/isFriday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isFriday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isFuture/index.d.ts b/node_modules/date-fns/isFuture/index.d.ts new file mode 100644 index 000000000..4cb82e8ad --- /dev/null +++ b/node_modules/date-fns/isFuture/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isFuture } from 'date-fns' +export default isFuture diff --git a/node_modules/date-fns/isFuture/index.js b/node_modules/date-fns/isFuture/index.js new file mode 100644 index 000000000..da8ae0c54 --- /dev/null +++ b/node_modules/date-fns/isFuture/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isFuture; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isFuture + * @category Common Helpers + * @summary Is the given date in the future? + * @pure false + * + * @description + * Is the given date in the future? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in the future + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 31 December 2014 in the future? + * const result = isFuture(new Date(2014, 11, 31)) + * //=> true + */ +function isFuture(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getTime() > Date.now(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isFuture/index.js.flow b/node_modules/date-fns/isFuture/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isFuture/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isFuture/package.json b/node_modules/date-fns/isFuture/package.json new file mode 100644 index 000000000..90eb23548 --- /dev/null +++ b/node_modules/date-fns/isFuture/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isFuture/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isLastDayOfMonth/index.d.ts b/node_modules/date-fns/isLastDayOfMonth/index.d.ts new file mode 100644 index 000000000..665cb7d75 --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLastDayOfMonth } from 'date-fns' +export default isLastDayOfMonth diff --git a/node_modules/date-fns/isLastDayOfMonth/index.js b/node_modules/date-fns/isLastDayOfMonth/index.js new file mode 100644 index 000000000..8824b6944 --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isLastDayOfMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../endOfDay/index.js")); +var _index3 = _interopRequireDefault(require("../endOfMonth/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isLastDayOfMonth + * @category Month Helpers + * @summary Is the given date the last day of a month? + * + * @description + * Is the given date the last day of a month? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is the last day of a month + * @throws {TypeError} 1 argument required + * + * @example + * // Is 28 February 2014 the last day of a month? + * const result = isLastDayOfMonth(new Date(2014, 1, 28)) + * //=> true + */ +function isLastDayOfMonth(dirtyDate) { + (0, _index4.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + return (0, _index2.default)(date).getTime() === (0, _index3.default)(date).getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isLastDayOfMonth/index.js.flow b/node_modules/date-fns/isLastDayOfMonth/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isLastDayOfMonth/package.json b/node_modules/date-fns/isLastDayOfMonth/package.json new file mode 100644 index 000000000..c3fb062eb --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isLastDayOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isLeapYear/index.d.ts b/node_modules/date-fns/isLeapYear/index.d.ts new file mode 100644 index 000000000..c08ad8abb --- /dev/null +++ b/node_modules/date-fns/isLeapYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isLeapYear } from 'date-fns' +export default isLeapYear diff --git a/node_modules/date-fns/isLeapYear/index.js b/node_modules/date-fns/isLeapYear/index.js new file mode 100644 index 000000000..af5824096 --- /dev/null +++ b/node_modules/date-fns/isLeapYear/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isLeapYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isLeapYear + * @category Year Helpers + * @summary Is the given date in the leap year? + * + * @description + * Is the given date in the leap year? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in the leap year + * @throws {TypeError} 1 argument required + * + * @example + * // Is 1 September 2012 in the leap year? + * const result = isLeapYear(new Date(2012, 8, 1)) + * //=> true + */ +function isLeapYear(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isLeapYear/index.js.flow b/node_modules/date-fns/isLeapYear/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isLeapYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isLeapYear/package.json b/node_modules/date-fns/isLeapYear/package.json new file mode 100644 index 000000000..4aca782cf --- /dev/null +++ b/node_modules/date-fns/isLeapYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isLeapYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isMatch/index.d.ts b/node_modules/date-fns/isMatch/index.d.ts new file mode 100644 index 000000000..e0c3fa5c3 --- /dev/null +++ b/node_modules/date-fns/isMatch/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMatch } from 'date-fns' +export default isMatch diff --git a/node_modules/date-fns/isMatch/index.js b/node_modules/date-fns/isMatch/index.js new file mode 100644 index 000000000..d044efddb --- /dev/null +++ b/node_modules/date-fns/isMatch/index.js @@ -0,0 +1,307 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isMatch; +var _index = _interopRequireDefault(require("../parse/index.js")); +var _index2 = _interopRequireDefault(require("../isValid/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isMatch + * @category Common Helpers + * @summary validates the date string against given formats + * + * @description + * Return the true if given date is string correct against the given format else + * will return false. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * isMatch('23 AM', 'HH a') + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `isMatch` will try to match both formatting and stand-alone units interchangably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `isMatch` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `isMatch` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `isMatch('50', 'yy') //=> true` + * + * `isMatch('75', 'yy') //=> true` + * + * while `uu` will use the year as is: + * + * `isMatch('50', 'uu') //=> true` + * + * `isMatch('75', 'uu') //=> true` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear} + * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be checked in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are matched (e.g. when matching string 'January 1st' without a year), + * the values will be taken from today's using `new Date()` date which works as a context of parsing. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * + * + * @param {String} dateString - the date string to verify + * @param {String} formatString - the string of tokens + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @returns {Boolean} + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} `options.locale` must contain `match` property + * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `yy` instead of `YY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `d` instead of `D` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * // Match 11 February 2014 from middle-endian format: + * const result = isMatch('02/11/2014', 'MM/dd/yyyy') + * //=> true + * + * @example + * // Match 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * const result = isMatch('28-a de februaro', "do 'de' MMMM", { + * locale: eo + * }) + * //=> true + */ +function isMatch(dateString, formatString, options) { + (0, _index3.default)(2, arguments); + return (0, _index2.default)((0, _index.default)(dateString, formatString, new Date(), options)); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isMatch/index.js.flow b/node_modules/date-fns/isMatch/index.js.flow new file mode 100644 index 000000000..c27d35a50 --- /dev/null +++ b/node_modules/date-fns/isMatch/index.js.flow @@ -0,0 +1,62 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateString: string, + formatString: string, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } +) => boolean diff --git a/node_modules/date-fns/isMatch/package.json b/node_modules/date-fns/isMatch/package.json new file mode 100644 index 000000000..5e50adc15 --- /dev/null +++ b/node_modules/date-fns/isMatch/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isMatch/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isMonday/index.d.ts b/node_modules/date-fns/isMonday/index.d.ts new file mode 100644 index 000000000..dee60ac08 --- /dev/null +++ b/node_modules/date-fns/isMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isMonday } from 'date-fns' +export default isMonday diff --git a/node_modules/date-fns/isMonday/index.js b/node_modules/date-fns/isMonday/index.js new file mode 100644 index 000000000..8a0e89804 --- /dev/null +++ b/node_modules/date-fns/isMonday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isMonday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isMonday + * @category Weekday Helpers + * @summary Is the given date Monday? + * + * @description + * Is the given date Monday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Monday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 22 September 2014 Monday? + * const result = isMonday(new Date(2014, 8, 22)) + * //=> true + */ +function isMonday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date).getDay() === 1; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isMonday/index.js.flow b/node_modules/date-fns/isMonday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isMonday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isMonday/package.json b/node_modules/date-fns/isMonday/package.json new file mode 100644 index 000000000..a56d88039 --- /dev/null +++ b/node_modules/date-fns/isMonday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isMonday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isPast/index.d.ts b/node_modules/date-fns/isPast/index.d.ts new file mode 100644 index 000000000..8ae92ca70 --- /dev/null +++ b/node_modules/date-fns/isPast/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isPast } from 'date-fns' +export default isPast diff --git a/node_modules/date-fns/isPast/index.js b/node_modules/date-fns/isPast/index.js new file mode 100644 index 000000000..75f8efb20 --- /dev/null +++ b/node_modules/date-fns/isPast/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isPast; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isPast + * @category Common Helpers + * @summary Is the given date in the past? + * @pure false + * + * @description + * Is the given date in the past? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in the past + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 2 July 2014 in the past? + * const result = isPast(new Date(2014, 6, 2)) + * //=> true + */ +function isPast(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getTime() < Date.now(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isPast/index.js.flow b/node_modules/date-fns/isPast/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isPast/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isPast/package.json b/node_modules/date-fns/isPast/package.json new file mode 100644 index 000000000..3780e6000 --- /dev/null +++ b/node_modules/date-fns/isPast/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isPast/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameDay/index.d.ts b/node_modules/date-fns/isSameDay/index.d.ts new file mode 100644 index 000000000..c4c2d554f --- /dev/null +++ b/node_modules/date-fns/isSameDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameDay } from 'date-fns' +export default isSameDay diff --git a/node_modules/date-fns/isSameDay/index.js b/node_modules/date-fns/isSameDay/index.js new file mode 100644 index 000000000..7a7cf7ca3 --- /dev/null +++ b/node_modules/date-fns/isSameDay/index.js @@ -0,0 +1,44 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameDay; +var _index = _interopRequireDefault(require("../startOfDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day (and year and month)? + * + * @description + * Are the given dates in the same day (and year and month)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same day (and year and month) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) + * //=> true + * + * @example + * // Are 4 September and 4 October in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4)) + * //=> false + * + * @example + * // Are 4 September, 2014 and 4 September, 2015 in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4)) + * //=> false + */ +function isSameDay(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfDay = (0, _index.default)(dirtyDateLeft); + var dateRightStartOfDay = (0, _index.default)(dirtyDateRight); + return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameDay/index.js.flow b/node_modules/date-fns/isSameDay/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameDay/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameDay/package.json b/node_modules/date-fns/isSameDay/package.json new file mode 100644 index 000000000..c579b1fa9 --- /dev/null +++ b/node_modules/date-fns/isSameDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameHour/index.d.ts b/node_modules/date-fns/isSameHour/index.d.ts new file mode 100644 index 000000000..78d466222 --- /dev/null +++ b/node_modules/date-fns/isSameHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameHour } from 'date-fns' +export default isSameHour diff --git a/node_modules/date-fns/isSameHour/index.js b/node_modules/date-fns/isSameHour/index.js new file mode 100644 index 000000000..e2c288b8c --- /dev/null +++ b/node_modules/date-fns/isSameHour/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameHour; +var _index = _interopRequireDefault(require("../startOfHour/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameHour + * @category Hour Helpers + * @summary Are the given dates in the same hour (and same day)? + * + * @description + * Are the given dates in the same hour (and same day)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same hour (and same day) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30)) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0)) + * //=> false + */ +function isSameHour(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfHour = (0, _index.default)(dirtyDateLeft); + var dateRightStartOfHour = (0, _index.default)(dirtyDateRight); + return dateLeftStartOfHour.getTime() === dateRightStartOfHour.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameHour/index.js.flow b/node_modules/date-fns/isSameHour/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameHour/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameHour/package.json b/node_modules/date-fns/isSameHour/package.json new file mode 100644 index 000000000..532a69919 --- /dev/null +++ b/node_modules/date-fns/isSameHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameHour/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameISOWeek/index.d.ts b/node_modules/date-fns/isSameISOWeek/index.d.ts new file mode 100644 index 000000000..566ed8b00 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeek } from 'date-fns' +export default isSameISOWeek diff --git a/node_modules/date-fns/isSameISOWeek/index.js b/node_modules/date-fns/isSameISOWeek/index.js new file mode 100644 index 000000000..3cd7bdb91 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek/index.js @@ -0,0 +1,41 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameISOWeek; +var _index = _interopRequireDefault(require("../isSameWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameISOWeek + * @category ISO Week Helpers + * @summary Are the given dates in the same ISO week (and year)? + * + * @description + * Are the given dates in the same ISO week (and year)? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same ISO week (and year) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 1 September 2014 and 7 September 2014 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2014, 8, 7)) + * //=> true + * + * @example + * // Are 1 September 2014 and 1 September 2015 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2015, 8, 1)) + * //=> false + */ +function isSameISOWeek(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + return (0, _index.default)(dirtyDateLeft, dirtyDateRight, { + weekStartsOn: 1 + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameISOWeek/index.js.flow b/node_modules/date-fns/isSameISOWeek/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameISOWeek/package.json b/node_modules/date-fns/isSameISOWeek/package.json new file mode 100644 index 000000000..d969a5da3 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameISOWeekYear/index.d.ts b/node_modules/date-fns/isSameISOWeekYear/index.d.ts new file mode 100644 index 000000000..e79609229 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameISOWeekYear } from 'date-fns' +export default isSameISOWeekYear diff --git a/node_modules/date-fns/isSameISOWeekYear/index.js b/node_modules/date-fns/isSameISOWeekYear/index.js new file mode 100644 index 000000000..4aa9ffaef --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameISOWeekYear; +var _index = _interopRequireDefault(require("../startOfISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Are the given dates in the same ISO week-numbering year? + * + * @description + * Are the given dates in the same ISO week-numbering year? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same ISO week-numbering year + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? + * const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) + * //=> true + */ +function isSameISOWeekYear(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfYear = (0, _index.default)(dirtyDateLeft); + var dateRightStartOfYear = (0, _index.default)(dirtyDateRight); + return dateLeftStartOfYear.getTime() === dateRightStartOfYear.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameISOWeekYear/index.js.flow b/node_modules/date-fns/isSameISOWeekYear/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameISOWeekYear/package.json b/node_modules/date-fns/isSameISOWeekYear/package.json new file mode 100644 index 000000000..3f23491dc --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameISOWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameMinute/index.d.ts b/node_modules/date-fns/isSameMinute/index.d.ts new file mode 100644 index 000000000..c26acefe8 --- /dev/null +++ b/node_modules/date-fns/isSameMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMinute } from 'date-fns' +export default isSameMinute diff --git a/node_modules/date-fns/isSameMinute/index.js b/node_modules/date-fns/isSameMinute/index.js new file mode 100644 index 000000000..4311a0932 --- /dev/null +++ b/node_modules/date-fns/isSameMinute/index.js @@ -0,0 +1,45 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameMinute; +var _index = _interopRequireDefault(require("../startOfMinute/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameMinute + * @category Minute Helpers + * @summary Are the given dates in the same minute (and hour and day)? + * + * @description + * Are the given dates in the same minute (and hour and day)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same minute (and hour and day) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 4, 6, 30, 15) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:30:00 and 5 September 2014 06:30:00 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 5, 6, 30) + * ) + * //=> false + */ +function isSameMinute(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfMinute = (0, _index.default)(dirtyDateLeft); + var dateRightStartOfMinute = (0, _index.default)(dirtyDateRight); + return dateLeftStartOfMinute.getTime() === dateRightStartOfMinute.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameMinute/index.js.flow b/node_modules/date-fns/isSameMinute/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameMinute/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameMinute/package.json b/node_modules/date-fns/isSameMinute/package.json new file mode 100644 index 000000000..9c449f364 --- /dev/null +++ b/node_modules/date-fns/isSameMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameMinute/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameMonth/index.d.ts b/node_modules/date-fns/isSameMonth/index.d.ts new file mode 100644 index 000000000..bd0e88680 --- /dev/null +++ b/node_modules/date-fns/isSameMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameMonth } from 'date-fns' +export default isSameMonth diff --git a/node_modules/date-fns/isSameMonth/index.js b/node_modules/date-fns/isSameMonth/index.js new file mode 100644 index 000000000..cf6f17127 --- /dev/null +++ b/node_modules/date-fns/isSameMonth/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month (and year)? + * + * @description + * Are the given dates in the same month (and year)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same month (and year) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + * + * @example + * // Are 2 September 2014 and 25 September 2015 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25)) + * //=> false + */ +function isSameMonth(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + return dateLeft.getFullYear() === dateRight.getFullYear() && dateLeft.getMonth() === dateRight.getMonth(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameMonth/index.js.flow b/node_modules/date-fns/isSameMonth/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameMonth/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameMonth/package.json b/node_modules/date-fns/isSameMonth/package.json new file mode 100644 index 000000000..a37c21ae2 --- /dev/null +++ b/node_modules/date-fns/isSameMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameQuarter/index.d.ts b/node_modules/date-fns/isSameQuarter/index.d.ts new file mode 100644 index 000000000..584660aa8 --- /dev/null +++ b/node_modules/date-fns/isSameQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameQuarter } from 'date-fns' +export default isSameQuarter diff --git a/node_modules/date-fns/isSameQuarter/index.js b/node_modules/date-fns/isSameQuarter/index.js new file mode 100644 index 000000000..680e73b7f --- /dev/null +++ b/node_modules/date-fns/isSameQuarter/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameQuarter; +var _index = _interopRequireDefault(require("../startOfQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameQuarter + * @category Quarter Helpers + * @summary Are the given dates in the same quarter (and year)? + * + * @description + * Are the given dates in the same quarter (and year)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same quarter (and year) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 1 January 2014 and 8 March 2014 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) + * //=> true + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +function isSameQuarter(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfQuarter = (0, _index.default)(dirtyDateLeft); + var dateRightStartOfQuarter = (0, _index.default)(dirtyDateRight); + return dateLeftStartOfQuarter.getTime() === dateRightStartOfQuarter.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameQuarter/index.js.flow b/node_modules/date-fns/isSameQuarter/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameQuarter/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameQuarter/package.json b/node_modules/date-fns/isSameQuarter/package.json new file mode 100644 index 000000000..58c52bdf4 --- /dev/null +++ b/node_modules/date-fns/isSameQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameSecond/index.d.ts b/node_modules/date-fns/isSameSecond/index.d.ts new file mode 100644 index 000000000..982464e38 --- /dev/null +++ b/node_modules/date-fns/isSameSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameSecond } from 'date-fns' +export default isSameSecond diff --git a/node_modules/date-fns/isSameSecond/index.js b/node_modules/date-fns/isSameSecond/index.js new file mode 100644 index 000000000..055ac2905 --- /dev/null +++ b/node_modules/date-fns/isSameSecond/index.js @@ -0,0 +1,53 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameSecond; +var _index = _interopRequireDefault(require("../startOfSecond/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameSecond + * @category Second Helpers + * @summary Are the given dates in the same second (and hour and day)? + * + * @description + * Are the given dates in the same second (and hour and day)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same second (and hour and day) + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 30, 15), + * new Date(2014, 8, 4, 6, 30, 15, 500) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 4, 6, 1, 15) + * ) + * //=> false + * + * @example + * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 5, 6, 0, 15) + * ) + * //=> false + */ +function isSameSecond(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfSecond = (0, _index.default)(dirtyDateLeft); + var dateRightStartOfSecond = (0, _index.default)(dirtyDateRight); + return dateLeftStartOfSecond.getTime() === dateRightStartOfSecond.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameSecond/index.js.flow b/node_modules/date-fns/isSameSecond/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameSecond/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameSecond/package.json b/node_modules/date-fns/isSameSecond/package.json new file mode 100644 index 000000000..61ce478a7 --- /dev/null +++ b/node_modules/date-fns/isSameSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameSecond/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameWeek/index.d.ts b/node_modules/date-fns/isSameWeek/index.d.ts new file mode 100644 index 000000000..b27f5f668 --- /dev/null +++ b/node_modules/date-fns/isSameWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameWeek } from 'date-fns' +export default isSameWeek diff --git a/node_modules/date-fns/isSameWeek/index.js b/node_modules/date-fns/isSameWeek/index.js new file mode 100644 index 000000000..afeb3346e --- /dev/null +++ b/node_modules/date-fns/isSameWeek/index.js @@ -0,0 +1,51 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameWeek; +var _index = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week (and month and year)? + * + * @description + * Are the given dates in the same week (and month and year)? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Boolean} the dates are in the same week (and month and year) + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4)) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), { + * weekStartsOn: 1 + * }) + * //=> false + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same week? + * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +function isSameWeek(dirtyDateLeft, dirtyDateRight, options) { + (0, _index2.default)(2, arguments); + var dateLeftStartOfWeek = (0, _index.default)(dirtyDateLeft, options); + var dateRightStartOfWeek = (0, _index.default)(dirtyDateRight, options); + return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameWeek/index.js.flow b/node_modules/date-fns/isSameWeek/index.js.flow new file mode 100644 index 000000000..2ba3f16cf --- /dev/null +++ b/node_modules/date-fns/isSameWeek/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => boolean diff --git a/node_modules/date-fns/isSameWeek/package.json b/node_modules/date-fns/isSameWeek/package.json new file mode 100644 index 000000000..d2963376e --- /dev/null +++ b/node_modules/date-fns/isSameWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSameYear/index.d.ts b/node_modules/date-fns/isSameYear/index.d.ts new file mode 100644 index 000000000..c729e19a5 --- /dev/null +++ b/node_modules/date-fns/isSameYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSameYear } from 'date-fns' +export default isSameYear diff --git a/node_modules/date-fns/isSameYear/index.js b/node_modules/date-fns/isSameYear/index.js new file mode 100644 index 000000000..7a8e7de56 --- /dev/null +++ b/node_modules/date-fns/isSameYear/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSameYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param {Date|Number} dateLeft - the first date to check + * @param {Date|Number} dateRight - the second date to check + * @returns {Boolean} the dates are in the same year + * @throws {TypeError} 2 arguments required + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + */ +function isSameYear(dirtyDateLeft, dirtyDateRight) { + (0, _index2.default)(2, arguments); + var dateLeft = (0, _index.default)(dirtyDateLeft); + var dateRight = (0, _index.default)(dirtyDateRight); + return dateLeft.getFullYear() === dateRight.getFullYear(); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSameYear/index.js.flow b/node_modules/date-fns/isSameYear/index.js.flow new file mode 100644 index 000000000..55ea578e3 --- /dev/null +++ b/node_modules/date-fns/isSameYear/index.js.flow @@ -0,0 +1,55 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateLeft: Date | number, + dateRight: Date | number +) => boolean diff --git a/node_modules/date-fns/isSameYear/package.json b/node_modules/date-fns/isSameYear/package.json new file mode 100644 index 000000000..4d09f291e --- /dev/null +++ b/node_modules/date-fns/isSameYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSameYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSaturday/index.d.ts b/node_modules/date-fns/isSaturday/index.d.ts new file mode 100644 index 000000000..ac5ccb38c --- /dev/null +++ b/node_modules/date-fns/isSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSaturday } from 'date-fns' +export default isSaturday diff --git a/node_modules/date-fns/isSaturday/index.js b/node_modules/date-fns/isSaturday/index.js new file mode 100644 index 000000000..75cca81a0 --- /dev/null +++ b/node_modules/date-fns/isSaturday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSaturday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSaturday + * @category Weekday Helpers + * @summary Is the given date Saturday? + * + * @description + * Is the given date Saturday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Saturday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 27 September 2014 Saturday? + * const result = isSaturday(new Date(2014, 8, 27)) + * //=> true + */ +function isSaturday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDay() === 6; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSaturday/index.js.flow b/node_modules/date-fns/isSaturday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isSaturday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isSaturday/package.json b/node_modules/date-fns/isSaturday/package.json new file mode 100644 index 000000000..0ab7e0a26 --- /dev/null +++ b/node_modules/date-fns/isSaturday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSaturday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isSunday/index.d.ts b/node_modules/date-fns/isSunday/index.d.ts new file mode 100644 index 000000000..5830086b6 --- /dev/null +++ b/node_modules/date-fns/isSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isSunday } from 'date-fns' +export default isSunday diff --git a/node_modules/date-fns/isSunday/index.js b/node_modules/date-fns/isSunday/index.js new file mode 100644 index 000000000..e678c3623 --- /dev/null +++ b/node_modules/date-fns/isSunday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSunday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isSunday + * @category Weekday Helpers + * @summary Is the given date Sunday? + * + * @description + * Is the given date Sunday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 21 September 2014 Sunday? + * const result = isSunday(new Date(2014, 8, 21)) + * //=> true + */ +function isSunday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDay() === 0; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isSunday/index.js.flow b/node_modules/date-fns/isSunday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isSunday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isSunday/package.json b/node_modules/date-fns/isSunday/package.json new file mode 100644 index 000000000..e249d7762 --- /dev/null +++ b/node_modules/date-fns/isSunday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isSunday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisHour/index.d.ts b/node_modules/date-fns/isThisHour/index.d.ts new file mode 100644 index 000000000..1009e428d --- /dev/null +++ b/node_modules/date-fns/isThisHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisHour } from 'date-fns' +export default isThisHour diff --git a/node_modules/date-fns/isThisHour/index.js b/node_modules/date-fns/isThisHour/index.js new file mode 100644 index 000000000..14d7ee106 --- /dev/null +++ b/node_modules/date-fns/isThisHour/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisHour; +var _index = _interopRequireDefault(require("../isSameHour/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisHour + * @category Hour Helpers + * @summary Is the given date in the same hour as the current date? + * @pure false + * + * @description + * Is the given date in the same hour as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this hour + * @throws {TypeError} 1 argument required + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:00:00 in this hour? + * const result = isThisHour(new Date(2014, 8, 25, 18)) + * //=> true + */ +function isThisHour(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(Date.now(), dirtyDate); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisHour/index.js.flow b/node_modules/date-fns/isThisHour/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisHour/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisHour/package.json b/node_modules/date-fns/isThisHour/package.json new file mode 100644 index 000000000..833baabb2 --- /dev/null +++ b/node_modules/date-fns/isThisHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisHour/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisISOWeek/index.d.ts b/node_modules/date-fns/isThisISOWeek/index.d.ts new file mode 100644 index 000000000..4fb42e8de --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisISOWeek } from 'date-fns' +export default isThisISOWeek diff --git a/node_modules/date-fns/isThisISOWeek/index.js b/node_modules/date-fns/isThisISOWeek/index.js new file mode 100644 index 000000000..57a62abe1 --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisISOWeek; +var _index = _interopRequireDefault(require("../isSameISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisISOWeek + * @category ISO Week Helpers + * @summary Is the given date in the same ISO week as the current date? + * @pure false + * + * @description + * Is the given date in the same ISO week as the current date? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 22 September 2014 in this ISO week? + * const result = isThisISOWeek(new Date(2014, 8, 22)) + * //=> true + */ + +function isThisISOWeek(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, Date.now()); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisISOWeek/index.js.flow b/node_modules/date-fns/isThisISOWeek/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisISOWeek/package.json b/node_modules/date-fns/isThisISOWeek/package.json new file mode 100644 index 000000000..9cf8f3c08 --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisMinute/index.d.ts b/node_modules/date-fns/isThisMinute/index.d.ts new file mode 100644 index 000000000..ca1430d58 --- /dev/null +++ b/node_modules/date-fns/isThisMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisMinute } from 'date-fns' +export default isThisMinute diff --git a/node_modules/date-fns/isThisMinute/index.js b/node_modules/date-fns/isThisMinute/index.js new file mode 100644 index 000000000..666d7be70 --- /dev/null +++ b/node_modules/date-fns/isThisMinute/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisMinute; +var _index = _interopRequireDefault(require("../isSameMinute/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisMinute + * @category Minute Helpers + * @summary Is the given date in the same minute as the current date? + * @pure false + * + * @description + * Is the given date in the same minute as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this minute + * @throws {TypeError} 1 argument required + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:00 in this minute? + * const result = isThisMinute(new Date(2014, 8, 25, 18, 30)) + * //=> true + */ + +function isThisMinute(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(Date.now(), dirtyDate); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisMinute/index.js.flow b/node_modules/date-fns/isThisMinute/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisMinute/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisMinute/package.json b/node_modules/date-fns/isThisMinute/package.json new file mode 100644 index 000000000..c8da2c35a --- /dev/null +++ b/node_modules/date-fns/isThisMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisMinute/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisMonth/index.d.ts b/node_modules/date-fns/isThisMonth/index.d.ts new file mode 100644 index 000000000..eaf72fdd2 --- /dev/null +++ b/node_modules/date-fns/isThisMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisMonth } from 'date-fns' +export default isThisMonth diff --git a/node_modules/date-fns/isThisMonth/index.js b/node_modules/date-fns/isThisMonth/index.js new file mode 100644 index 000000000..51e76cb64 --- /dev/null +++ b/node_modules/date-fns/isThisMonth/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisMonth; +var _index = _interopRequireDefault(require("../isSameMonth/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisMonth + * @category Month Helpers + * @summary Is the given date in the same month as the current date? + * @pure false + * + * @description + * Is the given date in the same month as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this month + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 15 September 2014 in this month? + * const result = isThisMonth(new Date(2014, 8, 15)) + * //=> true + */ + +function isThisMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(Date.now(), dirtyDate); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisMonth/index.js.flow b/node_modules/date-fns/isThisMonth/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisMonth/package.json b/node_modules/date-fns/isThisMonth/package.json new file mode 100644 index 000000000..763a3b967 --- /dev/null +++ b/node_modules/date-fns/isThisMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisQuarter/index.d.ts b/node_modules/date-fns/isThisQuarter/index.d.ts new file mode 100644 index 000000000..8c25708a3 --- /dev/null +++ b/node_modules/date-fns/isThisQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisQuarter } from 'date-fns' +export default isThisQuarter diff --git a/node_modules/date-fns/isThisQuarter/index.js b/node_modules/date-fns/isThisQuarter/index.js new file mode 100644 index 000000000..b2f39feb8 --- /dev/null +++ b/node_modules/date-fns/isThisQuarter/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisQuarter; +var _index = _interopRequireDefault(require("../isSameQuarter/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisQuarter + * @category Quarter Helpers + * @summary Is the given date in the same quarter as the current date? + * @pure false + * + * @description + * Is the given date in the same quarter as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this quarter + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 2 July 2014 in this quarter? + * const result = isThisQuarter(new Date(2014, 6, 2)) + * //=> true + */ +function isThisQuarter(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(Date.now(), dirtyDate); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisQuarter/index.js.flow b/node_modules/date-fns/isThisQuarter/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisQuarter/package.json b/node_modules/date-fns/isThisQuarter/package.json new file mode 100644 index 000000000..faa91a1fc --- /dev/null +++ b/node_modules/date-fns/isThisQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisSecond/index.d.ts b/node_modules/date-fns/isThisSecond/index.d.ts new file mode 100644 index 000000000..9d45da10b --- /dev/null +++ b/node_modules/date-fns/isThisSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisSecond } from 'date-fns' +export default isThisSecond diff --git a/node_modules/date-fns/isThisSecond/index.js b/node_modules/date-fns/isThisSecond/index.js new file mode 100644 index 000000000..9e32a0778 --- /dev/null +++ b/node_modules/date-fns/isThisSecond/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisSecond; +var _index = _interopRequireDefault(require("../isSameSecond/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisSecond + * @category Second Helpers + * @summary Is the given date in the same second as the current date? + * @pure false + * + * @description + * Is the given date in the same second as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this second + * @throws {TypeError} 1 argument required + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:15.000 in this second? + * const result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15)) + * //=> true + */ +function isThisSecond(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(Date.now(), dirtyDate); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisSecond/index.js.flow b/node_modules/date-fns/isThisSecond/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisSecond/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisSecond/package.json b/node_modules/date-fns/isThisSecond/package.json new file mode 100644 index 000000000..9611c1f88 --- /dev/null +++ b/node_modules/date-fns/isThisSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisSecond/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisWeek/index.d.ts b/node_modules/date-fns/isThisWeek/index.d.ts new file mode 100644 index 000000000..b22ba530e --- /dev/null +++ b/node_modules/date-fns/isThisWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisWeek } from 'date-fns' +export default isThisWeek diff --git a/node_modules/date-fns/isThisWeek/index.js b/node_modules/date-fns/isThisWeek/index.js new file mode 100644 index 000000000..b35c0041c --- /dev/null +++ b/node_modules/date-fns/isThisWeek/index.js @@ -0,0 +1,46 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisWeek; +var _index = _interopRequireDefault(require("../isSameWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisWeek + * @category Week Helpers + * @summary Is the given date in the same week as the current date? + * @pure false + * + * @description + * Is the given date in the same week as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @param {Object} [options] - the object with options + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Boolean} the date is in this week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // If today is 25 September 2014, is 21 September 2014 in this week? + * const result = isThisWeek(new Date(2014, 8, 21)) + * //=> true + * + * @example + * // If today is 25 September 2014 and week starts with Monday + * // is 21 September 2014 in this week? + * const result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 }) + * //=> false + */ + +function isThisWeek(dirtyDate, options) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, Date.now(), options); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisWeek/index.js.flow b/node_modules/date-fns/isThisWeek/index.js.flow new file mode 100644 index 000000000..579c74ae1 --- /dev/null +++ b/node_modules/date-fns/isThisWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => boolean diff --git a/node_modules/date-fns/isThisWeek/package.json b/node_modules/date-fns/isThisWeek/package.json new file mode 100644 index 000000000..62e53e1b9 --- /dev/null +++ b/node_modules/date-fns/isThisWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThisYear/index.d.ts b/node_modules/date-fns/isThisYear/index.d.ts new file mode 100644 index 000000000..b95f1be3b --- /dev/null +++ b/node_modules/date-fns/isThisYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThisYear } from 'date-fns' +export default isThisYear diff --git a/node_modules/date-fns/isThisYear/index.js b/node_modules/date-fns/isThisYear/index.js new file mode 100644 index 000000000..462c814eb --- /dev/null +++ b/node_modules/date-fns/isThisYear/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThisYear; +var _index = _interopRequireDefault(require("../isSameYear/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThisYear + * @category Year Helpers + * @summary Is the given date in the same year as the current date? + * @pure false + * + * @description + * Is the given date in the same year as the current date? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is in this year + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 25 September 2014, is 2 July 2014 in this year? + * const result = isThisYear(new Date(2014, 6, 2)) + * //=> true + */ +function isThisYear(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, Date.now()); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThisYear/index.js.flow b/node_modules/date-fns/isThisYear/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThisYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThisYear/package.json b/node_modules/date-fns/isThisYear/package.json new file mode 100644 index 000000000..1f552f4fd --- /dev/null +++ b/node_modules/date-fns/isThisYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThisYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isThursday/index.d.ts b/node_modules/date-fns/isThursday/index.d.ts new file mode 100644 index 000000000..2f25237d4 --- /dev/null +++ b/node_modules/date-fns/isThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isThursday } from 'date-fns' +export default isThursday diff --git a/node_modules/date-fns/isThursday/index.js b/node_modules/date-fns/isThursday/index.js new file mode 100644 index 000000000..3f7bad44a --- /dev/null +++ b/node_modules/date-fns/isThursday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isThursday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isThursday + * @category Weekday Helpers + * @summary Is the given date Thursday? + * + * @description + * Is the given date Thursday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Thursday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 25 September 2014 Thursday? + * const result = isThursday(new Date(2014, 8, 25)) + * //=> true + */ +function isThursday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDay() === 4; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isThursday/index.js.flow b/node_modules/date-fns/isThursday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isThursday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isThursday/package.json b/node_modules/date-fns/isThursday/package.json new file mode 100644 index 000000000..90ea05b74 --- /dev/null +++ b/node_modules/date-fns/isThursday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isThursday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isToday/index.d.ts b/node_modules/date-fns/isToday/index.d.ts new file mode 100644 index 000000000..ed0cd157c --- /dev/null +++ b/node_modules/date-fns/isToday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isToday } from 'date-fns' +export default isToday diff --git a/node_modules/date-fns/isToday/index.js b/node_modules/date-fns/isToday/index.js new file mode 100644 index 000000000..ec4a14172 --- /dev/null +++ b/node_modules/date-fns/isToday/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isToday; +var _index = _interopRequireDefault(require("../isSameDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isToday + * @category Day Helpers + * @summary Is the given date today? + * @pure false + * + * @description + * Is the given date today? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is today + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 6 October 14:00:00 today? + * const result = isToday(new Date(2014, 9, 6, 14, 0)) + * //=> true + */ +function isToday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, Date.now()); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isToday/index.js.flow b/node_modules/date-fns/isToday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isToday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isToday/package.json b/node_modules/date-fns/isToday/package.json new file mode 100644 index 000000000..21a37e0e6 --- /dev/null +++ b/node_modules/date-fns/isToday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isToday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isTomorrow/index.d.ts b/node_modules/date-fns/isTomorrow/index.d.ts new file mode 100644 index 000000000..b9c9115a5 --- /dev/null +++ b/node_modules/date-fns/isTomorrow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isTomorrow } from 'date-fns' +export default isTomorrow diff --git a/node_modules/date-fns/isTomorrow/index.js b/node_modules/date-fns/isTomorrow/index.js new file mode 100644 index 000000000..c1d573942 --- /dev/null +++ b/node_modules/date-fns/isTomorrow/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isTomorrow; +var _index = _interopRequireDefault(require("../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../isSameDay/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isTomorrow + * @category Day Helpers + * @summary Is the given date tomorrow? + * @pure false + * + * @description + * Is the given date tomorrow? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is tomorrow + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 7 October 14:00:00 tomorrow? + * const result = isTomorrow(new Date(2014, 9, 7, 14, 0)) + * //=> true + */ +function isTomorrow(dirtyDate) { + (0, _index3.default)(1, arguments); + return (0, _index2.default)(dirtyDate, (0, _index.default)(Date.now(), 1)); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isTomorrow/index.js.flow b/node_modules/date-fns/isTomorrow/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isTomorrow/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isTomorrow/package.json b/node_modules/date-fns/isTomorrow/package.json new file mode 100644 index 000000000..3b4211ac2 --- /dev/null +++ b/node_modules/date-fns/isTomorrow/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isTomorrow/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isTuesday/index.d.ts b/node_modules/date-fns/isTuesday/index.d.ts new file mode 100644 index 000000000..87c7ceb14 --- /dev/null +++ b/node_modules/date-fns/isTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isTuesday } from 'date-fns' +export default isTuesday diff --git a/node_modules/date-fns/isTuesday/index.js b/node_modules/date-fns/isTuesday/index.js new file mode 100644 index 000000000..14fc22380 --- /dev/null +++ b/node_modules/date-fns/isTuesday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isTuesday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isTuesday + * @category Weekday Helpers + * @summary Is the given date Tuesday? + * + * @description + * Is the given date Tuesday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Tuesday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 23 September 2014 Tuesday? + * const result = isTuesday(new Date(2014, 8, 23)) + * //=> true + */ +function isTuesday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDay() === 2; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isTuesday/index.js.flow b/node_modules/date-fns/isTuesday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isTuesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isTuesday/package.json b/node_modules/date-fns/isTuesday/package.json new file mode 100644 index 000000000..a999765a9 --- /dev/null +++ b/node_modules/date-fns/isTuesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isTuesday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isValid/index.d.ts b/node_modules/date-fns/isValid/index.d.ts new file mode 100644 index 000000000..26ad11dbf --- /dev/null +++ b/node_modules/date-fns/isValid/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isValid } from 'date-fns' +export default isValid diff --git a/node_modules/date-fns/isValid/index.js b/node_modules/date-fns/isValid/index.js new file mode 100644 index 000000000..ea067ba49 --- /dev/null +++ b/node_modules/date-fns/isValid/index.js @@ -0,0 +1,50 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isValid; +var _index = _interopRequireDefault(require("../isDate/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isValid + * @category Common Helpers + * @summary Is the given date valid? + * + * @description + * Returns false if argument is Invalid Date and true otherwise. + * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * Invalid Date is a Date, whose time value is NaN. + * + * Time value of Date: http://es5.github.io/#x15.9.1.1 + * + * @param {*} date - the date to check + * @returns {Boolean} the date is valid + * @throws {TypeError} 1 argument required + * + * @example + * // For the valid date: + * const result = isValid(new Date(2014, 1, 31)) + * //=> true + * + * @example + * // For the value, convertable into a date: + * const result = isValid(1393804800000) + * //=> true + * + * @example + * // For the invalid date: + * const result = isValid(new Date('')) + * //=> false + */ +function isValid(dirtyDate) { + (0, _index3.default)(1, arguments); + if (!(0, _index.default)(dirtyDate) && typeof dirtyDate !== 'number') { + return false; + } + var date = (0, _index2.default)(dirtyDate); + return !isNaN(Number(date)); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isValid/index.js.flow b/node_modules/date-fns/isValid/index.js.flow new file mode 100644 index 000000000..5bae5e02b --- /dev/null +++ b/node_modules/date-fns/isValid/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: any) => boolean diff --git a/node_modules/date-fns/isValid/package.json b/node_modules/date-fns/isValid/package.json new file mode 100644 index 000000000..0e8171738 --- /dev/null +++ b/node_modules/date-fns/isValid/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isValid/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isWednesday/index.d.ts b/node_modules/date-fns/isWednesday/index.d.ts new file mode 100644 index 000000000..e517a9310 --- /dev/null +++ b/node_modules/date-fns/isWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWednesday } from 'date-fns' +export default isWednesday diff --git a/node_modules/date-fns/isWednesday/index.js b/node_modules/date-fns/isWednesday/index.js new file mode 100644 index 000000000..4cb3f0994 --- /dev/null +++ b/node_modules/date-fns/isWednesday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isWednesday; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isWednesday + * @category Weekday Helpers + * @summary Is the given date Wednesday? + * + * @description + * Is the given date Wednesday? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is Wednesday + * @throws {TypeError} 1 argument required + * + * @example + * // Is 24 September 2014 Wednesday? + * const result = isWednesday(new Date(2014, 8, 24)) + * //=> true + */ +function isWednesday(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate).getDay() === 3; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isWednesday/index.js.flow b/node_modules/date-fns/isWednesday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isWednesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isWednesday/package.json b/node_modules/date-fns/isWednesday/package.json new file mode 100644 index 000000000..3f827f7ea --- /dev/null +++ b/node_modules/date-fns/isWednesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isWednesday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isWeekend/index.d.ts b/node_modules/date-fns/isWeekend/index.d.ts new file mode 100644 index 000000000..3e54f3118 --- /dev/null +++ b/node_modules/date-fns/isWeekend/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWeekend } from 'date-fns' +export default isWeekend diff --git a/node_modules/date-fns/isWeekend/index.js b/node_modules/date-fns/isWeekend/index.js new file mode 100644 index 000000000..b14b93b19 --- /dev/null +++ b/node_modules/date-fns/isWeekend/index.js @@ -0,0 +1,33 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isWeekend; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isWeekend + * @category Weekday Helpers + * @summary Does the given date fall on a weekend? + * + * @description + * Does the given date fall on a weekend? + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date falls on a weekend + * @throws {TypeError} 1 argument required + * + * @example + * // Does 5 October 2014 fall on a weekend? + * const result = isWeekend(new Date(2014, 9, 5)) + * //=> true + */ +function isWeekend(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var day = date.getDay(); + return day === 0 || day === 6; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isWeekend/index.js.flow b/node_modules/date-fns/isWeekend/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isWeekend/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isWeekend/package.json b/node_modules/date-fns/isWeekend/package.json new file mode 100644 index 000000000..1440ee05c --- /dev/null +++ b/node_modules/date-fns/isWeekend/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isWeekend/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isWithinInterval/index.d.ts b/node_modules/date-fns/isWithinInterval/index.d.ts new file mode 100644 index 000000000..17339dbb6 --- /dev/null +++ b/node_modules/date-fns/isWithinInterval/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isWithinInterval } from 'date-fns' +export default isWithinInterval diff --git a/node_modules/date-fns/isWithinInterval/index.js b/node_modules/date-fns/isWithinInterval/index.js new file mode 100644 index 000000000..e93d5b2fd --- /dev/null +++ b/node_modules/date-fns/isWithinInterval/index.js @@ -0,0 +1,61 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isWithinInterval; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isWithinInterval + * @category Interval Helpers + * @summary Is the given date within the interval? + * + * @description + * Is the given date within the interval? (Including start and end.) + * + * @param {Date|Number} date - the date to check + * @param {Interval} interval - the interval to check + * @returns {Boolean} the date is within the interval + * @throws {TypeError} 2 arguments required + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For the date within the interval: + * isWithinInterval(new Date(2014, 0, 3), { + * start: new Date(2014, 0, 1), + * end: new Date(2014, 0, 7) + * }) + * //=> true + * + * @example + * // For the date outside of the interval: + * isWithinInterval(new Date(2014, 0, 10), { + * start: new Date(2014, 0, 1), + * end: new Date(2014, 0, 7) + * }) + * //=> false + * + * @example + * // For date equal to interval start: + * isWithinInterval(date, { start, end: date }) // => true + * + * @example + * // For date equal to interval end: + * isWithinInterval(date, { start: date, end }) // => true + */ +function isWithinInterval(dirtyDate, interval) { + (0, _index2.default)(2, arguments); + var time = (0, _index.default)(dirtyDate).getTime(); + var startTime = (0, _index.default)(interval.start).getTime(); + var endTime = (0, _index.default)(interval.end).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startTime <= endTime)) { + throw new RangeError('Invalid interval'); + } + return time >= startTime && time <= endTime; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isWithinInterval/index.js.flow b/node_modules/date-fns/isWithinInterval/index.js.flow new file mode 100644 index 000000000..f87005351 --- /dev/null +++ b/node_modules/date-fns/isWithinInterval/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, interval: Interval) => boolean diff --git a/node_modules/date-fns/isWithinInterval/package.json b/node_modules/date-fns/isWithinInterval/package.json new file mode 100644 index 000000000..a02ce4ab0 --- /dev/null +++ b/node_modules/date-fns/isWithinInterval/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isWithinInterval/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/isYesterday/index.d.ts b/node_modules/date-fns/isYesterday/index.d.ts new file mode 100644 index 000000000..b10c63578 --- /dev/null +++ b/node_modules/date-fns/isYesterday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { isYesterday } from 'date-fns' +export default isYesterday diff --git a/node_modules/date-fns/isYesterday/index.js b/node_modules/date-fns/isYesterday/index.js new file mode 100644 index 000000000..c7e4c5f3b --- /dev/null +++ b/node_modules/date-fns/isYesterday/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isYesterday; +var _index = _interopRequireDefault(require("../isSameDay/index.js")); +var _index2 = _interopRequireDefault(require("../subDays/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name isYesterday + * @category Day Helpers + * @summary Is the given date yesterday? + * @pure false + * + * @description + * Is the given date yesterday? + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @param {Date|Number} date - the date to check + * @returns {Boolean} the date is yesterday + * @throws {TypeError} 1 argument required + * + * @example + * // If today is 6 October 2014, is 5 October 14:00:00 yesterday? + * const result = isYesterday(new Date(2014, 9, 5, 14, 0)) + * //=> true + */ +function isYesterday(dirtyDate) { + (0, _index3.default)(1, arguments); + return (0, _index.default)(dirtyDate, (0, _index2.default)(Date.now(), 1)); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/isYesterday/index.js.flow b/node_modules/date-fns/isYesterday/index.js.flow new file mode 100644 index 000000000..d3f01eedb --- /dev/null +++ b/node_modules/date-fns/isYesterday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => boolean diff --git a/node_modules/date-fns/isYesterday/package.json b/node_modules/date-fns/isYesterday/package.json new file mode 100644 index 000000000..c3eccf268 --- /dev/null +++ b/node_modules/date-fns/isYesterday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/isYesterday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfDecade/index.d.ts b/node_modules/date-fns/lastDayOfDecade/index.d.ts new file mode 100644 index 000000000..05b030699 --- /dev/null +++ b/node_modules/date-fns/lastDayOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfDecade } from 'date-fns' +export default lastDayOfDecade diff --git a/node_modules/date-fns/lastDayOfDecade/index.js b/node_modules/date-fns/lastDayOfDecade/index.js new file mode 100644 index 000000000..fad006d2a --- /dev/null +++ b/node_modules/date-fns/lastDayOfDecade/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfDecade; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name lastDayOfDecade + * @category Decade Helpers + * @summary Return the last day of a decade for the given date. + * + * @description + * Return the last day of a decade for the given date. + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of a decade + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of a decade for 21 December 2012 21:12:00: + * const result = lastDayOfDecade(new Date(2012, 11, 21, 21, 12, 00)) + * //=> Wed Dec 31 2019 00:00:00 + */ +function lastDayOfDecade(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + var decade = 9 + Math.floor(year / 10) * 10; + date.setFullYear(decade + 1, 0, 0); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfDecade/index.js.flow b/node_modules/date-fns/lastDayOfDecade/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/lastDayOfDecade/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/lastDayOfDecade/package.json b/node_modules/date-fns/lastDayOfDecade/package.json new file mode 100644 index 000000000..ca83c5c17 --- /dev/null +++ b/node_modules/date-fns/lastDayOfDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfDecade/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfISOWeek/index.d.ts b/node_modules/date-fns/lastDayOfISOWeek/index.d.ts new file mode 100644 index 000000000..e2533d69d --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeek } from 'date-fns' +export default lastDayOfISOWeek diff --git a/node_modules/date-fns/lastDayOfISOWeek/index.js b/node_modules/date-fns/lastDayOfISOWeek/index.js new file mode 100644 index 000000000..84f4c853c --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeek/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfISOWeek; +var _index = _interopRequireDefault(require("../lastDayOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name lastDayOfISOWeek + * @category ISO Week Helpers + * @summary Return the last day of an ISO week for the given date. + * + * @description + * Return the last day of an ISO week for the given date. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of an ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of an ISO week for 2 September 2014 11:55:00: + * const result = lastDayOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Sep 07 2014 00:00:00 + */ +function lastDayOfISOWeek(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, { + weekStartsOn: 1 + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfISOWeek/index.js.flow b/node_modules/date-fns/lastDayOfISOWeek/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/lastDayOfISOWeek/package.json b/node_modules/date-fns/lastDayOfISOWeek/package.json new file mode 100644 index 000000000..b781f9624 --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfISOWeekYear/index.d.ts b/node_modules/date-fns/lastDayOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..b30859aac --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfISOWeekYear } from 'date-fns' +export default lastDayOfISOWeekYear diff --git a/node_modules/date-fns/lastDayOfISOWeekYear/index.js b/node_modules/date-fns/lastDayOfISOWeekYear/index.js new file mode 100644 index 000000000..f30ceb97c --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeekYear/index.js @@ -0,0 +1,42 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfISOWeekYear; +var _index = _interopRequireDefault(require("../getISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../startOfISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name lastDayOfISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Return the last day of an ISO week-numbering year for the given date. + * + * @description + * Return the last day of an ISO week-numbering year, + * which always starts 3 days before the year's first Thursday. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the end of an ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of an ISO week-numbering year for 2 July 2005: + * const result = lastDayOfISOWeekYear(new Date(2005, 6, 2)) + * //=> Sun Jan 01 2006 00:00:00 + */ +function lastDayOfISOWeekYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var year = (0, _index.default)(dirtyDate); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setFullYear(year + 1, 0, 4); + fourthOfJanuary.setHours(0, 0, 0, 0); + var date = (0, _index2.default)(fourthOfJanuary); + date.setDate(date.getDate() - 1); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfISOWeekYear/index.js.flow b/node_modules/date-fns/lastDayOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/lastDayOfISOWeekYear/package.json b/node_modules/date-fns/lastDayOfISOWeekYear/package.json new file mode 100644 index 000000000..a9b0bab0f --- /dev/null +++ b/node_modules/date-fns/lastDayOfISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfISOWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfMonth/index.d.ts b/node_modules/date-fns/lastDayOfMonth/index.d.ts new file mode 100644 index 000000000..4db559b34 --- /dev/null +++ b/node_modules/date-fns/lastDayOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfMonth } from 'date-fns' +export default lastDayOfMonth diff --git a/node_modules/date-fns/lastDayOfMonth/index.js b/node_modules/date-fns/lastDayOfMonth/index.js new file mode 100644 index 000000000..dcf2a8aaa --- /dev/null +++ b/node_modules/date-fns/lastDayOfMonth/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name lastDayOfMonth + * @category Month Helpers + * @summary Return the last day of a month for the given date. + * + * @description + * Return the last day of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of a month + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of a month for 2 September 2014 11:55:00: + * const result = lastDayOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 00:00:00 + */ +function lastDayOfMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var month = date.getMonth(); + date.setFullYear(date.getFullYear(), month + 1, 0); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfMonth/index.js.flow b/node_modules/date-fns/lastDayOfMonth/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/lastDayOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/lastDayOfMonth/package.json b/node_modules/date-fns/lastDayOfMonth/package.json new file mode 100644 index 000000000..996ce32de --- /dev/null +++ b/node_modules/date-fns/lastDayOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfQuarter/index.d.ts b/node_modules/date-fns/lastDayOfQuarter/index.d.ts new file mode 100644 index 000000000..3387b649b --- /dev/null +++ b/node_modules/date-fns/lastDayOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfQuarter } from 'date-fns' +export default lastDayOfQuarter diff --git a/node_modules/date-fns/lastDayOfQuarter/index.js b/node_modules/date-fns/lastDayOfQuarter/index.js new file mode 100644 index 000000000..8407a1e9e --- /dev/null +++ b/node_modules/date-fns/lastDayOfQuarter/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfQuarter; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name lastDayOfQuarter + * @category Quarter Helpers + * @summary Return the last day of a year quarter for the given date. + * + * @description + * Return the last day of a year quarter for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the last day of a quarter + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The last day of a quarter for 2 September 2014 11:55:00: + * const result = lastDayOfQuarter(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 00:00:00 + */ +function lastDayOfQuarter(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var currentMonth = date.getMonth(); + var month = currentMonth - currentMonth % 3 + 3; + date.setMonth(month, 0); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfQuarter/index.js.flow b/node_modules/date-fns/lastDayOfQuarter/index.js.flow new file mode 100644 index 000000000..364a3bb2f --- /dev/null +++ b/node_modules/date-fns/lastDayOfQuarter/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2, + } +) => Date diff --git a/node_modules/date-fns/lastDayOfQuarter/package.json b/node_modules/date-fns/lastDayOfQuarter/package.json new file mode 100644 index 000000000..6d9162e09 --- /dev/null +++ b/node_modules/date-fns/lastDayOfQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfWeek/index.d.ts b/node_modules/date-fns/lastDayOfWeek/index.d.ts new file mode 100644 index 000000000..d29b9bf95 --- /dev/null +++ b/node_modules/date-fns/lastDayOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfWeek } from 'date-fns' +export default lastDayOfWeek diff --git a/node_modules/date-fns/lastDayOfWeek/index.js b/node_modules/date-fns/lastDayOfWeek/index.js new file mode 100644 index 000000000..910b3ac45 --- /dev/null +++ b/node_modules/date-fns/lastDayOfWeek/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfWeek; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index4 = require("../_lib/defaultOptions/index.js"); +/** + * @name lastDayOfWeek + * @category Week Helpers + * @summary Return the last day of a week for the given date. + * + * @description + * Return the last day of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the last day of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The last day of a week for 2 September 2014 11:55:00: + * const result = lastDayOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sat Sep 06 2014 00:00:00 + * + * @example + * // If the week starts on Monday, the last day of the week for 2 September 2014 11:55:00: + * const result = lastDayOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 }) + * //=> Sun Sep 07 2014 00:00:00 + */ +function lastDayOfWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index3.default)(1, arguments); + var defaultOptions = (0, _index4.getDefaultOptions)(); + var weekStartsOn = (0, _index2.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6'); + } + var date = (0, _index.default)(dirtyDate); + var day = date.getDay(); + var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn); + date.setHours(0, 0, 0, 0); + date.setDate(date.getDate() + diff); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfWeek/index.js.flow b/node_modules/date-fns/lastDayOfWeek/index.js.flow new file mode 100644 index 000000000..9285b6736 --- /dev/null +++ b/node_modules/date-fns/lastDayOfWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/lastDayOfWeek/package.json b/node_modules/date-fns/lastDayOfWeek/package.json new file mode 100644 index 000000000..af7c024b2 --- /dev/null +++ b/node_modules/date-fns/lastDayOfWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfYear/index.d.ts b/node_modules/date-fns/lastDayOfYear/index.d.ts new file mode 100644 index 000000000..a90dc0d44 --- /dev/null +++ b/node_modules/date-fns/lastDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lastDayOfYear } from 'date-fns' +export default lastDayOfYear diff --git a/node_modules/date-fns/lastDayOfYear/index.js b/node_modules/date-fns/lastDayOfYear/index.js new file mode 100644 index 000000000..af7d56b15 --- /dev/null +++ b/node_modules/date-fns/lastDayOfYear/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lastDayOfYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name lastDayOfYear + * @category Year Helpers + * @summary Return the last day of a year for the given date. + * + * @description + * Return the last day of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the last day of a year + * @throws {TypeError} 1 argument required + * + * @example + * // The last day of a year for 2 September 2014 11:55:00: + * const result = lastDayOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Dec 31 2014 00:00:00 + */ +function lastDayOfYear(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + date.setFullYear(year + 1, 0, 0); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lastDayOfYear/index.js.flow b/node_modules/date-fns/lastDayOfYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/lastDayOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/lastDayOfYear/package.json b/node_modules/date-fns/lastDayOfYear/package.json new file mode 100644 index 000000000..c6f3939c4 --- /dev/null +++ b/node_modules/date-fns/lastDayOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lastDayOfYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/lightFormat/index.d.ts b/node_modules/date-fns/lightFormat/index.d.ts new file mode 100644 index 000000000..4aa361b58 --- /dev/null +++ b/node_modules/date-fns/lightFormat/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lightFormat } from 'date-fns' +export default lightFormat diff --git a/node_modules/date-fns/lightFormat/index.js b/node_modules/date-fns/lightFormat/index.js new file mode 100644 index 000000000..2f8adbd89 --- /dev/null +++ b/node_modules/date-fns/lightFormat/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = lightFormat; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/format/lightFormatters/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index4 = _interopRequireDefault(require("../isValid/index.js")); +var _index5 = _interopRequireDefault(require("../subMilliseconds/index.js")); +var _index6 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +// This RegExp consists of three parts separated by `|`: +// - (\w)\1* matches any sequences of the same letter +// - '' matches two quote characters in a row +// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), +// except a single quote symbol, which ends the sequence. +// Two quote characters do not end the sequence. +// If there is no matching single quote +// then the sequence will continue until the end of the string. +// - . matches any single character unmatched by previous parts of the RegExps +var formattingTokensRegExp = /(\w)\1*|''|'(''|[^'])+('|$)|./g; +var escapedStringRegExp = /^'([^]*?)'?$/; +var doubleQuoteRegExp = /''/g; +var unescapedLatinCharacterRegExp = /[a-zA-Z]/; + +/** + * @name lightFormat + * @category Common Helpers + * @summary Format the date. + * + * @description + * Return the formatted date string in the given format. Unlike `format`, + * `lightFormat` doesn't use locales and outputs date using the most popular tokens. + * + * > ⚠️ Please note that the `lightFormat` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * + * Accepted patterns: + * | Unit | Pattern | Result examples | + * |---------------------------------|---------|-----------------------------------| + * | AM, PM | a..aaa | AM, PM | + * | | aaaa | a.m., p.m. | + * | | aaaaa | a, p | + * | Calendar year | y | 44, 1, 1900, 2017 | + * | | yy | 44, 01, 00, 17 | + * | | yyy | 044, 001, 000, 017 | + * | | yyyy | 0044, 0001, 1900, 2017 | + * | Month (formatting) | M | 1, 2, ..., 12 | + * | | MM | 01, 02, ..., 12 | + * | Day of month | d | 1, 2, ..., 31 | + * | | dd | 01, 02, ..., 31 | + * | Hour [1-12] | h | 1, 2, ..., 11, 12 | + * | | hh | 01, 02, ..., 11, 12 | + * | Hour [0-23] | H | 0, 1, 2, ..., 23 | + * | | HH | 00, 01, 02, ..., 23 | + * | Minute | m | 0, 1, ..., 59 | + * | | mm | 00, 01, ..., 59 | + * | Second | s | 0, 1, ..., 59 | + * | | ss | 00, 01, ..., 59 | + * | Fraction of second | S | 0, 1, ..., 9 | + * | | SS | 00, 01, ..., 99 | + * | | SSS | 000, 001, ..., 999 | + * | | SSSS | ... | + * + * @param {Date|Number} date - the original date + * @param {String} format - the string of tokens + * @returns {String} the formatted date string + * @throws {TypeError} 2 arguments required + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * const result = lightFormat(new Date(2014, 1, 11), 'yyyy-MM-dd') + * //=> '2014-02-11' + */ + +function lightFormat(dirtyDate, formatStr) { + (0, _index6.default)(2, arguments); + var originalDate = (0, _index.default)(dirtyDate); + if (!(0, _index4.default)(originalDate)) { + throw new RangeError('Invalid time value'); + } + + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + // This ensures that when UTC functions will be implemented, locales will be compatible with them. + // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376 + var timezoneOffset = (0, _index3.default)(originalDate); + var utcDate = (0, _index5.default)(originalDate, timezoneOffset); + var tokens = formatStr.match(formattingTokensRegExp); + + // The only case when formattingTokensRegExp doesn't match the string is when it's empty + if (!tokens) return ''; + var result = tokens.map(function (substring) { + // Replace two single quote characters with one single quote character + if (substring === "''") { + return "'"; + } + var firstCharacter = substring[0]; + if (firstCharacter === "'") { + return cleanEscapedString(substring); + } + var formatter = _index2.default[firstCharacter]; + if (formatter) { + return formatter(utcDate, substring); + } + if (firstCharacter.match(unescapedLatinCharacterRegExp)) { + throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`'); + } + return substring; + }).join(''); + return result; +} +function cleanEscapedString(input) { + var matches = input.match(escapedStringRegExp); + if (!matches) { + return input; + } + return matches[1].replace(doubleQuoteRegExp, "'"); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/lightFormat/index.js.flow b/node_modules/date-fns/lightFormat/index.js.flow new file mode 100644 index 000000000..818d9c4e8 --- /dev/null +++ b/node_modules/date-fns/lightFormat/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, format: string) => string diff --git a/node_modules/date-fns/lightFormat/package.json b/node_modules/date-fns/lightFormat/package.json new file mode 100644 index 000000000..612f5d202 --- /dev/null +++ b/node_modules/date-fns/lightFormat/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/lightFormat/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js b/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js new file mode 100644 index 000000000..5f7cab1bd --- /dev/null +++ b/node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildFormatLongFn; +function buildFormatLongFn(args) { + return function () { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + // TODO: Remove String() + var width = options.width ? String(options.width) : args.defaultWidth; + var format = args.formats[width] || args.formats[args.defaultWidth]; + return format; + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/_lib/buildLocalizeFn/index.js b/node_modules/date-fns/locale/_lib/buildLocalizeFn/index.js new file mode 100644 index 000000000..37f0316ee --- /dev/null +++ b/node_modules/date-fns/locale/_lib/buildLocalizeFn/index.js @@ -0,0 +1,25 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildLocalizeFn; +function buildLocalizeFn(args) { + return function (dirtyIndex, options) { + var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone'; + var valuesArray; + if (context === 'formatting' && args.formattingValues) { + var defaultWidth = args.defaultFormattingWidth || args.defaultWidth; + var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth; + valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth]; + } else { + var _defaultWidth = args.defaultWidth; + var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth; + valuesArray = args.values[_width] || args.values[_defaultWidth]; + } + var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; + // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it! + return valuesArray[index]; + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/_lib/buildMatchFn/index.js b/node_modules/date-fns/locale/_lib/buildMatchFn/index.js new file mode 100644 index 000000000..8b9ab2c96 --- /dev/null +++ b/node_modules/date-fns/locale/_lib/buildMatchFn/index.js @@ -0,0 +1,49 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildMatchFn; +function buildMatchFn(args) { + return function (string) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var width = options.width; + var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth]; + var matchResult = string.match(matchPattern); + if (!matchResult) { + return null; + } + var matchedString = matchResult[0]; + var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth]; + var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) { + return pattern.test(matchedString); + }) : findKey(parsePatterns, function (pattern) { + return pattern.test(matchedString); + }); + var value; + value = args.valueCallback ? args.valueCallback(key) : key; + value = options.valueCallback ? options.valueCallback(value) : value; + var rest = string.slice(matchedString.length); + return { + value: value, + rest: rest + }; + }; +} +function findKey(object, predicate) { + for (var key in object) { + if (object.hasOwnProperty(key) && predicate(object[key])) { + return key; + } + } + return undefined; +} +function findIndex(array, predicate) { + for (var key = 0; key < array.length; key++) { + if (predicate(array[key])) { + return key; + } + } + return undefined; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/_lib/buildMatchPatternFn/index.js b/node_modules/date-fns/locale/_lib/buildMatchPatternFn/index.js new file mode 100644 index 000000000..2b254fabc --- /dev/null +++ b/node_modules/date-fns/locale/_lib/buildMatchPatternFn/index.js @@ -0,0 +1,24 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildMatchPatternFn; +function buildMatchPatternFn(args) { + return function (string) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var matchResult = string.match(args.matchPattern); + if (!matchResult) return null; + var matchedString = matchResult[0]; + var parseResult = string.match(args.parsePattern); + if (!parseResult) return null; + var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0]; + value = options.valueCallback ? options.valueCallback(value) : value; + var rest = string.slice(matchedString.length); + return { + value: value, + rest: rest + }; + }; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/_lib/formatDistance/index.js b/node_modules/date-fns/locale/af/_lib/formatDistance/index.js new file mode 100644 index 000000000..a9f9fc7a4 --- /dev/null +++ b/node_modules/date-fns/locale/af/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: "minder as 'n sekonde", + other: 'minder as {{count}} sekondes' + }, + xSeconds: { + one: '1 sekonde', + other: '{{count}} sekondes' + }, + halfAMinute: "'n halwe minuut", + lessThanXMinutes: { + one: "minder as 'n minuut", + other: 'minder as {{count}} minute' + }, + xMinutes: { + one: "'n minuut", + other: '{{count}} minute' + }, + aboutXHours: { + one: 'ongeveer 1 uur', + other: 'ongeveer {{count}} ure' + }, + xHours: { + one: '1 uur', + other: '{{count}} ure' + }, + xDays: { + one: '1 dag', + other: '{{count}} dae' + }, + aboutXWeeks: { + one: 'ongeveer 1 week', + other: 'ongeveer {{count}} weke' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weke' + }, + aboutXMonths: { + one: 'ongeveer 1 maand', + other: 'ongeveer {{count}} maande' + }, + xMonths: { + one: '1 maand', + other: '{{count}} maande' + }, + aboutXYears: { + one: 'ongeveer 1 jaar', + other: 'ongeveer {{count}} jaar' + }, + xYears: { + one: '1 jaar', + other: '{{count}} jaar' + }, + overXYears: { + one: 'meer as 1 jaar', + other: 'meer as {{count}} jaar' + }, + almostXYears: { + one: 'byna 1 jaar', + other: 'byna {{count}} jaar' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'oor ' + result; + } else { + return result + ' gelede'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/_lib/formatLong/index.js b/node_modules/date-fns/locale/af/_lib/formatLong/index.js new file mode 100644 index 000000000..2d3ae7747 --- /dev/null +++ b/node_modules/date-fns/locale/af/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/_lib/formatRelative/index.js b/node_modules/date-fns/locale/af/_lib/formatRelative/index.js new file mode 100644 index 000000000..5c4c5a87e --- /dev/null +++ b/node_modules/date-fns/locale/af/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'verlede' eeee 'om' p", + yesterday: "'gister om' p", + today: "'vandag om' p", + tomorrow: "'môre om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/_lib/localize/index.js b/node_modules/date-fns/locale/af/_lib/localize/index.js new file mode 100644 index 000000000..9f1d8f6c8 --- /dev/null +++ b/node_modules/date-fns/locale/af/_lib/localize/index.js @@ -0,0 +1,138 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['vC', 'nC'], + abbreviated: ['vC', 'nC'], + wide: ['voor Christus', 'na Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1ste kwartaal', '2de kwartaal', '3de kwartaal', '4de kwartaal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], + wide: ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'W', 'D', 'V', 'S'], + short: ['So', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Sa'], + abbreviated: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'], + wide: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'middaguur', + morning: 'oggend', + afternoon: 'middag', + evening: 'laat middag', + night: 'aand' + }, + abbreviated: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'middaguur', + morning: 'oggend', + afternoon: 'middag', + evening: 'laat middag', + night: 'aand' + }, + wide: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'middaguur', + morning: 'oggend', + afternoon: 'middag', + evening: 'laat middag', + night: 'aand' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'uur die middag', + morning: 'uur die oggend', + afternoon: 'uur die middag', + evening: 'uur die aand', + night: 'uur die aand' + }, + abbreviated: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'uur die middag', + morning: 'uur die oggend', + afternoon: 'uur die middag', + evening: 'uur die aand', + night: 'uur die aand' + }, + wide: { + am: 'vm', + pm: 'nm', + midnight: 'middernag', + noon: 'uur die middag', + morning: 'uur die oggend', + afternoon: 'uur die middag', + evening: 'uur die aand', + night: 'uur die aand' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 < 20) { + switch (rem100) { + case 1: + case 8: + return number + 'ste'; + default: + return number + 'de'; + } + } + return number + 'ste'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/_lib/match/index.js b/node_modules/date-fns/locale/af/_lib/match/index.js new file mode 100644 index 000000000..e74e04aca --- /dev/null +++ b/node_modules/date-fns/locale/af/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(ste|de)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([vn]\.? ?C\.?)/, + abbreviated: /^([vn]\. ?C\.?)/, + wide: /^((voor|na) Christus)/ +}; +var parseEraPatterns = { + any: [/^v/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234](st|d)e kwartaal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i, + wide: /^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i +}; +var parseMonthPatterns = { + narrow: [/^J/i, /^F/i, /^M/i, /^A/i, /^M/i, /^J/i, /^J/i, /^A/i, /^S/i, /^O/i, /^N/i, /^D/i], + any: [/^Jan/i, /^Feb/i, /^Mrt/i, /^Apr/i, /^Mei/i, /^Jun/i, /^Jul/i, /^Aug/i, /^Sep/i, /^Okt/i, /^Nov/i, /^Dec/i] +}; +var matchDayPatterns = { + narrow: /^[smdwv]/i, + short: /^(So|Ma|Di|Wo|Do|Vr|Sa)/i, + abbreviated: /^(Son|Maa|Din|Woe|Don|Vry|Sat)/i, + wide: /^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i +}; +var parseDayPatterns = { + narrow: [/^S/i, /^M/i, /^D/i, /^W/i, /^D/i, /^V/i, /^S/i], + any: [/^So/i, /^Ma/i, /^Di/i, /^Wo/i, /^Do/i, /^Vr/i, /^Sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^vm/i, + pm: /^nm/i, + midnight: /^middernag/i, + noon: /^middaguur/i, + morning: /oggend/i, + afternoon: /middag/i, + evening: /laat middag/i, + night: /aand/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/index.d.ts b/node_modules/date-fns/locale/af/index.d.ts new file mode 100644 index 000000000..fb278e61c --- /dev/null +++ b/node_modules/date-fns/locale/af/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { af } from 'date-fns/locale' +export default af diff --git a/node_modules/date-fns/locale/af/index.js b/node_modules/date-fns/locale/af/index.js new file mode 100644 index 000000000..dfbdd73b7 --- /dev/null +++ b/node_modules/date-fns/locale/af/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Afrikaans locale. + * @language Afrikaans + * @iso-639-2 afr + * @author Marnus Weststrate [@marnusw]{@link https://github.com/marnusw} + */ +var locale = { + code: 'af', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/af/index.js.flow b/node_modules/date-fns/locale/af/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/af/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/af/package.json b/node_modules/date-fns/locale/af/package.json new file mode 100644 index 000000000..1dbe58680 --- /dev/null +++ b/node_modules/date-fns/locale/af/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/af/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar-DZ/_lib/formatDistance/index.js new file mode 100644 index 000000000..2f5c29f4a --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/_lib/formatDistance/index.js @@ -0,0 +1,126 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية واحدة', + two: 'أقل من ثانتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتين', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريباً', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريباً', + two: 'أسبوعين تقريباً', + threeToTen: '{{count}} أسابيع تقريباً', + other: '{{count}} أسبوع تقريباً' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريباً', + threeToTen: '{{count}} أشهر تقريباً', + other: '{{count}} شهر تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + }, + xYears: { + one: 'عام واحد', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/_lib/formatLong/index.js b/node_modules/date-fns/locale/ar-DZ/_lib/formatLong/index.js new file mode 100644 index 000000000..b984bd698 --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'عند' {{time}}", + long: "{{date}} 'عند' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ar-DZ/_lib/formatRelative/index.js new file mode 100644 index 000000000..4e52e6cee --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'أخر' eeee 'عند' p", + yesterday: "'أمس عند' p", + today: "'اليوم عند' p", + tomorrow: "'غداً عند' p", + nextWeek: "eeee 'عند' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/_lib/localize/index.js b/node_modules/date-fns/locale/ar-DZ/_lib/localize/index.js new file mode 100644 index 000000000..9e274dd91 --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['جانـ', 'فيفـ', 'مارس', 'أفريل', 'مايـ', 'جوانـ', 'جويـ', 'أوت', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'], + wide: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/_lib/match/index.js b/node_modules/date-fns/locale/ar-DZ/_lib/match/index.js new file mode 100644 index 000000000..4d02a3836 --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i, + wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ر[1234]/i, + wide: /^الربع [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[جفمأسند]/i, + abbreviated: /^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i, + wide: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i +}; +var parseMonthPatterns = { + narrow: [/^ج/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ج/i, /^ج/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^جان/i, /^فيف/i, /^مار/i, /^أفر/i, /^ماي/i, /^جوا/i, /^جوي/i, /^أوت/i, /^سبت/i, /^أكت/i, /^نوف/i, /^ديس/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return Number(index) + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/index.d.ts b/node_modules/date-fns/locale/ar-DZ/index.d.ts new file mode 100644 index 000000000..97f47f111 --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arDZ } from 'date-fns/locale' +export default arDZ diff --git a/node_modules/date-fns/locale/ar-DZ/index.js b/node_modules/date-fns/locale/ar-DZ/index.js new file mode 100644 index 000000000..b6b026083 --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Algerian Arabic). + * @language Algerian Arabic + * @iso-639-2 ara + * @author Badreddine Boumaza [@badre429]{@link https://github.com/badre429} + * @author Ahmed ElShahat [@elshahat]{@link https://github.com/elshahat} + */ +var locale = { + code: 'ar-DZ', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-DZ/index.js.flow b/node_modules/date-fns/locale/ar-DZ/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ar-DZ/package.json b/node_modules/date-fns/locale/ar-DZ/package.json new file mode 100644 index 000000000..b7a184f56 --- /dev/null +++ b/node_modules/date-fns/locale/ar-DZ/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ar-DZ/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar-EG/_lib/formatDistance/index.js new file mode 100644 index 000000000..fdd69fa3a --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/_lib/formatDistance/index.js @@ -0,0 +1,125 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية', + two: 'أقل من ثانيتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية', + two: 'ثانيتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نص دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقايق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة', + two: 'دقيقتين', + threeToTen: '{{count}} دقايق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'حوالي ساعة', + two: 'حوالي ساعتين', + threeToTen: 'حوالي {{count}} ساعات', + other: 'حوالي {{count}} ساعة' + }, + xHours: { + one: 'ساعة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'حوالي أسبوع', + two: 'حوالي أسبوعين', + threeToTen: 'حوالي {{count}} أسابيع', + other: 'حوالي {{count}} أسبوع' + }, + xWeeks: { + one: 'أسبوع', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'حوالي شهر', + two: 'حوالي شهرين', + threeToTen: 'حوالي {{count}} أشهر', + other: 'حوالي {{count}} شهر' + }, + xMonths: { + one: 'شهر', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'حوالي سنة', + two: 'حوالي سنتين', + threeToTen: 'حوالي {{count}} سنين', + other: 'حوالي {{count}} سنة' + }, + xYears: { + one: 'عام', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من سنة', + two: 'أكثر من سنتين', + threeToTen: 'أكثر من {{count}} سنين', + other: 'أكثر من {{count}} سنة' + }, + almostXYears: { + one: 'عام تقريبًا', + two: 'عامين تقريبًا', + threeToTen: '{{count}} أعوام تقريبًا', + other: '{{count}} عام تقريبًا' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2) { + result = tokenValue.two; + } else if (count <= 10) { + result = tokenValue.threeToTen.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return "\u0641\u064A \u062E\u0644\u0627\u0644 ".concat(result); + } else { + return "\u0645\u0646\u0630 ".concat(result); + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/_lib/formatLong/index.js b/node_modules/date-fns/locale/ar-EG/_lib/formatLong/index.js new file mode 100644 index 000000000..3bc57c1b8 --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE، do MMMM y', + long: 'do MMMM y', + medium: 'dd/MMM/y', + short: 'd/MM/y' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'الساعة' {{time}}", + long: "{{date}} 'الساعة' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ar-EG/_lib/formatRelative/index.js new file mode 100644 index 000000000..fd5952daf --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'اللي جاي الساعة' p", + yesterday: "'إمبارح الساعة' p", + today: "'النهاردة الساعة' p", + tomorrow: "'بكرة الساعة' p", + nextWeek: "eeee 'الساعة' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/_lib/localize/index.js b/node_modules/date-fns/locale/ar-EG/_lib/localize/index.js new file mode 100644 index 000000000..809542b5d --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م', 'ب.م'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'مايو', 'يونـ', 'يولـ', 'أغسـ', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهراً', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهراً', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهراً', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + morning: 'في الصباح', + noon: 'ظهراً', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/_lib/match/index.js b/node_modules/date-fns/locale/ar-EG/_lib/match/index.js new file mode 100644 index 000000000..7f895406b --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/_lib/match/index.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)/; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/g, + abbreviated: /^(ق.م|ب.م)/g, + wide: /^(قبل الميلاد|بعد الميلاد)/g +}; +var parseEraPatterns = { + any: [/^ق/g, /^ب/g] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/, + abbreviated: /^ر[1234]/, + wide: /^الربع (الأول|الثاني|الثالث|الرابع)/ +}; +var parseQuarterPatterns = { + wide: [/الربع الأول/, /الربع الثاني/, /الربع الثالث/, /الربع الرابع/], + any: [/1/, /2/, /3/, /4/] +}; +var matchMonthPatterns = { + narrow: /^(ي|ف|م|أ|س|ن|د)/, + abbreviated: /^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/, + wide: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/ +}; +var parseMonthPatterns = { + narrow: [/^ي/, /^ف/, /^م/, /^أ/, /^م/, /^ي/, /^ي/, /^أ/, /^س/, /^أ/, /^ن/, /^د/], + any: [/^ينا/, /^فبر/, /^مارس/, /^أبريل/, /^مايو/, /^يون/, /^يول/, /^أغس/, /^سبت/, /^أكت/, /^نوف/, /^ديس/] +}; +var matchDayPatterns = { + narrow: /^(ح|ن|ث|ر|خ|ج|س)/, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/, + abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/ +}; +var parseDayPatterns = { + narrow: [/^ح/, /^ن/, /^ث/, /^ر/, /^خ/, /^ج/, /^س/], + any: [/أحد/, /اثنين/, /ثلاثاء/, /أربعاء/, /خميس/, /جمعة/, /سبت/] +}; +var matchDayPeriodPatterns = { + narrow: /^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/, + abbreviated: /^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/, + wide: /^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/, + any: /^(ص|م|صباح|ظهر|مساء|ليل)/ +}; +var parseDayPeriodPatterns = { + any: { + am: /^ص/, + pm: /^م/, + midnight: /^ن/, + noon: /^ظ/, + morning: /^ص/, + afternoon: /^بعد/, + evening: /^م/, + night: /^ل/ + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/index.d.ts b/node_modules/date-fns/locale/ar-EG/index.d.ts new file mode 100644 index 000000000..0d317119b --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arEG } from 'date-fns/locale' +export default arEG diff --git a/node_modules/date-fns/locale/ar-EG/index.js b/node_modules/date-fns/locale/ar-EG/index.js new file mode 100644 index 000000000..651e7772b --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Egypt). + * @language Arabic + * @iso-639-2 ara + * @author AbdAllah AbdElFattah [@AbdAllahAbdElFattah13]{@link https://github.com/AbdAllahAbdElFattah13} + */ +var locale = { + code: 'ar-EG', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-EG/index.js.flow b/node_modules/date-fns/locale/ar-EG/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ar-EG/package.json b/node_modules/date-fns/locale/ar-EG/package.json new file mode 100644 index 000000000..b34099275 --- /dev/null +++ b/node_modules/date-fns/locale/ar-EG/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ar-EG/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar-MA/_lib/formatDistance/index.js new file mode 100644 index 000000000..2f5c29f4a --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/_lib/formatDistance/index.js @@ -0,0 +1,126 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية واحدة', + two: 'أقل من ثانتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتين', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريباً', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريباً', + two: 'أسبوعين تقريباً', + threeToTen: '{{count}} أسابيع تقريباً', + other: '{{count}} أسبوع تقريباً' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريباً', + threeToTen: '{{count}} أشهر تقريباً', + other: '{{count}} شهر تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + }, + xYears: { + one: 'عام واحد', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/_lib/formatLong/index.js b/node_modules/date-fns/locale/ar-MA/_lib/formatLong/index.js new file mode 100644 index 000000000..b984bd698 --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'عند' {{time}}", + long: "{{date}} 'عند' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ar-MA/_lib/formatRelative/index.js new file mode 100644 index 000000000..4e52e6cee --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'أخر' eeee 'عند' p", + yesterday: "'أمس عند' p", + today: "'اليوم عند' p", + tomorrow: "'غداً عند' p", + nextWeek: "eeee 'عند' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/_lib/localize/index.js b/node_modules/date-fns/locale/ar-MA/_lib/localize/index.js new file mode 100644 index 000000000..b0f7f8206 --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'غ', 'ش', 'أ', 'ن', 'د'], + abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'ماي', 'يونـ', 'يولـ', 'غشت', 'شتنـ', 'أكتـ', 'نونـ', 'دجنـ'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'], + wide: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/_lib/match/index.js b/node_modules/date-fns/locale/ar-MA/_lib/match/index.js new file mode 100644 index 000000000..69c3c7372 --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i, + wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ر[1234]/i, + wide: /^الربع [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[يفمأمسند]/i, + abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i, + wide: /^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^غ/i, /^ش/i, /^أ/i, /^ن/i, /^د/i], + any: [/^ين/i, /^فب/i, /^مار/i, /^أب/i, /^ماي/i, /^يون/i, /^يول/i, /^غشت/i, /^ش/i, /^أك/i, /^ن/i, /^د/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i, + wide: /^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الإثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^إث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return Number(index) + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/index.d.ts b/node_modules/date-fns/locale/ar-MA/index.d.ts new file mode 100644 index 000000000..b12ae41c0 --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arMA } from 'date-fns/locale' +export default arMA diff --git a/node_modules/date-fns/locale/ar-MA/index.js b/node_modules/date-fns/locale/ar-MA/index.js new file mode 100644 index 000000000..20d7ce2ce --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Moroccan Arabic). + * @language Moroccan Arabic + * @iso-639-2 ara + * @author Achraf Rrami [@rramiachraf]{@link https://github.com/rramiachraf} + */ +var locale = { + code: 'ar-MA', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + // Monday is 1 + weekStartsOn: 1, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-MA/index.js.flow b/node_modules/date-fns/locale/ar-MA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ar-MA/package.json b/node_modules/date-fns/locale/ar-MA/package.json new file mode 100644 index 000000000..05dc29959 --- /dev/null +++ b/node_modules/date-fns/locale/ar-MA/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ar-MA/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar-SA/_lib/formatDistance/index.js new file mode 100644 index 000000000..59b85c1bc --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/_lib/formatDistance/index.js @@ -0,0 +1,125 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية واحدة', + two: 'أقل من ثانتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانتين', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتين', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريباً', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتين', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريباً', + two: 'أسبوعين تقريباً', + threeToTen: '{{count}} أسابيع تقريباً', + other: '{{count}} أسبوع تقريباً' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعين', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوع' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريباً', + threeToTen: '{{count}} أشهر تقريباً', + other: '{{count}} شهر تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهرين', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + }, + xYears: { + one: 'عام واحد', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام واحد تقريباً', + two: 'عامين تقريباً', + threeToTen: '{{count}} أعوام تقريباً', + other: '{{count}} عام تقريباً' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2) { + result = tokenValue.two; + } else if (count <= 10) { + result = tokenValue.threeToTen.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/_lib/formatLong/index.js b/node_modules/date-fns/locale/ar-SA/_lib/formatLong/index.js new file mode 100644 index 000000000..b984bd698 --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'عند' {{time}}", + long: "{{date}} 'عند' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ar-SA/_lib/formatRelative/index.js new file mode 100644 index 000000000..4e52e6cee --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'أخر' eeee 'عند' p", + yesterday: "'أمس عند' p", + today: "'اليوم عند' p", + tomorrow: "'غداً عند' p", + nextWeek: "eeee 'عند' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/_lib/localize/index.js b/node_modules/date-fns/locale/ar-SA/_lib/localize/index.js new file mode 100644 index 000000000..6b8be2e35 --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'مايو', 'يونـ', 'يولـ', 'أغسـ', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظهر', + evening: 'مساءاً', + night: 'ليلاً' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + midnight: 'ن', + noon: 'ظ', + morning: 'في الصباح', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'في الصباح', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل' + }, + wide: { + am: 'ص', + pm: 'م', + midnight: 'نصف الليل', + noon: 'ظهر', + morning: 'صباحاً', + afternoon: 'بعد الظـهر', + evening: 'في المساء', + night: 'في الليل' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/_lib/match/index.js b/node_modules/date-fns/locale/ar-SA/_lib/match/index.js new file mode 100644 index 000000000..e4998ad98 --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i, + wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ر[1234]/i, + wide: /^الربع [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[يفمأمسند]/i, + abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i, + wide: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^ين/i, /^ف/i, /^مار/i, /^أب/i, /^ماي/i, /^يون/i, /^يول/i, /^أغ/i, /^س/i, /^أك/i, /^ن/i, /^د/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/index.d.ts b/node_modules/date-fns/locale/ar-SA/index.d.ts new file mode 100644 index 000000000..e1a74a056 --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arSA } from 'date-fns/locale' +export default arSA diff --git a/node_modules/date-fns/locale/ar-SA/index.js b/node_modules/date-fns/locale/ar-SA/index.js new file mode 100644 index 000000000..4141c8247 --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Sauid Arabic). + * @language Arabic + * @iso-639-2 ara + * @author Dhaifallah Alwadani [@dalwadani]{@link https://github.com/dalwadani} + */ +var locale = { + code: 'ar-SA', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-SA/index.js.flow b/node_modules/date-fns/locale/ar-SA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ar-SA/package.json b/node_modules/date-fns/locale/ar-SA/package.json new file mode 100644 index 000000000..718a00e4a --- /dev/null +++ b/node_modules/date-fns/locale/ar-SA/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ar-SA/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js new file mode 100644 index 000000000..5fc5912ae --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/_lib/formatDistance/index.js @@ -0,0 +1,125 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية', + two: 'أقل من زوز ثواني', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية', + two: 'زوز ثواني', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نص دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقايق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة', + two: 'دقيقتين', + threeToTen: '{{count}} دقايق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة تقريب', + two: 'ساعتين تقريب', + threeToTen: '{{count}} سوايع تقريب', + other: '{{count}} ساعة تقريب' + }, + xHours: { + one: 'ساعة', + two: 'ساعتين', + threeToTen: '{{count}} سوايع', + other: '{{count}} ساعة' + }, + xDays: { + one: 'نهار', + two: 'نهارين', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'جمعة تقريب', + two: 'جمعتين تقريب', + threeToTen: '{{count}} جماع تقريب', + other: '{{count}} جمعة تقريب' + }, + xWeeks: { + one: 'جمعة', + two: 'جمعتين', + threeToTen: '{{count}} جماع', + other: '{{count}} جمعة' + }, + aboutXMonths: { + one: 'شهر تقريب', + two: 'شهرين تقريب', + threeToTen: '{{count}} أشهرة تقريب', + other: '{{count}} شهر تقريب' + }, + xMonths: { + one: 'شهر', + two: 'شهرين', + threeToTen: '{{count}} أشهرة', + other: '{{count}} شهر' + }, + aboutXYears: { + one: 'عام تقريب', + two: 'عامين تقريب', + threeToTen: '{{count}} أعوام تقريب', + other: '{{count}} عام تقريب' + }, + xYears: { + one: 'عام', + two: 'عامين', + threeToTen: '{{count}} أعوام', + other: '{{count}} عام' + }, + overXYears: { + one: 'أكثر من عام', + two: 'أكثر من عامين', + threeToTen: 'أكثر من {{count}} أعوام', + other: 'أكثر من {{count}} عام' + }, + almostXYears: { + one: 'عام تقريب', + two: 'عامين تقريب', + threeToTen: '{{count}} أعوام تقريب', + other: '{{count}} عام تقريب' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'في ' + result; + } else { + return 'عندو ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/_lib/formatLong/index.js b/node_modules/date-fns/locale/ar-TN/_lib/formatLong/index.js new file mode 100644 index 000000000..c78d5ebcf --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE، do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss', + long: 'HH:mm:ss', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'مع' {{time}}", + long: "{{date}} 'مع' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ar-TN/_lib/formatRelative/index.js new file mode 100644 index 000000000..dff14eb39 --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'إلي فات مع' p", + yesterday: "'البارح مع' p", + today: "'اليوم مع' p", + tomorrow: "'غدوة مع' p", + nextWeek: "eeee 'الجمعة الجاية مع' p 'نهار'", + other: 'P' +}; +var formatRelative = function formatRelative(token) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/_lib/localize/index.js b/node_modules/date-fns/locale/ar-TN/_lib/localize/index.js new file mode 100644 index 000000000..c13afa8d7 --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['د', 'ن', 'أ', 'س', 'أ', 'ج', 'ج', 'م', 'أ', 'م', 'ف', 'ج'], + abbreviated: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'], + wide: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'ع', + morning: 'الصباح', + noon: 'القايلة', + afternoon: 'بعد القايلة', + evening: 'العشية', + night: 'الليل', + midnight: 'نص الليل' + }, + abbreviated: { + am: 'ص', + pm: 'ع', + morning: 'الصباح', + noon: 'القايلة', + afternoon: 'بعد القايلة', + evening: 'العشية', + night: 'الليل', + midnight: 'نص الليل' + }, + wide: { + am: 'ص', + pm: 'ع', + morning: 'الصباح', + noon: 'القايلة', + afternoon: 'بعد القايلة', + evening: 'العشية', + night: 'الليل', + midnight: 'نص الليل' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'ع', + morning: 'في الصباح', + noon: 'في القايلة', + afternoon: 'بعد القايلة', + evening: 'في العشية', + night: 'في الليل', + midnight: 'نص الليل' + }, + abbreviated: { + am: 'ص', + pm: 'ع', + morning: 'في الصباح', + noon: 'في القايلة', + afternoon: 'بعد القايلة', + evening: 'في العشية', + night: 'في الليل', + midnight: 'نص الليل' + }, + wide: { + am: 'ص', + pm: 'ع', + morning: 'في الصباح', + noon: 'في القايلة', + afternoon: 'بعد القايلة', + evening: 'في العشية', + night: 'في الليل', + midnight: 'نص الليل' + } +}; +var ordinalNumber = function ordinalNumber(num) { + return String(num); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/_lib/match/index.js b/node_modules/date-fns/locale/ar-TN/_lib/match/index.js new file mode 100644 index 000000000..217e2e203 --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /[قب]/, + abbreviated: /[قب]\.م\./, + wide: /(قبل|بعد) الميلاد/ +}; +var parseEraPatterns = { + any: [/قبل/, /بعد/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /ر[1234]/, + wide: /الربع (الأول|الثاني|الثالث|الرابع)/ +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[جفمأسند]/, + abbreviated: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/, + wide: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/ +}; +var parseMonthPatterns = { + narrow: [/^ج/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ج/i, /^ج/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^جانفي/i, /^فيفري/i, /^مارس/i, /^أفريل/i, /^ماي/i, /^جوان/i, /^جويلية/i, /^أوت/i, /^سبتمبر/i, /^أكتوبر/i, /^نوفمبر/i, /^ديسمبر/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ص|ع|ن ل|ل|(في|مع) (صباح|قايلة|عشية|ليل))/, + any: /^([صع]|نص الليل|قايلة|(في|مع) (صباح|قايلة|عشية|ليل))/ +}; +var parseDayPeriodPatterns = { + any: { + am: /^ص/, + pm: /^ع/, + midnight: /نص الليل/, + noon: /قايلة/, + afternoon: /بعد القايلة/, + morning: /صباح/, + evening: /عشية/, + night: /ليل/ + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/index.d.ts b/node_modules/date-fns/locale/ar-TN/index.d.ts new file mode 100644 index 000000000..a793e3234 --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { arTN } from 'date-fns/locale' +export default arTN diff --git a/node_modules/date-fns/locale/ar-TN/index.js b/node_modules/date-fns/locale/ar-TN/index.js new file mode 100644 index 000000000..b3a995ad4 --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Tunisian Arabic). + * @language Arabic + * @iso-639-2 ara + * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3} + */ +var locale = { + code: 'ar-TN', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar-TN/index.js.flow b/node_modules/date-fns/locale/ar-TN/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ar-TN/package.json b/node_modules/date-fns/locale/ar-TN/package.json new file mode 100644 index 000000000..113efcdd5 --- /dev/null +++ b/node_modules/date-fns/locale/ar-TN/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ar-TN/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ar/_lib/formatDistance/index.js new file mode 100644 index 000000000..b95c14889 --- /dev/null +++ b/node_modules/date-fns/locale/ar/_lib/formatDistance/index.js @@ -0,0 +1,125 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'أقل من ثانية', + two: 'أقل من ثانيتين', + threeToTen: 'أقل من {{count}} ثواني', + other: 'أقل من {{count}} ثانية' + }, + xSeconds: { + one: 'ثانية واحدة', + two: 'ثانيتان', + threeToTen: '{{count}} ثواني', + other: '{{count}} ثانية' + }, + halfAMinute: 'نصف دقيقة', + lessThanXMinutes: { + one: 'أقل من دقيقة', + two: 'أقل من دقيقتين', + threeToTen: 'أقل من {{count}} دقائق', + other: 'أقل من {{count}} دقيقة' + }, + xMinutes: { + one: 'دقيقة واحدة', + two: 'دقيقتان', + threeToTen: '{{count}} دقائق', + other: '{{count}} دقيقة' + }, + aboutXHours: { + one: 'ساعة واحدة تقريباً', + two: 'ساعتين تقريبا', + threeToTen: '{{count}} ساعات تقريباً', + other: '{{count}} ساعة تقريباً' + }, + xHours: { + one: 'ساعة واحدة', + two: 'ساعتان', + threeToTen: '{{count}} ساعات', + other: '{{count}} ساعة' + }, + xDays: { + one: 'يوم واحد', + two: 'يومان', + threeToTen: '{{count}} أيام', + other: '{{count}} يوم' + }, + aboutXWeeks: { + one: 'أسبوع واحد تقريبا', + two: 'أسبوعين تقريبا', + threeToTen: '{{count}} أسابيع تقريبا', + other: '{{count}} أسبوعا تقريبا' + }, + xWeeks: { + one: 'أسبوع واحد', + two: 'أسبوعان', + threeToTen: '{{count}} أسابيع', + other: '{{count}} أسبوعا' + }, + aboutXMonths: { + one: 'شهر واحد تقريباً', + two: 'شهرين تقريبا', + threeToTen: '{{count}} أشهر تقريبا', + other: '{{count}} شهرا تقريباً' + }, + xMonths: { + one: 'شهر واحد', + two: 'شهران', + threeToTen: '{{count}} أشهر', + other: '{{count}} شهرا' + }, + aboutXYears: { + one: 'سنة واحدة تقريباً', + two: 'سنتين تقريبا', + threeToTen: '{{count}} سنوات تقريباً', + other: '{{count}} سنة تقريباً' + }, + xYears: { + one: 'سنة واحد', + two: 'سنتان', + threeToTen: '{{count}} سنوات', + other: '{{count}} سنة' + }, + overXYears: { + one: 'أكثر من سنة', + two: 'أكثر من سنتين', + threeToTen: 'أكثر من {{count}} سنوات', + other: 'أكثر من {{count}} سنة' + }, + almostXYears: { + one: 'ما يقارب سنة واحدة', + two: 'ما يقارب سنتين', + threeToTen: 'ما يقارب {{count}} سنوات', + other: 'ما يقارب {{count}} سنة' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var usageGroup = formatDistanceLocale[token]; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else if (count === 2) { + result = usageGroup.two; + } else if (count <= 10) { + result = usageGroup.threeToTen.replace('{{count}}', String(count)); + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'خلال ' + result; + } else { + return 'منذ ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/_lib/formatLong/index.js b/node_modules/date-fns/locale/ar/_lib/formatLong/index.js new file mode 100644 index 000000000..1332401a0 --- /dev/null +++ b/node_modules/date-fns/locale/ar/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE، do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss', + long: 'HH:mm:ss', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'عند الساعة' {{time}}", + long: "{{date}} 'عند الساعة' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ar/_lib/formatRelative/index.js new file mode 100644 index 000000000..2e5ee60d3 --- /dev/null +++ b/node_modules/date-fns/locale/ar/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'الماضي عند الساعة' p", + yesterday: "'الأمس عند الساعة' p", + today: "'اليوم عند الساعة' p", + tomorrow: "'غدا عند الساعة' p", + nextWeek: "eeee 'القادم عند الساعة' p", + other: 'P' +}; +var formatRelative = function formatRelative(token) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/_lib/localize/index.js b/node_modules/date-fns/locale/ar/_lib/localize/index.js new file mode 100644 index 000000000..7568dba8f --- /dev/null +++ b/node_modules/date-fns/locale/ar/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل الميلاد', 'بعد الميلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'], + wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع'] +}; +var monthValues = { + narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'], + abbreviated: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'], + wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] +}; +var dayValues = { + narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], + wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'] +}; +var dayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + morning: 'الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'المساء', + night: 'الليل', + midnight: 'منتصف الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + morning: 'الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'المساء', + night: 'الليل', + midnight: 'منتصف الليل' + }, + wide: { + am: 'ص', + pm: 'م', + morning: 'الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'المساء', + night: 'الليل', + midnight: 'منتصف الليل' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ص', + pm: 'م', + morning: 'في الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل', + midnight: 'منتصف الليل' + }, + abbreviated: { + am: 'ص', + pm: 'م', + morning: 'في الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل', + midnight: 'منتصف الليل' + }, + wide: { + am: 'ص', + pm: 'م', + morning: 'في الصباح', + noon: 'الظهر', + afternoon: 'بعد الظهر', + evening: 'في المساء', + night: 'في الليل', + midnight: 'منتصف الليل' + } +}; +var ordinalNumber = function ordinalNumber(num) { + return String(num); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/_lib/match/index.js b/node_modules/date-fns/locale/ar/_lib/match/index.js new file mode 100644 index 000000000..e967cb95a --- /dev/null +++ b/node_modules/date-fns/locale/ar/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /[قب]/, + abbreviated: /[قب]\.م\./, + wide: /(قبل|بعد) الميلاد/ +}; +var parseEraPatterns = { + any: [/قبل/, /بعد/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /ر[1234]/, + wide: /الربع (الأول|الثاني|الثالث|الرابع)/ +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[أيفمسند]/, + abbreviated: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/, + wide: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/ +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i], + any: [/^يناير/i, /^فبراير/i, /^مارس/i, /^أبريل/i, /^مايو/i, /^يونيو/i, /^يوليو/i, /^أغسطس/i, /^سبتمبر/i, /^أكتوبر/i, /^نوفمبر/i, /^ديسمبر/i] +}; +var matchDayPatterns = { + narrow: /^[حنثرخجس]/i, + short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i, + wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i +}; +var parseDayPatterns = { + narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i], + wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i], + any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/, + any: /^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/ +}; +var parseDayPeriodPatterns = { + any: { + am: /^ص/, + pm: /^م/, + midnight: /منتصف الليل/, + noon: /الظهر/, + afternoon: /بعد الظهر/, + morning: /في الصباح/, + evening: /في المساء/, + night: /في الليل/ + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/index.d.ts b/node_modules/date-fns/locale/ar/index.d.ts new file mode 100644 index 000000000..61adf3bab --- /dev/null +++ b/node_modules/date-fns/locale/ar/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ar } from 'date-fns/locale' +export default ar diff --git a/node_modules/date-fns/locale/ar/index.js b/node_modules/date-fns/locale/ar/index.js new file mode 100644 index 000000000..64f011d57 --- /dev/null +++ b/node_modules/date-fns/locale/ar/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Arabic locale (Modern Standard Arabic - Al-fussha). + * @language Modern Standard Arabic + * @iso-639-2 ara + * @author Abdallah Hassan [@AbdallahAHO]{@link https://github.com/AbdallahAHO} + * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3} + */ +var locale = { + code: 'ar', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 6 /* Saturday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ar/index.js.flow b/node_modules/date-fns/locale/ar/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ar/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ar/package.json b/node_modules/date-fns/locale/ar/package.json new file mode 100644 index 000000000..6aa060adb --- /dev/null +++ b/node_modules/date-fns/locale/ar/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ar/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/_lib/formatDistance/index.js b/node_modules/date-fns/locale/az/_lib/formatDistance/index.js new file mode 100644 index 000000000..4674782c2 --- /dev/null +++ b/node_modules/date-fns/locale/az/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'bir saniyədən az', + other: '{{count}} bir saniyədən az' + }, + xSeconds: { + one: '1 saniyə', + other: '{{count}} saniyə' + }, + halfAMinute: 'yarım dəqiqə', + lessThanXMinutes: { + one: 'bir dəqiqədən az', + other: '{{count}} bir dəqiqədən az' + }, + xMinutes: { + one: 'bir dəqiqə', + other: '{{count}} dəqiqə' + }, + aboutXHours: { + one: 'təxminən 1 saat', + other: 'təxminən {{count}} saat' + }, + xHours: { + one: '1 saat', + other: '{{count}} saat' + }, + xDays: { + one: '1 gün', + other: '{{count}} gün' + }, + aboutXWeeks: { + one: 'təxminən 1 həftə', + other: 'təxminən {{count}} həftə' + }, + xWeeks: { + one: '1 həftə', + other: '{{count}} həftə' + }, + aboutXMonths: { + one: 'təxminən 1 ay', + other: 'təxminən {{count}} ay' + }, + xMonths: { + one: '1 ay', + other: '{{count}} ay' + }, + aboutXYears: { + one: 'təxminən 1 il', + other: 'təxminən {{count}} il' + }, + xYears: { + one: '1 il', + other: '{{count}} il' + }, + overXYears: { + one: '1 ildən çox', + other: '{{count}} ildən çox' + }, + almostXYears: { + one: 'demək olar ki 1 il', + other: 'demək olar ki {{count}} il' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' sonra'; + } else { + return result + ' əvvəl'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/_lib/formatLong/index.js b/node_modules/date-fns/locale/az/_lib/formatLong/index.js new file mode 100644 index 000000000..aef025853 --- /dev/null +++ b/node_modules/date-fns/locale/az/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, do MMMM y 'il'", + long: "do MMMM y 'il'", + medium: "d MMM y 'il'", + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} {{time}} - 'də'", + long: "{{date}} {{time}} - 'də'", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/_lib/formatRelative/index.js b/node_modules/date-fns/locale/az/_lib/formatRelative/index.js new file mode 100644 index 000000000..313d2489c --- /dev/null +++ b/node_modules/date-fns/locale/az/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'sonuncu' eeee p -'də'", + yesterday: "'dünən' p -'də'", + today: "'bugün' p -'də'", + tomorrow: "'sabah' p -'də'", + nextWeek: "eeee p -'də'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/_lib/localize/index.js b/node_modules/date-fns/locale/az/_lib/localize/index.js new file mode 100644 index 000000000..6704c8032 --- /dev/null +++ b/node_modules/date-fns/locale/az/_lib/localize/index.js @@ -0,0 +1,166 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['e.ə', 'b.e'], + abbreviated: ['e.ə', 'b.e'], + wide: ['eramızdan əvvəl', 'bizim era'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1ci kvartal', '2ci kvartal', '3cü kvartal', '4cü kvartal'] +}; +var monthValues = { + narrow: ['Y', 'F', 'M', 'A', 'M', 'İ', 'İ', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyun', 'İyul', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'], + wide: ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr'] +}; +var dayValues = { + narrow: ['B.', 'B.e', 'Ç.a', 'Ç.', 'C.a', 'C.', 'Ş.'], + short: ['B.', 'B.e', 'Ç.a', 'Ç.', 'C.a', 'C.', 'Ş.'], + abbreviated: ['Baz', 'Baz.e', 'Çər.a', 'Çər', 'Cüm.a', 'Cüm', 'Şə'], + wide: ['Bazar', 'Bazar ertəsi', 'Çərşənbə axşamı', 'Çərşənbə', 'Cümə axşamı', 'Cümə', 'Şənbə'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gecəyarı', + noon: 'gün', + morning: 'səhər', + afternoon: 'gündüz', + evening: 'axşam', + night: 'gecə' + } +}; +var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı' +}; +var getSuffix = function getSuffix(number) { + if (number === 0) { + // special case for zero + return number + '-ıncı'; + } + var a = number % 10; + var b = number % 100 - a; + var c = number >= 100 ? 100 : null; + if (suffixes[a]) { + return suffixes[a]; + } else if (suffixes[b]) { + return suffixes[b]; + } else if (c !== null) { + return suffixes[c]; + } + return ''; +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var suffix = getSuffix(number); + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/_lib/match/index.js b/node_modules/date-fns/locale/az/_lib/match/index.js new file mode 100644 index 000000000..b04c82fd8 --- /dev/null +++ b/node_modules/date-fns/locale/az/_lib/match/index.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(b|a)$/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i, + wide: /^(bizim eradan əvvəl|bizim era)$/i +}; +var parseEraPatterns = { + any: [/^b$/i, /^(a|c)$/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]$/i, + abbreviated: /^K[1234]$/i, + wide: /^[1234](ci)? kvartal$/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[(?-i)yfmaisond]$/i, + abbreviated: /^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i, + wide: /^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i +}; +var parseMonthPatterns = { + narrow: [/^[(?-i)y]$/i, /^[(?-i)f]$/i, /^[(?-i)m]$/i, /^[(?-i)a]$/i, /^[(?-i)m]$/i, /^[(?-i)i]$/i, /^[(?-i)i]$/i, /^[(?-i)a]$/i, /^[(?-i)s]$/i, /^[(?-i)o]$/i, /^[(?-i)n]$/i, /^[(?-i)d]$/i], + abbreviated: [/^Yan$/i, /^Fev$/i, /^Mar$/i, /^Apr$/i, /^May$/i, /^İyun$/i, /^İyul$/i, /^Avg$/i, /^Sen$/i, /^Okt$/i, /^Noy$/i, /^Dek$/i], + wide: [/^Yanvar$/i, /^Fevral$/i, /^Mart$/i, /^Aprel$/i, /^May$/i, /^İyun$/i, /^İyul$/i, /^Avgust$/i, /^Sentyabr$/i, /^Oktyabr$/i, /^Noyabr$/i, /^Dekabr$/i] +}; +var matchDayPatterns = { + narrow: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, + short: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, + abbreviated: /^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i, + wide: /^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i +}; +var parseDayPatterns = { + narrow: [/^B\.$/i, /^B\.e$/i, /^Ç\.a$/i, /^Ç\.$/i, /^C\.a$/i, /^C\.$/i, /^Ş\.$/i], + abbreviated: [/^Baz$/i, /^Baz\.e$/i, /^Çər\.a$/i, /^Çər$/i, /^Cüm\.a$/i, /^Cüm$/i, /^Şə$/i], + wide: [/^Bazar$/i, /^Bazar ertəsi$/i, /^Çərşənbə axşamı$/i, /^Çərşənbə$/i, /^Cümə axşamı$/i, /^Cümə$/i, /^Şənbə$/i], + any: [/^B\.$/i, /^B\.e$/i, /^Ç\.a$/i, /^Ç\.$/i, /^C\.a$/i, /^C\.$/i, /^Ş\.$/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i, + any: /^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a$/i, + pm: /^p$/i, + midnight: /^gecəyarı$/i, + noon: /^gün$/i, + morning: /səhər$/i, + afternoon: /gündüz$/i, + evening: /axşam$/i, + night: /gecə$/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'narrow' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/index.d.ts b/node_modules/date-fns/locale/az/index.d.ts new file mode 100644 index 000000000..b2b22534a --- /dev/null +++ b/node_modules/date-fns/locale/az/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { az } from 'date-fns/locale' +export default az diff --git a/node_modules/date-fns/locale/az/index.js b/node_modules/date-fns/locale/az/index.js new file mode 100644 index 000000000..3bfa32c9f --- /dev/null +++ b/node_modules/date-fns/locale/az/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Azerbaijani locale. + * @language Azerbaijani + * @iso-639-2 aze + */ + +var locale = { + code: 'az', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/az/index.js.flow b/node_modules/date-fns/locale/az/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/az/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/az/package.json b/node_modules/date-fns/locale/az/package.json new file mode 100644 index 000000000..34c9bf75f --- /dev/null +++ b/node_modules/date-fns/locale/az/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/az/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/_lib/formatDistance/index.js b/node_modules/date-fns/locale/be-tarask/_lib/formatDistance/index.js new file mode 100644 index 000000000..06f948f00 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/_lib/formatDistance/index.js @@ -0,0 +1,253 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'праз ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' таму'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var halfAMinute = function halfAMinute(_, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'праз паўхвіліны'; + } else { + return 'паўхвіліны таму'; + } + } + return 'паўхвіліны'; +}; +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'менш за секунду', + singularNominative: 'менш за {{count}} секунду', + singularGenitive: 'менш за {{count}} секунды', + pluralGenitive: 'менш за {{count}} секунд' + }, + future: { + one: 'менш, чым праз секунду', + singularNominative: 'менш, чым праз {{count}} секунду', + singularGenitive: 'менш, чым праз {{count}} секунды', + pluralGenitive: 'менш, чым праз {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунды', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду таму', + singularGenitive: '{{count}} секунды таму', + pluralGenitive: '{{count}} секунд таму' + }, + future: { + singularNominative: 'праз {{count}} секунду', + singularGenitive: 'праз {{count}} секунды', + pluralGenitive: 'праз {{count}} секунд' + } + }), + halfAMinute: halfAMinute, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'менш за хвіліну', + singularNominative: 'менш за {{count}} хвіліну', + singularGenitive: 'менш за {{count}} хвіліны', + pluralGenitive: 'менш за {{count}} хвілін' + }, + future: { + one: 'менш, чым праз хвіліну', + singularNominative: 'менш, чым праз {{count}} хвіліну', + singularGenitive: 'менш, чым праз {{count}} хвіліны', + pluralGenitive: 'менш, чым праз {{count}} хвілін' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} хвіліна', + singularGenitive: '{{count}} хвіліны', + pluralGenitive: '{{count}} хвілін' + }, + past: { + singularNominative: '{{count}} хвіліну таму', + singularGenitive: '{{count}} хвіліны таму', + pluralGenitive: '{{count}} хвілін таму' + }, + future: { + singularNominative: 'праз {{count}} хвіліну', + singularGenitive: 'праз {{count}} хвіліны', + pluralGenitive: 'праз {{count}} хвілін' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} гадзіны', + singularGenitive: 'каля {{count}} гадзін', + pluralGenitive: 'каля {{count}} гадзін' + }, + future: { + singularNominative: 'прыблізна праз {{count}} гадзіну', + singularGenitive: 'прыблізна праз {{count}} гадзіны', + pluralGenitive: 'прыблізна праз {{count}} гадзін' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} гадзіна', + singularGenitive: '{{count}} гадзіны', + pluralGenitive: '{{count}} гадзін' + }, + past: { + singularNominative: '{{count}} гадзіну таму', + singularGenitive: '{{count}} гадзіны таму', + pluralGenitive: '{{count}} гадзін таму' + }, + future: { + singularNominative: 'праз {{count}} гадзіну', + singularGenitive: 'праз {{count}} гадзіны', + pluralGenitive: 'праз {{count}} гадзін' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} дзень', + singularGenitive: '{{count}} дні', + pluralGenitive: '{{count}} дзён' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + // TODO + singularGenitive: 'каля {{count}} месяцаў', + // TODO + pluralGenitive: 'каля {{count}} месяцаў' // TODO + }, + + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + // TODO + singularGenitive: 'прыблізна праз {{count}} месяцы', + // TODO + pluralGenitive: 'прыблізна праз {{count}} месяцаў' // TODO + } + }), + + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + singularGenitive: 'каля {{count}} месяцаў', + pluralGenitive: 'каля {{count}} месяцаў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + singularGenitive: 'прыблізна праз {{count}} месяцы', + pluralGenitive: 'прыблізна праз {{count}} месяцаў' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} года', + singularGenitive: 'каля {{count}} гадоў', + pluralGenitive: 'каля {{count}} гадоў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} год', + singularGenitive: 'прыблізна праз {{count}} гады', + pluralGenitive: 'прыблізна праз {{count}} гадоў' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} год', + singularGenitive: '{{count}} гады', + pluralGenitive: '{{count}} гадоў' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'больш за {{count}} год', + singularGenitive: 'больш за {{count}} гады', + pluralGenitive: 'больш за {{count}} гадоў' + }, + future: { + singularNominative: 'больш, чым праз {{count}} год', + singularGenitive: 'больш, чым праз {{count}} гады', + pluralGenitive: 'больш, чым праз {{count}} гадоў' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'амаль {{count}} год', + singularGenitive: 'амаль {{count}} гады', + pluralGenitive: 'амаль {{count}} гадоў' + }, + future: { + singularNominative: 'амаль праз {{count}} год', + singularGenitive: 'амаль праз {{count}} гады', + pluralGenitive: 'амаль праз {{count}} гадоў' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + return formatDistanceLocale[token](count, options); +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/_lib/formatLong/index.js b/node_modules/date-fns/locale/be-tarask/_lib/formatLong/index.js new file mode 100644 index 000000000..f69309d31 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d MMMM y 'г.'", + long: "d MMMM y 'г.'", + medium: "d MMM y 'г.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/_lib/formatRelative/index.js b/node_modules/date-fns/locale/be-tarask/_lib/formatRelative/index.js new file mode 100644 index 000000000..2ccba4ef1 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/_lib/formatRelative/index.js @@ -0,0 +1,78 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = require("../../../../index.js"); +var _index2 = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацьвер', 'пятніцу', 'суботу']; +function lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у мінулую " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у мінулы " + weekday + " а' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'у " + weekday + " а' p"; +} +function nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у наступную " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у наступны " + weekday + " а' p"; + } +} +var lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) { + var date = (0, _index.toDate)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) { + var date = (0, _index.toDate)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormat, + yesterday: "'учора а' p", + today: "'сёньня а' p", + tomorrow: "'заўтра а' p", + nextWeek: nextWeekFormat, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/_lib/localize/index.js b/node_modules/date-fns/locale/be-tarask/_lib/localize/index.js new file mode 100644 index 000000000..bad0a1162 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/_lib/localize/index.js @@ -0,0 +1,157 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['да н.э.', 'н.э.'], + abbreviated: ['да н. э.', 'н. э.'], + wide: ['да нашай эры', 'нашай эры'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ы кв.', '2-і кв.', '3-і кв.', '4-ы кв.'], + wide: ['1-ы квартал', '2-і квартал', '3-і квартал', '4-ы квартал'] +}; +var monthValues = { + narrow: ['С', 'Л', 'С', 'К', 'Т', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'трав.', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'сьнеж.'], + wide: ['студзень', 'люты', 'сакавік', 'красавік', 'травень', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'сьнежань'] +}; +var formattingMonthValues = { + narrow: ['С', 'Л', 'С', 'К', 'Т', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'трав.', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'сьнеж.'], + wide: ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'траўня', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'сьнежня'] +}; +var dayValues = { + narrow: ['Н', 'П', 'А', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + abbreviated: ['нядз', 'пан', 'аўт', 'сер', 'чаць', 'пят', 'суб'], + wide: ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацьвер', 'пятніца', 'субота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніца', + afternoon: 'дзень', + evening: 'вечар', + night: 'ноч' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніцы', + afternoon: 'дня', + evening: 'вечара', + night: 'ночы' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var number = Number(dirtyNumber); + var suffix; + + /** Though it's an incorrect ordinal form of a date we use it here for consistency with other similar locales (ru, uk) + * For date-month combinations should be used `d` formatter. + * Correct: `d MMMM` (4 верасня) + * Incorrect: `do MMMM` (4-га верасня) + * + * But following the consistency leads to mistakes for literal uses of `do` formatter (ordinal day of month). + * So for phrase "5th day of month" (`do дзень месяца`) + * library will produce: `5-га дзень месяца` + * but correct spelling should be: `5-ы дзень месяца` + * + * So I guess there should be a stand-alone and a formatting version of "day of month" formatters + */ + if (unit === 'date') { + suffix = '-га'; + } else if (unit === 'hour' || unit === 'minute' || unit === 'second') { + suffix = '-я'; + } else { + suffix = (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? '-і' : '-ы'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/_lib/match/index.js b/node_modules/date-fns/locale/be-tarask/_lib/match/index.js new file mode 100644 index 000000000..843c98df2 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((да )?н\.?\s?э\.?)/i, + abbreviated: /^((да )?н\.?\s?э\.?)/i, + wide: /^(да нашай эры|нашай эры|наша эра)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[ыі]?)? кв.?/i, + wide: /^[1234](-?[ыі]?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[слкмчжв]/i, + abbreviated: /^(студз|лют|сак|крас|тр(ав)?|чэрв|ліп|жн|вер|кастр|ліст|сьнеж)\.?/i, + wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|тра(вень|ўня)|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|сьнеж(ань|ня))/i +}; +var parseMonthPatterns = { + narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i], + any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^тр/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i] +}; +var matchDayPatterns = { + narrow: /^[нпасч]/i, + short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i, + abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцьв|чаць|птн|пят|суб).?/i, + wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацьв(ер|ярга)|пятніц[аы]|субот[аы])/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + abbreviated: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^поўн/i, + noon: /^поўд/i, + morning: /^р/i, + afternoon: /^д[зн]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/index.d.ts b/node_modules/date-fns/locale/be-tarask/index.d.ts new file mode 100644 index 000000000..e04bf95c2 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { beTarask } from 'date-fns/locale' +export default beTarask diff --git a/node_modules/date-fns/locale/be-tarask/index.js b/node_modules/date-fns/locale/be-tarask/index.js new file mode 100644 index 000000000..fb1042d79 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Belarusian Classic locale. + * @language Belarusian Classic + * @iso-639-2 bel + * @author Ryhor Nopears [@nopears]{@link https://github.com/nopears} + */ +var locale = { + code: 'be-tarask', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be-tarask/index.js.flow b/node_modules/date-fns/locale/be-tarask/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/be-tarask/package.json b/node_modules/date-fns/locale/be-tarask/package.json new file mode 100644 index 000000000..4cbab7a25 --- /dev/null +++ b/node_modules/date-fns/locale/be-tarask/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/be-tarask/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/_lib/formatDistance/index.js b/node_modules/date-fns/locale/be/_lib/formatDistance/index.js new file mode 100644 index 000000000..06f948f00 --- /dev/null +++ b/node_modules/date-fns/locale/be/_lib/formatDistance/index.js @@ -0,0 +1,253 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'праз ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' таму'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var halfAMinute = function halfAMinute(_, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'праз паўхвіліны'; + } else { + return 'паўхвіліны таму'; + } + } + return 'паўхвіліны'; +}; +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'менш за секунду', + singularNominative: 'менш за {{count}} секунду', + singularGenitive: 'менш за {{count}} секунды', + pluralGenitive: 'менш за {{count}} секунд' + }, + future: { + one: 'менш, чым праз секунду', + singularNominative: 'менш, чым праз {{count}} секунду', + singularGenitive: 'менш, чым праз {{count}} секунды', + pluralGenitive: 'менш, чым праз {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунды', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду таму', + singularGenitive: '{{count}} секунды таму', + pluralGenitive: '{{count}} секунд таму' + }, + future: { + singularNominative: 'праз {{count}} секунду', + singularGenitive: 'праз {{count}} секунды', + pluralGenitive: 'праз {{count}} секунд' + } + }), + halfAMinute: halfAMinute, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'менш за хвіліну', + singularNominative: 'менш за {{count}} хвіліну', + singularGenitive: 'менш за {{count}} хвіліны', + pluralGenitive: 'менш за {{count}} хвілін' + }, + future: { + one: 'менш, чым праз хвіліну', + singularNominative: 'менш, чым праз {{count}} хвіліну', + singularGenitive: 'менш, чым праз {{count}} хвіліны', + pluralGenitive: 'менш, чым праз {{count}} хвілін' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} хвіліна', + singularGenitive: '{{count}} хвіліны', + pluralGenitive: '{{count}} хвілін' + }, + past: { + singularNominative: '{{count}} хвіліну таму', + singularGenitive: '{{count}} хвіліны таму', + pluralGenitive: '{{count}} хвілін таму' + }, + future: { + singularNominative: 'праз {{count}} хвіліну', + singularGenitive: 'праз {{count}} хвіліны', + pluralGenitive: 'праз {{count}} хвілін' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} гадзіны', + singularGenitive: 'каля {{count}} гадзін', + pluralGenitive: 'каля {{count}} гадзін' + }, + future: { + singularNominative: 'прыблізна праз {{count}} гадзіну', + singularGenitive: 'прыблізна праз {{count}} гадзіны', + pluralGenitive: 'прыблізна праз {{count}} гадзін' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} гадзіна', + singularGenitive: '{{count}} гадзіны', + pluralGenitive: '{{count}} гадзін' + }, + past: { + singularNominative: '{{count}} гадзіну таму', + singularGenitive: '{{count}} гадзіны таму', + pluralGenitive: '{{count}} гадзін таму' + }, + future: { + singularNominative: 'праз {{count}} гадзіну', + singularGenitive: 'праз {{count}} гадзіны', + pluralGenitive: 'праз {{count}} гадзін' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} дзень', + singularGenitive: '{{count}} дні', + pluralGenitive: '{{count}} дзён' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + // TODO + singularGenitive: 'каля {{count}} месяцаў', + // TODO + pluralGenitive: 'каля {{count}} месяцаў' // TODO + }, + + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + // TODO + singularGenitive: 'прыблізна праз {{count}} месяцы', + // TODO + pluralGenitive: 'прыблізна праз {{count}} месяцаў' // TODO + } + }), + + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} месяца', + singularGenitive: 'каля {{count}} месяцаў', + pluralGenitive: 'каля {{count}} месяцаў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} месяц', + singularGenitive: 'прыблізна праз {{count}} месяцы', + pluralGenitive: 'прыблізна праз {{count}} месяцаў' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяцы', + pluralGenitive: '{{count}} месяцаў' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'каля {{count}} года', + singularGenitive: 'каля {{count}} гадоў', + pluralGenitive: 'каля {{count}} гадоў' + }, + future: { + singularNominative: 'прыблізна праз {{count}} год', + singularGenitive: 'прыблізна праз {{count}} гады', + pluralGenitive: 'прыблізна праз {{count}} гадоў' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} год', + singularGenitive: '{{count}} гады', + pluralGenitive: '{{count}} гадоў' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'больш за {{count}} год', + singularGenitive: 'больш за {{count}} гады', + pluralGenitive: 'больш за {{count}} гадоў' + }, + future: { + singularNominative: 'больш, чым праз {{count}} год', + singularGenitive: 'больш, чым праз {{count}} гады', + pluralGenitive: 'больш, чым праз {{count}} гадоў' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'амаль {{count}} год', + singularGenitive: 'амаль {{count}} гады', + pluralGenitive: 'амаль {{count}} гадоў' + }, + future: { + singularNominative: 'амаль праз {{count}} год', + singularGenitive: 'амаль праз {{count}} гады', + pluralGenitive: 'амаль праз {{count}} гадоў' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + return formatDistanceLocale[token](count, options); +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/_lib/formatLong/index.js b/node_modules/date-fns/locale/be/_lib/formatLong/index.js new file mode 100644 index 000000000..f69309d31 --- /dev/null +++ b/node_modules/date-fns/locale/be/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d MMMM y 'г.'", + long: "d MMMM y 'г.'", + medium: "d MMM y 'г.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/_lib/formatRelative/index.js b/node_modules/date-fns/locale/be/_lib/formatRelative/index.js new file mode 100644 index 000000000..3771d2e0e --- /dev/null +++ b/node_modules/date-fns/locale/be/_lib/formatRelative/index.js @@ -0,0 +1,78 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = require("../../../../index.js"); +var _index2 = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацвер', 'пятніцу', 'суботу']; +function lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у мінулую " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у мінулы " + weekday + " а' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'у " + weekday + " а' p"; +} +function nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у наступную " + weekday + " а' p"; + case 1: + case 2: + case 4: + return "'у наступны " + weekday + " а' p"; + } +} +var lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) { + var date = (0, _index.toDate)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) { + var date = (0, _index.toDate)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormat, + yesterday: "'учора а' p", + today: "'сёння а' p", + tomorrow: "'заўтра а' p", + nextWeek: nextWeekFormat, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/_lib/localize/index.js b/node_modules/date-fns/locale/be/_lib/localize/index.js new file mode 100644 index 000000000..85f616b1b --- /dev/null +++ b/node_modules/date-fns/locale/be/_lib/localize/index.js @@ -0,0 +1,157 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['да н.э.', 'н.э.'], + abbreviated: ['да н. э.', 'н. э.'], + wide: ['да нашай эры', 'нашай эры'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ы кв.', '2-і кв.', '3-і кв.', '4-ы кв.'], + wide: ['1-ы квартал', '2-і квартал', '3-і квартал', '4-ы квартал'] +}; +var monthValues = { + narrow: ['С', 'Л', 'С', 'К', 'М', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'май', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'снеж.'], + wide: ['студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань'] +}; +var formattingMonthValues = { + narrow: ['С', 'Л', 'С', 'К', 'М', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'], + abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'мая', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'снеж.'], + wide: ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'снежня'] +}; +var dayValues = { + narrow: ['Н', 'П', 'А', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + abbreviated: ['нядз', 'пан', 'аўт', 'сер', 'чац', 'пят', 'суб'], + wide: ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дзень', + evening: 'веч.', + night: 'ноч' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніца', + afternoon: 'дзень', + evening: 'вечар', + night: 'ноч' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўн.', + noon: 'поўд.', + morning: 'ран.', + afternoon: 'дня', + evening: 'веч.', + night: 'ночы' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'поўнач', + noon: 'поўдзень', + morning: 'раніцы', + afternoon: 'дня', + evening: 'вечара', + night: 'ночы' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var number = Number(dirtyNumber); + var suffix; + + /** Though it's an incorrect ordinal form of a date we use it here for consistency with other similar locales (ru, uk) + * For date-month combinations should be used `d` formatter. + * Correct: `d MMMM` (4 верасня) + * Incorrect: `do MMMM` (4-га верасня) + * + * But following the consistency leads to mistakes for literal uses of `do` formatter (ordinal day of month). + * So for phrase "5th day of month" (`do дзень месяца`) + * library will produce: `5-га дзень месяца` + * but correct spelling should be: `5-ы дзень месяца` + * + * So I guess there should be a stand-alone and a formatting version of "day of month" formatters + */ + if (unit === 'date') { + suffix = '-га'; + } else if (unit === 'hour' || unit === 'minute' || unit === 'second') { + suffix = '-я'; + } else { + suffix = (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? '-і' : '-ы'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/_lib/match/index.js b/node_modules/date-fns/locale/be/_lib/match/index.js new file mode 100644 index 000000000..e059bd8a0 --- /dev/null +++ b/node_modules/date-fns/locale/be/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((да )?н\.?\s?э\.?)/i, + abbreviated: /^((да )?н\.?\s?э\.?)/i, + wide: /^(да нашай эры|нашай эры|наша эра)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[ыі]?)? кв.?/i, + wide: /^[1234](-?[ыі]?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[слкмчжв]/i, + abbreviated: /^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i, + wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i +}; +var parseMonthPatterns = { + narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^м/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i], + any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^ма/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i] +}; +var matchDayPatterns = { + narrow: /^[нпасч]/i, + short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i, + abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i, + wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + abbreviated: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i, + wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^поўн/i, + noon: /^поўд/i, + morning: /^р/i, + afternoon: /^д[зн]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/index.d.ts b/node_modules/date-fns/locale/be/index.d.ts new file mode 100644 index 000000000..d3cec4070 --- /dev/null +++ b/node_modules/date-fns/locale/be/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { be } from 'date-fns/locale' +export default be diff --git a/node_modules/date-fns/locale/be/index.js b/node_modules/date-fns/locale/be/index.js new file mode 100644 index 000000000..63993cc8e --- /dev/null +++ b/node_modules/date-fns/locale/be/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Belarusian locale. + * @language Belarusian + * @iso-639-2 bel + * @author Kiryl Anokhin [@alyrik]{@link https://github.com/alyrik} + * @author Martin Wind [@arvigeus]{@link https://github.com/mawi12345} + */ +var locale = { + code: 'be', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/be/index.js.flow b/node_modules/date-fns/locale/be/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/be/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/be/package.json b/node_modules/date-fns/locale/be/package.json new file mode 100644 index 000000000..704b97278 --- /dev/null +++ b/node_modules/date-fns/locale/be/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/be/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/_lib/formatDistance/index.js b/node_modules/date-fns/locale/bg/_lib/formatDistance/index.js new file mode 100644 index 000000000..5b8b20246 --- /dev/null +++ b/node_modules/date-fns/locale/bg/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'по-малко от секунда', + other: 'по-малко от {{count}} секунди' + }, + xSeconds: { + one: '1 секунда', + other: '{{count}} секунди' + }, + halfAMinute: 'половин минута', + lessThanXMinutes: { + one: 'по-малко от минута', + other: 'по-малко от {{count}} минути' + }, + xMinutes: { + one: '1 минута', + other: '{{count}} минути' + }, + aboutXHours: { + one: 'около час', + other: 'около {{count}} часа' + }, + xHours: { + one: '1 час', + other: '{{count}} часа' + }, + xDays: { + one: '1 ден', + other: '{{count}} дни' + }, + aboutXWeeks: { + one: 'около седмица', + other: 'около {{count}} седмици' + }, + xWeeks: { + one: '1 седмица', + other: '{{count}} седмици' + }, + aboutXMonths: { + one: 'около месец', + other: 'около {{count}} месеца' + }, + xMonths: { + one: '1 месец', + other: '{{count}} месеца' + }, + aboutXYears: { + one: 'около година', + other: 'около {{count}} години' + }, + xYears: { + one: '1 година', + other: '{{count}} години' + }, + overXYears: { + one: 'над година', + other: 'над {{count}} години' + }, + almostXYears: { + one: 'почти година', + other: 'почти {{count}} години' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'след ' + result; + } else { + return 'преди ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/_lib/formatLong/index.js b/node_modules/date-fns/locale/bg/_lib/formatLong/index.js new file mode 100644 index 000000000..f8da9d072 --- /dev/null +++ b/node_modules/date-fns/locale/bg/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/_lib/formatRelative/index.js b/node_modules/date-fns/locale/bg/_lib/formatRelative/index.js new file mode 100644 index 000000000..24a9cdc04 --- /dev/null +++ b/node_modules/date-fns/locale/bg/_lib/formatRelative/index.js @@ -0,0 +1,84 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +// Adapted from the `ru` translation + +var weekdays = ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота']; +function lastWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'миналата " + weekday + " в' p"; + case 1: + case 2: + case 4: + case 5: + return "'миналия " + weekday + " в' p"; + } +} +function thisWeek(day) { + var weekday = weekdays[day]; + if (day === 2 /* Tue */) { + return "'във " + weekday + " в' p"; + } else { + return "'в " + weekday + " в' p"; + } +} +function nextWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'следващата " + weekday + " в' p"; + case 1: + case 2: + case 4: + case 5: + return "'следващия " + weekday + " в' p"; + } +} +var lastWeekFormatToken = function lastWeekFormatToken(dirtyDate, baseDate, options) { + var date = (0, _index.default)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormatToken = function nextWeekFormatToken(dirtyDate, baseDate, options) { + var date = (0, _index.default)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormatToken, + yesterday: "'вчера в' p", + today: "'днес в' p", + tomorrow: "'утре в' p", + nextWeek: nextWeekFormatToken, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/_lib/localize/index.js b/node_modules/date-fns/locale/bg/_lib/localize/index.js new file mode 100644 index 000000000..f8f728137 --- /dev/null +++ b/node_modules/date-fns/locale/bg/_lib/localize/index.js @@ -0,0 +1,103 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['пр.н.е.', 'н.е.'], + abbreviated: ['преди н. е.', 'н. е.'], + wide: ['преди новата ера', 'новата ера'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-во тримес.', '2-ро тримес.', '3-то тримес.', '4-то тримес.'], + wide: ['1-во тримесечие', '2-ро тримесечие', '3-то тримесечие', '4-то тримесечие'] +}; +var monthValues = { + abbreviated: ['яну', 'фев', 'мар', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'], + wide: ['януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', 'ноември', 'декември'] +}; +var dayValues = { + narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + abbreviated: ['нед', 'пон', 'вто', 'сря', 'чет', 'пет', 'съб'], + wide: ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'] +}; +var dayPeriodValues = { + wide: { + am: 'преди обяд', + pm: 'след обяд', + midnight: 'в полунощ', + noon: 'на обяд', + morning: 'сутринта', + afternoon: 'следобед', + evening: 'вечерта', + night: 'през нощта' + } +}; +function isFeminine(unit) { + return unit === 'year' || unit === 'week' || unit === 'minute' || unit === 'second'; +} +function isNeuter(unit) { + return unit === 'quarter'; +} +function numberWithSuffix(number, unit, masculine, feminine, neuter) { + var suffix = isNeuter(unit) ? neuter : isFeminine(unit) ? feminine : masculine; + return number + '-' + suffix; +} +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (number === 0) { + return numberWithSuffix(0, unit, 'ев', 'ева', 'ево'); + } else if (number % 1000 === 0) { + return numberWithSuffix(number, unit, 'ен', 'на', 'но'); + } else if (number % 100 === 0) { + return numberWithSuffix(number, unit, 'тен', 'тна', 'тно'); + } + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return numberWithSuffix(number, unit, 'ви', 'ва', 'во'); + case 2: + return numberWithSuffix(number, unit, 'ри', 'ра', 'ро'); + case 7: + case 8: + return numberWithSuffix(number, unit, 'ми', 'ма', 'мо'); + } + } + return numberWithSuffix(number, unit, 'ти', 'та', 'то'); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/_lib/match/index.js b/node_modules/date-fns/locale/bg/_lib/match/index.js new file mode 100644 index 000000000..694cd4a28 --- /dev/null +++ b/node_modules/date-fns/locale/bg/_lib/match/index.js @@ -0,0 +1,104 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((пр)?н\.?\s?е\.?)/i, + abbreviated: /^((пр)?н\.?\s?е\.?)/i, + wide: /^(преди новата ера|новата ера|нова ера)/i +}; +var parseEraPatterns = { + any: [/^п/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[врт]?o?)? тримес.?/i, + wide: /^[1234](-?[врт]?о?)? тримесечие/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchDayPatterns = { + narrow: /^[нпвсч]/i, + short: /^(нд|пн|вт|ср|чт|пт|сб)/i, + abbreviated: /^(нед|пон|вто|сря|чет|пет|съб)/i, + wide: /^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[ъб]/i] +}; +var matchMonthPatterns = { + abbreviated: /^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i, + wide: /^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i +}; +var parseMonthPatterns = { + any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^юн/i, /^юл/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i] +}; +var matchDayPeriodPatterns = { + any: /^(преди о|след о|в по|на о|през|веч|сут|следо)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^преди о/i, + pm: /^след о/i, + midnight: /^в пол/i, + noon: /^на об/i, + morning: /^сут/i, + afternoon: /^следо/i, + evening: /^веч/i, + night: /^през н/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/index.d.ts b/node_modules/date-fns/locale/bg/index.d.ts new file mode 100644 index 000000000..485fc5946 --- /dev/null +++ b/node_modules/date-fns/locale/bg/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { bg } from 'date-fns/locale' +export default bg diff --git a/node_modules/date-fns/locale/bg/index.js b/node_modules/date-fns/locale/bg/index.js new file mode 100644 index 000000000..b6dccf01e --- /dev/null +++ b/node_modules/date-fns/locale/bg/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Bulgarian locale. + * @language Bulgarian + * @iso-639-2 bul + * @author Nikolay Stoynov [@arvigeus]{@link https://github.com/arvigeus} + * @author Tsvetan Ovedenski [@fintara]{@link https://github.com/fintara} + */ +var locale = { + code: 'bg', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bg/index.js.flow b/node_modules/date-fns/locale/bg/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/bg/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/bg/package.json b/node_modules/date-fns/locale/bg/package.json new file mode 100644 index 000000000..1f2260a58 --- /dev/null +++ b/node_modules/date-fns/locale/bg/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/bg/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/_lib/formatDistance/index.js b/node_modules/date-fns/locale/bn/_lib/formatDistance/index.js new file mode 100644 index 000000000..b58239475 --- /dev/null +++ b/node_modules/date-fns/locale/bn/_lib/formatDistance/index.js @@ -0,0 +1,92 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = require("../localize/index.js"); +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'প্রায় ১ সেকেন্ড', + other: 'প্রায় {{count}} সেকেন্ড' + }, + xSeconds: { + one: '১ সেকেন্ড', + other: '{{count}} সেকেন্ড' + }, + halfAMinute: 'আধ মিনিট', + lessThanXMinutes: { + one: 'প্রায় ১ মিনিট', + other: 'প্রায় {{count}} মিনিট' + }, + xMinutes: { + one: '১ মিনিট', + other: '{{count}} মিনিট' + }, + aboutXHours: { + one: 'প্রায় ১ ঘন্টা', + other: 'প্রায় {{count}} ঘন্টা' + }, + xHours: { + one: '১ ঘন্টা', + other: '{{count}} ঘন্টা' + }, + xDays: { + one: '১ দিন', + other: '{{count}} দিন' + }, + aboutXWeeks: { + one: 'প্রায় ১ সপ্তাহ', + other: 'প্রায় {{count}} সপ্তাহ' + }, + xWeeks: { + one: '১ সপ্তাহ', + other: '{{count}} সপ্তাহ' + }, + aboutXMonths: { + one: 'প্রায় ১ মাস', + other: 'প্রায় {{count}} মাস' + }, + xMonths: { + one: '১ মাস', + other: '{{count}} মাস' + }, + aboutXYears: { + one: 'প্রায় ১ বছর', + other: 'প্রায় {{count}} বছর' + }, + xYears: { + one: '১ বছর', + other: '{{count}} বছর' + }, + overXYears: { + one: '১ বছরের বেশি', + other: '{{count}} বছরের বেশি' + }, + almostXYears: { + one: 'প্রায় ১ বছর', + other: 'প্রায় {{count}} বছর' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', (0, _index.numberToLocale)(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' এর মধ্যে'; + } else { + return result + ' আগে'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/_lib/formatLong/index.js b/node_modules/date-fns/locale/bn/_lib/formatLong/index.js new file mode 100644 index 000000000..964399f18 --- /dev/null +++ b/node_modules/date-fns/locale/bn/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} {{time}} 'সময়'", + long: "{{date}} {{time}} 'সময়'", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/_lib/formatRelative/index.js b/node_modules/date-fns/locale/bn/_lib/formatRelative/index.js new file mode 100644 index 000000000..dfe150021 --- /dev/null +++ b/node_modules/date-fns/locale/bn/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'গত' eeee 'সময়' p", + yesterday: "'গতকাল' 'সময়' p", + today: "'আজ' 'সময়' p", + tomorrow: "'আগামীকাল' 'সময়' p", + nextWeek: "eeee 'সময়' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/_lib/localize/index.js b/node_modules/date-fns/locale/bn/_lib/localize/index.js new file mode 100644 index 000000000..49b48c854 --- /dev/null +++ b/node_modules/date-fns/locale/bn/_lib/localize/index.js @@ -0,0 +1,201 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +exports.numberToLocale = numberToLocale; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var numberValues = { + locale: { + '1': '১', + '2': '২', + '3': '৩', + '4': '৪', + '5': '৫', + '6': '৬', + '7': '৭', + '8': '৮', + '9': '৯', + '0': '০' + }, + number: { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' + } +}; +var eraValues = { + narrow: ['খ্রিঃপূঃ', 'খ্রিঃ'], + abbreviated: ['খ্রিঃপূর্ব', 'খ্রিঃ'], + wide: ['খ্রিস্টপূর্ব', 'খ্রিস্টাব্দ'] +}; +var quarterValues = { + narrow: ['১', '২', '৩', '৪'], + abbreviated: ['১ত্রৈ', '২ত্রৈ', '৩ত্রৈ', '৪ত্রৈ'], + wide: ['১ম ত্রৈমাসিক', '২য় ত্রৈমাসিক', '৩য় ত্রৈমাসিক', '৪র্থ ত্রৈমাসিক'] +}; +var monthValues = { + narrow: ['জানু', 'ফেব্রু', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'], + abbreviated: ['জানু', 'ফেব্রু', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'], + wide: ['জানুয়ারি', 'ফেব্রুয়ারি', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর'] +}; +var dayValues = { + narrow: ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], + short: ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্র', 'শনি'], + abbreviated: ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্র', 'শনি'], + wide: ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার ', 'শুক্রবার', 'শনিবার'] +}; +var dayPeriodValues = { + narrow: { + am: 'পূ', + pm: 'অপ', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + abbreviated: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + wide: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'পূ', + pm: 'অপ', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + abbreviated: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + }, + wide: { + am: 'পূর্বাহ্ন', + pm: 'অপরাহ্ন', + midnight: 'মধ্যরাত', + noon: 'মধ্যাহ্ন', + morning: 'সকাল', + afternoon: 'বিকাল', + evening: 'সন্ধ্যা', + night: 'রাত' + } +}; +function dateOrdinalNumber(number, localeNumber) { + if (number > 18 && number <= 31) { + return localeNumber + 'শে'; + } else { + switch (number) { + case 1: + return localeNumber + 'লা'; + case 2: + case 3: + return localeNumber + 'রা'; + case 4: + return localeNumber + 'ঠা'; + default: + return localeNumber + 'ই'; + } + } +} +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var localeNumber = numberToLocale(number); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (unit === 'date') { + return dateOrdinalNumber(number, localeNumber); + } + if (number > 10 || number === 0) return localeNumber + 'তম'; + var rem10 = number % 10; + switch (rem10) { + case 2: + case 3: + return localeNumber + 'য়'; + case 4: + return localeNumber + 'র্থ'; + case 6: + return localeNumber + 'ষ্ঠ'; + default: + return localeNumber + 'ম'; + } +}; + +// function localeToNumber(locale: string): number { +// const enNumber = locale.toString().replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { +// return numberValues.number[match as keyof typeof numberValues.number] +// }) +// return Number(enNumber) +// } + +function numberToLocale(enNumber) { + return enNumber.toString().replace(/\d/g, function (match) { + return numberValues.locale[match]; + }); +} +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/_lib/match/index.js b/node_modules/date-fns/locale/bn/_lib/match/index.js new file mode 100644 index 000000000..45b1d3d59 --- /dev/null +++ b/node_modules/date-fns/locale/bn/_lib/match/index.js @@ -0,0 +1,111 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(খ্রিঃপূঃ|খ্রিঃ)/i, + abbreviated: /^(খ্রিঃপূর্ব|খ্রিঃ)/i, + wide: /^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i +}; +var parseEraPatterns = { + narrow: [/^খ্রিঃপূঃ/i, /^খ্রিঃ/i], + abbreviated: [/^খ্রিঃপূর্ব/i, /^খ্রিঃ/i], + wide: [/^খ্রিস্টপূর্ব/i, /^খ্রিস্টাব্দ/i] +}; +var matchQuarterPatterns = { + narrow: /^[১২৩৪]/i, + abbreviated: /^[১২৩৪]ত্রৈ/i, + wide: /^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i +}; +var parseQuarterPatterns = { + any: [/১/i, /২/i, /৩/i, /৪/i] +}; +var matchMonthPatterns = { + narrow: /^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i, + abbreviated: /^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i, + wide: /^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i +}; +var parseMonthPatterns = { + any: [/^জানু/i, /^ফেব্রু/i, /^মার্চ/i, /^এপ্রিল/i, /^মে/i, /^জুন/i, /^জুলাই/i, /^আগস্ট/i, /^সেপ্ট/i, /^অক্টো/i, /^নভে/i, /^ডিসে/i] +}; +var matchDayPatterns = { + narrow: /^(র|সো|ম|বু|বৃ|শু|শ)+/i, + short: /^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i, + abbreviated: /^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i, + wide: /^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i +}; +var parseDayPatterns = { + narrow: [/^র/i, /^সো/i, /^ম/i, /^বু/i, /^বৃ/i, /^শু/i, /^শ/i], + short: [/^রবি/i, /^সোম/i, /^মঙ্গল/i, /^বুধ/i, /^বৃহ/i, /^শুক্র/i, /^শনি/i], + abbreviated: [/^রবি/i, /^সোম/i, /^মঙ্গল/i, /^বুধ/i, /^বৃহ/i, /^শুক্র/i, /^শনি/i], + wide: [/^রবিবার/i, /^সোমবার/i, /^মঙ্গলবার/i, /^বুধবার/i, /^বৃহস্পতিবার /i, /^শুক্রবার/i, /^শনিবার/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i, + abbreviated: /^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i, + wide: /^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^পূ/i, + pm: /^অপ/i, + midnight: /^মধ্যরাত/i, + noon: /^মধ্যাহ্ন/i, + morning: /সকাল/i, + afternoon: /বিকাল/i, + evening: /সন্ধ্যা/i, + night: /রাত/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'wide' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/index.d.ts b/node_modules/date-fns/locale/bn/index.d.ts new file mode 100644 index 000000000..9f9b38cd8 --- /dev/null +++ b/node_modules/date-fns/locale/bn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { bn } from 'date-fns/locale' +export default bn diff --git a/node_modules/date-fns/locale/bn/index.js b/node_modules/date-fns/locale/bn/index.js new file mode 100644 index 000000000..ae1fe88a2 --- /dev/null +++ b/node_modules/date-fns/locale/bn/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Bengali locale. + * @language Bengali + * @iso-639-2 ben + * @author Touhidur Rahman [@touhidrahman]{@link https://github.com/touhidrahman} + * @author Farhad Yasir [@nutboltu]{@link https://github.com/nutboltu} + */ +var locale = { + code: 'bn', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bn/index.js.flow b/node_modules/date-fns/locale/bn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/bn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/bn/package.json b/node_modules/date-fns/locale/bn/package.json new file mode 100644 index 000000000..f90a601f4 --- /dev/null +++ b/node_modules/date-fns/locale/bn/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/bn/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/_lib/formatDistance/index.js b/node_modules/date-fns/locale/bs/_lib/formatDistance/index.js new file mode 100644 index 000000000..ba2735f43 --- /dev/null +++ b/node_modules/date-fns/locale/bs/_lib/formatDistance/index.js @@ -0,0 +1,179 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'manje od 1 sekunde', + withPrepositionAgo: 'manje od 1 sekunde', + withPrepositionIn: 'manje od 1 sekundu' + }, + dual: 'manje od {{count}} sekunde', + other: 'manje od {{count}} sekundi' + }, + xSeconds: { + one: { + standalone: '1 sekunda', + withPrepositionAgo: '1 sekunde', + withPrepositionIn: '1 sekundu' + }, + dual: '{{count}} sekunde', + other: '{{count}} sekundi' + }, + halfAMinute: 'pola minute', + lessThanXMinutes: { + one: { + standalone: 'manje od 1 minute', + withPrepositionAgo: 'manje od 1 minute', + withPrepositionIn: 'manje od 1 minutu' + }, + dual: 'manje od {{count}} minute', + other: 'manje od {{count}} minuta' + }, + xMinutes: { + one: { + standalone: '1 minuta', + withPrepositionAgo: '1 minute', + withPrepositionIn: '1 minutu' + }, + dual: '{{count}} minute', + other: '{{count}} minuta' + }, + aboutXHours: { + one: { + standalone: 'oko 1 sat', + withPrepositionAgo: 'oko 1 sat', + withPrepositionIn: 'oko 1 sat' + }, + dual: 'oko {{count}} sata', + other: 'oko {{count}} sati' + }, + xHours: { + one: { + standalone: '1 sat', + withPrepositionAgo: '1 sat', + withPrepositionIn: '1 sat' + }, + dual: '{{count}} sata', + other: '{{count}} sati' + }, + xDays: { + one: { + standalone: '1 dan', + withPrepositionAgo: '1 dan', + withPrepositionIn: '1 dan' + }, + dual: '{{count}} dana', + other: '{{count}} dana' + }, + aboutXWeeks: { + one: { + standalone: 'oko 1 sedmicu', + withPrepositionAgo: 'oko 1 sedmicu', + withPrepositionIn: 'oko 1 sedmicu' + }, + dual: 'oko {{count}} sedmice', + other: 'oko {{count}} sedmice' + }, + xWeeks: { + one: { + standalone: '1 sedmicu', + withPrepositionAgo: '1 sedmicu', + withPrepositionIn: '1 sedmicu' + }, + dual: '{{count}} sedmice', + other: '{{count}} sedmice' + }, + aboutXMonths: { + one: { + standalone: 'oko 1 mjesec', + withPrepositionAgo: 'oko 1 mjesec', + withPrepositionIn: 'oko 1 mjesec' + }, + dual: 'oko {{count}} mjeseca', + other: 'oko {{count}} mjeseci' + }, + xMonths: { + one: { + standalone: '1 mjesec', + withPrepositionAgo: '1 mjesec', + withPrepositionIn: '1 mjesec' + }, + dual: '{{count}} mjeseca', + other: '{{count}} mjeseci' + }, + aboutXYears: { + one: { + standalone: 'oko 1 godinu', + withPrepositionAgo: 'oko 1 godinu', + withPrepositionIn: 'oko 1 godinu' + }, + dual: 'oko {{count}} godine', + other: 'oko {{count}} godina' + }, + xYears: { + one: { + standalone: '1 godina', + withPrepositionAgo: '1 godine', + withPrepositionIn: '1 godinu' + }, + dual: '{{count}} godine', + other: '{{count}} godina' + }, + overXYears: { + one: { + standalone: 'preko 1 godinu', + withPrepositionAgo: 'preko 1 godinu', + withPrepositionIn: 'preko 1 godinu' + }, + dual: 'preko {{count}} godine', + other: 'preko {{count}} godina' + }, + almostXYears: { + one: { + standalone: 'gotovo 1 godinu', + withPrepositionAgo: 'gotovo 1 godinu', + withPrepositionIn: 'gotovo 1 godinu' + }, + dual: 'gotovo {{count}} godine', + other: 'gotovo {{count}} godina' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'za ' + result; + } else { + return 'prije ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/_lib/formatLong/index.js b/node_modules/date-fns/locale/bs/_lib/formatLong/index.js new file mode 100644 index 000000000..8de52fc9d --- /dev/null +++ b/node_modules/date-fns/locale/bs/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d. MMMM yyyy.', + long: 'd. MMMM yyyy.', + medium: 'd. MMM yy.', + short: 'dd. MM. yy.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'u' {{time}}", + long: "{{date}} 'u' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/_lib/formatRelative/index.js b/node_modules/date-fns/locale/bs/_lib/formatRelative/index.js new file mode 100644 index 000000000..49deb87e7 --- /dev/null +++ b/node_modules/date-fns/locale/bs/_lib/formatRelative/index.js @@ -0,0 +1,46 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'prošle nedjelje u' p"; + case 3: + return "'prošle srijede u' p"; + case 6: + return "'prošle subote u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + yesterday: "'juče u' p", + today: "'danas u' p", + tomorrow: "'sutra u' p", + nextWeek: function nextWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'sljedeće nedjelje u' p"; + case 3: + return "'sljedeću srijedu u' p"; + case 6: + return "'sljedeću subotu u' p"; + default: + return "'sljedeći' EEEE 'u' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/_lib/localize/index.js b/node_modules/date-fns/locale/bs/_lib/localize/index.js new file mode 100644 index 000000000..384d4e479 --- /dev/null +++ b/node_modules/date-fns/locale/bs/_lib/localize/index.js @@ -0,0 +1,135 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['pr.n.e.', 'AD'], + abbreviated: ['pr. Hr.', 'po. Hr.'], + wide: ['Prije Hrista', 'Poslije Hrista'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var dayValues = { + narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + short: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + abbreviated: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + wide: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'poslije podne', + evening: 'uveče', + night: 'noću' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'poslije podne', + evening: 'uveče', + night: 'noću' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return String(number) + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/_lib/match/index.js b/node_modules/date-fns/locale/bs/_lib/match/index.js new file mode 100644 index 000000000..fc20a6c0a --- /dev/null +++ b/node_modules/date-fns/locale/bs/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pr\.n\.e\.|AD)/i, + abbreviated: /^(pr\.\s?Hr\.|po\.\s?Hr\.)/i, + wide: /^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|nova)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?kv\.?/i, + wide: /^[1234]\. kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i, + wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i +}; +var parseMonthPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[npusčc]/i, + short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^pono/i, + noon: /^pod/i, + morning: /jutro/i, + afternoon: /(poslije\s|po)+podne/i, + evening: /(uvece|uveče)/i, + night: /(nocu|noću)/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/index.d.ts b/node_modules/date-fns/locale/bs/index.d.ts new file mode 100644 index 000000000..cbb00d936 --- /dev/null +++ b/node_modules/date-fns/locale/bs/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { bs } from 'date-fns/locale' +export default bs diff --git a/node_modules/date-fns/locale/bs/index.js b/node_modules/date-fns/locale/bs/index.js new file mode 100644 index 000000000..073820dfe --- /dev/null +++ b/node_modules/date-fns/locale/bs/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Bosnian locale. + * @language Bosnian + * @iso-639-2 bos + * @author Branislav Lazić [@branislavlazic]{@link https://github.com/branislavlazic} + */ +var locale = { + code: 'bs', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/bs/index.js.flow b/node_modules/date-fns/locale/bs/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/bs/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/bs/package.json b/node_modules/date-fns/locale/bs/package.json new file mode 100644 index 000000000..34d231042 --- /dev/null +++ b/node_modules/date-fns/locale/bs/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/bs/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ca/_lib/formatDistance/index.js new file mode 100644 index 000000000..c7079314b --- /dev/null +++ b/node_modules/date-fns/locale/ca/_lib/formatDistance/index.js @@ -0,0 +1,107 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +/** + * Davant de les xifres que es diuen amb vocal inicial, 1 i 11, s'apostrofen els articles el i la i la preposició de igual que si estiguessin escrits amb lletres. + * l'1 de juliol ('l'u') + * l'11 de novembre ('l'onze') + * l'11a clàusula del contracte ('l'onzena') + * la contractació d'11 jugadors ('d'onze') + * l'aval d'11.000 socis ('d'onze mil') + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=apostrofaci%25F3+davant+xifres&action=Principal&method=detall_completa&numPagina=1&idHit=11236&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=11236&titol=apostrofaci%F3%20davant%20de%20xifres%20%2F%20apostrofaci%F3%20davant%20de%201%20i%2011&numeroResultat=1&clickLink=detall&tipusCerca=cerca.normes + */ + +var formatDistanceLocale = { + lessThanXSeconds: { + one: "menys d'un segon", + eleven: "menys d'onze segons", + other: 'menys de {{count}} segons' + }, + xSeconds: { + one: '1 segon', + other: '{{count}} segons' + }, + halfAMinute: 'mig minut', + lessThanXMinutes: { + one: "menys d'un minut", + eleven: "menys d'onze minuts", + other: 'menys de {{count}} minuts' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minuts' + }, + aboutXHours: { + one: 'aproximadament una hora', + other: 'aproximadament {{count}} hores' + }, + xHours: { + one: '1 hora', + other: '{{count}} hores' + }, + xDays: { + one: '1 dia', + other: '{{count}} dies' + }, + aboutXWeeks: { + one: 'aproximadament una setmana', + other: 'aproximadament {{count}} setmanes' + }, + xWeeks: { + one: '1 setmana', + other: '{{count}} setmanes' + }, + aboutXMonths: { + one: 'aproximadament un mes', + other: 'aproximadament {{count}} mesos' + }, + xMonths: { + one: '1 mes', + other: '{{count}} mesos' + }, + aboutXYears: { + one: 'aproximadament un any', + other: 'aproximadament {{count}} anys' + }, + xYears: { + one: '1 any', + other: '{{count}} anys' + }, + overXYears: { + one: "més d'un any", + eleven: "més d'onze anys", + other: 'més de {{count}} anys' + }, + almostXYears: { + one: 'gairebé un any', + other: 'gairebé {{count}} anys' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 11 && tokenValue.eleven) { + result = tokenValue.eleven; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'fa ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/_lib/formatLong/index.js b/node_modules/date-fns/locale/ca/_lib/formatLong/index.js new file mode 100644 index 000000000..a8dc9da39 --- /dev/null +++ b/node_modules/date-fns/locale/ca/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d 'de' MMMM y", + long: "d 'de' MMMM y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'a les' {{time}}", + long: "{{date}} 'a les' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ca/_lib/formatRelative/index.js new file mode 100644 index 000000000..93727dbed --- /dev/null +++ b/node_modules/date-fns/locale/ca/_lib/formatRelative/index.js @@ -0,0 +1,31 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'el' eeee 'passat a la' LT", + yesterday: "'ahir a la' p", + today: "'avui a la' p", + tomorrow: "'demà a la' p", + nextWeek: "eeee 'a la' p", + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'el' eeee 'passat a les' p", + yesterday: "'ahir a les' p", + today: "'avui a les' p", + tomorrow: "'demà a les' p", + nextWeek: "eeee 'a les' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/_lib/localize/index.js b/node_modules/date-fns/locale/ca/_lib/localize/index.js new file mode 100644 index 000000000..cab900c13 --- /dev/null +++ b/node_modules/date-fns/locale/ca/_lib/localize/index.js @@ -0,0 +1,185 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +/** + * General information + * Reference: https://aplicacions.llengua.gencat.cat + * Reference: https://www.uoc.edu/portal/ca/servei-linguistic/convencions/abreviacions/simbols/simbols-habituals.html + */ +/** + * Abans de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abans+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6876&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6876&titol=abans%20de%20Crist%20(abreviatura)%20/%20abans%20de%20Crist%20(sigla)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes + * Desprest de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=despr%E9s+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6879&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6879&titol=despr%E9s%20de%20Crist%20(sigla)%20/%20despr%E9s%20de%20Crist%20(abreviatura)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes + */ +var eraValues = { + narrow: ['aC', 'dC'], + abbreviated: ['a. de C.', 'd. de C.'], + wide: ['abans de Crist', 'després de Crist'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1r trimestre', '2n trimestre', '3r trimestre', '4t trimestre'] +}; + +/** + * Dins d'un text convé fer servir la forma sencera dels mesos, ja que sempre és més clar el mot sencer que l'abreviatura, encara que aquesta sigui força coneguda. + * Cal reservar, doncs, les abreviatures per a les llistes o classificacions, els gràfics, les taules o quadres estadístics, els textos publicitaris, etc. + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviacions+mesos&action=Principal&method=detall_completa&numPagina=1&idHit=8402&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8402&titol=abreviatures%20dels%20mesos%20de%20l%27any&numeroResultat=5&clickLink=detall&tipusCerca=cerca.fitxes + */ +var monthValues = { + narrow: ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + /** + * Les abreviatures dels mesos de l'any es formen seguint una de les normes generals de formació d'abreviatures. + * S'escriu la primera síl·laba i les consonants de la síl·laba següent anteriors a la primera vocal. + * Els mesos de març, maig i juny no s'abreugen perquè són paraules d'una sola síl·laba. + */ + abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'], + wide: ['gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', 'novembre', 'desembre'] +}; + +/** + * Les abreviatures dels dies de la setmana comencen totes amb la lletra d. + * Tot seguit porten la consonant següent a la i, excepte en el cas de dimarts, dimecres i diumenge, en què aquesta consonant és la m i, per tant, hi podria haver confusió. + * Per evitar-ho, s'ha substituït la m per una t (en el cas de dimarts), una c (en el cas de dimecres) i una g (en el cas de diumenge), respectivament. + * + * Seguint la norma general d'ús de les abreviatures, les dels dies de la setmana sempre porten punt final. + * Igualment, van amb la primera lletra en majúscula quan la paraula sencera també hi aniria. + * En canvi, van amb la primera lletra en minúscula quan la inicial de la paraula sencera també hi aniria. + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviatures+dies&action=Principal&method=detall_completa&numPagina=1&idHit=8387&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8387&titol=abreviatures%20dels%20dies%20de%20la%20setmana&numeroResultat=1&clickLink=detall&tipusCerca=cerca.tot + */ +var dayValues = { + narrow: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'], + short: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'], + abbreviated: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'], + wide: ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] +}; + +/** + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?action=Principal&method=detall&input_cercar=parts+del+dia&numPagina=1&database=FITXES_PUB&idFont=12801&idHit=12801&tipusFont=Fitxes+de+l%27Optimot&numeroResultat=1&databases_avansada=&categories_avansada=&clickLink=detall&titol=Nom+de+les+parts+del+dia&tematica=&tipusCerca=cerca.fitxes + */ +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'mitjanit', + noon: 'migdia', + morning: 'matí', + afternoon: 'tarda', + evening: 'vespre', + night: 'nit' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'mitjanit', + noon: 'migdia', + morning: 'matí', + afternoon: 'tarda', + evening: 'vespre', + night: 'nit' + }, + wide: { + am: 'ante meridiem', + pm: 'post meridiem', + midnight: 'mitjanit', + noon: 'migdia', + morning: 'matí', + afternoon: 'tarda', + evening: 'vespre', + night: 'nit' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'de la mitjanit', + noon: 'del migdia', + morning: 'del matí', + afternoon: 'de la tarda', + evening: 'del vespre', + night: 'de la nit' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'de la mitjanit', + noon: 'del migdia', + morning: 'del matí', + afternoon: 'de la tarda', + evening: 'del vespre', + night: 'de la nit' + }, + wide: { + am: 'ante meridiem', + pm: 'post meridiem', + midnight: 'de la mitjanit', + noon: 'del migdia', + morning: 'del matí', + afternoon: 'de la tarda', + evening: 'del vespre', + night: 'de la nit' + } +}; + +/** + * Quan van en singular, els nombres ordinals es representen, en forma d’abreviatura, amb la xifra seguida de l’última lletra del mot desplegat. + * És optatiu posar punt després de la lletra. + * + * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/pdf/abrevia.pdf#page=18 + */ +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'r'; + case 2: + return number + 'n'; + case 3: + return number + 'r'; + case 4: + return number + 't'; + } + } + return number + 'è'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/_lib/match/index.js b/node_modules/date-fns/locale/ca/_lib/match/index.js new file mode 100644 index 000000000..d367c5ff8 --- /dev/null +++ b/node_modules/date-fns/locale/ca/_lib/match/index.js @@ -0,0 +1,112 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(è|r|n|r|t)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(aC|dC)/i, + abbreviated: /^(a. de C.|d. de C.)/i, + wide: /^(abans de Crist|despr[eé]s de Crist)/i +}; +var parseEraPatterns = { + narrow: [/^aC/i, /^dC/i], + abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i], + wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](è|r|n|r|t)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i, + abbreviated: /^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i, + wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i +}; +var parseMonthPatterns = { + narrow: [/^GN/i, /^FB/i, /^MÇ/i, /^AB/i, /^MG/i, /^JN/i, /^JL/i, /^AG/i, /^ST/i, /^OC/i, /^NV/i, /^DS/i], + abbreviated: [/^gen./i, /^febr./i, /^març/i, /^abr./i, /^maig/i, /^juny/i, /^jul./i, /^ag./i, /^set./i, /^oct./i, /^nov./i, /^des./i], + wide: [/^gener/i, /^febrer/i, /^març/i, /^abril/i, /^maig/i, /^juny/i, /^juliol/i, /^agost/i, /^setembre/i, /^octubre/i, /^novembre/i, /^desembre/i] +}; +var matchDayPatterns = { + narrow: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i, + short: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i, + abbreviated: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i, + wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i +}; +var parseDayPatterns = { + narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i], + abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i], + wide: [/^diumenge/i, /^dilluns/i, /^dimarts/i, /^dimecres/i, /^dijous/i, /^divendres/i, /^disssabte/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i, + abbreviated: /^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i, + wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mitjanit/i, + noon: /^migdia/i, + morning: /matí/i, + afternoon: /tarda/i, + evening: /vespre/i, + night: /nit/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'wide' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/index.d.ts b/node_modules/date-fns/locale/ca/index.d.ts new file mode 100644 index 000000000..82742f733 --- /dev/null +++ b/node_modules/date-fns/locale/ca/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ca } from 'date-fns/locale' +export default ca diff --git a/node_modules/date-fns/locale/ca/index.js b/node_modules/date-fns/locale/ca/index.js new file mode 100644 index 000000000..f36cc0840 --- /dev/null +++ b/node_modules/date-fns/locale/ca/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Catalan locale. + * @language Catalan + * @iso-639-2 cat + * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa} + * @author Alex Vizcaino [@avizcaino]{@link https://github.com/avizcaino} + */ +var locale = { + code: 'ca', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; // throw new Error('ca locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA') +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ca/index.js.flow b/node_modules/date-fns/locale/ca/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ca/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ca/package.json b/node_modules/date-fns/locale/ca/package.json new file mode 100644 index 000000000..4a0c73239 --- /dev/null +++ b/node_modules/date-fns/locale/ca/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ca/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/_lib/formatDistance/index.js b/node_modules/date-fns/locale/cs/_lib/formatDistance/index.js new file mode 100644 index 000000000..12ab26603 --- /dev/null +++ b/node_modules/date-fns/locale/cs/_lib/formatDistance/index.js @@ -0,0 +1,302 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + regular: 'méně než sekunda', + past: 'před méně než sekundou', + future: 'za méně než sekundu' + }, + few: { + regular: 'méně než {{count}} sekundy', + past: 'před méně než {{count}} sekundami', + future: 'za méně než {{count}} sekundy' + }, + many: { + regular: 'méně než {{count}} sekund', + past: 'před méně než {{count}} sekundami', + future: 'za méně než {{count}} sekund' + } + }, + xSeconds: { + one: { + regular: 'sekunda', + past: 'před sekundou', + future: 'za sekundu' + }, + few: { + regular: '{{count}} sekundy', + past: 'před {{count}} sekundami', + future: 'za {{count}} sekundy' + }, + many: { + regular: '{{count}} sekund', + past: 'před {{count}} sekundami', + future: 'za {{count}} sekund' + } + }, + halfAMinute: { + type: 'other', + other: { + regular: 'půl minuty', + past: 'před půl minutou', + future: 'za půl minuty' + } + }, + lessThanXMinutes: { + one: { + regular: 'méně než minuta', + past: 'před méně než minutou', + future: 'za méně než minutu' + }, + few: { + regular: 'méně než {{count}} minuty', + past: 'před méně než {{count}} minutami', + future: 'za méně než {{count}} minuty' + }, + many: { + regular: 'méně než {{count}} minut', + past: 'před méně než {{count}} minutami', + future: 'za méně než {{count}} minut' + } + }, + xMinutes: { + one: { + regular: 'minuta', + past: 'před minutou', + future: 'za minutu' + }, + few: { + regular: '{{count}} minuty', + past: 'před {{count}} minutami', + future: 'za {{count}} minuty' + }, + many: { + regular: '{{count}} minut', + past: 'před {{count}} minutami', + future: 'za {{count}} minut' + } + }, + aboutXHours: { + one: { + regular: 'přibližně hodina', + past: 'přibližně před hodinou', + future: 'přibližně za hodinu' + }, + few: { + regular: 'přibližně {{count}} hodiny', + past: 'přibližně před {{count}} hodinami', + future: 'přibližně za {{count}} hodiny' + }, + many: { + regular: 'přibližně {{count}} hodin', + past: 'přibližně před {{count}} hodinami', + future: 'přibližně za {{count}} hodin' + } + }, + xHours: { + one: { + regular: 'hodina', + past: 'před hodinou', + future: 'za hodinu' + }, + few: { + regular: '{{count}} hodiny', + past: 'před {{count}} hodinami', + future: 'za {{count}} hodiny' + }, + many: { + regular: '{{count}} hodin', + past: 'před {{count}} hodinami', + future: 'za {{count}} hodin' + } + }, + xDays: { + one: { + regular: 'den', + past: 'před dnem', + future: 'za den' + }, + few: { + regular: '{{count}} dny', + past: 'před {{count}} dny', + future: 'za {{count}} dny' + }, + many: { + regular: '{{count}} dní', + past: 'před {{count}} dny', + future: 'za {{count}} dní' + } + }, + aboutXWeeks: { + one: { + regular: 'přibližně týden', + past: 'přibližně před týdnem', + future: 'přibližně za týden' + }, + few: { + regular: 'přibližně {{count}} týdny', + past: 'přibližně před {{count}} týdny', + future: 'přibližně za {{count}} týdny' + }, + many: { + regular: 'přibližně {{count}} týdnů', + past: 'přibližně před {{count}} týdny', + future: 'přibližně za {{count}} týdnů' + } + }, + xWeeks: { + one: { + regular: 'týden', + past: 'před týdnem', + future: 'za týden' + }, + few: { + regular: '{{count}} týdny', + past: 'před {{count}} týdny', + future: 'za {{count}} týdny' + }, + many: { + regular: '{{count}} týdnů', + past: 'před {{count}} týdny', + future: 'za {{count}} týdnů' + } + }, + aboutXMonths: { + one: { + regular: 'přibližně měsíc', + past: 'přibližně před měsícem', + future: 'přibližně za měsíc' + }, + few: { + regular: 'přibližně {{count}} měsíce', + past: 'přibližně před {{count}} měsíci', + future: 'přibližně za {{count}} měsíce' + }, + many: { + regular: 'přibližně {{count}} měsíců', + past: 'přibližně před {{count}} měsíci', + future: 'přibližně za {{count}} měsíců' + } + }, + xMonths: { + one: { + regular: 'měsíc', + past: 'před měsícem', + future: 'za měsíc' + }, + few: { + regular: '{{count}} měsíce', + past: 'před {{count}} měsíci', + future: 'za {{count}} měsíce' + }, + many: { + regular: '{{count}} měsíců', + past: 'před {{count}} měsíci', + future: 'za {{count}} měsíců' + } + }, + aboutXYears: { + one: { + regular: 'přibližně rok', + past: 'přibližně před rokem', + future: 'přibližně za rok' + }, + few: { + regular: 'přibližně {{count}} roky', + past: 'přibližně před {{count}} roky', + future: 'přibližně za {{count}} roky' + }, + many: { + regular: 'přibližně {{count}} roků', + past: 'přibližně před {{count}} roky', + future: 'přibližně za {{count}} roků' + } + }, + xYears: { + one: { + regular: 'rok', + past: 'před rokem', + future: 'za rok' + }, + few: { + regular: '{{count}} roky', + past: 'před {{count}} roky', + future: 'za {{count}} roky' + }, + many: { + regular: '{{count}} roků', + past: 'před {{count}} roky', + future: 'za {{count}} roků' + } + }, + overXYears: { + one: { + regular: 'více než rok', + past: 'před více než rokem', + future: 'za více než rok' + }, + few: { + regular: 'více než {{count}} roky', + past: 'před více než {{count}} roky', + future: 'za více než {{count}} roky' + }, + many: { + regular: 'více než {{count}} roků', + past: 'před více než {{count}} roky', + future: 'za více než {{count}} roků' + } + }, + almostXYears: { + one: { + regular: 'skoro rok', + past: 'skoro před rokem', + future: 'skoro za rok' + }, + few: { + regular: 'skoro {{count}} roky', + past: 'skoro před {{count}} roky', + future: 'skoro za {{count}} roky' + }, + many: { + regular: 'skoro {{count}} roků', + past: 'skoro před {{count}} roky', + future: 'skoro za {{count}} roků' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var pluralResult; + var tokenValue = formatDistanceLocale[token]; + + // cs pluralization + if (tokenValue.type === 'other') { + pluralResult = tokenValue.other; + } else if (count === 1) { + pluralResult = tokenValue.one; + } else if (count > 1 && count < 5) { + pluralResult = tokenValue.few; + } else { + pluralResult = tokenValue.many; + } + + // times + var suffixExist = (options === null || options === void 0 ? void 0 : options.addSuffix) === true; + var comparison = options === null || options === void 0 ? void 0 : options.comparison; + var timeResult; + if (suffixExist && comparison === -1) { + timeResult = pluralResult.past; + } else if (suffixExist && comparison === 1) { + timeResult = pluralResult.future; + } else { + timeResult = pluralResult.regular; + } + return timeResult.replace('{{count}}', String(count)); +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/_lib/formatLong/index.js b/node_modules/date-fns/locale/cs/_lib/formatLong/index.js new file mode 100644 index 000000000..0c63535d0 --- /dev/null +++ b/node_modules/date-fns/locale/cs/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d. MMMM yyyy', + long: 'd. MMMM yyyy', + medium: 'd. M. yyyy', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'v' {{time}}", + long: "{{date}} 'v' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/_lib/formatRelative/index.js b/node_modules/date-fns/locale/cs/_lib/formatRelative/index.js new file mode 100644 index 000000000..cb8d34331 --- /dev/null +++ b/node_modules/date-fns/locale/cs/_lib/formatRelative/index.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var accusativeWeekdays = ['neděli', 'pondělí', 'úterý', 'středu', 'čtvrtek', 'pátek', 'sobotu']; +var formatRelativeLocale = { + lastWeek: "'poslední' eeee 've' p", + yesterday: "'včera v' p", + today: "'dnes v' p", + tomorrow: "'zítra v' p", + nextWeek: function nextWeek(date) { + var day = date.getUTCDay(); + return "'v " + accusativeWeekdays[day] + " o' p"; + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/_lib/localize/index.js b/node_modules/date-fns/locale/cs/_lib/localize/index.js new file mode 100644 index 000000000..3dd46fb6d --- /dev/null +++ b/node_modules/date-fns/locale/cs/_lib/localize/index.js @@ -0,0 +1,135 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['př. n. l.', 'n. l.'], + abbreviated: ['př. n. l.', 'n. l.'], + wide: ['před naším letopočtem', 'našeho letopočtu'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí'], + wide: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí'] +}; +var monthValues = { + narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'], + abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], + wide: ['leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec'] +}; +var formattingMonthValues = { + narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'], + abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'], + wide: ['ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října', 'listopadu', 'prosince'] +}; +var dayValues = { + narrow: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + short: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + abbreviated: ['ned', 'pon', 'úte', 'stř', 'čtv', 'pát', 'sob'], + wide: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'] +}; +var dayPeriodValues = { + narrow: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + abbreviated: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + wide: { + am: 'dopoledne', + pm: 'odpoledne', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + abbreviated: { + am: 'dop.', + pm: 'odp.', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + }, + wide: { + am: 'dopoledne', + pm: 'odpoledne', + midnight: 'půlnoc', + noon: 'poledne', + morning: 'ráno', + afternoon: 'odpoledne', + evening: 'večer', + night: 'noc' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/_lib/match/index.js b/node_modules/date-fns/locale/cs/_lib/match/index.js new file mode 100644 index 000000000..99fed7e39 --- /dev/null +++ b/node_modules/date-fns/locale/cs/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i, + abbreviated: /^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i, + wide: /^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i +}; +var parseEraPatterns = { + any: [/^p[řr]/i, /^(po|n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\. [čc]tvrtlet[íi]/i, + wide: /^[1234]\. [čc]tvrtlet[íi]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[lúubdkčcszřrlp]/i, + abbreviated: /^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i, + wide: /^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i +}; +var parseMonthPatterns = { + narrow: [/^l/i, /^[úu]/i, /^b/i, /^d/i, /^k/i, /^[čc]/i, /^[čc]/i, /^s/i, /^z/i, /^[řr]/i, /^l/i, /^p/i], + any: [/^led/i, /^[úu]n/i, /^b[řr]e/i, /^dub/i, /^kv[ěe]/i, /^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i, /^[čc]vc|[čc]erven(ec|ce)/i, /^srp/i, /^z[áa][řr]/i, /^[řr][íi]j/i, /^lis/i, /^pro/i] +}; +var matchDayPatterns = { + narrow: /^[npuúsčps]/i, + short: /^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i, + abbreviated: /^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i, + wide: /^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^[úu]/i, /^s/i, /^[čc]/i, /^p/i, /^s/i], + any: [/^ne/i, /^po/i, /^[úu]t/i, /^st/i, /^[čc]t/i, /^p[áa]/i, /^so/i] +}; +var matchDayPeriodPatterns = { + any: /^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^dop/i, + pm: /^odp/i, + midnight: /^p[ůu]lnoc/i, + noon: /^poledne/i, + morning: /r[áa]no/i, + afternoon: /odpoledne/i, + evening: /ve[čc]er/i, + night: /noc/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/index.d.ts b/node_modules/date-fns/locale/cs/index.d.ts new file mode 100644 index 000000000..a17dd220b --- /dev/null +++ b/node_modules/date-fns/locale/cs/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { cs } from 'date-fns/locale' +export default cs diff --git a/node_modules/date-fns/locale/cs/index.js b/node_modules/date-fns/locale/cs/index.js new file mode 100644 index 000000000..012af4611 --- /dev/null +++ b/node_modules/date-fns/locale/cs/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Czech locale. + * @language Czech + * @iso-639-2 ces + * @author David Rus [@davidrus]{@link https://github.com/davidrus} + * @author Pavel Hrách [@SilenY]{@link https://github.com/SilenY} + * @author Jozef Bíroš [@JozefBiros]{@link https://github.com/JozefBiros} + */ +var locale = { + code: 'cs', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cs/index.js.flow b/node_modules/date-fns/locale/cs/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/cs/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/cs/package.json b/node_modules/date-fns/locale/cs/package.json new file mode 100644 index 000000000..3a20ada8e --- /dev/null +++ b/node_modules/date-fns/locale/cs/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/cs/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/_lib/formatDistance/index.js b/node_modules/date-fns/locale/cy/_lib/formatDistance/index.js new file mode 100644 index 000000000..cd1c8ba5a --- /dev/null +++ b/node_modules/date-fns/locale/cy/_lib/formatDistance/index.js @@ -0,0 +1,104 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'llai na eiliad', + other: 'llai na {{count}} eiliad' + }, + xSeconds: { + one: '1 eiliad', + other: '{{count}} eiliad' + }, + halfAMinute: 'hanner munud', + lessThanXMinutes: { + one: 'llai na munud', + two: 'llai na 2 funud', + other: 'llai na {{count}} munud' + }, + xMinutes: { + one: '1 munud', + two: '2 funud', + other: '{{count}} munud' + }, + aboutXHours: { + one: 'tua 1 awr', + other: 'tua {{count}} awr' + }, + xHours: { + one: '1 awr', + other: '{{count}} awr' + }, + xDays: { + one: '1 diwrnod', + two: '2 ddiwrnod', + other: '{{count}} diwrnod' + }, + aboutXWeeks: { + one: 'tua 1 wythnos', + two: 'tua pythefnos', + other: 'tua {{count}} wythnos' + }, + xWeeks: { + one: '1 wythnos', + two: 'pythefnos', + other: '{{count}} wythnos' + }, + aboutXMonths: { + one: 'tua 1 mis', + two: 'tua 2 fis', + other: 'tua {{count}} mis' + }, + xMonths: { + one: '1 mis', + two: '2 fis', + other: '{{count}} mis' + }, + aboutXYears: { + one: 'tua 1 flwyddyn', + two: 'tua 2 flynedd', + other: 'tua {{count}} mlynedd' + }, + xYears: { + one: '1 flwyddyn', + two: '2 flynedd', + other: '{{count}} mlynedd' + }, + overXYears: { + one: 'dros 1 flwyddyn', + two: 'dros 2 flynedd', + other: 'dros {{count}} mlynedd' + }, + almostXYears: { + one: 'bron 1 flwyddyn', + two: 'bron 2 flynedd', + other: 'bron {{count}} mlynedd' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2 && !!tokenValue.two) { + result = tokenValue.two; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'mewn ' + result; + } else { + return result + ' yn ôl'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/_lib/formatLong/index.js b/node_modules/date-fns/locale/cy/_lib/formatLong/index.js new file mode 100644 index 000000000..375eea6ac --- /dev/null +++ b/node_modules/date-fns/locale/cy/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'am' {{time}}", + long: "{{date}} 'am' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/_lib/formatRelative/index.js b/node_modules/date-fns/locale/cy/_lib/formatRelative/index.js new file mode 100644 index 000000000..0193696ad --- /dev/null +++ b/node_modules/date-fns/locale/cy/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'diwethaf am' p", + yesterday: "'ddoe am' p", + today: "'heddiw am' p", + tomorrow: "'yfory am' p", + nextWeek: "eeee 'am' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/_lib/localize/index.js b/node_modules/date-fns/locale/cy/_lib/localize/index.js new file mode 100644 index 000000000..9660b11e5 --- /dev/null +++ b/node_modules/date-fns/locale/cy/_lib/localize/index.js @@ -0,0 +1,166 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['C', 'O'], + abbreviated: ['CC', 'OC'], + wide: ['Cyn Crist', 'Ar ôl Crist'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Ch1', 'Ch2', 'Ch3', 'Ch4'], + wide: ['Chwarter 1af', '2ail chwarter', '3ydd chwarter', '4ydd chwarter'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['I', 'Ch', 'Ma', 'E', 'Mi', 'Me', 'G', 'A', 'Md', 'H', 'T', 'Rh'], + abbreviated: ['Ion', 'Chwe', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Aws', 'Med', 'Hyd', 'Tach', 'Rhag'], + wide: ['Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', 'Hydref', 'Tachwedd', 'Rhagfyr'] +}; +var dayValues = { + narrow: ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], + short: ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'], + abbreviated: ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], + wide: ['dydd Sul', 'dydd Llun', 'dydd Mawrth', 'dydd Mercher', 'dydd Iau', 'dydd Gwener', 'dydd Sadwrn'] +}; +var dayPeriodValues = { + narrow: { + am: 'b', + pm: 'h', + midnight: 'hn', + noon: 'hd', + morning: 'bore', + afternoon: 'prynhawn', + evening: "gyda'r nos", + night: 'nos' + }, + abbreviated: { + am: 'yb', + pm: 'yh', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'bore', + afternoon: 'prynhawn', + evening: "gyda'r nos", + night: 'nos' + }, + wide: { + am: 'y.b.', + pm: 'y.h.', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'bore', + afternoon: 'prynhawn', + evening: "gyda'r nos", + night: 'nos' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'b', + pm: 'h', + midnight: 'hn', + noon: 'hd', + morning: 'yn y bore', + afternoon: 'yn y prynhawn', + evening: "gyda'r nos", + night: 'yn y nos' + }, + abbreviated: { + am: 'yb', + pm: 'yh', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'yn y bore', + afternoon: 'yn y prynhawn', + evening: "gyda'r nos", + night: 'yn y nos' + }, + wide: { + am: 'y.b.', + pm: 'y.h.', + midnight: 'hanner nos', + noon: 'hanner dydd', + morning: 'yn y bore', + afternoon: 'yn y prynhawn', + evening: "gyda'r nos", + night: 'yn y nos' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + if (number < 20) { + switch (number) { + case 0: + return number + 'fed'; + case 1: + return number + 'af'; + case 2: + return number + 'ail'; + case 3: + case 4: + return number + 'ydd'; + case 5: + case 6: + return number + 'ed'; + case 7: + case 8: + case 9: + case 10: + case 12: + case 15: + case 18: + return number + 'fed'; + case 11: + case 13: + case 14: + case 16: + case 17: + case 19: + return number + 'eg'; + } + } else if (number >= 50 && number <= 60 || number === 80 || number >= 100) { + return number + 'fed'; + } + return number + 'ain'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/_lib/match/index.js b/node_modules/date-fns/locale/cy/_lib/match/index.js new file mode 100644 index 000000000..f409eed93 --- /dev/null +++ b/node_modules/date-fns/locale/cy/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(c|o)/i, + abbreviated: /^(c\.?\s?c\.?|o\.?\s?c\.?)/i, + wide: /^(cyn christ|ar ôl crist|ar ol crist)/i +}; +var parseEraPatterns = { + wide: [/^c/i, /^(ar ôl crist|ar ol crist)/i], + any: [/^c/i, /^o/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ch[1234]/i, + wide: /^(chwarter 1af)|([234](ail|ydd)? chwarter)/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(i|ch|m|e|g|a|h|t|rh)/i, + abbreviated: /^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i, + wide: /^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i +}; +var parseMonthPatterns = { + narrow: [/^i/i, /^ch/i, /^m/i, /^e/i, /^m/i, /^m/i, /^g/i, /^a/i, /^m/i, /^h/i, /^t/i, /^rh/i], + any: [/^io/i, /^ch/i, /^maw/i, /^e/i, /^mai/i, /^meh/i, /^g/i, /^a/i, /^med/i, /^h/i, /^t/i, /^rh/i] +}; +var matchDayPatterns = { + narrow: /^(s|ll|m|i|g)/i, + short: /^(su|ll|ma|me|ia|gw|sa)/i, + abbreviated: /^(sul|llun|maw|mer|iau|gwe|sad)/i, + wide: /^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^ll/i, /^m/i, /^m/i, /^i/i, /^g/i, /^s/i], + wide: [/^dydd su/i, /^dydd ll/i, /^dydd ma/i, /^dydd me/i, /^dydd i/i, /^dydd g/i, /^dydd sa/i], + any: [/^su/i, /^ll/i, /^ma/i, /^me/i, /^i/i, /^g/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i, + any: /^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^b|(y\.?\s?b\.?)/i, + pm: /^h|(y\.?\s?h\.?)|(yr hwyr)/i, + midnight: /^hn|hanner nos/i, + noon: /^hd|hanner dydd/i, + morning: /bore/i, + afternoon: /prynhawn/i, + evening: /^gyda'r nos$/i, + night: /blah/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/index.d.ts b/node_modules/date-fns/locale/cy/index.d.ts new file mode 100644 index 000000000..8c1286beb --- /dev/null +++ b/node_modules/date-fns/locale/cy/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { cy } from 'date-fns/locale' +export default cy diff --git a/node_modules/date-fns/locale/cy/index.js b/node_modules/date-fns/locale/cy/index.js new file mode 100644 index 000000000..32d7f2c63 --- /dev/null +++ b/node_modules/date-fns/locale/cy/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Welsh locale. + * @language Welsh + * @iso-639-2 cym + * @author Elwyn Malethan [@elmomalmo]{@link https://github.com/elmomalmo} + */ +var locale = { + code: 'cy', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/cy/index.js.flow b/node_modules/date-fns/locale/cy/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/cy/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/cy/package.json b/node_modules/date-fns/locale/cy/package.json new file mode 100644 index 000000000..c1c5ddf19 --- /dev/null +++ b/node_modules/date-fns/locale/cy/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/cy/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/_lib/formatDistance/index.js b/node_modules/date-fns/locale/da/_lib/formatDistance/index.js new file mode 100644 index 000000000..98233ac96 --- /dev/null +++ b/node_modules/date-fns/locale/da/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre end ét sekund', + other: 'mindre end {{count}} sekunder' + }, + xSeconds: { + one: '1 sekund', + other: '{{count}} sekunder' + }, + halfAMinute: 'ét halvt minut', + lessThanXMinutes: { + one: 'mindre end ét minut', + other: 'mindre end {{count}} minutter' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minutter' + }, + aboutXHours: { + one: 'cirka 1 time', + other: 'cirka {{count}} timer' + }, + xHours: { + one: '1 time', + other: '{{count}} timer' + }, + xDays: { + one: '1 dag', + other: '{{count}} dage' + }, + aboutXWeeks: { + one: 'cirka 1 uge', + other: 'cirka {{count}} uger' + }, + xWeeks: { + one: '1 uge', + other: '{{count}} uger' + }, + aboutXMonths: { + one: 'cirka 1 måned', + other: 'cirka {{count}} måneder' + }, + xMonths: { + one: '1 måned', + other: '{{count}} måneder' + }, + aboutXYears: { + one: 'cirka 1 år', + other: 'cirka {{count}} år' + }, + xYears: { + one: '1 år', + other: '{{count}} år' + }, + overXYears: { + one: 'over 1 år', + other: 'over {{count}} år' + }, + almostXYears: { + one: 'næsten 1 år', + other: 'næsten {{count}} år' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' siden'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/_lib/formatLong/index.js b/node_modules/date-fns/locale/da/_lib/formatLong/index.js new file mode 100644 index 000000000..1a409c698 --- /dev/null +++ b/node_modules/date-fns/locale/da/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE 'den' d. MMMM y", + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl'. {{time}}", + long: "{{date}} 'kl'. {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/_lib/formatRelative/index.js b/node_modules/date-fns/locale/da/_lib/formatRelative/index.js new file mode 100644 index 000000000..8182af9f1 --- /dev/null +++ b/node_modules/date-fns/locale/da/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'sidste' eeee 'kl.' p", + yesterday: "'i går kl.' p", + today: "'i dag kl.' p", + tomorrow: "'i morgen kl.' p", + nextWeek: "'på' eeee 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/_lib/localize/index.js b/node_modules/date-fns/locale/da/_lib/localize/index.js new file mode 100644 index 000000000..175bad90d --- /dev/null +++ b/node_modules/date-fns/locale/da/_lib/localize/index.js @@ -0,0 +1,132 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['fvt', 'vt'], + abbreviated: ['f.v.t.', 'v.t.'], + wide: ['før vesterlandsk tidsregning', 'vesterlandsk tidsregning'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. kvt.', '2. kvt.', '3. kvt.', '4. kvt.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december'] +}; + +// Note that 'Days - abbreviated - Formatting' has periods at the end. +// https://www.unicode.org/cldr/charts/32/summary/da.html#1760 +// This makes grammatical sense in danish, as most abbreviations have periods. +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + abbreviated: ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + wide: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnat', + noon: 'middag', + morning: 'morgen', + afternoon: 'eftermiddag', + evening: 'aften', + night: 'nat' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnat', + noon: 'middag', + morning: 'morgen', + afternoon: 'eftermiddag', + evening: 'aften', + night: 'nat' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnat', + noon: 'middag', + morning: 'morgen', + afternoon: 'eftermiddag', + evening: 'aften', + night: 'nat' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnat', + noon: 'middag', + morning: 'om morgenen', + afternoon: 'om eftermiddagen', + evening: 'om aftenen', + night: 'om natten' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnat', + noon: 'middag', + morning: 'om morgenen', + afternoon: 'om eftermiddagen', + evening: 'om aftenen', + night: 'om natten' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnat', + noon: 'middag', + morning: 'om morgenen', + afternoon: 'om eftermiddagen', + evening: 'om aftenen', + night: 'om natten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/_lib/match/index.js b/node_modules/date-fns/locale/da/_lib/match/index.js new file mode 100644 index 000000000..5ddefaee1 --- /dev/null +++ b/node_modules/date-fns/locale/da/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(fKr|fvt|eKr|vt)/i, + abbreviated: /^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i, + wide: /^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^(v|e)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]. kvt\./i, + wide: /^[1234]\.? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, + wide: /^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i, + abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i, + wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^o/i, /^t/i, /^f/i, /^l/i], + any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i, + any: /^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /midnat/i, + noon: /middag/i, + morning: /morgen/i, + afternoon: /eftermiddag/i, + evening: /aften/i, + night: /nat/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/index.d.ts b/node_modules/date-fns/locale/da/index.d.ts new file mode 100644 index 000000000..1cd188a3a --- /dev/null +++ b/node_modules/date-fns/locale/da/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { da } from 'date-fns/locale' +export default da diff --git a/node_modules/date-fns/locale/da/index.js b/node_modules/date-fns/locale/da/index.js new file mode 100644 index 000000000..ea70e79fa --- /dev/null +++ b/node_modules/date-fns/locale/da/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Danish locale. + * @language Danish + * @iso-639-2 dan + * @author Mathias Wøbbe [@MathiasKandelborg]{@link https://github.com/MathiasKandelborg} + * @author Anders B. Hansen [@Andersbiha]{@link https://github.com/Andersbiha} + * @author [@kgram]{@link https://github.com/kgram} + * @author [@stefanbugge]{@link https://github.com/stefanbugge} + */ +var locale = { + code: 'da', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/da/index.js.flow b/node_modules/date-fns/locale/da/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/da/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/da/package.json b/node_modules/date-fns/locale/da/package.json new file mode 100644 index 000000000..b6cbfe8dd --- /dev/null +++ b/node_modules/date-fns/locale/da/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/da/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/de-AT/_lib/localize/index.js b/node_modules/date-fns/locale/de-AT/_lib/localize/index.js new file mode 100644 index 000000000..85af22a9a --- /dev/null +++ b/node_modules/date-fns/locale/de-AT/_lib/localize/index.js @@ -0,0 +1,143 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['v.Chr.', 'n.Chr.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['vor Christus', 'nach Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] +}; + +// Note: in German, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + wide: ['Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] +}; + +// https://st.unicode.org/cldr-apps/v#/de_AT/Gregorian/ +var formattingMonthValues = { + narrow: monthValues.narrow, + abbreviated: ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], + wide: monthValues.wide +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/de.html#1881 +var dayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachm.', + evening: 'Abend', + night: 'Nacht' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachm.', + evening: 'abends', + night: 'nachts' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + formattingValues: formattingMonthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de-AT/index.d.ts b/node_modules/date-fns/locale/de-AT/index.d.ts new file mode 100644 index 000000000..a7d668012 --- /dev/null +++ b/node_modules/date-fns/locale/de-AT/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { deAT } from 'date-fns/locale' +export default deAT diff --git a/node_modules/date-fns/locale/de-AT/index.js b/node_modules/date-fns/locale/de-AT/index.js new file mode 100644 index 000000000..10aece4fb --- /dev/null +++ b/node_modules/date-fns/locale/de-AT/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../de/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../de/_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("../de/_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("../de/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/localize/index.js")); +// difference to 'de' locale + +/** + * @type {Locale} + * @category Locales + * @summary German locale (Austria). + * @language German + * @iso-639-2 deu + * @author Christoph Tobias Stenglein [@cstenglein]{@link https://github.com/cstenglein} + */ +var locale = { + code: 'de-AT', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index5.default, + match: _index4.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de-AT/index.js.flow b/node_modules/date-fns/locale/de-AT/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/de-AT/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/de-AT/package.json b/node_modules/date-fns/locale/de-AT/package.json new file mode 100644 index 000000000..98cc7475a --- /dev/null +++ b/node_modules/date-fns/locale/de-AT/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/de-AT/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/_lib/formatDistance/index.js b/node_modules/date-fns/locale/de/_lib/formatDistance/index.js new file mode 100644 index 000000000..25842d3b7 --- /dev/null +++ b/node_modules/date-fns/locale/de/_lib/formatDistance/index.js @@ -0,0 +1,184 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'weniger als 1 Sekunde', + other: 'weniger als {{count}} Sekunden' + }, + withPreposition: { + one: 'weniger als 1 Sekunde', + other: 'weniger als {{count}} Sekunden' + } + }, + xSeconds: { + standalone: { + one: '1 Sekunde', + other: '{{count}} Sekunden' + }, + withPreposition: { + one: '1 Sekunde', + other: '{{count}} Sekunden' + } + }, + halfAMinute: { + standalone: 'halbe Minute', + withPreposition: 'halben Minute' + }, + lessThanXMinutes: { + standalone: { + one: 'weniger als 1 Minute', + other: 'weniger als {{count}} Minuten' + }, + withPreposition: { + one: 'weniger als 1 Minute', + other: 'weniger als {{count}} Minuten' + } + }, + xMinutes: { + standalone: { + one: '1 Minute', + other: '{{count}} Minuten' + }, + withPreposition: { + one: '1 Minute', + other: '{{count}} Minuten' + } + }, + aboutXHours: { + standalone: { + one: 'etwa 1 Stunde', + other: 'etwa {{count}} Stunden' + }, + withPreposition: { + one: 'etwa 1 Stunde', + other: 'etwa {{count}} Stunden' + } + }, + xHours: { + standalone: { + one: '1 Stunde', + other: '{{count}} Stunden' + }, + withPreposition: { + one: '1 Stunde', + other: '{{count}} Stunden' + } + }, + xDays: { + standalone: { + one: '1 Tag', + other: '{{count}} Tage' + }, + withPreposition: { + one: '1 Tag', + other: '{{count}} Tagen' + } + }, + aboutXWeeks: { + standalone: { + one: 'etwa 1 Woche', + other: 'etwa {{count}} Wochen' + }, + withPreposition: { + one: 'etwa 1 Woche', + other: 'etwa {{count}} Wochen' + } + }, + xWeeks: { + standalone: { + one: '1 Woche', + other: '{{count}} Wochen' + }, + withPreposition: { + one: '1 Woche', + other: '{{count}} Wochen' + } + }, + aboutXMonths: { + standalone: { + one: 'etwa 1 Monat', + other: 'etwa {{count}} Monate' + }, + withPreposition: { + one: 'etwa 1 Monat', + other: 'etwa {{count}} Monaten' + } + }, + xMonths: { + standalone: { + one: '1 Monat', + other: '{{count}} Monate' + }, + withPreposition: { + one: '1 Monat', + other: '{{count}} Monaten' + } + }, + aboutXYears: { + standalone: { + one: 'etwa 1 Jahr', + other: 'etwa {{count}} Jahre' + }, + withPreposition: { + one: 'etwa 1 Jahr', + other: 'etwa {{count}} Jahren' + } + }, + xYears: { + standalone: { + one: '1 Jahr', + other: '{{count}} Jahre' + }, + withPreposition: { + one: '1 Jahr', + other: '{{count}} Jahren' + } + }, + overXYears: { + standalone: { + one: 'mehr als 1 Jahr', + other: 'mehr als {{count}} Jahre' + }, + withPreposition: { + one: 'mehr als 1 Jahr', + other: 'mehr als {{count}} Jahren' + } + }, + almostXYears: { + standalone: { + one: 'fast 1 Jahr', + other: 'fast {{count}} Jahre' + }, + withPreposition: { + one: 'fast 1 Jahr', + other: 'fast {{count}} Jahren' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'in ' + result; + } else { + return 'vor ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/_lib/formatLong/index.js b/node_modules/date-fns/locale/de/_lib/formatLong/index.js new file mode 100644 index 000000000..25b775c1e --- /dev/null +++ b/node_modules/date-fns/locale/de/_lib/formatLong/index.js @@ -0,0 +1,48 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +// DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008 +var dateFormats = { + full: 'EEEE, do MMMM y', + // Montag, 7. Januar 2018 + long: 'do MMMM y', + // 7. Januar 2018 + medium: 'do MMM y', + // 7. Jan. 2018 + short: 'dd.MM.y' // 07.01.2018 +}; + +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'um' {{time}}", + long: "{{date}} 'um' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/_lib/formatRelative/index.js b/node_modules/date-fns/locale/de/_lib/formatRelative/index.js new file mode 100644 index 000000000..00178bcb2 --- /dev/null +++ b/node_modules/date-fns/locale/de/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'letzten' eeee 'um' p", + yesterday: "'gestern um' p", + today: "'heute um' p", + tomorrow: "'morgen um' p", + nextWeek: "eeee 'um' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/_lib/localize/index.js b/node_modules/date-fns/locale/de/_lib/localize/index.js new file mode 100644 index 000000000..2e07c6a0f --- /dev/null +++ b/node_modules/date-fns/locale/de/_lib/localize/index.js @@ -0,0 +1,143 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['v.Chr.', 'n.Chr.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['vor Christus', 'nach Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] +}; + +// Note: in German, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + wide: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] +}; + +// https://st.unicode.org/cldr-apps/v#/de/Gregorian/ +var formattingMonthValues = { + narrow: monthValues.narrow, + abbreviated: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'], + wide: monthValues.wide +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/de.html#1881 +var dayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachm.', + evening: 'Abend', + night: 'Nacht' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'Morgen', + afternoon: 'Nachmittag', + evening: 'Abend', + night: 'Nacht' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'vm.', + pm: 'nm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachm.', + evening: 'abends', + night: 'nachts' + }, + abbreviated: { + am: 'vorm.', + pm: 'nachm.', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + }, + wide: { + am: 'vormittags', + pm: 'nachmittags', + midnight: 'Mitternacht', + noon: 'Mittag', + morning: 'morgens', + afternoon: 'nachmittags', + evening: 'abends', + night: 'nachts' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + formattingValues: formattingMonthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/_lib/match/index.js b/node_modules/date-fns/locale/de/_lib/match/index.js new file mode 100644 index 000000000..34cefc7ff --- /dev/null +++ b/node_modules/date-fns/locale/de/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i +}; +var parseEraPatterns = { + any: [/^v/i, /^n/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? Quartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i, + wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^j[aä]/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smdmf]/i, + short: /^(so|mo|di|mi|do|fr|sa)/i, + abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i, + wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i +}; +var parseDayPatterns = { + any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i, + abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i, + wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^v/i, + pm: /^n/i, + midnight: /^Mitte/i, + noon: /^Mitta/i, + morning: /morgens/i, + afternoon: /nachmittags/i, + // will never be matched. Afternoon is matched by `pm` + evening: /abends/i, + night: /nachts/i // will never be matched. Night is matched by `pm` + } +}; + +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/index.d.ts b/node_modules/date-fns/locale/de/index.d.ts new file mode 100644 index 000000000..ef552da81 --- /dev/null +++ b/node_modules/date-fns/locale/de/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { de } from 'date-fns/locale' +export default de diff --git a/node_modules/date-fns/locale/de/index.js b/node_modules/date-fns/locale/de/index.js new file mode 100644 index 000000000..eedd8a889 --- /dev/null +++ b/node_modules/date-fns/locale/de/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary German locale. + * @language German + * @iso-639-2 deu + * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu} + * @author Asia [@asia-t]{@link https://github.com/asia-t} + * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo} + * @author RomanErnst [@pex]{@link https://github.com/pex} + * @author Philipp Keck [@Philipp91]{@link https://github.com/Philipp91} + */ +var locale = { + code: 'de', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/de/index.js.flow b/node_modules/date-fns/locale/de/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/de/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/de/package.json b/node_modules/date-fns/locale/de/package.json new file mode 100644 index 000000000..f8023ea26 --- /dev/null +++ b/node_modules/date-fns/locale/de/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/de/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/_lib/formatDistance/index.js b/node_modules/date-fns/locale/el/_lib/formatDistance/index.js new file mode 100644 index 000000000..8efbdd5fa --- /dev/null +++ b/node_modules/date-fns/locale/el/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'λιγότερο από ένα δευτερόλεπτο', + other: 'λιγότερο από {{count}} δευτερόλεπτα' + }, + xSeconds: { + one: '1 δευτερόλεπτο', + other: '{{count}} δευτερόλεπτα' + }, + halfAMinute: 'μισό λεπτό', + lessThanXMinutes: { + one: 'λιγότερο από ένα λεπτό', + other: 'λιγότερο από {{count}} λεπτά' + }, + xMinutes: { + one: '1 λεπτό', + other: '{{count}} λεπτά' + }, + aboutXHours: { + one: 'περίπου 1 ώρα', + other: 'περίπου {{count}} ώρες' + }, + xHours: { + one: '1 ώρα', + other: '{{count}} ώρες' + }, + xDays: { + one: '1 ημέρα', + other: '{{count}} ημέρες' + }, + aboutXWeeks: { + one: 'περίπου 1 εβδομάδα', + other: 'περίπου {{count}} εβδομάδες' + }, + xWeeks: { + one: '1 εβδομάδα', + other: '{{count}} εβδομάδες' + }, + aboutXMonths: { + one: 'περίπου 1 μήνας', + other: 'περίπου {{count}} μήνες' + }, + xMonths: { + one: '1 μήνας', + other: '{{count}} μήνες' + }, + aboutXYears: { + one: 'περίπου 1 χρόνο', + other: 'περίπου {{count}} χρόνια' + }, + xYears: { + one: '1 χρόνο', + other: '{{count}} χρόνια' + }, + overXYears: { + one: 'πάνω από 1 χρόνο', + other: 'πάνω από {{count}} χρόνια' + }, + almostXYears: { + one: 'περίπου 1 χρόνο', + other: 'περίπου {{count}} χρόνια' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'σε ' + result; + } else { + return result + ' πριν'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/_lib/formatLong/index.js b/node_modules/date-fns/locale/el/_lib/formatLong/index.js new file mode 100644 index 000000000..b864f8619 --- /dev/null +++ b/node_modules/date-fns/locale/el/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'd/M/yy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: '{{date}} - {{time}}', + long: '{{date}} - {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/_lib/formatRelative/index.js b/node_modules/date-fns/locale/el/_lib/formatRelative/index.js new file mode 100644 index 000000000..6e182263e --- /dev/null +++ b/node_modules/date-fns/locale/el/_lib/formatRelative/index.js @@ -0,0 +1,30 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 6: + //Σάββατο + return "'το προηγούμενο' eeee 'στις' p"; + default: + return "'την προηγούμενη' eeee 'στις' p"; + } + }, + yesterday: "'χθες στις' p", + today: "'σήμερα στις' p", + tomorrow: "'αύριο στις' p", + nextWeek: "eeee 'στις' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') return format(date); + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/_lib/localize/index.js b/node_modules/date-fns/locale/el/_lib/localize/index.js new file mode 100644 index 000000000..b61e3ae16 --- /dev/null +++ b/node_modules/date-fns/locale/el/_lib/localize/index.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['πΧ', 'μΧ'], + abbreviated: ['π.Χ.', 'μ.Χ.'], + wide: ['προ Χριστού', 'μετά Χριστόν'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Τ1', 'Τ2', 'Τ3', 'Τ4'], + wide: ['1ο τρίμηνο', '2ο τρίμηνο', '3ο τρίμηνο', '4ο τρίμηνο'] +}; +var monthValues = { + narrow: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + abbreviated: ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], + wide: ['Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος'] +}; +var formattingMonthValues = { + narrow: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + abbreviated: ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], + wide: ['Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου'] +}; +var dayValues = { + narrow: ['Κ', 'Δ', 'T', 'Τ', 'Π', 'Π', 'Σ'], + short: ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'], + abbreviated: ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + wide: ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'] +}; +var dayPeriodValues = { + narrow: { + am: 'πμ', + pm: 'μμ', + midnight: 'μεσάνυχτα', + noon: 'μεσημέρι', + morning: 'πρωί', + afternoon: 'απόγευμα', + evening: 'βράδυ', + night: 'νύχτα' + }, + abbreviated: { + am: 'π.μ.', + pm: 'μ.μ.', + midnight: 'μεσάνυχτα', + noon: 'μεσημέρι', + morning: 'πρωί', + afternoon: 'απόγευμα', + evening: 'βράδυ', + night: 'νύχτα' + }, + wide: { + am: 'π.μ.', + pm: 'μ.μ.', + midnight: 'μεσάνυχτα', + noon: 'μεσημέρι', + morning: 'πρωί', + afternoon: 'απόγευμα', + evening: 'βράδυ', + night: 'νύχτα' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + var suffix; + if (unit === 'year' || unit === 'month') { + suffix = 'ος'; + } else if (unit === 'week' || unit === 'dayOfYear' || unit === 'day' || unit === 'hour' || unit === 'date') { + suffix = 'η'; + } else { + suffix = 'ο'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/_lib/match/index.js b/node_modules/date-fns/locale/el/_lib/match/index.js new file mode 100644 index 000000000..65dccb4a3 --- /dev/null +++ b/node_modules/date-fns/locale/el/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(ος|η|ο)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(πΧ|μΧ)/i, + abbreviated: /^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i, + wide: /^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i +}; +var parseEraPatterns = { + any: [/^π/i, /^(μ|κ)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^τ[1234]/i, + wide: /^[1234]ο? τρ(ί|ι)μηνο/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[ιφμαμιιασονδ]/i, + abbreviated: /^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i, + wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i +}; +var parseMonthPatterns = { + narrow: [/^ι/i, /^φ/i, /^μ/i, /^α/i, /^μ/i, /^ι/i, /^ι/i, /^α/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i], + any: [/^ια/i, /^φ/i, /^μ[άα]ρ/i, /^απ/i, /^μ[άα][ιΐ]/i, /^ιο[ύυ]ν/i, /^ιο[ύυ]λ/i, /^α[ύυ]/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i] +}; +var matchDayPatterns = { + narrow: /^[κδτπσ]/i, + short: /^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i, + abbreviated: /^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i, + wide: /^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i +}; +var parseDayPatterns = { + narrow: [/^κ/i, /^δ/i, /^τ/i, /^τ/i, /^π/i, /^π/i, /^σ/i], + any: [/^κ/i, /^δ/i, /^τρ/i, /^τε/i, /^π[εέ]/i, /^π[αά]/i, /^σ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i, + any: /^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^πμ|π\.\s?μ\./i, + pm: /^μμ|μ\.\s?μ\./i, + midnight: /^μεσάν/i, + noon: /^μεσημ(έ|ε)/i, + morning: /πρω(ί|ι)/i, + afternoon: /απ(ό|ο)γευμα/i, + evening: /βρ(ά|α)δυ/i, + night: /ν(ύ|υ)χτα/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/index.d.ts b/node_modules/date-fns/locale/el/index.d.ts new file mode 100644 index 000000000..551ad06f4 --- /dev/null +++ b/node_modules/date-fns/locale/el/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { el } from 'date-fns/locale' +export default el diff --git a/node_modules/date-fns/locale/el/index.js b/node_modules/date-fns/locale/el/index.js new file mode 100644 index 000000000..a2c26f7e0 --- /dev/null +++ b/node_modules/date-fns/locale/el/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Greek locale. + * @language Greek + * @iso-639-2 ell + * @author Fanis Katsimpas [@fanixk]{@link https://github.com/fanixk} + * @author Theodoros Orfanidis [@teoulas]{@link https://github.com/teoulas} + */ +var locale = { + code: 'el', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/el/index.js.flow b/node_modules/date-fns/locale/el/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/el/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/el/package.json b/node_modules/date-fns/locale/el/package.json new file mode 100644 index 000000000..1ae631cc0 --- /dev/null +++ b/node_modules/date-fns/locale/el/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/el/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-AU/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-AU/_lib/formatLong/index.js new file mode 100644 index 000000000..8c1682763 --- /dev/null +++ b/node_modules/date-fns/locale/en-AU/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-AU/index.d.ts b/node_modules/date-fns/locale/en-AU/index.d.ts new file mode 100644 index 000000000..c1343a6b8 --- /dev/null +++ b/node_modules/date-fns/locale/en-AU/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enAU } from 'date-fns/locale' +export default enAU diff --git a/node_modules/date-fns/locale/en-AU/index.js b/node_modules/date-fns/locale/en-AU/index.js new file mode 100644 index 000000000..10a17411e --- /dev/null +++ b/node_modules/date-fns/locale/en-AU/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (Australia). + * @language English + * @iso-639-2 eng + * @author Julien Malige [@JulienMalige]{@link https://github.com/JulienMalige} + */ +var locale = { + code: 'en-AU', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-AU/index.js.flow b/node_modules/date-fns/locale/en-AU/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-AU/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-AU/package.json b/node_modules/date-fns/locale/en-AU/package.json new file mode 100644 index 000000000..6114ef77a --- /dev/null +++ b/node_modules/date-fns/locale/en-AU/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-AU/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-CA/_lib/formatDistance/index.js b/node_modules/date-fns/locale/en-CA/_lib/formatDistance/index.js new file mode 100644 index 000000000..58fe3c2d1 --- /dev/null +++ b/node_modules/date-fns/locale/en-CA/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'less than a second', + other: 'less than {{count}} seconds' + }, + xSeconds: { + one: 'a second', + other: '{{count}} seconds' + }, + halfAMinute: 'half a minute', + lessThanXMinutes: { + one: 'less than a minute', + other: 'less than {{count}} minutes' + }, + xMinutes: { + one: 'a minute', + other: '{{count}} minutes' + }, + aboutXHours: { + one: 'about an hour', + other: 'about {{count}} hours' + }, + xHours: { + one: 'an hour', + other: '{{count}} hours' + }, + xDays: { + one: 'a day', + other: '{{count}} days' + }, + aboutXWeeks: { + one: 'about a week', + other: 'about {{count}} weeks' + }, + xWeeks: { + one: 'a week', + other: '{{count}} weeks' + }, + aboutXMonths: { + one: 'about a month', + other: 'about {{count}} months' + }, + xMonths: { + one: 'a month', + other: '{{count}} months' + }, + aboutXYears: { + one: 'about a year', + other: 'about {{count}} years' + }, + xYears: { + one: 'a year', + other: '{{count}} years' + }, + overXYears: { + one: 'over a year', + other: 'over {{count}} years' + }, + almostXYears: { + one: 'almost a year', + other: 'almost {{count}} years' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'in ' + result; + } else { + return result + ' ago'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-CA/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-CA/_lib/formatLong/index.js new file mode 100644 index 000000000..304f6a983 --- /dev/null +++ b/node_modules/date-fns/locale/en-CA/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, yyyy', + long: 'MMMM do, yyyy', + medium: 'MMM d, yyyy', + short: 'yyyy-MM-dd' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-CA/index.d.ts b/node_modules/date-fns/locale/en-CA/index.d.ts new file mode 100644 index 000000000..e97efb4b1 --- /dev/null +++ b/node_modules/date-fns/locale/en-CA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enCA } from 'date-fns/locale' +export default enCA diff --git a/node_modules/date-fns/locale/en-CA/index.js b/node_modules/date-fns/locale/en-CA/index.js new file mode 100644 index 000000000..61a060d89 --- /dev/null +++ b/node_modules/date-fns/locale/en-CA/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (Canada). + * @language English + * @iso-639-2 eng + * @author Mark Owsiak [@markowsiak]{@link https://github.com/markowsiak} + * @author Marco Imperatore [@mimperatore]{@link https://github.com/mimperatore} + */ +var locale = { + code: 'en-CA', + formatDistance: _index4.default, + formatLong: _index5.default, + formatRelative: _index.default, + localize: _index2.default, + match: _index3.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-CA/index.js.flow b/node_modules/date-fns/locale/en-CA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-CA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-CA/package.json b/node_modules/date-fns/locale/en-CA/package.json new file mode 100644 index 000000000..9b7526add --- /dev/null +++ b/node_modules/date-fns/locale/en-CA/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-CA/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-GB/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-GB/_lib/formatLong/index.js new file mode 100644 index 000000000..03decbb4c --- /dev/null +++ b/node_modules/date-fns/locale/en-GB/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-GB/index.d.ts b/node_modules/date-fns/locale/en-GB/index.d.ts new file mode 100644 index 000000000..74fc78410 --- /dev/null +++ b/node_modules/date-fns/locale/en-GB/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enGB } from 'date-fns/locale' +export default enGB diff --git a/node_modules/date-fns/locale/en-GB/index.js b/node_modules/date-fns/locale/en-GB/index.js new file mode 100644 index 000000000..60fbf1a3b --- /dev/null +++ b/node_modules/date-fns/locale/en-GB/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (United Kingdom). + * @language English + * @iso-639-2 eng + * @author Alex [@glintik]{@link https://github.com/glintik} + */ +var locale = { + code: 'en-GB', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-GB/index.js.flow b/node_modules/date-fns/locale/en-GB/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-GB/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-GB/package.json b/node_modules/date-fns/locale/en-GB/package.json new file mode 100644 index 000000000..96f038ba8 --- /dev/null +++ b/node_modules/date-fns/locale/en-GB/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-GB/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-IE/index.d.ts b/node_modules/date-fns/locale/en-IE/index.d.ts new file mode 100644 index 000000000..042b0cafc --- /dev/null +++ b/node_modules/date-fns/locale/en-IE/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enIE } from 'date-fns/locale' +export default enIE diff --git a/node_modules/date-fns/locale/en-IE/index.js b/node_modules/date-fns/locale/en-IE/index.js new file mode 100644 index 000000000..8e7718cb2 --- /dev/null +++ b/node_modules/date-fns/locale/en-IE/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("../en-GB/_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (Ireland). + * @language English + * @iso-639-2 eng + * @author Tetiana [@tan75]{@link https://github.com/tan75} + */ +var locale = { + code: 'en-IE', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-IE/index.js.flow b/node_modules/date-fns/locale/en-IE/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-IE/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-IE/package.json b/node_modules/date-fns/locale/en-IE/package.json new file mode 100644 index 000000000..a87ef3000 --- /dev/null +++ b/node_modules/date-fns/locale/en-IE/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-IE/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-IN/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-IN/_lib/formatLong/index.js new file mode 100644 index 000000000..6daf52f61 --- /dev/null +++ b/node_modules/date-fns/locale/en-IN/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM, yyyy', + medium: 'd MMM, yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-IN/index.d.ts b/node_modules/date-fns/locale/en-IN/index.d.ts new file mode 100644 index 000000000..a1fc542cf --- /dev/null +++ b/node_modules/date-fns/locale/en-IN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enIN } from 'date-fns/locale' +export default enIN diff --git a/node_modules/date-fns/locale/en-IN/index.js b/node_modules/date-fns/locale/en-IN/index.js new file mode 100644 index 000000000..6660d4c8e --- /dev/null +++ b/node_modules/date-fns/locale/en-IN/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (India). + * @language English + * @iso-639-2 eng + * @author Galeel Bhasha Satthar [@gbhasha]{@link https://github.com/gbhasha} + */ +var locale = { + code: 'en-IN', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 1, + // Monday is the first day of the week. + firstWeekContainsDate: 4 // The week that contains Jan 4th is the first week of the year. + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-IN/index.js.flow b/node_modules/date-fns/locale/en-IN/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-IN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-IN/package.json b/node_modules/date-fns/locale/en-IN/package.json new file mode 100644 index 000000000..7f89dcdbc --- /dev/null +++ b/node_modules/date-fns/locale/en-IN/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-IN/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-NZ/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-NZ/_lib/formatLong/index.js new file mode 100644 index 000000000..8c1682763 --- /dev/null +++ b/node_modules/date-fns/locale/en-NZ/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-NZ/index.d.ts b/node_modules/date-fns/locale/en-NZ/index.d.ts new file mode 100644 index 000000000..dbf083d49 --- /dev/null +++ b/node_modules/date-fns/locale/en-NZ/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enNZ } from 'date-fns/locale' +export default enNZ diff --git a/node_modules/date-fns/locale/en-NZ/index.js b/node_modules/date-fns/locale/en-NZ/index.js new file mode 100644 index 000000000..1a60eddd7 --- /dev/null +++ b/node_modules/date-fns/locale/en-NZ/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (New Zealand). + * @language English + * @iso-639-2 eng + * @author Murray Lucas [@muntact]{@link https://github.com/muntact} + */ +var locale = { + code: 'en-NZ', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-NZ/index.js.flow b/node_modules/date-fns/locale/en-NZ/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-NZ/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-NZ/package.json b/node_modules/date-fns/locale/en-NZ/package.json new file mode 100644 index 000000000..aa3c1c259 --- /dev/null +++ b/node_modules/date-fns/locale/en-NZ/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-NZ/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/_lib/formatDistance/index.js b/node_modules/date-fns/locale/en-US/_lib/formatDistance/index.js new file mode 100644 index 000000000..c8ab13c17 --- /dev/null +++ b/node_modules/date-fns/locale/en-US/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'less than a second', + other: 'less than {{count}} seconds' + }, + xSeconds: { + one: '1 second', + other: '{{count}} seconds' + }, + halfAMinute: 'half a minute', + lessThanXMinutes: { + one: 'less than a minute', + other: 'less than {{count}} minutes' + }, + xMinutes: { + one: '1 minute', + other: '{{count}} minutes' + }, + aboutXHours: { + one: 'about 1 hour', + other: 'about {{count}} hours' + }, + xHours: { + one: '1 hour', + other: '{{count}} hours' + }, + xDays: { + one: '1 day', + other: '{{count}} days' + }, + aboutXWeeks: { + one: 'about 1 week', + other: 'about {{count}} weeks' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weeks' + }, + aboutXMonths: { + one: 'about 1 month', + other: 'about {{count}} months' + }, + xMonths: { + one: '1 month', + other: '{{count}} months' + }, + aboutXYears: { + one: 'about 1 year', + other: 'about {{count}} years' + }, + xYears: { + one: '1 year', + other: '{{count}} years' + }, + overXYears: { + one: 'over 1 year', + other: 'over {{count}} years' + }, + almostXYears: { + one: 'almost 1 year', + other: 'almost {{count}} years' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'in ' + result; + } else { + return result + ' ago'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-US/_lib/formatLong/index.js new file mode 100644 index 000000000..acc4a6717 --- /dev/null +++ b/node_modules/date-fns/locale/en-US/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/_lib/formatRelative/index.js b/node_modules/date-fns/locale/en-US/_lib/formatRelative/index.js new file mode 100644 index 000000000..34206d877 --- /dev/null +++ b/node_modules/date-fns/locale/en-US/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'last' eeee 'at' p", + yesterday: "'yesterday at' p", + today: "'today at' p", + tomorrow: "'tomorrow at' p", + nextWeek: "eeee 'at' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/_lib/localize/index.js b/node_modules/date-fns/locale/en-US/_lib/localize/index.js new file mode 100644 index 000000000..da5c2d35d --- /dev/null +++ b/node_modules/date-fns/locale/en-US/_lib/localize/index.js @@ -0,0 +1,152 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['B', 'A'], + abbreviated: ['BC', 'AD'], + wide: ['Before Christ', 'Anno Domini'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + + // If ordinal numbers depend on context, for example, + // if they are different for different grammatical genders, + // use `options.unit`. + // + // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear', + // 'day', 'hour', 'minute', 'second'. + + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'st'; + case 2: + return number + 'nd'; + case 3: + return number + 'rd'; + } + } + return number + 'th'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/_lib/match/index.js b/node_modules/date-fns/locale/en-US/_lib/match/index.js new file mode 100644 index 000000000..69da7c133 --- /dev/null +++ b/node_modules/date-fns/locale/en-US/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(b|a)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(before christ|before common era|anno domini|common era)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](th|st|nd|rd)? quarter/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, + wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(su|mo|tu|we|th|fr|sa)/i, + abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, + wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/index.d.ts b/node_modules/date-fns/locale/en-US/index.d.ts new file mode 100644 index 000000000..967f2570e --- /dev/null +++ b/node_modules/date-fns/locale/en-US/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enUS } from 'date-fns/locale' +export default enUS diff --git a/node_modules/date-fns/locale/en-US/index.js b/node_modules/date-fns/locale/en-US/index.js new file mode 100644 index 000000000..a12160f38 --- /dev/null +++ b/node_modules/date-fns/locale/en-US/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (United States). + * @language English + * @iso-639-2 eng + * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp} + * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss} + */ +var locale = { + code: 'en-US', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-US/index.js.flow b/node_modules/date-fns/locale/en-US/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-US/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-US/package.json b/node_modules/date-fns/locale/en-US/package.json new file mode 100644 index 000000000..94ac4641f --- /dev/null +++ b/node_modules/date-fns/locale/en-US/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-US/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js new file mode 100644 index 000000000..ddba50fdc --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-ZA/index.d.ts b/node_modules/date-fns/locale/en-ZA/index.d.ts new file mode 100644 index 000000000..ebdd1c8c5 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enZA } from 'date-fns/locale' +export default enZA diff --git a/node_modules/date-fns/locale/en-ZA/index.js b/node_modules/date-fns/locale/en-ZA/index.js new file mode 100644 index 000000000..18a20d700 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (South Africa). + * @language English + * @iso-639-2 eng + * @author Shaila Kavrakova [@shaykav]{@link https://github.com/shaykav} + */ +var locale = { + code: 'en-ZA', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 0, + // Sunday is the first day of the week. + firstWeekContainsDate: 1 // The week that contains Jan 1st is the first week of the year. + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/en-ZA/index.js.flow b/node_modules/date-fns/locale/en-ZA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/en-ZA/package.json b/node_modules/date-fns/locale/en-ZA/package.json new file mode 100644 index 000000000..1ce19b1a1 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-ZA/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/_lib/formatDistance/index.js b/node_modules/date-fns/locale/eo/_lib/formatDistance/index.js new file mode 100644 index 000000000..0f8a32685 --- /dev/null +++ b/node_modules/date-fns/locale/eo/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'malpli ol sekundo', + other: 'malpli ol {{count}} sekundoj' + }, + xSeconds: { + one: '1 sekundo', + other: '{{count}} sekundoj' + }, + halfAMinute: 'duonminuto', + lessThanXMinutes: { + one: 'malpli ol minuto', + other: 'malpli ol {{count}} minutoj' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutoj' + }, + aboutXHours: { + one: 'proksimume 1 horo', + other: 'proksimume {{count}} horoj' + }, + xHours: { + one: '1 horo', + other: '{{count}} horoj' + }, + xDays: { + one: '1 tago', + other: '{{count}} tagoj' + }, + aboutXMonths: { + one: 'proksimume 1 monato', + other: 'proksimume {{count}} monatoj' + }, + xWeeks: { + one: '1 semajno', + other: '{{count}} semajnoj' + }, + aboutXWeeks: { + one: 'proksimume 1 semajno', + other: 'proksimume {{count}} semajnoj' + }, + xMonths: { + one: '1 monato', + other: '{{count}} monatoj' + }, + aboutXYears: { + one: 'proksimume 1 jaro', + other: 'proksimume {{count}} jaroj' + }, + xYears: { + one: '1 jaro', + other: '{{count}} jaroj' + }, + overXYears: { + one: 'pli ol 1 jaro', + other: 'pli ol {{count}} jaroj' + }, + almostXYears: { + one: 'preskaŭ 1 jaro', + other: 'preskaŭ {{count}} jaroj' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options !== null && options !== void 0 && options.comparison && options.comparison > 0) { + return 'post ' + result; + } else { + return 'antaŭ ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/_lib/formatLong/index.js b/node_modules/date-fns/locale/eo/_lib/formatLong/index.js new file mode 100644 index 000000000..7cf7ed33c --- /dev/null +++ b/node_modules/date-fns/locale/eo/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, do 'de' MMMM y", + long: 'y-MMMM-dd', + medium: 'y-MMM-dd', + short: 'yyyy-MM-dd' +}; +var timeFormats = { + full: "Ho 'horo kaj' m:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + any: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/_lib/formatRelative/index.js b/node_modules/date-fns/locale/eo/_lib/formatRelative/index.js new file mode 100644 index 000000000..958a78473 --- /dev/null +++ b/node_modules/date-fns/locale/eo/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'pasinta' eeee 'je' p", + yesterday: "'hieraŭ je' p", + today: "'hodiaŭ je' p", + tomorrow: "'morgaŭ je' p", + nextWeek: "eeee 'je' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/_lib/localize/index.js b/node_modules/date-fns/locale/eo/_lib/localize/index.js new file mode 100644 index 000000000..5f65fb636 --- /dev/null +++ b/node_modules/date-fns/locale/eo/_lib/localize/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['aK', 'pK'], + abbreviated: ['a.K.E.', 'p.K.E.'], + wide: ['antaŭ Komuna Erao', 'Komuna Erao'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1-a kvaronjaro', '2-a kvaronjaro', '3-a kvaronjaro', '4-a kvaronjaro'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', 'septembro', 'oktobro', 'novembro', 'decembro'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'Ĵ', 'V', 'S'], + short: ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + abbreviated: ['dim', 'lun', 'mar', 'mer', 'ĵaŭ', 'ven', 'sab'], + wide: ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'noktomezo', + noon: 'tagmezo', + morning: 'matene', + afternoon: 'posttagmeze', + evening: 'vespere', + night: 'nokte' + }, + abbreviated: { + am: 'a.t.m.', + pm: 'p.t.m.', + midnight: 'noktomezo', + noon: 'tagmezo', + morning: 'matene', + afternoon: 'posttagmeze', + evening: 'vespere', + night: 'nokte' + }, + wide: { + am: 'antaŭtagmeze', + pm: 'posttagmeze', + midnight: 'noktomezo', + noon: 'tagmezo', + morning: 'matene', + afternoon: 'posttagmeze', + evening: 'vespere', + night: 'nokte' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + return number + '-a'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/_lib/match/index.js b/node_modules/date-fns/locale/eo/_lib/match/index.js new file mode 100644 index 000000000..7d14152f4 --- /dev/null +++ b/node_modules/date-fns/locale/eo/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?a)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([ap]k)/i, + abbreviated: /^([ap]\.?\s?k\.?\s?e\.?)/i, + wide: /^((antaǔ |post )?komuna erao)/i +}; +var parseEraPatterns = { + any: [/^a/i, /^[kp]/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^k[1234]/i, + wide: /^[1234](-?a)? kvaronjaro/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i, + wide: /^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^a(u|ŭ)/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmĵjvs]/i, + short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i, + abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i, + wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i, + abbreviated: /^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i, + wide: /^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^noktom/i, + noon: /^t/i, + morning: /^m/i, + afternoon: /^posttagmeze/i, + evening: /^v/i, + night: /^n/i + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/index.d.ts b/node_modules/date-fns/locale/eo/index.d.ts new file mode 100644 index 000000000..40716b301 --- /dev/null +++ b/node_modules/date-fns/locale/eo/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eo } from 'date-fns/locale' +export default eo diff --git a/node_modules/date-fns/locale/eo/index.js b/node_modules/date-fns/locale/eo/index.js new file mode 100644 index 000000000..254975ebd --- /dev/null +++ b/node_modules/date-fns/locale/eo/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Esperanto locale. + * @language Esperanto + * @iso-639-2 epo + * @author date-fns + */ +var locale = { + code: 'eo', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eo/index.js.flow b/node_modules/date-fns/locale/eo/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/eo/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/eo/package.json b/node_modules/date-fns/locale/eo/package.json new file mode 100644 index 000000000..30a3a3312 --- /dev/null +++ b/node_modules/date-fns/locale/eo/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/eo/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/_lib/formatDistance/index.js b/node_modules/date-fns/locale/es/_lib/formatDistance/index.js new file mode 100644 index 000000000..4d470ce09 --- /dev/null +++ b/node_modules/date-fns/locale/es/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos de un segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'medio minuto', + lessThanXMinutes: { + one: 'menos de un minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'alrededor de 1 hora', + other: 'alrededor de {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 día', + other: '{{count}} días' + }, + aboutXWeeks: { + one: 'alrededor de 1 semana', + other: 'alrededor de {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'alrededor de 1 mes', + other: 'alrededor de {{count}} meses' + }, + xMonths: { + one: '1 mes', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'alrededor de 1 año', + other: 'alrededor de {{count}} años' + }, + xYears: { + one: '1 año', + other: '{{count}} años' + }, + overXYears: { + one: 'más de 1 año', + other: 'más de {{count}} años' + }, + almostXYears: { + one: 'casi 1 año', + other: 'casi {{count}} años' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'hace ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/_lib/formatLong/index.js b/node_modules/date-fns/locale/es/_lib/formatLong/index.js new file mode 100644 index 000000000..ed660e7b3 --- /dev/null +++ b/node_modules/date-fns/locale/es/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d 'de' MMMM 'de' y", + long: "d 'de' MMMM 'de' y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'a las' {{time}}", + long: "{{date}} 'a las' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/_lib/formatRelative/index.js b/node_modules/date-fns/locale/es/_lib/formatRelative/index.js new file mode 100644 index 000000000..2212b04b7 --- /dev/null +++ b/node_modules/date-fns/locale/es/_lib/formatRelative/index.js @@ -0,0 +1,32 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'el' eeee 'pasado a la' p", + yesterday: "'ayer a la' p", + today: "'hoy a la' p", + tomorrow: "'mañana a la' p", + nextWeek: "eeee 'a la' p", + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'el' eeee 'pasado a las' p", + yesterday: "'ayer a las' p", + today: "'hoy a las' p", + tomorrow: "'mañana a las' p", + nextWeek: "eeee 'a las' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } else { + return formatRelativeLocale[token]; + } +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/_lib/localize/index.js b/node_modules/date-fns/locale/es/_lib/localize/index.js new file mode 100644 index 000000000..ba86f80ea --- /dev/null +++ b/node_modules/date-fns/locale/es/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['AC', 'DC'], + abbreviated: ['AC', 'DC'], + wide: ['antes de cristo', 'después de cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'], + wide: ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'] +}; +var dayValues = { + narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'], + short: ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'], + abbreviated: ['dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb'], + wide: ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'mañana', + afternoon: 'tarde', + evening: 'tarde', + night: 'noche' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'mañana', + afternoon: 'tarde', + evening: 'tarde', + night: 'noche' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'mañana', + afternoon: 'tarde', + evening: 'tarde', + night: 'noche' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'de la mañana', + afternoon: 'de la tarde', + evening: 'de la tarde', + night: 'de la noche' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'de la mañana', + afternoon: 'de la tarde', + evening: 'de la tarde', + night: 'de la noche' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoche', + noon: 'mediodia', + morning: 'de la mañana', + afternoon: 'de la tarde', + evening: 'de la tarde', + night: 'de la noche' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/_lib/match/index.js b/node_modules/date-fns/locale/es/_lib/match/index.js new file mode 100644 index 000000000..bfa9aa4c5 --- /dev/null +++ b/node_modules/date-fns/locale/es/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, + wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[efmajsond]/i, + abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i, + wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i +}; +var parseMonthPatterns = { + narrow: [/^e/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^en/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i] +}; +var matchDayPatterns = { + narrow: /^[dlmjvs]/i, + short: /^(do|lu|ma|mi|ju|vi|s[áa])/i, + abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i, + wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i, + any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn/i, + noon: /^md/i, + morning: /mañana/i, + afternoon: /tarde/i, + evening: /tarde/i, + night: /noche/i + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/index.d.ts b/node_modules/date-fns/locale/es/index.d.ts new file mode 100644 index 000000000..8b0431ecd --- /dev/null +++ b/node_modules/date-fns/locale/es/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { es } from 'date-fns/locale' +export default es diff --git a/node_modules/date-fns/locale/es/index.js b/node_modules/date-fns/locale/es/index.js new file mode 100644 index 000000000..8cbeee631 --- /dev/null +++ b/node_modules/date-fns/locale/es/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Spanish locale. + * @language Spanish + * @iso-639-2 spa + * @author Juan Angosto [@juanangosto]{@link https://github.com/juanangosto} + * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa} + * @author Fernando Agüero [@fjaguero]{@link https://github.com/fjaguero} + * @author Gastón Haro [@harogaston]{@link https://github.com/harogaston} + * @author Yago Carballo [@YagoCarballo]{@link https://github.com/YagoCarballo} + */ +var locale = { + code: 'es', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/es/index.js.flow b/node_modules/date-fns/locale/es/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/es/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/es/package.json b/node_modules/date-fns/locale/es/package.json new file mode 100644 index 000000000..51de8c5c3 --- /dev/null +++ b/node_modules/date-fns/locale/es/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/es/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/_lib/formatDistance/index.js b/node_modules/date-fns/locale/et/_lib/formatDistance/index.js new file mode 100644 index 000000000..954bb4bae --- /dev/null +++ b/node_modules/date-fns/locale/et/_lib/formatDistance/index.js @@ -0,0 +1,184 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'vähem kui üks sekund', + other: 'vähem kui {{count}} sekundit' + }, + withPreposition: { + one: 'vähem kui ühe sekundi', + other: 'vähem kui {{count}} sekundi' + } + }, + xSeconds: { + standalone: { + one: 'üks sekund', + other: '{{count}} sekundit' + }, + withPreposition: { + one: 'ühe sekundi', + other: '{{count}} sekundi' + } + }, + halfAMinute: { + standalone: 'pool minutit', + withPreposition: 'poole minuti' + }, + lessThanXMinutes: { + standalone: { + one: 'vähem kui üks minut', + other: 'vähem kui {{count}} minutit' + }, + withPreposition: { + one: 'vähem kui ühe minuti', + other: 'vähem kui {{count}} minuti' + } + }, + xMinutes: { + standalone: { + one: 'üks minut', + other: '{{count}} minutit' + }, + withPreposition: { + one: 'ühe minuti', + other: '{{count}} minuti' + } + }, + aboutXHours: { + standalone: { + one: 'umbes üks tund', + other: 'umbes {{count}} tundi' + }, + withPreposition: { + one: 'umbes ühe tunni', + other: 'umbes {{count}} tunni' + } + }, + xHours: { + standalone: { + one: 'üks tund', + other: '{{count}} tundi' + }, + withPreposition: { + one: 'ühe tunni', + other: '{{count}} tunni' + } + }, + xDays: { + standalone: { + one: 'üks päev', + other: '{{count}} päeva' + }, + withPreposition: { + one: 'ühe päeva', + other: '{{count}} päeva' + } + }, + aboutXWeeks: { + standalone: { + one: 'umbes üks nädal', + other: 'umbes {{count}} nädalat' + }, + withPreposition: { + one: 'umbes ühe nädala', + other: 'umbes {{count}} nädala' + } + }, + xWeeks: { + standalone: { + one: 'üks nädal', + other: '{{count}} nädalat' + }, + withPreposition: { + one: 'ühe nädala', + other: '{{count}} nädala' + } + }, + aboutXMonths: { + standalone: { + one: 'umbes üks kuu', + other: 'umbes {{count}} kuud' + }, + withPreposition: { + one: 'umbes ühe kuu', + other: 'umbes {{count}} kuu' + } + }, + xMonths: { + standalone: { + one: 'üks kuu', + other: '{{count}} kuud' + }, + withPreposition: { + one: 'ühe kuu', + other: '{{count}} kuu' + } + }, + aboutXYears: { + standalone: { + one: 'umbes üks aasta', + other: 'umbes {{count}} aastat' + }, + withPreposition: { + one: 'umbes ühe aasta', + other: 'umbes {{count}} aasta' + } + }, + xYears: { + standalone: { + one: 'üks aasta', + other: '{{count}} aastat' + }, + withPreposition: { + one: 'ühe aasta', + other: '{{count}} aasta' + } + }, + overXYears: { + standalone: { + one: 'rohkem kui üks aasta', + other: 'rohkem kui {{count}} aastat' + }, + withPreposition: { + one: 'rohkem kui ühe aasta', + other: 'rohkem kui {{count}} aasta' + } + }, + almostXYears: { + standalone: { + one: 'peaaegu üks aasta', + other: 'peaaegu {{count}} aastat' + }, + withPreposition: { + one: 'peaaegu ühe aasta', + other: 'peaaegu {{count}} aasta' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var usageGroup = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone; + var result; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' pärast'; + } else { + return result + ' eest'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/_lib/formatLong/index.js b/node_modules/date-fns/locale/et/_lib/formatLong/index.js new file mode 100644 index 000000000..fd3beb748 --- /dev/null +++ b/node_modules/date-fns/locale/et/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kell' {{time}}", + long: "{{date}} 'kell' {{time}}", + medium: '{{date}}. {{time}}', + short: '{{date}}. {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/_lib/formatRelative/index.js b/node_modules/date-fns/locale/et/_lib/formatRelative/index.js new file mode 100644 index 000000000..cc8500f37 --- /dev/null +++ b/node_modules/date-fns/locale/et/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'eelmine' eeee 'kell' p", + yesterday: "'eile kell' p", + today: "'täna kell' p", + tomorrow: "'homme kell' p", + nextWeek: "'järgmine' eeee 'kell' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/_lib/localize/index.js b/node_modules/date-fns/locale/et/_lib/localize/index.js new file mode 100644 index 000000000..5cdbd5c96 --- /dev/null +++ b/node_modules/date-fns/locale/et/_lib/localize/index.js @@ -0,0 +1,132 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['e.m.a', 'm.a.j'], + abbreviated: ['e.m.a', 'm.a.j'], + wide: ['enne meie ajaarvamist', 'meie ajaarvamise järgi'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'], + wide: ['jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember'] +}; +var dayValues = { + narrow: ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + short: ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + abbreviated: ['pühap.', 'esmasp.', 'teisip.', 'kolmap.', 'neljap.', 'reede.', 'laup.'], + wide: ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'kesköö', + noon: 'keskpäev', + morning: 'hommik', + afternoon: 'pärastlõuna', + evening: 'õhtu', + night: 'öö' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'kesköö', + noon: 'keskpäev', + morning: 'hommik', + afternoon: 'pärastlõuna', + evening: 'õhtu', + night: 'öö' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'kesköö', + noon: 'keskpäev', + morning: 'hommik', + afternoon: 'pärastlõuna', + evening: 'õhtu', + night: 'öö' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'keskööl', + noon: 'keskpäeval', + morning: 'hommikul', + afternoon: 'pärastlõunal', + evening: 'õhtul', + night: 'öösel' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'keskööl', + noon: 'keskpäeval', + morning: 'hommikul', + afternoon: 'pärastlõunal', + evening: 'õhtul', + night: 'öösel' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'keskööl', + noon: 'keskpäeval', + morning: 'hommikul', + afternoon: 'pärastlõunal', + evening: 'õhtul', + night: 'öösel' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: monthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: dayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/_lib/match/index.js b/node_modules/date-fns/locale/et/_lib/match/index.js new file mode 100644 index 000000000..6e0cf5c13 --- /dev/null +++ b/node_modules/date-fns/locale/et/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^\d+\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(e\.m\.a|m\.a\.j|eKr|pKr)/i, + abbreviated: /^(e\.m\.a|m\.a\.j|eKr|pKr)/i, + wide: /^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i +}; +var parseEraPatterns = { + any: [/^e/i, /^(m|p)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234](\.)? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jvmasond]/i, + abbreviated: /^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i, + wide: /^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^v/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^v/i, /^mär/i, /^ap/i, /^mai/i, /^juun/i, /^juul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[petknrl]/i, + short: /^[petknrl]/i, + abbreviated: /^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i, + wide: /^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i +}; +var parseDayPatterns = { + any: [/^p/i, /^e/i, /^t/i, /^k/i, /^n/i, /^r/i, /^l/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^keskö/i, + noon: /^keskp/i, + morning: /hommik/i, + afternoon: /pärastlõuna/i, + evening: /õhtu/i, + night: /öö/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/index.d.ts b/node_modules/date-fns/locale/et/index.d.ts new file mode 100644 index 000000000..debd0b90d --- /dev/null +++ b/node_modules/date-fns/locale/et/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { et } from 'date-fns/locale' +export default et diff --git a/node_modules/date-fns/locale/et/index.js b/node_modules/date-fns/locale/et/index.js new file mode 100644 index 000000000..8ee290d87 --- /dev/null +++ b/node_modules/date-fns/locale/et/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Estonian locale. + * @language Estonian + * @iso-639-2 est + * @author Priit Hansen [@HansenPriit]{@link https://github.com/priithansen} + */ +var locale = { + code: 'et', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/et/index.js.flow b/node_modules/date-fns/locale/et/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/et/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/et/package.json b/node_modules/date-fns/locale/et/package.json new file mode 100644 index 000000000..d70b6cbf8 --- /dev/null +++ b/node_modules/date-fns/locale/et/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/et/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/_lib/formatDistance/index.js b/node_modules/date-fns/locale/eu/_lib/formatDistance/index.js new file mode 100644 index 000000000..c6b5ef05f --- /dev/null +++ b/node_modules/date-fns/locale/eu/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'segundo bat baino gutxiago', + other: '{{count}} segundo baino gutxiago' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundo' + }, + halfAMinute: 'minutu erdi', + lessThanXMinutes: { + one: 'minutu bat baino gutxiago', + other: '{{count}} minutu baino gutxiago' + }, + xMinutes: { + one: '1 minutu', + other: '{{count}} minutu' + }, + aboutXHours: { + one: '1 ordu gutxi gorabehera', + other: '{{count}} ordu gutxi gorabehera' + }, + xHours: { + one: '1 ordu', + other: '{{count}} ordu' + }, + xDays: { + one: '1 egun', + other: '{{count}} egun' + }, + aboutXWeeks: { + one: 'aste 1 inguru', + other: '{{count}} aste inguru' + }, + xWeeks: { + one: '1 aste', + other: '{{count}} astean' + }, + aboutXMonths: { + one: '1 hilabete gutxi gorabehera', + other: '{{count}} hilabete gutxi gorabehera' + }, + xMonths: { + one: '1 hilabete', + other: '{{count}} hilabete' + }, + aboutXYears: { + one: '1 urte gutxi gorabehera', + other: '{{count}} urte gutxi gorabehera' + }, + xYears: { + one: '1 urte', + other: '{{count}} urte' + }, + overXYears: { + one: '1 urte baino gehiago', + other: '{{count}} urte baino gehiago' + }, + almostXYears: { + one: 'ia 1 urte', + other: 'ia {{count}} urte' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'duela ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/_lib/formatLong/index.js b/node_modules/date-fns/locale/eu/_lib/formatLong/index.js new file mode 100644 index 000000000..22b4b8a88 --- /dev/null +++ b/node_modules/date-fns/locale/eu/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, y'ko' MMMM'ren' d'a' y'ren'", + long: "y'ko' MMMM'ren' d'a'", + medium: 'y MMM d', + short: 'yy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'tan' {{time}}", + long: "{{date}} 'tan' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/_lib/formatRelative/index.js b/node_modules/date-fns/locale/eu/_lib/formatRelative/index.js new file mode 100644 index 000000000..95e02cf83 --- /dev/null +++ b/node_modules/date-fns/locale/eu/_lib/formatRelative/index.js @@ -0,0 +1,31 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'joan den' eeee, LT", + yesterday: "'atzo,' p", + today: "'gaur,' p", + tomorrow: "'bihar,' p", + nextWeek: 'eeee, p', + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'joan den' eeee, p", + yesterday: "'atzo,' p", + today: "'gaur,' p", + tomorrow: "'bihar,' p", + nextWeek: 'eeee, p', + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/_lib/localize/index.js b/node_modules/date-fns/locale/eu/_lib/localize/index.js new file mode 100644 index 000000000..1860cec07 --- /dev/null +++ b/node_modules/date-fns/locale/eu/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['k.a.', 'k.o.'], + abbreviated: ['k.a.', 'k.o.'], + wide: ['kristo aurretik', 'kristo ondoren'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1H', '2H', '3H', '4H'], + wide: ['1. hiruhilekoa', '2. hiruhilekoa', '3. hiruhilekoa', '4. hiruhilekoa'] +}; +var monthValues = { + narrow: ['u', 'o', 'm', 'a', 'm', 'e', 'u', 'a', 'i', 'u', 'a', 'a'], + abbreviated: ['urt', 'ots', 'mar', 'api', 'mai', 'eka', 'uzt', 'abu', 'ira', 'urr', 'aza', 'abe'], + wide: ['urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', 'iraila', 'urria', 'azaroa', 'abendua'] +}; +var dayValues = { + narrow: ['i', 'a', 'a', 'a', 'o', 'o', 'l'], + short: ['ig', 'al', 'as', 'az', 'og', 'or', 'lr'], + abbreviated: ['iga', 'ast', 'ast', 'ast', 'ost', 'ost', 'lar'], + wide: ['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'ge', + noon: 'eg', + morning: 'goiza', + afternoon: 'arratsaldea', + evening: 'arratsaldea', + night: 'gaua' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goiza', + afternoon: 'arratsaldea', + evening: 'arratsaldea', + night: 'gaua' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goiza', + afternoon: 'arratsaldea', + evening: 'arratsaldea', + night: 'gaua' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'ge', + noon: 'eg', + morning: 'goizean', + afternoon: 'arratsaldean', + evening: 'arratsaldean', + night: 'gauean' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goizean', + afternoon: 'arratsaldean', + evening: 'arratsaldean', + night: 'gauean' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'gauerdia', + noon: 'eguerdia', + morning: 'goizean', + afternoon: 'arratsaldean', + evening: 'arratsaldean', + night: 'gauean' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/_lib/match/index.js b/node_modules/date-fns/locale/eu/_lib/match/index.js new file mode 100644 index 000000000..b0302127a --- /dev/null +++ b/node_modules/date-fns/locale/eu/_lib/match/index.js @@ -0,0 +1,121 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(k.a.|k.o.)/i, + abbreviated: /^(k.a.|k.o.)/i, + wide: /^(kristo aurretik|kristo ondoren)/i +}; +var parseEraPatterns = { + narrow: [/^k.a./i, /^k.o./i], + abbreviated: [/^(k.a.)/i, /^(k.o.)/i], + wide: [/^(kristo aurretik)/i, /^(kristo ondoren)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]H/i, + wide: /^[1234](.)? hiruhilekoa/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[uomaei]/i, + abbreviated: /^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i, + wide: /^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i +}; +var parseMonthPatterns = { + narrow: [/^u/i, /^o/i, /^m/i, /^a/i, /^m/i, /^e/i, /^u/i, /^a/i, /^i/i, /^u/i, /^a/i, /^a/i], + any: [/^urt/i, /^ots/i, /^mar/i, /^api/i, /^mai/i, /^eka/i, /^uzt/i, /^abu/i, /^ira/i, /^urr/i, /^aza/i, /^abe/i] +}; +var matchDayPatterns = { + narrow: /^[iaol]/i, + short: /^(ig|al|as|az|og|or|lr)/i, + abbreviated: /^(iga|ast|ast|ast|ost|ost|lar)/i, + wide: /^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i +}; +var parseDayPatterns = { + narrow: [/^i/i, /^a/i, /^a/i, /^a/i, /^o/i, /^o/i, /^l/i], + short: [/^ig/i, /^al/i, /^as/i, /^az/i, /^og/i, /^or/i, /^lr/i], + abbreviated: [/^iga/i, /^ast/i, /^ast/i, /^ast/i, /^ost/i, /^ost/i, /^lar/i], + wide: [/^igandea/i, /^astelehena/i, /^asteartea/i, /^asteazkena/i, /^osteguna/i, /^ostirala/i, /^larunbata/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i, + any: /^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^a/i, + pm: /^p/i, + midnight: /^ge/i, + noon: /^eg/i, + morning: /goiz/i, + afternoon: /arratsaldea/i, + evening: /arratsaldea/i, + night: /gau/i + }, + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^gauerdia/i, + noon: /^eguerdia/i, + morning: /goiz/i, + afternoon: /arratsaldea/i, + evening: /arratsaldea/i, + night: /gau/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'wide' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/index.d.ts b/node_modules/date-fns/locale/eu/index.d.ts new file mode 100644 index 000000000..ec841898c --- /dev/null +++ b/node_modules/date-fns/locale/eu/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { eu } from 'date-fns/locale' +export default eu diff --git a/node_modules/date-fns/locale/eu/index.js b/node_modules/date-fns/locale/eu/index.js new file mode 100644 index 000000000..333f609e2 --- /dev/null +++ b/node_modules/date-fns/locale/eu/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Basque locale. + * @language Basque + * @iso-639-2 eus + * @author Jacob Söderblom [@JacobSoderblom]{@link https://github.com/JacobSoderblom} + */ +var locale = { + code: 'eu', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/eu/index.js.flow b/node_modules/date-fns/locale/eu/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/eu/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/eu/package.json b/node_modules/date-fns/locale/eu/package.json new file mode 100644 index 000000000..6051070db --- /dev/null +++ b/node_modules/date-fns/locale/eu/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/eu/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/_lib/formatDistance/index.js b/node_modules/date-fns/locale/fa-IR/_lib/formatDistance/index.js new file mode 100644 index 000000000..9f140dfe4 --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'کمتر از یک ثانیه', + other: 'کمتر از {{count}} ثانیه' + }, + xSeconds: { + one: '1 ثانیه', + other: '{{count}} ثانیه' + }, + halfAMinute: 'نیم دقیقه', + lessThanXMinutes: { + one: 'کمتر از یک دقیقه', + other: 'کمتر از {{count}} دقیقه' + }, + xMinutes: { + one: '1 دقیقه', + other: '{{count}} دقیقه' + }, + aboutXHours: { + one: 'حدود 1 ساعت', + other: 'حدود {{count}} ساعت' + }, + xHours: { + one: '1 ساعت', + other: '{{count}} ساعت' + }, + xDays: { + one: '1 روز', + other: '{{count}} روز' + }, + aboutXWeeks: { + one: 'حدود 1 هفته', + other: 'حدود {{count}} هفته' + }, + xWeeks: { + one: '1 هفته', + other: '{{count}} هفته' + }, + aboutXMonths: { + one: 'حدود 1 ماه', + other: 'حدود {{count}} ماه' + }, + xMonths: { + one: '1 ماه', + other: '{{count}} ماه' + }, + aboutXYears: { + one: 'حدود 1 سال', + other: 'حدود {{count}} سال' + }, + xYears: { + one: '1 سال', + other: '{{count}} سال' + }, + overXYears: { + one: 'بیشتر از 1 سال', + other: 'بیشتر از {{count}} سال' + }, + almostXYears: { + one: 'نزدیک 1 سال', + other: 'نزدیک {{count}} سال' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'در ' + result; + } else { + return result + ' قبل'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/_lib/formatLong/index.js b/node_modules/date-fns/locale/fa-IR/_lib/formatLong/index.js new file mode 100644 index 000000000..70b4df13b --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'در' {{time}}", + long: "{{date}} 'در' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/_lib/formatRelative/index.js b/node_modules/date-fns/locale/fa-IR/_lib/formatRelative/index.js new file mode 100644 index 000000000..eaffb2048 --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'گذشته در' p", + yesterday: "'دیروز در' p", + today: "'امروز در' p", + tomorrow: "'فردا در' p", + nextWeek: "eeee 'در' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/_lib/localize/index.js b/node_modules/date-fns/locale/fa-IR/_lib/localize/index.js new file mode 100644 index 000000000..d99305c53 --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/_lib/localize/index.js @@ -0,0 +1,132 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ق', 'ب'], + abbreviated: ['ق.م.', 'ب.م.'], + wide: ['قبل از میلاد', 'بعد از میلاد'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['س‌م1', 'س‌م2', 'س‌م3', 'س‌م4'], + wide: ['سه‌ماهه 1', 'سه‌ماهه 2', 'سه‌ماهه 3', 'سه‌ماهه 4'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['ژ', 'ف', 'م', 'آ', 'م', 'ج', 'ج', 'آ', 'س', 'ا', 'ن', 'د'], + abbreviated: ['ژانـ', 'فور', 'مارس', 'آپر', 'می', 'جون', 'جولـ', 'آگو', 'سپتـ', 'اکتـ', 'نوامـ', 'دسامـ'], + wide: ['ژانویه', 'فوریه', 'مارس', 'آپریل', 'می', 'جون', 'جولای', 'آگوست', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'] +}; +var dayValues = { + narrow: ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + short: ['1ش', '2ش', '3ش', '4ش', '5ش', 'ج', 'ش'], + abbreviated: ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], + wide: ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'] +}; +var dayPeriodValues = { + narrow: { + am: 'ق', + pm: 'ب', + midnight: 'ن', + noon: 'ظ', + morning: 'ص', + afternoon: 'ب.ظ.', + evening: 'ع', + night: 'ش' + }, + abbreviated: { + am: 'ق.ظ.', + pm: 'ب.ظ.', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + }, + wide: { + am: 'قبل‌ازظهر', + pm: 'بعدازظهر', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ق', + pm: 'ب', + midnight: 'ن', + noon: 'ظ', + morning: 'ص', + afternoon: 'ب.ظ.', + evening: 'ع', + night: 'ش' + }, + abbreviated: { + am: 'ق.ظ.', + pm: 'ب.ظ.', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + }, + wide: { + am: 'قبل‌ازظهر', + pm: 'بعدازظهر', + midnight: 'نیمه‌شب', + noon: 'ظهر', + morning: 'صبح', + afternoon: 'بعدازظهر', + evening: 'عصر', + night: 'شب' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/_lib/match/index.js b/node_modules/date-fns/locale/fa-IR/_lib/match/index.js new file mode 100644 index 000000000..b7bb70b63 --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ق|ب)/i, + abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i, + wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i +}; +var parseEraPatterns = { + any: [/^قبل/i, /^بعد/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^س‌م[1234]/i, + wide: /^سه‌ماهه [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[جژفمآاماسند]/i, + abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i, + wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i +}; +var parseMonthPatterns = { + narrow: [/^(ژ|ج)/i, /^ف/i, /^م/i, /^(آ|ا)/i, /^م/i, /^(ژ|ج)/i, /^(ج|ژ)/i, /^(آ|ا)/i, /^س/i, /^ا/i, /^ن/i, /^د/i], + any: [/^ژا/i, /^ف/i, /^ما/i, /^آپ/i, /^(می|مه)/i, /^(ژوئن|جون)/i, /^(ژوئی|جول)/i, /^(اوت|آگ)/i, /^س/i, /^(اوک|اک)/i, /^ن/i, /^د/i] +}; +var matchDayPatterns = { + narrow: /^[شیدسچپج]/i, + short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i, + abbreviated: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i, + wide: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i +}; +var parseDayPatterns = { + narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i], + any: [/^(ی|1ش|یکشنبه)/i, /^(د|2ش|دوشنبه)/i, /^(س|3ش|سه‌شنبه)/i, /^(چ|4ش|چهارشنبه)/i, /^(پ|5ش|پنجشنبه)/i, /^(ج|جمعه)/i, /^(ش|شنبه)/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i, + abbreviated: /^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i, + wide: /^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(ق|ق.ظ.|قبل‌ازظهر)/i, + pm: /^(ب|ب.ظ.|بعدازظهر)/i, + midnight: /^(‌نیمه‌شب|ن)/i, + noon: /^(ظ|ظهر)/i, + morning: /(ص|صبح)/i, + afternoon: /(ب|ب.ظ.|بعدازظهر)/i, + evening: /(ع|عصر)/i, + night: /(ش|شب)/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/index.d.ts b/node_modules/date-fns/locale/fa-IR/index.d.ts new file mode 100644 index 000000000..2e6e4bb2c --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { faIR } from 'date-fns/locale' +export default faIR diff --git a/node_modules/date-fns/locale/fa-IR/index.js b/node_modules/date-fns/locale/fa-IR/index.js new file mode 100644 index 000000000..c53bb29fb --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Persian/Farsi locale (Iran). + * @language Persian + * @iso-639-2 ira + * @author Morteza Ziyae [@mort3za]{@link https://github.com/mort3za} + */ +var locale = { + code: 'fa-IR', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 6 /* Saturday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fa-IR/index.js.flow b/node_modules/date-fns/locale/fa-IR/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/fa-IR/package.json b/node_modules/date-fns/locale/fa-IR/package.json new file mode 100644 index 000000000..ca9082586 --- /dev/null +++ b/node_modules/date-fns/locale/fa-IR/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/fa-IR/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/_lib/formatDistance/index.js b/node_modules/date-fns/locale/fi/_lib/formatDistance/index.js new file mode 100644 index 000000000..265045c01 --- /dev/null +++ b/node_modules/date-fns/locale/fi/_lib/formatDistance/index.js @@ -0,0 +1,126 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function futureSeconds(text) { + return text.replace(/sekuntia?/, 'sekunnin'); +} +function futureMinutes(text) { + return text.replace(/minuuttia?/, 'minuutin'); +} +function futureHours(text) { + return text.replace(/tuntia?/, 'tunnin'); +} +function futureDays(text) { + return text.replace(/päivää?/, 'päivän'); +} +function futureWeeks(text) { + return text.replace(/(viikko|viikkoa)/, 'viikon'); +} +function futureMonths(text) { + return text.replace(/(kuukausi|kuukautta)/, 'kuukauden'); +} +function futureYears(text) { + return text.replace(/(vuosi|vuotta)/, 'vuoden'); +} +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'alle sekunti', + other: 'alle {{count}} sekuntia', + futureTense: futureSeconds + }, + xSeconds: { + one: 'sekunti', + other: '{{count}} sekuntia', + futureTense: futureSeconds + }, + halfAMinute: { + one: 'puoli minuuttia', + other: 'puoli minuuttia', + futureTense: function futureTense(_text) { + return 'puolen minuutin'; + } + }, + lessThanXMinutes: { + one: 'alle minuutti', + other: 'alle {{count}} minuuttia', + futureTense: futureMinutes + }, + xMinutes: { + one: 'minuutti', + other: '{{count}} minuuttia', + futureTense: futureMinutes + }, + aboutXHours: { + one: 'noin tunti', + other: 'noin {{count}} tuntia', + futureTense: futureHours + }, + xHours: { + one: 'tunti', + other: '{{count}} tuntia', + futureTense: futureHours + }, + xDays: { + one: 'päivä', + other: '{{count}} päivää', + futureTense: futureDays + }, + aboutXWeeks: { + one: 'noin viikko', + other: 'noin {{count}} viikkoa', + futureTense: futureWeeks + }, + xWeeks: { + one: 'viikko', + other: '{{count}} viikkoa', + futureTense: futureWeeks + }, + aboutXMonths: { + one: 'noin kuukausi', + other: 'noin {{count}} kuukautta', + futureTense: futureMonths + }, + xMonths: { + one: 'kuukausi', + other: '{{count}} kuukautta', + futureTense: futureMonths + }, + aboutXYears: { + one: 'noin vuosi', + other: 'noin {{count}} vuotta', + futureTense: futureYears + }, + xYears: { + one: 'vuosi', + other: '{{count}} vuotta', + futureTense: futureYears + }, + overXYears: { + one: 'yli vuosi', + other: 'yli {{count}} vuotta', + futureTense: futureYears + }, + almostXYears: { + one: 'lähes vuosi', + other: 'lähes {{count}} vuotta', + futureTense: futureYears + } +}; +var formatDistance = function formatDistance(token, count, options) { + var tokenValue = formatDistanceLocale[token]; + var result = count === 1 ? tokenValue.one : tokenValue.other.replace('{{count}}', String(count)); + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return tokenValue.futureTense(result) + ' kuluttua'; + } else { + return result + ' sitten'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/_lib/formatLong/index.js b/node_modules/date-fns/locale/fi/_lib/formatLong/index.js new file mode 100644 index 000000000..c486005ed --- /dev/null +++ b/node_modules/date-fns/locale/fi/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'eeee d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'd.M.y' +}; +var timeFormats = { + full: 'HH.mm.ss zzzz', + long: 'HH.mm.ss z', + medium: 'HH.mm.ss', + short: 'HH.mm' +}; +var dateTimeFormats = { + full: "{{date}} 'klo' {{time}}", + long: "{{date}} 'klo' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/_lib/formatRelative/index.js b/node_modules/date-fns/locale/fi/_lib/formatRelative/index.js new file mode 100644 index 000000000..8075af7f6 --- /dev/null +++ b/node_modules/date-fns/locale/fi/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'viime' eeee 'klo' p", + yesterday: "'eilen klo' p", + today: "'tänään klo' p", + tomorrow: "'huomenna klo' p", + nextWeek: "'ensi' eeee 'klo' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/_lib/localize/index.js b/node_modules/date-fns/locale/fi/_lib/localize/index.js new file mode 100644 index 000000000..ff43f3fa8 --- /dev/null +++ b/node_modules/date-fns/locale/fi/_lib/localize/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['eaa.', 'jaa.'], + abbreviated: ['eaa.', 'jaa.'], + wide: ['ennen ajanlaskun alkua', 'jälkeen ajanlaskun alun'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. kvartaali', '2. kvartaali', '3. kvartaali', '4. kvartaali'] +}; +var monthValues = { + narrow: ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'], + abbreviated: ['tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', 'marras', 'joulu'], + wide: ['tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu'] +}; +var formattingMonthValues = { + narrow: monthValues.narrow, + abbreviated: monthValues.abbreviated, + wide: ['tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta', 'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'K', 'T', 'P', 'L'], + short: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + abbreviated: ['sunn.', 'maan.', 'tiis.', 'kesk.', 'torst.', 'perj.', 'la'], + wide: ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'] +}; +var formattingDayValues = { + narrow: dayValues.narrow, + short: dayValues.short, + abbreviated: dayValues.abbreviated, + wide: ['sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', 'lauantaina'] +}; +var dayPeriodValues = { + narrow: { + am: 'ap', + pm: 'ip', + midnight: 'keskiyö', + noon: 'keskipäivä', + morning: 'ap', + afternoon: 'ip', + evening: 'illalla', + night: 'yöllä' + }, + abbreviated: { + am: 'ap', + pm: 'ip', + midnight: 'keskiyö', + noon: 'keskipäivä', + morning: 'ap', + afternoon: 'ip', + evening: 'illalla', + night: 'yöllä' + }, + wide: { + am: 'ap', + pm: 'ip', + midnight: 'keskiyöllä', + noon: 'keskipäivällä', + morning: 'aamupäivällä', + afternoon: 'iltapäivällä', + evening: 'illalla', + night: 'yöllä' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/_lib/match/index.js b/node_modules/date-fns/locale/fi/_lib/match/index.js new file mode 100644 index 000000000..86c3883ad --- /dev/null +++ b/node_modules/date-fns/locale/fi/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(\.)/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(e|j)/i, + abbreviated: /^(eaa.|jaa.)/i, + wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i +}; +var parseEraPatterns = { + any: [/^e/i, /^j/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]\.? kvartaali/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[thmkeslj]/i, + abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i, + wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i +}; +var parseMonthPatterns = { + narrow: [/^t/i, /^h/i, /^m/i, /^h/i, /^t/i, /^k/i, /^h/i, /^e/i, /^s/i, /^l/i, /^m/i, /^j/i], + any: [/^ta/i, /^hel/i, /^maa/i, /^hu/i, /^to/i, /^k/i, /^hei/i, /^e/i, /^s/i, /^l/i, /^mar/i, /^j/i] +}; +var matchDayPatterns = { + narrow: /^[smtkpl]/i, + short: /^(su|ma|ti|ke|to|pe|la)/i, + abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i, + wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i], + any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i, + any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ap/i, + pm: /^ip/i, + midnight: /^keskiyö/i, + noon: /^keskipäivä/i, + morning: /aamupäivällä/i, + afternoon: /iltapäivällä/i, + evening: /illalla/i, + night: /yöllä/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/index.d.ts b/node_modules/date-fns/locale/fi/index.d.ts new file mode 100644 index 000000000..e4007025a --- /dev/null +++ b/node_modules/date-fns/locale/fi/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fi } from 'date-fns/locale' +export default fi diff --git a/node_modules/date-fns/locale/fi/index.js b/node_modules/date-fns/locale/fi/index.js new file mode 100644 index 000000000..104a3684b --- /dev/null +++ b/node_modules/date-fns/locale/fi/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Finnish locale. + * @language Finnish + * @iso-639-2 fin + * @author Pyry-Samuli Lahti [@Pyppe]{@link https://github.com/Pyppe} + * @author Edo Rivai [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb} + * @author Samu Juvonen [@sjuvonen]{@link https://github.com/sjuvonen} + */ +var locale = { + code: 'fi', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fi/index.js.flow b/node_modules/date-fns/locale/fi/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/fi/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/fi/package.json b/node_modules/date-fns/locale/fi/package.json new file mode 100644 index 000000000..fde423957 --- /dev/null +++ b/node_modules/date-fns/locale/fi/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/fi/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CA/_lib/formatLong/index.js b/node_modules/date-fns/locale/fr-CA/_lib/formatLong/index.js new file mode 100644 index 000000000..88aa9e881 --- /dev/null +++ b/node_modules/date-fns/locale/fr-CA/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'à' {{time}}", + long: "{{date}} 'à' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CA/index.d.ts b/node_modules/date-fns/locale/fr-CA/index.d.ts new file mode 100644 index 000000000..533b466cb --- /dev/null +++ b/node_modules/date-fns/locale/fr-CA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { frCA } from 'date-fns/locale' +export default frCA diff --git a/node_modules/date-fns/locale/fr-CA/index.js b/node_modules/date-fns/locale/fr-CA/index.js new file mode 100644 index 000000000..b8c442138 --- /dev/null +++ b/node_modules/date-fns/locale/fr-CA/index.js @@ -0,0 +1,42 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../fr/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../fr/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../fr/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../fr/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +// Same as fr + +// Unique for fr-CA + +/** + * @type {Locale} + * @category Locales + * @summary French locale (Canada). + * @language French + * @iso-639-2 fra + * @author Jean Dupouy [@izeau]{@link https://github.com/izeau} + * @author François B [@fbonzon]{@link https://github.com/fbonzon} + * @author Gabriele Petrioli [@gpetrioli]{@link https://github.com/gpetrioli} + */ +var locale = { + code: 'fr-CA', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + // Unique for fr-CA + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CA/index.js.flow b/node_modules/date-fns/locale/fr-CA/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/fr-CA/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/fr-CA/package.json b/node_modules/date-fns/locale/fr-CA/package.json new file mode 100644 index 000000000..f094e040c --- /dev/null +++ b/node_modules/date-fns/locale/fr-CA/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/fr-CA/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CH/_lib/formatLong/index.js b/node_modules/date-fns/locale/fr-CH/_lib/formatLong/index.js new file mode 100644 index 000000000..6d4c89d81 --- /dev/null +++ b/node_modules/date-fns/locale/fr-CH/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'à' {{time}}", + long: "{{date}} 'à' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CH/_lib/formatRelative/index.js b/node_modules/date-fns/locale/fr-CH/_lib/formatRelative/index.js new file mode 100644 index 000000000..634d5f623 --- /dev/null +++ b/node_modules/date-fns/locale/fr-CH/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'la semaine dernière à' p", + yesterday: "'hier à' p", + today: "'aujourd’hui à' p", + tomorrow: "'demain à' p'", + nextWeek: "eeee 'la semaine prochaine à' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CH/index.d.ts b/node_modules/date-fns/locale/fr-CH/index.d.ts new file mode 100644 index 000000000..5fdd3c533 --- /dev/null +++ b/node_modules/date-fns/locale/fr-CH/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { frCH } from 'date-fns/locale' +export default frCH diff --git a/node_modules/date-fns/locale/fr-CH/index.js b/node_modules/date-fns/locale/fr-CH/index.js new file mode 100644 index 000000000..b018e203e --- /dev/null +++ b/node_modules/date-fns/locale/fr-CH/index.js @@ -0,0 +1,42 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../fr/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../fr/_lib/localize/index.js")); +var _index3 = _interopRequireDefault(require("../fr/_lib/match/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +// Same as fr + +// Unique for fr-CH + +/** + * @type {Locale} + * @category Locales + * @summary French locale (Switzerland). + * @language French + * @iso-639-2 fra + * @author Jean Dupouy [@izeau]{@link https://github.com/izeau} + * @author François B [@fbonzon]{@link https://github.com/fbonzon} + * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo} + * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn} + */ +var locale = { + code: 'fr-CH', + formatDistance: _index.default, + formatLong: _index4.default, + formatRelative: _index5.default, + localize: _index2.default, + match: _index3.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr-CH/index.js.flow b/node_modules/date-fns/locale/fr-CH/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/fr-CH/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/fr-CH/package.json b/node_modules/date-fns/locale/fr-CH/package.json new file mode 100644 index 000000000..f8fd907b3 --- /dev/null +++ b/node_modules/date-fns/locale/fr-CH/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/fr-CH/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/_lib/formatDistance/index.js b/node_modules/date-fns/locale/fr/_lib/formatDistance/index.js new file mode 100644 index 000000000..aa0ab56a1 --- /dev/null +++ b/node_modules/date-fns/locale/fr/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'moins d’une seconde', + other: 'moins de {{count}} secondes' + }, + xSeconds: { + one: '1 seconde', + other: '{{count}} secondes' + }, + halfAMinute: '30 secondes', + lessThanXMinutes: { + one: 'moins d’une minute', + other: 'moins de {{count}} minutes' + }, + xMinutes: { + one: '1 minute', + other: '{{count}} minutes' + }, + aboutXHours: { + one: 'environ 1 heure', + other: 'environ {{count}} heures' + }, + xHours: { + one: '1 heure', + other: '{{count}} heures' + }, + xDays: { + one: '1 jour', + other: '{{count}} jours' + }, + aboutXWeeks: { + one: 'environ 1 semaine', + other: 'environ {{count}} semaines' + }, + xWeeks: { + one: '1 semaine', + other: '{{count}} semaines' + }, + aboutXMonths: { + one: 'environ 1 mois', + other: 'environ {{count}} mois' + }, + xMonths: { + one: '1 mois', + other: '{{count}} mois' + }, + aboutXYears: { + one: 'environ 1 an', + other: 'environ {{count}} ans' + }, + xYears: { + one: '1 an', + other: '{{count}} ans' + }, + overXYears: { + one: 'plus d’un an', + other: 'plus de {{count}} ans' + }, + almostXYears: { + one: 'presqu’un an', + other: 'presque {{count}} ans' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var form = formatDistanceLocale[token]; + if (typeof form === 'string') { + result = form; + } else if (count === 1) { + result = form.one; + } else { + result = form.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'dans ' + result; + } else { + return 'il y a ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/_lib/formatLong/index.js b/node_modules/date-fns/locale/fr/_lib/formatLong/index.js new file mode 100644 index 000000000..6b38f1227 --- /dev/null +++ b/node_modules/date-fns/locale/fr/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'à' {{time}}", + long: "{{date}} 'à' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/_lib/formatRelative/index.js b/node_modules/date-fns/locale/fr/_lib/formatRelative/index.js new file mode 100644 index 000000000..2cae94281 --- /dev/null +++ b/node_modules/date-fns/locale/fr/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'dernier à' p", + yesterday: "'hier à' p", + today: "'aujourd’hui à' p", + tomorrow: "'demain à' p'", + nextWeek: "eeee 'prochain à' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/_lib/localize/index.js b/node_modules/date-fns/locale/fr/_lib/localize/index.js new file mode 100644 index 000000000..beac95fa8 --- /dev/null +++ b/node_modules/date-fns/locale/fr/_lib/localize/index.js @@ -0,0 +1,103 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['av. J.-C', 'ap. J.-C'], + abbreviated: ['av. J.-C', 'ap. J.-C'], + wide: ['avant Jésus-Christ', 'après Jésus-Christ'] +}; +var quarterValues = { + narrow: ['T1', 'T2', 'T3', 'T4'], + abbreviated: ['1er trim.', '2ème trim.', '3ème trim.', '4ème trim.'], + wide: ['1er trimestre', '2ème trimestre', '3ème trimestre', '4ème trimestre'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'], + wide: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + short: ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + abbreviated: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + wide: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'minuit', + noon: 'midi', + morning: 'mat.', + afternoon: 'ap.m.', + evening: 'soir', + night: 'mat.' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'minuit', + noon: 'midi', + morning: 'matin', + afternoon: 'après-midi', + evening: 'soir', + night: 'matin' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'minuit', + noon: 'midi', + morning: 'du matin', + afternoon: 'de l’après-midi', + evening: 'du soir', + night: 'du matin' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (number === 0) return '0'; + var feminineUnits = ['year', 'week', 'hour', 'minute', 'second']; + var suffix; + if (number === 1) { + suffix = unit && feminineUnits.includes(unit) ? 'ère' : 'er'; + } else { + suffix = 'ème'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/_lib/match/index.js b/node_modules/date-fns/locale/fr/_lib/match/index.js new file mode 100644 index 000000000..4b370c41c --- /dev/null +++ b/node_modules/date-fns/locale/fr/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(ième|ère|ème|er|e)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i, + abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, + wide: /^(avant Jésus-Christ|après Jésus-Christ)/i +}; +var parseEraPatterns = { + any: [/^av/i, /^ap/i] +}; +var matchQuarterPatterns = { + narrow: /^T?[1234]/i, + abbreviated: /^[1234](er|ème|e)? trim\.?/i, + wide: /^[1234](er|ème|e)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i, + wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^av/i, /^ma/i, /^juin/i, /^juil/i, /^ao/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[lmjvsd]/i, + short: /^(di|lu|ma|me|je|ve|sa)/i, + abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i, + wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i, + any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^min/i, + noon: /^mid/i, + morning: /mat/i, + afternoon: /ap/i, + evening: /soir/i, + night: /nuit/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/index.d.ts b/node_modules/date-fns/locale/fr/index.d.ts new file mode 100644 index 000000000..5dc7fe00f --- /dev/null +++ b/node_modules/date-fns/locale/fr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fr } from 'date-fns/locale' +export default fr diff --git a/node_modules/date-fns/locale/fr/index.js b/node_modules/date-fns/locale/fr/index.js new file mode 100644 index 000000000..fee66e1c5 --- /dev/null +++ b/node_modules/date-fns/locale/fr/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary French locale. + * @language French + * @iso-639-2 fra + * @author Jean Dupouy [@izeau]{@link https://github.com/izeau} + * @author François B [@fbonzon]{@link https://github.com/fbonzon} + */ +var locale = { + code: 'fr', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fr/index.js.flow b/node_modules/date-fns/locale/fr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/fr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/fr/package.json b/node_modules/date-fns/locale/fr/package.json new file mode 100644 index 000000000..37a176ce7 --- /dev/null +++ b/node_modules/date-fns/locale/fr/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/fr/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/_lib/formatDistance/index.js b/node_modules/date-fns/locale/fy/_lib/formatDistance/index.js new file mode 100644 index 000000000..50fc7fca3 --- /dev/null +++ b/node_modules/date-fns/locale/fy/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minder as 1 sekonde', + other: 'minder as {{count}} sekonden' + }, + xSeconds: { + one: '1 sekonde', + other: '{{count}} sekonden' + }, + halfAMinute: 'oardel minút', + lessThanXMinutes: { + one: 'minder as 1 minút', + other: 'minder as {{count}} minuten' + }, + xMinutes: { + one: '1 minút', + other: '{{count}} minuten' + }, + aboutXHours: { + one: 'sawat 1 oere', + other: 'sawat {{count}} oere' + }, + xHours: { + one: '1 oere', + other: '{{count}} oere' + }, + xDays: { + one: '1 dei', + other: '{{count}} dagen' + }, + aboutXWeeks: { + one: 'sawat 1 wike', + other: 'sawat {{count}} wiken' + }, + xWeeks: { + one: '1 wike', + other: '{{count}} wiken' + }, + aboutXMonths: { + one: 'sawat 1 moanne', + other: 'sawat {{count}} moannen' + }, + xMonths: { + one: '1 moanne', + other: '{{count}} moannen' + }, + aboutXYears: { + one: 'sawat 1 jier', + other: 'sawat {{count}} jier' + }, + xYears: { + one: '1 jier', + other: '{{count}} jier' + }, + overXYears: { + one: 'mear as 1 jier', + other: 'mear as {{count}}s jier' + }, + almostXYears: { + one: 'hast 1 jier', + other: 'hast {{count}} jier' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'oer ' + result; + } else { + return result + ' lyn'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/_lib/formatLong/index.js b/node_modules/date-fns/locale/fy/_lib/formatLong/index.js new file mode 100644 index 000000000..bc56a01f7 --- /dev/null +++ b/node_modules/date-fns/locale/fy/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd-MM-y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/_lib/formatRelative/index.js b/node_modules/date-fns/locale/fy/_lib/formatRelative/index.js new file mode 100644 index 000000000..18e1eb5e6 --- /dev/null +++ b/node_modules/date-fns/locale/fy/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'ôfrûne' eeee 'om' p", + yesterday: "'juster om' p", + today: "'hjoed om' p", + tomorrow: "'moarn om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/_lib/localize/index.js b/node_modules/date-fns/locale/fy/_lib/localize/index.js new file mode 100644 index 000000000..0cc9149bc --- /dev/null +++ b/node_modules/date-fns/locale/fy/_lib/localize/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['f.K.', 'n.K.'], + abbreviated: ['f.Kr.', 'n.Kr.'], + wide: ['foar Kristus', 'nei Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1e fearnsjier', '2e fearnsjier', '3e fearnsjier', '4e fearnsjier'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mai.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], + wide: ['jannewaris', 'febrewaris', 'maart', 'april', 'maaie', 'juny', 'july', 'augustus', 'septimber', 'oktober', 'novimber', 'desimber'] +}; +var dayValues = { + narrow: ['s', 'm', 't', 'w', 't', 'f', 's'], + short: ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + abbreviated: ['snein', 'moa', 'tii', 'woa', 'ton', 'fre', 'sneon'], + wide: ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'middei', + morning: 'moarns', + afternoon: 'middeis', + evening: 'jûns', + night: 'nachts' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'middei', + morning: 'moarns', + afternoon: 'middeis', + evening: 'jûns', + night: 'nachts' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'middei', + morning: 'moarns', + afternoon: 'middeis', + evening: 'jûns', + night: 'nachts' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/_lib/match/index.js b/node_modules/date-fns/locale/fy/_lib/match/index.js new file mode 100644 index 000000000..528bb15c2 --- /dev/null +++ b/node_modules/date-fns/locale/fy/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)e?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([fn]\.? ?K\.?)/, + abbreviated: /^([fn]\. ?Kr\.?)/, + wide: /^((foar|nei) Kristus)/ +}; +var parseEraPatterns = { + any: [/^f/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234]e fearnsjier/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mrt.|apr.|mai.|jun.|jul.|aug.|sep.|okt.|nov.|des.)/i, + wide: /^(jannewaris|febrewaris|maart|april|maaie|juny|july|augustus|septimber|oktober|novimber|desimber)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^des/i] +}; +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(si|mo|ti|wo|to|fr|so)/i, + abbreviated: /^(snein|moa|tii|woa|ton|fre|sneon)/i, + wide: /^(snein|moandei|tiisdei|woansdei|tongersdei|freed|sneon)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^sn/i, /^mo/i, /^ti/i, /^wo/i, /^to/i, /^fr/i, /^sn/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|middernacht|middeis|moarns|middei|jûns|nachts)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^middernacht/i, + noon: /^middei/i, + morning: /moarns/i, + afternoon: /^middeis/i, + evening: /jûns/i, + night: /nachts/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/index.d.ts b/node_modules/date-fns/locale/fy/index.d.ts new file mode 100644 index 000000000..11b41b4ba --- /dev/null +++ b/node_modules/date-fns/locale/fy/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { fy } from 'date-fns/locale' +export default fy diff --git a/node_modules/date-fns/locale/fy/index.js b/node_modules/date-fns/locale/fy/index.js new file mode 100644 index 000000000..48cecc962 --- /dev/null +++ b/node_modules/date-fns/locale/fy/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Western Frisian locale (Netherlands). + * @language West Frisian + * @iso-639-2 fry + * @author Damon Asberg [@damon02]{@link https://github.com/damon02} + */ +var locale = { + code: 'fy', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/fy/index.js.flow b/node_modules/date-fns/locale/fy/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/fy/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/fy/package.json b/node_modules/date-fns/locale/fy/package.json new file mode 100644 index 000000000..ccfdb0ee0 --- /dev/null +++ b/node_modules/date-fns/locale/fy/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/fy/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/_lib/formatDistance/index.js b/node_modules/date-fns/locale/gd/_lib/formatDistance/index.js new file mode 100644 index 000000000..1b7eadefa --- /dev/null +++ b/node_modules/date-fns/locale/gd/_lib/formatDistance/index.js @@ -0,0 +1,101 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'nas lugha na diog', + other: 'nas lugha na {{count}} diogan' + }, + xSeconds: { + one: '1 diog', + two: '2 dhiog', + twenty: '20 diog', + other: '{{count}} diogan' + }, + halfAMinute: 'leth mhionaid', + lessThanXMinutes: { + one: 'nas lugha na mionaid', + other: 'nas lugha na {{count}} mionaidean' + }, + xMinutes: { + one: '1 mionaid', + two: '2 mhionaid', + twenty: '20 mionaid', + other: '{{count}} mionaidean' + }, + aboutXHours: { + one: 'mu uair de thìde', + other: 'mu {{count}} uairean de thìde' + }, + xHours: { + one: '1 uair de thìde', + two: '2 uair de thìde', + twenty: '20 uair de thìde', + other: '{{count}} uairean de thìde' + }, + xDays: { + one: '1 là', + other: '{{count}} là' + }, + aboutXWeeks: { + one: 'mu 1 seachdain', + other: 'mu {{count}} seachdainean' + }, + xWeeks: { + one: '1 seachdain', + other: '{{count}} seachdainean' + }, + aboutXMonths: { + one: 'mu mhìos', + other: 'mu {{count}} mìosan' + }, + xMonths: { + one: '1 mìos', + other: '{{count}} mìosan' + }, + aboutXYears: { + one: 'mu bhliadhna', + other: 'mu {{count}} bliadhnaichean' + }, + xYears: { + one: '1 bhliadhna', + other: '{{count}} bliadhna' + }, + overXYears: { + one: 'còrr is bliadhna', + other: 'còrr is {{count}} bliadhnaichean' + }, + almostXYears: { + one: 'cha mhòr bliadhna', + other: 'cha mhòr {{count}} bliadhnaichean' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2 && !!tokenValue.two) { + result = tokenValue.two; + } else if (count === 20 && !!tokenValue.twenty) { + result = tokenValue.twenty; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'ann an ' + result; + } else { + return 'o chionn ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/_lib/formatLong/index.js b/node_modules/date-fns/locale/gd/_lib/formatLong/index.js new file mode 100644 index 000000000..c53ad165e --- /dev/null +++ b/node_modules/date-fns/locale/gd/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'aig' {{time}}", + long: "{{date}} 'aig' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/_lib/formatRelative/index.js b/node_modules/date-fns/locale/gd/_lib/formatRelative/index.js new file mode 100644 index 000000000..0594289ac --- /dev/null +++ b/node_modules/date-fns/locale/gd/_lib/formatRelative/index.js @@ -0,0 +1,21 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'mu dheireadh' eeee 'aig' p", + //FIX + yesterday: "'an-dè aig' p", + today: "'an-diugh aig' p", + tomorrow: "'a-màireach aig' p", + nextWeek: "eeee 'aig' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/_lib/localize/index.js b/node_modules/date-fns/locale/gd/_lib/localize/index.js new file mode 100644 index 000000000..77d8fe093 --- /dev/null +++ b/node_modules/date-fns/locale/gd/_lib/localize/index.js @@ -0,0 +1,145 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['R', 'A'], + abbreviated: ['RC', 'AD'], + wide: ['ro Chrìosta', 'anno domini'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['C1', 'C2', 'C3', 'C4'], + wide: ["a' chiad chairteal", 'an dàrna cairteal', 'an treas cairteal', 'an ceathramh cairteal'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], + abbreviated: ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'], + wide: ['Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'C', 'A', 'H', 'S'], + short: ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'], + abbreviated: ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], + wide: ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'] +}; +var dayPeriodValues = { + narrow: { + am: 'm', + pm: 'f', + midnight: 'm.o.', + noon: 'm.l.', + morning: 'madainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'oidhche' + }, + abbreviated: { + am: 'M.', + pm: 'F.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'madainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'oidhche' + }, + wide: { + am: 'm.', + pm: 'f.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'madainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'oidhche' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'm', + pm: 'f', + midnight: 'm.o.', + noon: 'm.l.', + morning: 'sa mhadainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'air an oidhche' + }, + abbreviated: { + am: 'M.', + pm: 'F.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'sa mhadainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'air an oidhche' + }, + wide: { + am: 'm.', + pm: 'f.', + midnight: 'meadhan oidhche', + noon: 'meadhan là', + morning: 'sa mhadainn', + afternoon: 'feasgar', + evening: 'feasgar', + night: 'air an oidhche' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'd'; + case 2: + return number + 'na'; + } + } + if (rem100 === 12) { + return number + 'na'; + } + return number + 'mh'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/_lib/match/index.js b/node_modules/date-fns/locale/gd/_lib/match/index.js new file mode 100644 index 000000000..8b5b6260b --- /dev/null +++ b/node_modules/date-fns/locale/gd/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(d|na|tr|mh)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(r|a)/i, + abbreviated: /^(r\.?\s?c\.?|r\.?\s?a\.?\s?c\.?|a\.?\s?d\.?|a\.?\s?c\.?)/i, + wide: /^(ro Chrìosta|ron aois choitchinn|anno domini|aois choitcheann)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^c[1234]/i, + wide: /^[1234](cd|na|tr|mh)? cairteal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[fgmcòilsd]/i, + abbreviated: /^(faoi|gear|màrt|gibl|cèit|ògmh|iuch|lùn|sult|dàmh|samh|dùbh)/i, + wide: /^(am faoilleach|an gearran|am màrt|an giblean|an cèitean|an t-Ògmhios|an t-Iuchar|an lùnastal|an t-Sultain|an dàmhair|an t-Samhain|an dùbhlachd)/i +}; +var parseMonthPatterns = { + narrow: [/^f/i, /^g/i, /^m/i, /^g/i, /^c/i, /^ò/i, /^i/i, /^l/i, /^s/i, /^d/i, /^s/i, /^d/i], + any: [/^fa/i, /^ge/i, /^mà/i, /^gi/i, /^c/i, /^ò/i, /^i/i, /^l/i, /^su/i, /^d/i, /^sa/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmcahs]/i, + short: /^(dò|lu|mà|ci|ar|ha|sa)/i, + abbreviated: /^(did|dil|dim|dic|dia|dih|dis)/i, + wide: /^(didòmhnaich|diluain|dimàirt|diciadain|diardaoin|dihaoine|disathairne)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^c/i, /^a/i, /^h/i, /^s/i], + any: [/^d/i, /^l/i, /^m/i, /^c/i, /^a/i, /^h/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(san|aig) (madainn|feasgar|feasgar|oidhche))/i, + any: /^([ap]\.?\s?m\.?|meadhan oidhche|meadhan là|(san|aig) (madainn|feasgar|feasgar|oidhche))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^m/i, + pm: /^f/i, + midnight: /^meadhan oidhche/i, + noon: /^meadhan là/i, + morning: /sa mhadainn/i, + afternoon: /feasgar/i, + evening: /feasgar/i, + night: /air an oidhche/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/index.d.ts b/node_modules/date-fns/locale/gd/index.d.ts new file mode 100644 index 000000000..2b2474424 --- /dev/null +++ b/node_modules/date-fns/locale/gd/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { gd } from 'date-fns/locale' +export default gd diff --git a/node_modules/date-fns/locale/gd/index.js b/node_modules/date-fns/locale/gd/index.js new file mode 100644 index 000000000..33ba154ea --- /dev/null +++ b/node_modules/date-fns/locale/gd/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Scottish Gaelic. + * @language Scottish Gaelic + * @iso-639-2 gla + * @author Lee Driscoll [@leedriscoll]{@link https://github.com/leedriscoll} + */ +var locale = { + code: 'gd', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gd/index.js.flow b/node_modules/date-fns/locale/gd/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/gd/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/gd/package.json b/node_modules/date-fns/locale/gd/package.json new file mode 100644 index 000000000..25e62f4b6 --- /dev/null +++ b/node_modules/date-fns/locale/gd/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/gd/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/_lib/formatDistance/index.js b/node_modules/date-fns/locale/gl/_lib/formatDistance/index.js new file mode 100644 index 000000000..01407409d --- /dev/null +++ b/node_modules/date-fns/locale/gl/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos dun segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'medio minuto', + lessThanXMinutes: { + one: 'menos dun minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'arredor dunha hora', + other: 'arredor de {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 día', + other: '{{count}} días' + }, + aboutXWeeks: { + one: 'arredor dunha semana', + other: 'arredor de {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'arredor de 1 mes', + other: 'arredor de {{count}} meses' + }, + xMonths: { + one: '1 mes', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'arredor dun ano', + other: 'arredor de {{count}} anos' + }, + xYears: { + one: '1 ano', + other: '{{count}} anos' + }, + overXYears: { + one: 'máis dun ano', + other: 'máis de {{count}} anos' + }, + almostXYears: { + one: 'case un ano', + other: 'case {{count}} anos' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'en ' + result; + } else { + return 'hai ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/_lib/formatLong/index.js b/node_modules/date-fns/locale/gl/_lib/formatLong/index.js new file mode 100644 index 000000000..0b1b81454 --- /dev/null +++ b/node_modules/date-fns/locale/gl/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d 'de' MMMM y", + long: "d 'de' MMMM y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'ás' {{time}}", + long: "{{date}} 'ás' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/_lib/formatRelative/index.js b/node_modules/date-fns/locale/gl/_lib/formatRelative/index.js new file mode 100644 index 000000000..87ca659e8 --- /dev/null +++ b/node_modules/date-fns/locale/gl/_lib/formatRelative/index.js @@ -0,0 +1,31 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'o' eeee 'pasado á' LT", + yesterday: "'onte á' p", + today: "'hoxe á' p", + tomorrow: "'mañá á' p", + nextWeek: "eeee 'á' p", + other: 'P' +}; +var formatRelativeLocalePlural = { + lastWeek: "'o' eeee 'pasado ás' p", + yesterday: "'onte ás' p", + today: "'hoxe ás' p", + tomorrow: "'mañá ás' p", + nextWeek: "eeee 'ás' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + if (date.getUTCHours() !== 1) { + return formatRelativeLocalePlural[token]; + } + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/_lib/localize/index.js b/node_modules/date-fns/locale/gl/_lib/localize/index.js new file mode 100644 index 000000000..03753bb9f --- /dev/null +++ b/node_modules/date-fns/locale/gl/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['AC', 'DC'], + abbreviated: ['AC', 'DC'], + wide: ['antes de cristo', 'despois de cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['xan', 'feb', 'mar', 'abr', 'mai', 'xun', 'xul', 'ago', 'set', 'out', 'nov', 'dec'], + wide: ['xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', 'outubro', 'novembro', 'decembro'] +}; +var dayValues = { + narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'], + short: ['do', 'lu', 'ma', 'me', 'xo', 've', 'sa'], + abbreviated: ['dom', 'lun', 'mar', 'mer', 'xov', 'ven', 'sab'], + wide: ['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'mañá', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'mañá', + afternoon: 'tarde', + evening: 'tardiña', + night: 'noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'mañá', + afternoon: 'tarde', + evening: 'tardiña', + night: 'noite' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'da mañá', + afternoon: 'da tarde', + evening: 'da tardiña', + night: 'da noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'da mañá', + afternoon: 'da tarde', + evening: 'da tardiña', + night: 'da noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'medianoite', + noon: 'mediodía', + morning: 'da mañá', + afternoon: 'da tarde', + evening: 'da tardiña', + night: 'da noite' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/_lib/match/index.js b/node_modules/date-fns/locale/gl/_lib/match/index.js new file mode 100644 index 000000000..ac1d46604 --- /dev/null +++ b/node_modules/date-fns/locale/gl/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, + wide: /^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^(antes de cristo|antes da era com[uú]n)/i, /^(despois de cristo|era com[uú]n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[xfmasond]/i, + abbreviated: /^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i, + wide: /^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i +}; +var parseMonthPatterns = { + narrow: [/^x/i, /^f/i, /^m/i, /^a/i, /^m/i, /^x/i, /^x/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^xan/i, /^feb/i, /^mar/i, /^abr/i, /^mai/i, /^xun/i, /^xul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dec/i] +}; +var matchDayPatterns = { + narrow: /^[dlmxvs]/i, + short: /^(do|lu|ma|me|xo|ve|sa)/i, + abbreviated: /^(dom|lun|mar|mer|xov|ven|sab)/i, + wide: /^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^x/i, /^v/i, /^s/i], + any: [/^do/i, /^lu/i, /^ma/i, /^me/i, /^xo/i, /^ve/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i, + any: /^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn/i, + noon: /^md/i, + morning: /mañ[aá]/i, + afternoon: /tarde/i, + evening: /tardiña/i, + night: /noite/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/index.d.ts b/node_modules/date-fns/locale/gl/index.d.ts new file mode 100644 index 000000000..67954c68e --- /dev/null +++ b/node_modules/date-fns/locale/gl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { gl } from 'date-fns/locale' +export default gl diff --git a/node_modules/date-fns/locale/gl/index.js b/node_modules/date-fns/locale/gl/index.js new file mode 100644 index 000000000..70fced602 --- /dev/null +++ b/node_modules/date-fns/locale/gl/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Galician locale. + * @language Galician + * @iso-639-2 glg + * @author Alberto Doval - Cocodin Technology[@cocodinTech]{@link https://github.com/cocodinTech} + * @author Fidel Pita [@fidelpita]{@link https://github.com/fidelpita} + */ +var locale = { + code: 'gl', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gl/index.js.flow b/node_modules/date-fns/locale/gl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/gl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/gl/package.json b/node_modules/date-fns/locale/gl/package.json new file mode 100644 index 000000000..35570fe16 --- /dev/null +++ b/node_modules/date-fns/locale/gl/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/gl/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/_lib/formatDistance/index.js b/node_modules/date-fns/locale/gu/_lib/formatDistance/index.js new file mode 100644 index 000000000..3aaccba75 --- /dev/null +++ b/node_modules/date-fns/locale/gu/_lib/formatDistance/index.js @@ -0,0 +1,94 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'હમણાં', + // CLDR #1461 + other: '​આશરે {{count}} સેકંડ' + }, + xSeconds: { + one: '1 સેકંડ', + other: '{{count}} સેકંડ' + }, + halfAMinute: 'અડધી મિનિટ', + lessThanXMinutes: { + one: 'આ મિનિટ', + // CLDR #1448 + other: '​આશરે {{count}} મિનિટ' + }, + xMinutes: { + one: '1 મિનિટ', + other: '{{count}} મિનિટ' + }, + aboutXHours: { + one: '​આશરે 1 કલાક', + other: '​આશરે {{count}} કલાક' + }, + xHours: { + one: '1 કલાક', + other: '{{count}} કલાક' + }, + xDays: { + one: '1 દિવસ', + other: '{{count}} દિવસ' + }, + aboutXWeeks: { + one: 'આશરે 1 અઠવાડિયું', + other: 'આશરે {{count}} અઠવાડિયા' + }, + xWeeks: { + one: '1 અઠવાડિયું', + other: '{{count}} અઠવાડિયા' + }, + aboutXMonths: { + one: 'આશરે 1 મહિનો', + other: 'આશરે {{count}} મહિના' + }, + xMonths: { + one: '1 મહિનો', + other: '{{count}} મહિના' + }, + aboutXYears: { + one: 'આશરે 1 વર્ષ', + other: 'આશરે {{count}} વર્ષ' + }, + xYears: { + one: '1 વર્ષ', + other: '{{count}} વર્ષ' + }, + overXYears: { + one: '1 વર્ષથી વધુ', + other: '{{count}} વર્ષથી વધુ' + }, + almostXYears: { + one: 'લગભગ 1 વર્ષ', + other: 'લગભગ {{count}} વર્ષ' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'માં'; + } else { + return result + ' પહેલાં'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/_lib/formatLong/index.js b/node_modules/date-fns/locale/gu/_lib/formatLong/index.js new file mode 100644 index 000000000..cfa38ac93 --- /dev/null +++ b/node_modules/date-fns/locale/gu/_lib/formatLong/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +//Source: https://www.unicode.org/cldr/charts/32/summary/gu.html +var dateFormats = { + full: 'EEEE, d MMMM, y', + // CLDR #1825 + long: 'd MMMM, y', + // CLDR #1826 + medium: 'd MMM, y', + // CLDR #1827 + short: 'd/M/yy' // CLDR #1828 +}; + +var timeFormats = { + full: 'hh:mm:ss a zzzz', + // CLDR #1829 + long: 'hh:mm:ss a z', + // CLDR #1830 + medium: 'hh:mm:ss a', + // CLDR #1831 + short: 'hh:mm a' // CLDR #1832 +}; + +var dateTimeFormats = { + full: '{{date}} {{time}}', + // CLDR #1833 + long: '{{date}} {{time}}', + // CLDR #1834 + medium: '{{date}} {{time}}', + // CLDR #1835 + short: '{{date}} {{time}}' // CLDR #1836 +}; + +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/_lib/formatRelative/index.js b/node_modules/date-fns/locale/gu/_lib/formatRelative/index.js new file mode 100644 index 000000000..545e899e9 --- /dev/null +++ b/node_modules/date-fns/locale/gu/_lib/formatRelative/index.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html + +var formatRelativeLocale = { + lastWeek: "'પાછલા' eeee p", + // CLDR #1384 + yesterday: "'ગઈકાલે' p", + // CLDR #1409 + today: "'આજે' p", + // CLDR #1410 + tomorrow: "'આવતીકાલે' p", + // CLDR #1411 + nextWeek: 'eeee p', + // CLDR #1386 + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/_lib/localize/index.js b/node_modules/date-fns/locale/gu/_lib/localize/index.js new file mode 100644 index 000000000..85575e225 --- /dev/null +++ b/node_modules/date-fns/locale/gu/_lib/localize/index.js @@ -0,0 +1,146 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1621 - #1630 +var eraValues = { + narrow: ['ઈસપૂ', 'ઈસ'], + abbreviated: ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], + wide: ['ઈસવીસન પૂર્વે', 'ઈસવીસન'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1631 - #1654 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1લો ત્રિમાસ', '2જો ત્રિમાસ', '3જો ત્રિમાસ', '4થો ત્રિમાસ'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1655 - #1726 +var monthValues = { + narrow: ['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઓ', 'સ', 'ઓ', 'ન', 'ડિ'], + abbreviated: ['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઓક્ટો', 'નવે', 'ડિસે'], + wide: ['જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઇ', 'ઓગસ્ટ', 'સપ્ટેમ્બર', 'ઓક્ટોબર', 'નવેમ્બર', 'ડિસેમ્બર'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1727 - #1768 +var dayValues = { + narrow: ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + short: ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + abbreviated: ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'], + wide: ['રવિવાર' /* Sunday */, 'સોમવાર' /* Monday */, 'મંગળવાર' /* Tuesday */, 'બુધવાર' /* Wednesday */, 'ગુરુવાર' /* Thursday */, 'શુક્રવાર' /* Friday */, 'શનિવાર' /* Saturday */] +}; + +// https://www.unicode.org/cldr/charts/32/summary/gu.html +// #1783 - #1824 +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'મ.રાત્રિ', + noon: 'બ.', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: '​મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: '​મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'મ.રાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: '​મધ્યરાત્રિ', + noon: 'બપોરે', + morning: 'સવારે', + afternoon: 'બપોરે', + evening: 'સાંજે', + night: 'રાત્રે' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/_lib/match/index.js b/node_modules/date-fns/locale/gu/_lib/match/index.js new file mode 100644 index 000000000..ef82fb2ef --- /dev/null +++ b/node_modules/date-fns/locale/gu/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ઈસપૂ|ઈસ)/i, + abbreviated: /^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i, + wide: /^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i +}; +var parseEraPatterns = { + any: [/^ઈસપૂ/i, /^ઈસ/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](લો|જો|થો)? ત્રિમાસ/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[જાફેમાએમેજૂજુઓસઓનડિ]/i, + abbreviated: /^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i, + wide: /^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i +}; +var parseMonthPatterns = { + narrow: [/^જા/i, /^ફે/i, /^મા/i, /^એ/i, /^મે/i, /^જૂ/i, /^જુ/i, /^ઑગ/i, /^સ/i, /^ઓક્ટો/i, /^ન/i, /^ડિ/i], + any: [/^જા/i, /^ફે/i, /^મા/i, /^એ/i, /^મે/i, /^જૂ/i, /^જુ/i, /^ઑગ/i, /^સ/i, /^ઓક્ટો/i, /^ન/i, /^ડિ/i] +}; +var matchDayPatterns = { + narrow: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i, + short: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i, + abbreviated: /^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i, + wide: /^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i +}; +var parseDayPatterns = { + narrow: [/^ર/i, /^સો/i, /^મં/i, /^બુ/i, /^ગુ/i, /^શુ/i, /^શ/i], + any: [/^ર/i, /^સો/i, /^મં/i, /^બુ/i, /^ગુ/i, /^શુ/i, /^શ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|મ\.?|સ|બ|સાં|રા)/i, + any: /^(a|p|મ\.?|સ|બ|સાં|રા)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^મ\.?/i, + noon: /^બ/i, + morning: /સ/i, + afternoon: /બ/i, + evening: /સાં/i, + night: /રા/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/index.d.ts b/node_modules/date-fns/locale/gu/index.d.ts new file mode 100644 index 000000000..42642b644 --- /dev/null +++ b/node_modules/date-fns/locale/gu/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { gu } from 'date-fns/locale' +export default gu diff --git a/node_modules/date-fns/locale/gu/index.js b/node_modules/date-fns/locale/gu/index.js new file mode 100644 index 000000000..2297d85fd --- /dev/null +++ b/node_modules/date-fns/locale/gu/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Gujarati locale (India). + * @language Gujarati + * @iso-639-2 guj + * @author Manaday Mavani [@ManadayM]{@link https://github.com/manadaym} + */ +var locale = { + code: 'gu', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/gu/index.js.flow b/node_modules/date-fns/locale/gu/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/gu/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/gu/package.json b/node_modules/date-fns/locale/gu/package.json new file mode 100644 index 000000000..4d0acd5a9 --- /dev/null +++ b/node_modules/date-fns/locale/gu/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/gu/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/_lib/formatDistance/index.js b/node_modules/date-fns/locale/he/_lib/formatDistance/index.js new file mode 100644 index 000000000..5271518a0 --- /dev/null +++ b/node_modules/date-fns/locale/he/_lib/formatDistance/index.js @@ -0,0 +1,115 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'פחות משנייה', + two: 'פחות משתי שניות', + other: 'פחות מ־{{count}} שניות' + }, + xSeconds: { + one: 'שנייה', + two: 'שתי שניות', + other: '{{count}} שניות' + }, + halfAMinute: 'חצי דקה', + lessThanXMinutes: { + one: 'פחות מדקה', + two: 'פחות משתי דקות', + other: 'פחות מ־{{count}} דקות' + }, + xMinutes: { + one: 'דקה', + two: 'שתי דקות', + other: '{{count}} דקות' + }, + aboutXHours: { + one: 'כשעה', + two: 'כשעתיים', + other: 'כ־{{count}} שעות' + }, + xHours: { + one: 'שעה', + two: 'שעתיים', + other: '{{count}} שעות' + }, + xDays: { + one: 'יום', + two: 'יומיים', + other: '{{count}} ימים' + }, + aboutXWeeks: { + one: 'כשבוע', + two: 'כשבועיים', + other: 'כ־{{count}} שבועות' + }, + xWeeks: { + one: 'שבוע', + two: 'שבועיים', + other: '{{count}} שבועות' + }, + aboutXMonths: { + one: 'כחודש', + two: 'כחודשיים', + other: 'כ־{{count}} חודשים' + }, + xMonths: { + one: 'חודש', + two: 'חודשיים', + other: '{{count}} חודשים' + }, + aboutXYears: { + one: 'כשנה', + two: 'כשנתיים', + other: 'כ־{{count}} שנים' + }, + xYears: { + one: 'שנה', + two: 'שנתיים', + other: '{{count}} שנים' + }, + overXYears: { + one: 'יותר משנה', + two: 'יותר משנתיים', + other: 'יותר מ־{{count}} שנים' + }, + almostXYears: { + one: 'כמעט שנה', + two: 'כמעט שנתיים', + other: 'כמעט {{count}} שנים' + } +}; +var formatDistance = function formatDistance(token, count, options) { + // Return word instead of `in one day` or `one day ago` + if (token === 'xDays' && options !== null && options !== void 0 && options.addSuffix && count <= 2) { + if (options.comparison && options.comparison > 0) { + return count === 1 ? 'מחר' : 'מחרתיים'; + } + return count === 1 ? 'אתמול' : 'שלשום'; + } + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2) { + result = tokenValue.two; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'בעוד ' + result; + } else { + return 'לפני ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/_lib/formatLong/index.js b/node_modules/date-fns/locale/he/_lib/formatLong/index.js new file mode 100644 index 000000000..337eb9a1b --- /dev/null +++ b/node_modules/date-fns/locale/he/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d בMMMM y', + long: 'd בMMMM y', + medium: 'd בMMM y', + short: 'd.M.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'בשעה' {{time}}", + long: "{{date}} 'בשעה' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/_lib/formatRelative/index.js b/node_modules/date-fns/locale/he/_lib/formatRelative/index.js new file mode 100644 index 000000000..c66c4c920 --- /dev/null +++ b/node_modules/date-fns/locale/he/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'שעבר בשעה' p", + yesterday: "'אתמול בשעה' p", + today: "'היום בשעה' p", + tomorrow: "'מחר בשעה' p", + nextWeek: "eeee 'בשעה' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/_lib/localize/index.js b/node_modules/date-fns/locale/he/_lib/localize/index.js new file mode 100644 index 000000000..27ca6e76c --- /dev/null +++ b/node_modules/date-fns/locale/he/_lib/localize/index.js @@ -0,0 +1,136 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['לפנה״ס', 'לספירה'], + abbreviated: ['לפנה״ס', 'לספירה'], + wide: ['לפני הספירה', 'לספירה'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['רבעון 1', 'רבעון 2', 'רבעון 3', 'רבעון 4'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'], + wide: ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'] +}; +var dayValues = { + narrow: ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + short: ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + abbreviated: ['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'], + wide: ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'] +}; +var dayPeriodValues = { + narrow: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בוקר', + afternoon: 'אחר הצהריים', + evening: 'ערב', + night: 'לילה' + }, + abbreviated: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בוקר', + afternoon: 'אחר הצהריים', + evening: 'ערב', + night: 'לילה' + }, + wide: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בוקר', + afternoon: 'אחר הצהריים', + evening: 'ערב', + night: 'לילה' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בבוקר', + afternoon: 'בצהריים', + evening: 'בערב', + night: 'בלילה' + }, + abbreviated: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בבוקר', + afternoon: 'אחר הצהריים', + evening: 'בערב', + night: 'בלילה' + }, + wide: { + am: 'לפנה״צ', + pm: 'אחה״צ', + midnight: 'חצות', + noon: 'צהריים', + morning: 'בבוקר', + afternoon: 'אחר הצהריים', + evening: 'בערב', + night: 'בלילה' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + + // We only show words till 10 + if (number <= 0 || number > 10) return String(number); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var isFemale = ['year', 'hour', 'minute', 'second'].indexOf(unit) >= 0; + var male = ['ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שביעי', 'שמיני', 'תשיעי', 'עשירי']; + var female = ['ראשונה', 'שנייה', 'שלישית', 'רביעית', 'חמישית', 'שישית', 'שביעית', 'שמינית', 'תשיעית', 'עשירית']; + var index = number - 1; + return isFemale ? female[index] : male[index]; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/_lib/match/index.js b/node_modules/date-fns/locale/he/_lib/match/index.js new file mode 100644 index 000000000..37001c752 --- /dev/null +++ b/node_modules/date-fns/locale/he/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i; +var parseOrdinalNumberPattern = /^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i; +var matchEraPatterns = { + narrow: /^ל(ספירה|פנה״ס)/i, + abbreviated: /^ל(ספירה|פנה״ס)/i, + wide: /^ל(פני ה)?ספירה/i +}; +var parseEraPatterns = { + any: [/^לפ/i, /^לס/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^רבעון [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^\d+/i, + abbreviated: /^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i, + wide: /^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i +}; +var parseMonthPatterns = { + narrow: [/^1$/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ינ/i, /^פ/i, /^מר/i, /^אפ/i, /^מא/i, /^יונ/i, /^יול/i, /^אוג/i, /^ס/i, /^אוק/i, /^נ/i, /^ד/i] +}; +var matchDayPatterns = { + narrow: /^[אבגדהוש]׳/i, + short: /^[אבגדהוש]׳/i, + abbreviated: /^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i, + wide: /^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i +}; +var parseDayPatterns = { + abbreviated: [/א׳$/i, /ב׳$/i, /ג׳$/i, /ד׳$/i, /ה׳$/i, /ו׳$/i, /^ש/i], + wide: [/ן$/i, /ני$/i, /לישי$/i, /עי$/i, /מישי$/i, /שישי$/i, /ת$/i], + any: [/^א/i, /^ב/i, /^ג/i, /^ד/i, /^ה/i, /^ו/i, /^ש/i] +}; +var matchDayPeriodPatterns = { + any: /^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^לפ/i, + pm: /^אחה/i, + midnight: /^ח/i, + noon: /^צ/i, + morning: /בוקר/i, + afternoon: /בצ|אחר/i, + evening: /ערב/i, + night: /לילה/i + } +}; +var ordinalName = ['רא', 'שנ', 'של', 'רב', 'ח', 'שי', 'שב', 'שמ', 'ת', 'ע']; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + var number = parseInt(value, 10); + return isNaN(number) ? ordinalName.indexOf(value) + 1 : number; + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/index.d.ts b/node_modules/date-fns/locale/he/index.d.ts new file mode 100644 index 000000000..33d6042f2 --- /dev/null +++ b/node_modules/date-fns/locale/he/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { he } from 'date-fns/locale' +export default he diff --git a/node_modules/date-fns/locale/he/index.js b/node_modules/date-fns/locale/he/index.js new file mode 100644 index 000000000..1f70d6e4f --- /dev/null +++ b/node_modules/date-fns/locale/he/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Hebrew locale. + * @language Hebrew + * @iso-639-2 heb + * @author Nir Lahad [@nirlah]{@link https://github.com/nirlah} + */ +var locale = { + code: 'he', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/he/index.js.flow b/node_modules/date-fns/locale/he/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/he/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/he/package.json b/node_modules/date-fns/locale/he/package.json new file mode 100644 index 000000000..b778e539d --- /dev/null +++ b/node_modules/date-fns/locale/he/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/he/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/_lib/formatDistance/index.js b/node_modules/date-fns/locale/hi/_lib/formatDistance/index.js new file mode 100644 index 000000000..68b0e74f6 --- /dev/null +++ b/node_modules/date-fns/locale/hi/_lib/formatDistance/index.js @@ -0,0 +1,100 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = require("../localize/index.js"); +// Source: https://www.unicode.org/cldr/charts/32/summary/hi.html + +var formatDistanceLocale = { + lessThanXSeconds: { + one: '१ सेकंड से कम', + // CLDR #1310 + other: '{{count}} सेकंड से कम' + }, + xSeconds: { + one: '१ सेकंड', + other: '{{count}} सेकंड' + }, + halfAMinute: 'आधा मिनट', + lessThanXMinutes: { + one: '१ मिनट से कम', + other: '{{count}} मिनट से कम' + }, + xMinutes: { + one: '१ मिनट', + // CLDR #1307 + other: '{{count}} मिनट' + }, + aboutXHours: { + one: 'लगभग १ घंटा', + other: 'लगभग {{count}} घंटे' + }, + xHours: { + one: '१ घंटा', + // CLDR #1304 + other: '{{count}} घंटे' // CLDR #4467 + }, + + xDays: { + one: '१ दिन', + // CLDR #1286 + other: '{{count}} दिन' + }, + aboutXWeeks: { + one: 'लगभग १ सप्ताह', + other: 'लगभग {{count}} सप्ताह' + }, + xWeeks: { + one: '१ सप्ताह', + other: '{{count}} सप्ताह' + }, + aboutXMonths: { + one: 'लगभग १ महीना', + other: 'लगभग {{count}} महीने' + }, + xMonths: { + one: '१ महीना', + other: '{{count}} महीने' + }, + aboutXYears: { + one: 'लगभग १ वर्ष', + other: 'लगभग {{count}} वर्ष' // CLDR #4823 + }, + + xYears: { + one: '१ वर्ष', + other: '{{count}} वर्ष' + }, + overXYears: { + one: '१ वर्ष से अधिक', + other: '{{count}} वर्ष से अधिक' + }, + almostXYears: { + one: 'लगभग १ वर्ष', + other: 'लगभग {{count}} वर्ष' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', (0, _index.numberToLocale)(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'मे '; + } else { + return result + ' पहले'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/_lib/formatLong/index.js b/node_modules/date-fns/locale/hi/_lib/formatLong/index.js new file mode 100644 index 000000000..ad3e53358 --- /dev/null +++ b/node_modules/date-fns/locale/hi/_lib/formatLong/index.js @@ -0,0 +1,55 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, do MMMM, y', + // CLDR #1787 + long: 'do MMMM, y', + // CLDR #1788 + medium: 'd MMM, y', + // CLDR #1789 + short: 'dd/MM/yyyy' // CLDR #1790 +}; + +var timeFormats = { + full: 'h:mm:ss a zzzz', + // CLDR #1791 + long: 'h:mm:ss a z', + // CLDR #1792 + medium: 'h:mm:ss a', + // CLDR #1793 + short: 'h:mm a' // CLDR #1794 +}; + +var dateTimeFormats = { + full: "{{date}} 'को' {{time}}", + // CLDR #1795 + long: "{{date}} 'को' {{time}}", + // CLDR #1796 + medium: '{{date}}, {{time}}', + // CLDR #1797 + short: '{{date}}, {{time}}' // CLDR #1798 +}; + +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/_lib/formatRelative/index.js b/node_modules/date-fns/locale/hi/_lib/formatRelative/index.js new file mode 100644 index 000000000..83be1fcd9 --- /dev/null +++ b/node_modules/date-fns/locale/hi/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'पिछले' eeee p", + yesterday: "'कल' p", + today: "'आज' p", + tomorrow: "'कल' p", + nextWeek: "eeee 'को' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/_lib/localize/index.js b/node_modules/date-fns/locale/hi/_lib/localize/index.js new file mode 100644 index 000000000..53f1bb011 --- /dev/null +++ b/node_modules/date-fns/locale/hi/_lib/localize/index.js @@ -0,0 +1,179 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +exports.localeToNumber = localeToNumber; +exports.numberToLocale = numberToLocale; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var numberValues = { + locale: { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }, + number: { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + } +}; + +// CLDR #1585 - #1592 +var eraValues = { + narrow: ['ईसा-पूर्व', 'ईस्वी'], + abbreviated: ['ईसा-पूर्व', 'ईस्वी'], + wide: ['ईसा-पूर्व', 'ईसवी सन'] +}; + +// CLDR #1593 - #1616 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ति1', 'ति2', 'ति3', 'ति4'], + wide: ['पहली तिमाही', 'दूसरी तिमाही', 'तीसरी तिमाही', 'चौथी तिमाही'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +// https://www.unicode.org/cldr/charts/32/summary/hi.html +// CLDR #1617 - #1688 +var monthValues = { + narrow: ['ज', 'फ़', 'मा', 'अ', 'मई', 'जू', 'जु', 'अग', 'सि', 'अक्टू', 'न', 'दि'], + abbreviated: ['जन', 'फ़र', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल', 'अग', 'सित', 'अक्टू', 'नव', 'दिस'], + wide: ['जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्टूबर', 'नवंबर', 'दिसंबर'] +}; + +// CLDR #1689 - #1744 +var dayValues = { + narrow: ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + short: ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + abbreviated: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + wide: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'] +}; +var dayPeriodValues = { + narrow: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + abbreviated: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + wide: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + abbreviated: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + }, + wide: { + am: 'पूर्वाह्न', + pm: 'अपराह्न', + midnight: 'मध्यरात्रि', + noon: 'दोपहर', + morning: 'सुबह', + afternoon: 'दोपहर', + evening: 'शाम', + night: 'रात' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return numberToLocale(number); +}; +function localeToNumber(locale) { + var enNumber = locale.toString().replace(/[१२३४५६७८९०]/g, function (match) { + return numberValues.number[match]; + }); + return Number(enNumber); +} +function numberToLocale(enNumber) { + return enNumber.toString().replace(/\d/g, function (match) { + return numberValues.locale[match]; + }); +} +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/_lib/match/index.js b/node_modules/date-fns/locale/hi/_lib/match/index.js new file mode 100644 index 000000000..9934b603c --- /dev/null +++ b/node_modules/date-fns/locale/hi/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index3 = require("../localize/index.js"); +var matchOrdinalNumberPattern = /^[०१२३४५६७८९]+/i; +var parseOrdinalNumberPattern = /^[०१२३४५६७८९]+/i; +var matchEraPatterns = { + narrow: /^(ईसा-पूर्व|ईस्वी)/i, + abbreviated: /^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i, + wide: /^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ति[1234]/i, + wide: /^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i, + abbreviated: /^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i, + wide: /^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i +}; +var parseMonthPatterns = { + narrow: [/^ज/i, /^फ़/i, /^मा/i, /^अप्/i, /^मई/i, /^जू/i, /^जु/i, /^अग/i, /^सि/i, /^अक्तू/i, /^न/i, /^दि/i], + any: [/^जन/i, /^फ़/i, /^मा/i, /^अप्/i, /^मई/i, /^जू/i, /^जु/i, /^अग/i, /^सि/i, /^अक्तू/i, /^नव/i, /^दिस/i] +}; +var matchDayPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[रविसोममंगलबुधगुरुशुक्रशनि]/i, + short: /^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i, + abbreviated: /^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i, + wide: /^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i +}; +var parseDayPatterns = { + narrow: [/^रवि/i, /^सोम/i, /^मंगल/i, /^बुध/i, /^गुरु/i, /^शुक्र/i, /^शनि/i], + any: [/^रवि/i, /^सोम/i, /^मंगल/i, /^बुध/i, /^गुरु/i, /^शुक्र/i, /^शनि/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(पू|अ|म|द.\?|सु|दो|शा|रा)/i, + any: /^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^पूर्वाह्न/i, + pm: /^अपराह्न/i, + midnight: /^मध्य/i, + noon: /^दो/i, + morning: /सु/i, + afternoon: /दो/i, + evening: /शा/i, + night: /रा/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: _index3.localeToNumber + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/index.d.ts b/node_modules/date-fns/locale/hi/index.d.ts new file mode 100644 index 000000000..089bdd9ea --- /dev/null +++ b/node_modules/date-fns/locale/hi/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hi } from 'date-fns/locale' +export default hi diff --git a/node_modules/date-fns/locale/hi/index.js b/node_modules/date-fns/locale/hi/index.js new file mode 100644 index 000000000..87a9d0330 --- /dev/null +++ b/node_modules/date-fns/locale/hi/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Hindi locale (India). + * @language Hindi + * @iso-639-2 hin + * @author Mukesh Mandiwal [@mukeshmandiwal]{@link https://github.com/mukeshmandiwal} + */ +var locale = { + code: 'hi', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hi/index.js.flow b/node_modules/date-fns/locale/hi/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/hi/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/hi/package.json b/node_modules/date-fns/locale/hi/package.json new file mode 100644 index 000000000..f00a4e57b --- /dev/null +++ b/node_modules/date-fns/locale/hi/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/hi/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/_lib/formatDistance/index.js b/node_modules/date-fns/locale/hr/_lib/formatDistance/index.js new file mode 100644 index 000000000..dd985eec0 --- /dev/null +++ b/node_modules/date-fns/locale/hr/_lib/formatDistance/index.js @@ -0,0 +1,179 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'manje od 1 sekunde', + withPrepositionAgo: 'manje od 1 sekunde', + withPrepositionIn: 'manje od 1 sekundu' + }, + dual: 'manje od {{count}} sekunde', + other: 'manje od {{count}} sekundi' + }, + xSeconds: { + one: { + standalone: '1 sekunda', + withPrepositionAgo: '1 sekunde', + withPrepositionIn: '1 sekundu' + }, + dual: '{{count}} sekunde', + other: '{{count}} sekundi' + }, + halfAMinute: 'pola minute', + lessThanXMinutes: { + one: { + standalone: 'manje od 1 minute', + withPrepositionAgo: 'manje od 1 minute', + withPrepositionIn: 'manje od 1 minutu' + }, + dual: 'manje od {{count}} minute', + other: 'manje od {{count}} minuta' + }, + xMinutes: { + one: { + standalone: '1 minuta', + withPrepositionAgo: '1 minute', + withPrepositionIn: '1 minutu' + }, + dual: '{{count}} minute', + other: '{{count}} minuta' + }, + aboutXHours: { + one: { + standalone: 'oko 1 sat', + withPrepositionAgo: 'oko 1 sat', + withPrepositionIn: 'oko 1 sat' + }, + dual: 'oko {{count}} sata', + other: 'oko {{count}} sati' + }, + xHours: { + one: { + standalone: '1 sat', + withPrepositionAgo: '1 sat', + withPrepositionIn: '1 sat' + }, + dual: '{{count}} sata', + other: '{{count}} sati' + }, + xDays: { + one: { + standalone: '1 dan', + withPrepositionAgo: '1 dan', + withPrepositionIn: '1 dan' + }, + dual: '{{count}} dana', + other: '{{count}} dana' + }, + aboutXWeeks: { + one: { + standalone: 'oko 1 tjedan', + withPrepositionAgo: 'oko 1 tjedan', + withPrepositionIn: 'oko 1 tjedan' + }, + dual: 'oko {{count}} tjedna', + other: 'oko {{count}} tjedana' + }, + xWeeks: { + one: { + standalone: '1 tjedan', + withPrepositionAgo: '1 tjedan', + withPrepositionIn: '1 tjedan' + }, + dual: '{{count}} tjedna', + other: '{{count}} tjedana' + }, + aboutXMonths: { + one: { + standalone: 'oko 1 mjesec', + withPrepositionAgo: 'oko 1 mjesec', + withPrepositionIn: 'oko 1 mjesec' + }, + dual: 'oko {{count}} mjeseca', + other: 'oko {{count}} mjeseci' + }, + xMonths: { + one: { + standalone: '1 mjesec', + withPrepositionAgo: '1 mjesec', + withPrepositionIn: '1 mjesec' + }, + dual: '{{count}} mjeseca', + other: '{{count}} mjeseci' + }, + aboutXYears: { + one: { + standalone: 'oko 1 godinu', + withPrepositionAgo: 'oko 1 godinu', + withPrepositionIn: 'oko 1 godinu' + }, + dual: 'oko {{count}} godine', + other: 'oko {{count}} godina' + }, + xYears: { + one: { + standalone: '1 godina', + withPrepositionAgo: '1 godine', + withPrepositionIn: '1 godinu' + }, + dual: '{{count}} godine', + other: '{{count}} godina' + }, + overXYears: { + one: { + standalone: 'preko 1 godinu', + withPrepositionAgo: 'preko 1 godinu', + withPrepositionIn: 'preko 1 godinu' + }, + dual: 'preko {{count}} godine', + other: 'preko {{count}} godina' + }, + almostXYears: { + one: { + standalone: 'gotovo 1 godinu', + withPrepositionAgo: 'gotovo 1 godinu', + withPrepositionIn: 'gotovo 1 godinu' + }, + dual: 'gotovo {{count}} godine', + other: 'gotovo {{count}} godina' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'za ' + result; + } else { + return 'prije ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/_lib/formatLong/index.js b/node_modules/date-fns/locale/hr/_lib/formatLong/index.js new file mode 100644 index 000000000..3a8deb574 --- /dev/null +++ b/node_modules/date-fns/locale/hr/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d. MMMM y.', + long: 'd. MMMM y.', + medium: 'd. MMM y.', + short: 'dd. MM. y.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'u' {{time}}", + long: "{{date}} 'u' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/_lib/formatRelative/index.js b/node_modules/date-fns/locale/hr/_lib/formatRelative/index.js new file mode 100644 index 000000000..4766b1f48 --- /dev/null +++ b/node_modules/date-fns/locale/hr/_lib/formatRelative/index.js @@ -0,0 +1,46 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'prošlu nedjelju u' p"; + case 3: + return "'prošlu srijedu u' p"; + case 6: + return "'prošlu subotu u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + yesterday: "'jučer u' p", + today: "'danas u' p", + tomorrow: "'sutra u' p", + nextWeek: function nextWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'iduću nedjelju u' p"; + case 3: + return "'iduću srijedu u' p"; + case 6: + return "'iduću subotu u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/_lib/localize/index.js b/node_modules/date-fns/locale/hr/_lib/localize/index.js new file mode 100644 index 000000000..b39602ded --- /dev/null +++ b/node_modules/date-fns/locale/hr/_lib/localize/index.js @@ -0,0 +1,135 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['pr.n.e.', 'AD'], + abbreviated: ['pr. Kr.', 'po. Kr.'], + wide: ['Prije Krista', 'Poslije Krista'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + wide: ['siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + wide: ['siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenog', 'prosinca'] +}; +var dayValues = { + narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + short: ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + abbreviated: ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + wide: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'poslije podne', + evening: 'navečer', + night: 'noću' + } +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'popodne', + evening: 'navečer', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutro', + afternoon: 'poslije podne', + evening: 'navečer', + night: 'noću' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/_lib/match/index.js b/node_modules/date-fns/locale/hr/_lib/match/index.js new file mode 100644 index 000000000..e786bda65 --- /dev/null +++ b/node_modules/date-fns/locale/hr/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pr\.n\.e\.|AD)/i, + abbreviated: /^(pr\.\s?Kr\.|po\.\s?Kr\.)/i, + wide: /^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|nova)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?kv\.?/i, + wide: /^[1234]\. kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i, + wide: /^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i +}; +var parseMonthPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i, /8/i, /9/i, /10/i, /11/i, /12/i], + abbreviated: [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i], + wide: [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i] +}; +var matchDayPatterns = { + narrow: /^[npusčc]/i, + short: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i, + abbreviated: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i, + wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^pono/i, + noon: /^pod/i, + morning: /jutro/i, + afternoon: /(poslije\s|po)+podne/i, + evening: /(navece|naveče)/i, + night: /(nocu|noću)/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/index.d.ts b/node_modules/date-fns/locale/hr/index.d.ts new file mode 100644 index 000000000..025baa3b3 --- /dev/null +++ b/node_modules/date-fns/locale/hr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hr } from 'date-fns/locale' +export default hr diff --git a/node_modules/date-fns/locale/hr/index.js b/node_modules/date-fns/locale/hr/index.js new file mode 100644 index 000000000..fcc989d37 --- /dev/null +++ b/node_modules/date-fns/locale/hr/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Croatian locale. + * @language Croatian + * @iso-639-2 hrv + * @author Matija Marohnić [@silvenon]{@link https://github.com/silvenon} + * @author Manico [@manico]{@link https://github.com/manico} + * @author Ivan Jeržabek [@jerzabek]{@link https://github.com/jerzabek} + */ +var locale = { + code: 'hr', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hr/index.js.flow b/node_modules/date-fns/locale/hr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/hr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/hr/package.json b/node_modules/date-fns/locale/hr/package.json new file mode 100644 index 000000000..1785e94bf --- /dev/null +++ b/node_modules/date-fns/locale/hr/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/hr/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ht/_lib/formatDistance/index.js new file mode 100644 index 000000000..311af6bde --- /dev/null +++ b/node_modules/date-fns/locale/ht/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mwens pase yon segond', + other: 'mwens pase {{count}} segond' + }, + xSeconds: { + one: '1 segond', + other: '{{count}} segond' + }, + halfAMinute: '30 segond', + lessThanXMinutes: { + one: 'mwens pase yon minit', + other: 'mwens pase {{count}} minit' + }, + xMinutes: { + one: '1 minit', + other: '{{count}} minit' + }, + aboutXHours: { + one: 'anviwon inè', + other: 'anviwon {{count}} è' + }, + xHours: { + one: '1 lè', + other: '{{count}} lè' + }, + xDays: { + one: '1 jou', + other: '{{count}} jou' + }, + aboutXWeeks: { + one: 'anviwon 1 semèn', + other: 'anviwon {{count}} semèn' + }, + xWeeks: { + one: '1 semèn', + other: '{{count}} semèn' + }, + aboutXMonths: { + one: 'anviwon 1 mwa', + other: 'anviwon {{count}} mwa' + }, + xMonths: { + one: '1 mwa', + other: '{{count}} mwa' + }, + aboutXYears: { + one: 'anviwon 1 an', + other: 'anviwon {{count}} an' + }, + xYears: { + one: '1 an', + other: '{{count}} an' + }, + overXYears: { + one: 'plis pase 1 an', + other: 'plis pase {{count}} an' + }, + almostXYears: { + one: 'prèske 1 an', + other: 'prèske {{count}} an' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'nan ' + result; + } else { + return 'sa fè ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/_lib/formatLong/index.js b/node_modules/date-fns/locale/ht/_lib/formatLong/index.js new file mode 100644 index 000000000..a62b1a39b --- /dev/null +++ b/node_modules/date-fns/locale/ht/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'nan lè' {{time}}", + long: "{{date}} 'nan lè' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ht/_lib/formatRelative/index.js new file mode 100644 index 000000000..a312d64c8 --- /dev/null +++ b/node_modules/date-fns/locale/ht/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'pase nan lè' p", + yesterday: "'yè nan lè' p", + today: "'jodi a' p", + tomorrow: "'demen nan lè' p'", + nextWeek: "eeee 'pwochen nan lè' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/_lib/localize/index.js b/node_modules/date-fns/locale/ht/_lib/localize/index.js new file mode 100644 index 000000000..4a3a860e0 --- /dev/null +++ b/node_modules/date-fns/locale/ht/_lib/localize/index.js @@ -0,0 +1,96 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['av. J.-K', 'ap. J.-K'], + abbreviated: ['av. J.-K', 'ap. J.-K'], + wide: ['anvan Jezi Kris', 'apre Jezi Kris'] +}; +var quarterValues = { + narrow: ['T1', 'T2', 'T3', 'T4'], + abbreviated: ['1ye trim.', '2yèm trim.', '3yèm trim.', '4yèm trim.'], + wide: ['1ye trimès', '2yèm trimès', '3yèm trimès', '4yèm trimès'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'fevr.', 'mas', 'avr.', 'me', 'jen', 'jiyè', 'out', 'sept.', 'okt.', 'nov.', 'des.'], + wide: ['janvye', 'fevrye', 'mas', 'avril', 'me', 'jen', 'jiyè', 'out', 'septanm', 'oktòb', 'novanm', 'desanm'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + short: ['di', 'le', 'ma', 'mè', 'je', 'va', 'sa'], + abbreviated: ['dim.', 'len.', 'mad.', 'mèk.', 'jed.', 'van.', 'sam.'], + wide: ['dimanch', 'lendi', 'madi', 'mèkredi', 'jedi', 'vandredi', 'samdi'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'minwit', + noon: 'midi', + morning: 'mat.', + afternoon: 'ap.m.', + evening: 'swa', + night: 'mat.' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'minwit', + noon: 'midi', + morning: 'maten', + afternoon: 'aprèmidi', + evening: 'swa', + night: 'maten' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'minwit', + noon: 'midi', + morning: 'nan maten', + afternoon: 'nan aprèmidi', + evening: 'nan aswè', + night: 'nan maten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + if (number === 0) return String(number); + var suffix = number === 1 ? 'ye' : 'yèm'; + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/_lib/match/index.js b/node_modules/date-fns/locale/ht/_lib/match/index.js new file mode 100644 index 000000000..8b40a8544 --- /dev/null +++ b/node_modules/date-fns/locale/ht/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(ye|yèm)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(av\.J\.K|ap\.J\.K|ap\.J\.-K)/i, + abbreviated: /^(av\.J\.-K|av\.J-K|apr\.J\.-K|apr\.J-K|ap\.J-K)/i, + wide: /^(avan Jezi Kris|apre Jezi Kris)/i +}; +var parseEraPatterns = { + any: [/^av/i, /^ap/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^t[1234]/i, + wide: /^[1234](ye|yèm)? trimès/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(janv|fevr|mas|avr|me|jen|jiyè|out|sept|okt|nov|des)\.?/i, + wide: /^(janvye|fevrye|mas|avril|me|jen|jiyè|out|septanm|oktòb|novanm|desanm)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^o/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^ma/i, /^av/i, /^me/i, /^je/i, /^ji/i, /^ou/i, /^s/i, /^ok/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[lmjvsd]/i, + short: /^(di|le|ma|me|je|va|sa)/i, + abbreviated: /^(dim|len|mad|mèk|jed|van|sam)\.?/i, + wide: /^(dimanch|lendi|madi|mèkredi|jedi|vandredi|samdi)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^di/i, /^le/i, /^ma/i, /^mè/i, /^je/i, /^va/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|minwit|midi|mat\.?|ap\.?m\.?|swa)/i, + any: /^([ap]\.?\s?m\.?|nan maten|nan aprèmidi|nan aswè)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^min/i, + noon: /^mid/i, + morning: /mat/i, + afternoon: /ap/i, + evening: /sw/i, + night: /nwit/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/index.d.ts b/node_modules/date-fns/locale/ht/index.d.ts new file mode 100644 index 000000000..7362d752f --- /dev/null +++ b/node_modules/date-fns/locale/ht/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ht } from 'date-fns/locale' +export default ht diff --git a/node_modules/date-fns/locale/ht/index.js b/node_modules/date-fns/locale/ht/index.js new file mode 100644 index 000000000..f01de879d --- /dev/null +++ b/node_modules/date-fns/locale/ht/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Haitian Creole locale. + * @language Haitian Creole + * @iso-639-2 hat + * @author Rubens Mariuzzo [@rmariuzzo]{@link https://github.com/rmariuzzo} + * @author Watson Marcelain [@watsongm24]{@link https://github.com/watsongm24} + */ +var locale = { + code: 'ht', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ht/index.js.flow b/node_modules/date-fns/locale/ht/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ht/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ht/package.json b/node_modules/date-fns/locale/ht/package.json new file mode 100644 index 000000000..00c08dcef --- /dev/null +++ b/node_modules/date-fns/locale/ht/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ht/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/_lib/formatDistance/index.js b/node_modules/date-fns/locale/hu/_lib/formatDistance/index.js new file mode 100644 index 000000000..c6e6e35c0 --- /dev/null +++ b/node_modules/date-fns/locale/hu/_lib/formatDistance/index.js @@ -0,0 +1,81 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var translations = { + about: 'körülbelül', + over: 'több mint', + almost: 'majdnem', + lessthan: 'kevesebb mint' +}; +var withoutSuffixes = { + xseconds: ' másodperc', + halfaminute: 'fél perc', + xminutes: ' perc', + xhours: ' óra', + xdays: ' nap', + xweeks: ' hét', + xmonths: ' hónap', + xyears: ' év' +}; +var withSuffixes = { + xseconds: { + '-1': ' másodperccel ezelőtt', + '1': ' másodperc múlva', + '0': ' másodperce' + }, + halfaminute: { + '-1': 'fél perccel ezelőtt', + '1': 'fél perc múlva', + '0': 'fél perce' + }, + xminutes: { + '-1': ' perccel ezelőtt', + '1': ' perc múlva', + '0': ' perce' + }, + xhours: { + '-1': ' órával ezelőtt', + '1': ' óra múlva', + '0': ' órája' + }, + xdays: { + '-1': ' nappal ezelőtt', + '1': ' nap múlva', + '0': ' napja' + }, + xweeks: { + '-1': ' héttel ezelőtt', + '1': ' hét múlva', + '0': ' hete' + }, + xmonths: { + '-1': ' hónappal ezelőtt', + '1': ' hónap múlva', + '0': ' hónapja' + }, + xyears: { + '-1': ' évvel ezelőtt', + '1': ' év múlva', + '0': ' éve' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var adverb = token.match(/about|over|almost|lessthan/i); + var unit = adverb ? token.replace(adverb[0], '') : token; + var addSuffix = (options === null || options === void 0 ? void 0 : options.addSuffix) === true; + var key = unit.toLowerCase(); + var comparison = (options === null || options === void 0 ? void 0 : options.comparison) || 0; + var translated = addSuffix ? withSuffixes[key][comparison] : withoutSuffixes[key]; + var result = key === 'halfaminute' ? translated : count + translated; + if (adverb) { + var adv = adverb[0].toLowerCase(); + result = translations[adv] + ' ' + result; + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/_lib/formatLong/index.js b/node_modules/date-fns/locale/hu/_lib/formatLong/index.js new file mode 100644 index 000000000..0ef4cfca6 --- /dev/null +++ b/node_modules/date-fns/locale/hu/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'y. MMMM d., EEEE', + long: 'y. MMMM d.', + medium: 'y. MMM d.', + short: 'y. MM. dd.' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/_lib/formatRelative/index.js b/node_modules/date-fns/locale/hu/_lib/formatRelative/index.js new file mode 100644 index 000000000..3c7ff4a6e --- /dev/null +++ b/node_modules/date-fns/locale/hu/_lib/formatRelative/index.js @@ -0,0 +1,32 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var accusativeWeekdays = ['vasárnap', 'hétfőn', 'kedden', 'szerdán', 'csütörtökön', 'pénteken', 'szombaton']; +function week(isFuture) { + return function (date) { + var weekday = accusativeWeekdays[date.getUTCDay()]; + var prefix = isFuture ? '' : "'múlt' "; + return "".concat(prefix, "'").concat(weekday, "' p'-kor'"); + }; +} +var formatRelativeLocale = { + lastWeek: week(false), + yesterday: "'tegnap' p'-kor'", + today: "'ma' p'-kor'", + tomorrow: "'holnap' p'-kor'", + nextWeek: week(true), + other: 'P' +}; +var formatRelative = function formatRelative(token, date) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/_lib/localize/index.js b/node_modules/date-fns/locale/hu/_lib/localize/index.js new file mode 100644 index 000000000..25ae65b42 --- /dev/null +++ b/node_modules/date-fns/locale/hu/_lib/localize/index.js @@ -0,0 +1,101 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ie.', 'isz.'], + abbreviated: ['i. e.', 'i. sz.'], + wide: ['Krisztus előtt', 'időszámításunk szerint'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. n.év', '2. n.év', '3. n.év', '4. n.év'], + wide: ['1. negyedév', '2. negyedév', '3. negyedév', '4. negyedév'] +}; +var formattingQuarterValues = { + narrow: ['I.', 'II.', 'III.', 'IV.'], + abbreviated: ['I. n.év', 'II. n.év', 'III. n.év', 'IV. n.év'], + wide: ['I. negyedév', 'II. negyedév', 'III. negyedév', 'IV. negyedév'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], + abbreviated: ['jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.', 'dec.'], + wide: ['január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december'] +}; +var dayValues = { + narrow: ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], + short: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + abbreviated: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + wide: ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'] +}; +var dayPeriodValues = { + narrow: { + am: 'de.', + pm: 'du.', + midnight: 'éjfél', + noon: 'dél', + morning: 'reggel', + afternoon: 'du.', + evening: 'este', + night: 'éjjel' + }, + abbreviated: { + am: 'de.', + pm: 'du.', + midnight: 'éjfél', + noon: 'dél', + morning: 'reggel', + afternoon: 'du.', + evening: 'este', + night: 'éjjel' + }, + wide: { + am: 'de.', + pm: 'du.', + midnight: 'éjfél', + noon: 'dél', + morning: 'reggel', + afternoon: 'délután', + evening: 'este', + night: 'éjjel' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + }, + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide' + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/_lib/match/index.js b/node_modules/date-fns/locale/hu/_lib/match/index.js new file mode 100644 index 000000000..de98672fb --- /dev/null +++ b/node_modules/date-fns/locale/hu/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ie\.|isz\.)/i, + abbreviated: /^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i, + wide: /^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i +}; +var parseEraPatterns = { + narrow: [/ie/i, /isz/i], + abbreviated: [/^(i\.?\s?e\.?|b\s?ce)/i, /^(i\.?\s?sz\.?|c\s?e)/i], + any: [/előtt/i, /(szerint|i. sz.)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]\.?/i, + abbreviated: /^[1234]?\.?\s?n\.év/i, + wide: /^([1234]|I|II|III|IV)?\.?\s?negyedév/i +}; +var parseQuarterPatterns = { + any: [/1|I$/i, /2|II$/i, /3|III/i, /4|IV/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmaásond]|sz/i, + abbreviated: /^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i, + wide: /^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a|á/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s|sz/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^már/i, /^áp/i, /^máj/i, /^jún/i, /^júl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^([vhkpc]|sz|cs|sz)/i, + short: /^([vhkp]|sze|cs|szo)/i, + abbreviated: /^([vhkp]|sze|cs|szo)/i, + wide: /^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i +}; +var parseDayPatterns = { + narrow: [/^v/i, /^h/i, /^k/i, /^sz/i, /^c/i, /^p/i, /^sz/i], + any: [/^v/i, /^h/i, /^k/i, /^sze/i, /^c/i, /^p/i, /^szo/i] +}; +var matchDayPeriodPatterns = { + any: /^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^de\.?/i, + pm: /^du\.?/i, + midnight: /^éjf/i, + noon: /^dé/i, + morning: /reg/i, + afternoon: /^délu\.?/i, + evening: /es/i, + night: /éjj/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/index.d.ts b/node_modules/date-fns/locale/hu/index.d.ts new file mode 100644 index 000000000..979baa6e3 --- /dev/null +++ b/node_modules/date-fns/locale/hu/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hu } from 'date-fns/locale' +export default hu diff --git a/node_modules/date-fns/locale/hu/index.js b/node_modules/date-fns/locale/hu/index.js new file mode 100644 index 000000000..9f1d9a87e --- /dev/null +++ b/node_modules/date-fns/locale/hu/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Hungarian locale. + * @language Hungarian + * @iso-639-2 hun + * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak} + * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll} + * @author Zoltan Szepesi [@twodcube]{@link https://github.com/twodcube} + */ +var locale = { + code: 'hu', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hu/index.js.flow b/node_modules/date-fns/locale/hu/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/hu/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/hu/package.json b/node_modules/date-fns/locale/hu/package.json new file mode 100644 index 000000000..3df7975ea --- /dev/null +++ b/node_modules/date-fns/locale/hu/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/hu/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/_lib/formatDistance/index.js b/node_modules/date-fns/locale/hy/_lib/formatDistance/index.js new file mode 100644 index 000000000..7c6d51069 --- /dev/null +++ b/node_modules/date-fns/locale/hy/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'ավելի քիչ քան 1 վայրկյան', + other: 'ավելի քիչ քան {{count}} վայրկյան' + }, + xSeconds: { + one: '1 վայրկյան', + other: '{{count}} վայրկյան' + }, + halfAMinute: 'կես րոպե', + lessThanXMinutes: { + one: 'ավելի քիչ քան 1 րոպե', + other: 'ավելի քիչ քան {{count}} րոպե' + }, + xMinutes: { + one: '1 րոպե', + other: '{{count}} րոպե' + }, + aboutXHours: { + one: 'մոտ 1 ժամ', + other: 'մոտ {{count}} ժամ' + }, + xHours: { + one: '1 ժամ', + other: '{{count}} ժամ' + }, + xDays: { + one: '1 օր', + other: '{{count}} օր' + }, + aboutXWeeks: { + one: 'մոտ 1 շաբաթ', + other: 'մոտ {{count}} շաբաթ' + }, + xWeeks: { + one: '1 շաբաթ', + other: '{{count}} շաբաթ' + }, + aboutXMonths: { + one: 'մոտ 1 ամիս', + other: 'մոտ {{count}} ամիս' + }, + xMonths: { + one: '1 ամիս', + other: '{{count}} ամիս' + }, + aboutXYears: { + one: 'մոտ 1 տարի', + other: 'մոտ {{count}} տարի' + }, + xYears: { + one: '1 տարի', + other: '{{count}} տարի' + }, + overXYears: { + one: 'ավելի քան 1 տարի', + other: 'ավելի քան {{count}} տարի' + }, + almostXYears: { + one: 'համարյա 1 տարի', + other: 'համարյա {{count}} տարի' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' հետո'; + } else { + return result + ' առաջ'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/_lib/formatLong/index.js b/node_modules/date-fns/locale/hy/_lib/formatLong/index.js new file mode 100644 index 000000000..dcff3c871 --- /dev/null +++ b/node_modules/date-fns/locale/hy/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'd MMMM, y, EEEE', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'ժ․'{{time}}", + long: "{{date}} 'ժ․'{{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/_lib/formatRelative/index.js b/node_modules/date-fns/locale/hy/_lib/formatRelative/index.js new file mode 100644 index 000000000..f1fd3f5bd --- /dev/null +++ b/node_modules/date-fns/locale/hy/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'նախորդ' eeee p'֊ին'", + yesterday: "'երեկ' p'֊ին'", + today: "'այսօր' p'֊ին'", + tomorrow: "'վաղը' p'֊ին'", + nextWeek: "'հաջորդ' eeee p'֊ին'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/_lib/localize/index.js b/node_modules/date-fns/locale/hy/_lib/localize/index.js new file mode 100644 index 000000000..1dc4d2eef --- /dev/null +++ b/node_modules/date-fns/locale/hy/_lib/localize/index.js @@ -0,0 +1,142 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['Ք', 'Մ'], + abbreviated: ['ՔԱ', 'ՄԹ'], + wide: ['Քրիստոսից առաջ', 'Մեր թվարկության'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Ք1', 'Ք2', 'Ք3', 'Ք4'], + wide: ['1֊ին քառորդ', '2֊րդ քառորդ', '3֊րդ քառորդ', '4֊րդ քառորդ'] +}; +var monthValues = { + narrow: ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + abbreviated: ['հուն', 'փետ', 'մար', 'ապր', 'մայ', 'հուն', 'հուլ', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], + wide: ['հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր'] +}; +var dayValues = { + narrow: ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], + short: ['կր', 'եր', 'եք', 'չք', 'հգ', 'ուր', 'շբ'], + abbreviated: ['կիր', 'երկ', 'երք', 'չոր', 'հնգ', 'ուրբ', 'շաբ'], + wide: ['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'կեսգշ', + noon: 'կեսօր', + morning: 'առավոտ', + afternoon: 'ցերեկ', + evening: 'երեկո', + night: 'գիշեր' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'կեսգիշեր', + noon: 'կեսօր', + morning: 'առավոտ', + afternoon: 'ցերեկ', + evening: 'երեկո', + night: 'գիշեր' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'կեսգիշեր', + noon: 'կեսօր', + morning: 'առավոտ', + afternoon: 'ցերեկ', + evening: 'երեկո', + night: 'գիշեր' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'կեսգշ', + noon: 'կեսօր', + morning: 'առավոտը', + afternoon: 'ցերեկը', + evening: 'երեկոյան', + night: 'գիշերը' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'կեսգիշերին', + noon: 'կեսօրին', + morning: 'առավոտը', + afternoon: 'ցերեկը', + evening: 'երեկոյան', + night: 'գիշերը' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'կեսգիշերին', + noon: 'կեսօրին', + morning: 'առավոտը', + afternoon: 'ցերեկը', + evening: 'երեկոյան', + night: 'գիշերը' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + + // If ordinal numbers depend on context, for example, + // if they are different for different grammatical genders, + // use `options.unit`. + // + // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear', + // 'day', 'hour', 'minute', 'second'. + + var rem100 = number % 100; + if (rem100 < 10) { + if (rem100 % 10 === 1) { + return number + '֊ին'; + } + } + return number + '֊րդ'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/_lib/match/index.js b/node_modules/date-fns/locale/hy/_lib/match/index.js new file mode 100644 index 000000000..a2f0d689a --- /dev/null +++ b/node_modules/date-fns/locale/hy/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)((-|֊)?(ին|րդ))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(Ք|Մ)/i, + abbreviated: /^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i, + wide: /^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i +}; +var parseEraPatterns = { + any: [/^ք/i, /^մ/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ք[1234]/i, + wide: /^[1234]((-|֊)?(ին|րդ)) քառորդ/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[հփմաօսնդ]/i, + abbreviated: /^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i, + wide: /^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i +}; +var parseMonthPatterns = { + narrow: [/^հ/i, /^փ/i, /^մ/i, /^ա/i, /^մ/i, /^հ/i, /^հ/i, /^օ/i, /^ս/i, /^հ/i, /^ն/i, /^դ/i], + any: [/^հու/i, /^փ/i, /^մար/i, /^ա/i, /^մայ/i, /^հուն/i, /^հուլ/i, /^օ/i, /^ս/i, /^հոկ/i, /^ն/i, /^դ/i] +}; +var matchDayPatterns = { + narrow: /^[եչհոշկ]/i, + short: /^(կր|եր|եք|չք|հգ|ուր|շբ)/i, + abbreviated: /^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i, + wide: /^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i +}; +var parseDayPatterns = { + narrow: [/^կ/i, /^ե/i, /^ե/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i], + short: [/^կ/i, /^եր/i, /^եք/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i], + abbreviated: [/^կ/i, /^երկ/i, /^երք/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i], + wide: [/^կ/i, /^երկ/i, /^երե/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i, + any: /^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /կեսգիշեր/i, + noon: /կեսօր/i, + morning: /առավոտ/i, + afternoon: /ցերեկ/i, + evening: /երեկո/i, + night: /գիշեր/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/index.d.ts b/node_modules/date-fns/locale/hy/index.d.ts new file mode 100644 index 000000000..a79f29e1a --- /dev/null +++ b/node_modules/date-fns/locale/hy/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { hy } from 'date-fns/locale' +export default hy diff --git a/node_modules/date-fns/locale/hy/index.js b/node_modules/date-fns/locale/hy/index.js new file mode 100644 index 000000000..da5ea1bd8 --- /dev/null +++ b/node_modules/date-fns/locale/hy/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Armenian locale + * @language Armenian + * @iso-639-2 arm + * @author Alex Igityan [@alexigityan]{@link https://github.com/alexigityan} + */ +var locale = { + code: 'hy', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/hy/index.js.flow b/node_modules/date-fns/locale/hy/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/hy/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/hy/package.json b/node_modules/date-fns/locale/hy/package.json new file mode 100644 index 000000000..e93ec4898 --- /dev/null +++ b/node_modules/date-fns/locale/hy/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/hy/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/_lib/formatDistance/index.js b/node_modules/date-fns/locale/id/_lib/formatDistance/index.js new file mode 100644 index 000000000..0ce81b850 --- /dev/null +++ b/node_modules/date-fns/locale/id/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'kurang dari 1 detik', + other: 'kurang dari {{count}} detik' + }, + xSeconds: { + one: '1 detik', + other: '{{count}} detik' + }, + halfAMinute: 'setengah menit', + lessThanXMinutes: { + one: 'kurang dari 1 menit', + other: 'kurang dari {{count}} menit' + }, + xMinutes: { + one: '1 menit', + other: '{{count}} menit' + }, + aboutXHours: { + one: 'sekitar 1 jam', + other: 'sekitar {{count}} jam' + }, + xHours: { + one: '1 jam', + other: '{{count}} jam' + }, + xDays: { + one: '1 hari', + other: '{{count}} hari' + }, + aboutXWeeks: { + one: 'sekitar 1 minggu', + other: 'sekitar {{count}} minggu' + }, + xWeeks: { + one: '1 minggu', + other: '{{count}} minggu' + }, + aboutXMonths: { + one: 'sekitar 1 bulan', + other: 'sekitar {{count}} bulan' + }, + xMonths: { + one: '1 bulan', + other: '{{count}} bulan' + }, + aboutXYears: { + one: 'sekitar 1 tahun', + other: 'sekitar {{count}} tahun' + }, + xYears: { + one: '1 tahun', + other: '{{count}} tahun' + }, + overXYears: { + one: 'lebih dari 1 tahun', + other: 'lebih dari {{count}} tahun' + }, + almostXYears: { + one: 'hampir 1 tahun', + other: 'hampir {{count}} tahun' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'dalam waktu ' + result; + } else { + return result + ' yang lalu'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/_lib/formatLong/index.js b/node_modules/date-fns/locale/id/_lib/formatLong/index.js new file mode 100644 index 000000000..6afa95cf5 --- /dev/null +++ b/node_modules/date-fns/locale/id/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'd/M/yyyy' +}; +var timeFormats = { + full: 'HH.mm.ss', + long: 'HH.mm.ss', + medium: 'HH.mm', + short: 'HH.mm' +}; +var dateTimeFormats = { + full: "{{date}} 'pukul' {{time}}", + long: "{{date}} 'pukul' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/_lib/formatRelative/index.js b/node_modules/date-fns/locale/id/_lib/formatRelative/index.js new file mode 100644 index 000000000..c4774bee3 --- /dev/null +++ b/node_modules/date-fns/locale/id/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'lalu pukul' p", + yesterday: "'Kemarin pukul' p", + today: "'Hari ini pukul' p", + tomorrow: "'Besok pukul' p", + nextWeek: "eeee 'pukul' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/_lib/localize/index.js b/node_modules/date-fns/locale/id/_lib/localize/index.js new file mode 100644 index 000000000..deb2f253a --- /dev/null +++ b/node_modules/date-fns/locale/id/_lib/localize/index.js @@ -0,0 +1,138 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// All data for localization are taken from this page +// https://www.unicode.org/cldr/charts/32/summary/id.html +var eraValues = { + narrow: ['SM', 'M'], + abbreviated: ['SM', 'M'], + wide: ['Sebelum Masehi', 'Masehi'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['Kuartal ke-1', 'Kuartal ke-2', 'Kuartal ke-3', 'Kuartal ke-4'] +}; + +// Note: in Indonesian, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'], + wide: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'] +}; +var dayValues = { + narrow: ['M', 'S', 'S', 'R', 'K', 'J', 'S'], + short: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + abbreviated: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + wide: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'siang', + evening: 'sore', + night: 'malam' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + + // Can't use "pertama", "kedua" because can't be parsed + + return 'ke-' + number; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/_lib/match/index.js b/node_modules/date-fns/locale/id/_lib/match/index.js new file mode 100644 index 000000000..b4fdb5b20 --- /dev/null +++ b/node_modules/date-fns/locale/id/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^ke-(\d+)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(sm|m)/i, + abbreviated: /^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i, + wide: /^(sebelum masehi|sebelum era umum|masehi|era umum)/i +}; +var parseEraPatterns = { + any: [/^s/i, /^(m|e)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K-?\s[1234]/i, + wide: /^Kuartal ke-?\s?[1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i, + wide: /^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^ma/i, /^ap/i, /^me/i, /^jun/i, /^jul/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[srkjm]/i, + short: /^(min|sen|sel|rab|kam|jum|sab)/i, + abbreviated: /^(min|sen|sel|rab|kam|jum|sab)/i, + wide: /^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i +}; +var parseDayPatterns = { + narrow: [/^m/i, /^s/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i], + any: [/^m/i, /^sen/i, /^sel/i, /^r/i, /^k/i, /^j/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i, + any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^pm/i, + midnight: /^tengah m/i, + noon: /^tengah h/i, + morning: /pagi/i, + afternoon: /siang/i, + evening: /sore/i, + night: /malam/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/index.d.ts b/node_modules/date-fns/locale/id/index.d.ts new file mode 100644 index 000000000..2bf83f4f6 --- /dev/null +++ b/node_modules/date-fns/locale/id/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { id } from 'date-fns/locale' +export default id diff --git a/node_modules/date-fns/locale/id/index.js b/node_modules/date-fns/locale/id/index.js new file mode 100644 index 000000000..fb456c12e --- /dev/null +++ b/node_modules/date-fns/locale/id/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Indonesian locale. + * @language Indonesian + * @iso-639-2 ind + * @author Rahmat Budiharso [@rbudiharso]{@link https://github.com/rbudiharso} + * @author Benget Nata [@bentinata]{@link https://github.com/bentinata} + * @author Budi Irawan [@deerawan]{@link https://github.com/deerawan} + * @author Try Ajitiono [@imballinst]{@link https://github.com/imballinst} + */ +var locale = { + code: 'id', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/id/index.js.flow b/node_modules/date-fns/locale/id/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/id/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/id/package.json b/node_modules/date-fns/locale/id/package.json new file mode 100644 index 000000000..de84b10c2 --- /dev/null +++ b/node_modules/date-fns/locale/id/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/id/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/index.js b/node_modules/date-fns/locale/index.js new file mode 100644 index 000000000..d1c696a4f --- /dev/null +++ b/node_modules/date-fns/locale/index.js @@ -0,0 +1,657 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "af", { + enumerable: true, + get: function get() { + return _index.default; + } +}); +Object.defineProperty(exports, "ar", { + enumerable: true, + get: function get() { + return _index2.default; + } +}); +Object.defineProperty(exports, "arDZ", { + enumerable: true, + get: function get() { + return _index3.default; + } +}); +Object.defineProperty(exports, "arEG", { + enumerable: true, + get: function get() { + return _index4.default; + } +}); +Object.defineProperty(exports, "arMA", { + enumerable: true, + get: function get() { + return _index5.default; + } +}); +Object.defineProperty(exports, "arSA", { + enumerable: true, + get: function get() { + return _index6.default; + } +}); +Object.defineProperty(exports, "arTN", { + enumerable: true, + get: function get() { + return _index7.default; + } +}); +Object.defineProperty(exports, "az", { + enumerable: true, + get: function get() { + return _index8.default; + } +}); +Object.defineProperty(exports, "be", { + enumerable: true, + get: function get() { + return _index9.default; + } +}); +Object.defineProperty(exports, "beTarask", { + enumerable: true, + get: function get() { + return _index10.default; + } +}); +Object.defineProperty(exports, "bg", { + enumerable: true, + get: function get() { + return _index11.default; + } +}); +Object.defineProperty(exports, "bn", { + enumerable: true, + get: function get() { + return _index12.default; + } +}); +Object.defineProperty(exports, "bs", { + enumerable: true, + get: function get() { + return _index13.default; + } +}); +Object.defineProperty(exports, "ca", { + enumerable: true, + get: function get() { + return _index14.default; + } +}); +Object.defineProperty(exports, "cs", { + enumerable: true, + get: function get() { + return _index15.default; + } +}); +Object.defineProperty(exports, "cy", { + enumerable: true, + get: function get() { + return _index16.default; + } +}); +Object.defineProperty(exports, "da", { + enumerable: true, + get: function get() { + return _index17.default; + } +}); +Object.defineProperty(exports, "de", { + enumerable: true, + get: function get() { + return _index18.default; + } +}); +Object.defineProperty(exports, "deAT", { + enumerable: true, + get: function get() { + return _index19.default; + } +}); +Object.defineProperty(exports, "el", { + enumerable: true, + get: function get() { + return _index20.default; + } +}); +Object.defineProperty(exports, "enAU", { + enumerable: true, + get: function get() { + return _index21.default; + } +}); +Object.defineProperty(exports, "enCA", { + enumerable: true, + get: function get() { + return _index22.default; + } +}); +Object.defineProperty(exports, "enGB", { + enumerable: true, + get: function get() { + return _index23.default; + } +}); +Object.defineProperty(exports, "enIE", { + enumerable: true, + get: function get() { + return _index24.default; + } +}); +Object.defineProperty(exports, "enIN", { + enumerable: true, + get: function get() { + return _index25.default; + } +}); +Object.defineProperty(exports, "enNZ", { + enumerable: true, + get: function get() { + return _index26.default; + } +}); +Object.defineProperty(exports, "enUS", { + enumerable: true, + get: function get() { + return _index27.default; + } +}); +Object.defineProperty(exports, "enZA", { + enumerable: true, + get: function get() { + return _index28.default; + } +}); +Object.defineProperty(exports, "eo", { + enumerable: true, + get: function get() { + return _index29.default; + } +}); +Object.defineProperty(exports, "es", { + enumerable: true, + get: function get() { + return _index30.default; + } +}); +Object.defineProperty(exports, "et", { + enumerable: true, + get: function get() { + return _index31.default; + } +}); +Object.defineProperty(exports, "eu", { + enumerable: true, + get: function get() { + return _index32.default; + } +}); +Object.defineProperty(exports, "faIR", { + enumerable: true, + get: function get() { + return _index33.default; + } +}); +Object.defineProperty(exports, "fi", { + enumerable: true, + get: function get() { + return _index34.default; + } +}); +Object.defineProperty(exports, "fr", { + enumerable: true, + get: function get() { + return _index35.default; + } +}); +Object.defineProperty(exports, "frCA", { + enumerable: true, + get: function get() { + return _index36.default; + } +}); +Object.defineProperty(exports, "frCH", { + enumerable: true, + get: function get() { + return _index37.default; + } +}); +Object.defineProperty(exports, "fy", { + enumerable: true, + get: function get() { + return _index38.default; + } +}); +Object.defineProperty(exports, "gd", { + enumerable: true, + get: function get() { + return _index39.default; + } +}); +Object.defineProperty(exports, "gl", { + enumerable: true, + get: function get() { + return _index40.default; + } +}); +Object.defineProperty(exports, "gu", { + enumerable: true, + get: function get() { + return _index41.default; + } +}); +Object.defineProperty(exports, "he", { + enumerable: true, + get: function get() { + return _index42.default; + } +}); +Object.defineProperty(exports, "hi", { + enumerable: true, + get: function get() { + return _index43.default; + } +}); +Object.defineProperty(exports, "hr", { + enumerable: true, + get: function get() { + return _index44.default; + } +}); +Object.defineProperty(exports, "ht", { + enumerable: true, + get: function get() { + return _index45.default; + } +}); +Object.defineProperty(exports, "hu", { + enumerable: true, + get: function get() { + return _index46.default; + } +}); +Object.defineProperty(exports, "hy", { + enumerable: true, + get: function get() { + return _index47.default; + } +}); +Object.defineProperty(exports, "id", { + enumerable: true, + get: function get() { + return _index48.default; + } +}); +Object.defineProperty(exports, "is", { + enumerable: true, + get: function get() { + return _index49.default; + } +}); +Object.defineProperty(exports, "it", { + enumerable: true, + get: function get() { + return _index50.default; + } +}); +Object.defineProperty(exports, "itCH", { + enumerable: true, + get: function get() { + return _index51.default; + } +}); +Object.defineProperty(exports, "ja", { + enumerable: true, + get: function get() { + return _index52.default; + } +}); +Object.defineProperty(exports, "jaHira", { + enumerable: true, + get: function get() { + return _index53.default; + } +}); +Object.defineProperty(exports, "ka", { + enumerable: true, + get: function get() { + return _index54.default; + } +}); +Object.defineProperty(exports, "kk", { + enumerable: true, + get: function get() { + return _index55.default; + } +}); +Object.defineProperty(exports, "km", { + enumerable: true, + get: function get() { + return _index56.default; + } +}); +Object.defineProperty(exports, "kn", { + enumerable: true, + get: function get() { + return _index57.default; + } +}); +Object.defineProperty(exports, "ko", { + enumerable: true, + get: function get() { + return _index58.default; + } +}); +Object.defineProperty(exports, "lb", { + enumerable: true, + get: function get() { + return _index59.default; + } +}); +Object.defineProperty(exports, "lt", { + enumerable: true, + get: function get() { + return _index60.default; + } +}); +Object.defineProperty(exports, "lv", { + enumerable: true, + get: function get() { + return _index61.default; + } +}); +Object.defineProperty(exports, "mk", { + enumerable: true, + get: function get() { + return _index62.default; + } +}); +Object.defineProperty(exports, "mn", { + enumerable: true, + get: function get() { + return _index63.default; + } +}); +Object.defineProperty(exports, "ms", { + enumerable: true, + get: function get() { + return _index64.default; + } +}); +Object.defineProperty(exports, "mt", { + enumerable: true, + get: function get() { + return _index65.default; + } +}); +Object.defineProperty(exports, "nb", { + enumerable: true, + get: function get() { + return _index66.default; + } +}); +Object.defineProperty(exports, "nl", { + enumerable: true, + get: function get() { + return _index67.default; + } +}); +Object.defineProperty(exports, "nlBE", { + enumerable: true, + get: function get() { + return _index68.default; + } +}); +Object.defineProperty(exports, "nn", { + enumerable: true, + get: function get() { + return _index69.default; + } +}); +Object.defineProperty(exports, "oc", { + enumerable: true, + get: function get() { + return _index70.default; + } +}); +Object.defineProperty(exports, "pl", { + enumerable: true, + get: function get() { + return _index71.default; + } +}); +Object.defineProperty(exports, "pt", { + enumerable: true, + get: function get() { + return _index72.default; + } +}); +Object.defineProperty(exports, "ptBR", { + enumerable: true, + get: function get() { + return _index73.default; + } +}); +Object.defineProperty(exports, "ro", { + enumerable: true, + get: function get() { + return _index74.default; + } +}); +Object.defineProperty(exports, "ru", { + enumerable: true, + get: function get() { + return _index75.default; + } +}); +Object.defineProperty(exports, "sk", { + enumerable: true, + get: function get() { + return _index76.default; + } +}); +Object.defineProperty(exports, "sl", { + enumerable: true, + get: function get() { + return _index77.default; + } +}); +Object.defineProperty(exports, "sq", { + enumerable: true, + get: function get() { + return _index78.default; + } +}); +Object.defineProperty(exports, "sr", { + enumerable: true, + get: function get() { + return _index79.default; + } +}); +Object.defineProperty(exports, "srLatn", { + enumerable: true, + get: function get() { + return _index80.default; + } +}); +Object.defineProperty(exports, "sv", { + enumerable: true, + get: function get() { + return _index81.default; + } +}); +Object.defineProperty(exports, "ta", { + enumerable: true, + get: function get() { + return _index82.default; + } +}); +Object.defineProperty(exports, "te", { + enumerable: true, + get: function get() { + return _index83.default; + } +}); +Object.defineProperty(exports, "th", { + enumerable: true, + get: function get() { + return _index84.default; + } +}); +Object.defineProperty(exports, "tr", { + enumerable: true, + get: function get() { + return _index85.default; + } +}); +Object.defineProperty(exports, "ug", { + enumerable: true, + get: function get() { + return _index86.default; + } +}); +Object.defineProperty(exports, "uk", { + enumerable: true, + get: function get() { + return _index87.default; + } +}); +Object.defineProperty(exports, "uz", { + enumerable: true, + get: function get() { + return _index88.default; + } +}); +Object.defineProperty(exports, "uzCyrl", { + enumerable: true, + get: function get() { + return _index89.default; + } +}); +Object.defineProperty(exports, "vi", { + enumerable: true, + get: function get() { + return _index90.default; + } +}); +Object.defineProperty(exports, "zhCN", { + enumerable: true, + get: function get() { + return _index91.default; + } +}); +Object.defineProperty(exports, "zhHK", { + enumerable: true, + get: function get() { + return _index92.default; + } +}); +Object.defineProperty(exports, "zhTW", { + enumerable: true, + get: function get() { + return _index93.default; + } +}); +var _index = _interopRequireDefault(require("./af/index.js")); +var _index2 = _interopRequireDefault(require("./ar/index.js")); +var _index3 = _interopRequireDefault(require("./ar-DZ/index.js")); +var _index4 = _interopRequireDefault(require("./ar-EG/index.js")); +var _index5 = _interopRequireDefault(require("./ar-MA/index.js")); +var _index6 = _interopRequireDefault(require("./ar-SA/index.js")); +var _index7 = _interopRequireDefault(require("./ar-TN/index.js")); +var _index8 = _interopRequireDefault(require("./az/index.js")); +var _index9 = _interopRequireDefault(require("./be/index.js")); +var _index10 = _interopRequireDefault(require("./be-tarask/index.js")); +var _index11 = _interopRequireDefault(require("./bg/index.js")); +var _index12 = _interopRequireDefault(require("./bn/index.js")); +var _index13 = _interopRequireDefault(require("./bs/index.js")); +var _index14 = _interopRequireDefault(require("./ca/index.js")); +var _index15 = _interopRequireDefault(require("./cs/index.js")); +var _index16 = _interopRequireDefault(require("./cy/index.js")); +var _index17 = _interopRequireDefault(require("./da/index.js")); +var _index18 = _interopRequireDefault(require("./de/index.js")); +var _index19 = _interopRequireDefault(require("./de-AT/index.js")); +var _index20 = _interopRequireDefault(require("./el/index.js")); +var _index21 = _interopRequireDefault(require("./en-AU/index.js")); +var _index22 = _interopRequireDefault(require("./en-CA/index.js")); +var _index23 = _interopRequireDefault(require("./en-GB/index.js")); +var _index24 = _interopRequireDefault(require("./en-IE/index.js")); +var _index25 = _interopRequireDefault(require("./en-IN/index.js")); +var _index26 = _interopRequireDefault(require("./en-NZ/index.js")); +var _index27 = _interopRequireDefault(require("./en-US/index.js")); +var _index28 = _interopRequireDefault(require("./en-ZA/index.js")); +var _index29 = _interopRequireDefault(require("./eo/index.js")); +var _index30 = _interopRequireDefault(require("./es/index.js")); +var _index31 = _interopRequireDefault(require("./et/index.js")); +var _index32 = _interopRequireDefault(require("./eu/index.js")); +var _index33 = _interopRequireDefault(require("./fa-IR/index.js")); +var _index34 = _interopRequireDefault(require("./fi/index.js")); +var _index35 = _interopRequireDefault(require("./fr/index.js")); +var _index36 = _interopRequireDefault(require("./fr-CA/index.js")); +var _index37 = _interopRequireDefault(require("./fr-CH/index.js")); +var _index38 = _interopRequireDefault(require("./fy/index.js")); +var _index39 = _interopRequireDefault(require("./gd/index.js")); +var _index40 = _interopRequireDefault(require("./gl/index.js")); +var _index41 = _interopRequireDefault(require("./gu/index.js")); +var _index42 = _interopRequireDefault(require("./he/index.js")); +var _index43 = _interopRequireDefault(require("./hi/index.js")); +var _index44 = _interopRequireDefault(require("./hr/index.js")); +var _index45 = _interopRequireDefault(require("./ht/index.js")); +var _index46 = _interopRequireDefault(require("./hu/index.js")); +var _index47 = _interopRequireDefault(require("./hy/index.js")); +var _index48 = _interopRequireDefault(require("./id/index.js")); +var _index49 = _interopRequireDefault(require("./is/index.js")); +var _index50 = _interopRequireDefault(require("./it/index.js")); +var _index51 = _interopRequireDefault(require("./it-CH/index.js")); +var _index52 = _interopRequireDefault(require("./ja/index.js")); +var _index53 = _interopRequireDefault(require("./ja-Hira/index.js")); +var _index54 = _interopRequireDefault(require("./ka/index.js")); +var _index55 = _interopRequireDefault(require("./kk/index.js")); +var _index56 = _interopRequireDefault(require("./km/index.js")); +var _index57 = _interopRequireDefault(require("./kn/index.js")); +var _index58 = _interopRequireDefault(require("./ko/index.js")); +var _index59 = _interopRequireDefault(require("./lb/index.js")); +var _index60 = _interopRequireDefault(require("./lt/index.js")); +var _index61 = _interopRequireDefault(require("./lv/index.js")); +var _index62 = _interopRequireDefault(require("./mk/index.js")); +var _index63 = _interopRequireDefault(require("./mn/index.js")); +var _index64 = _interopRequireDefault(require("./ms/index.js")); +var _index65 = _interopRequireDefault(require("./mt/index.js")); +var _index66 = _interopRequireDefault(require("./nb/index.js")); +var _index67 = _interopRequireDefault(require("./nl/index.js")); +var _index68 = _interopRequireDefault(require("./nl-BE/index.js")); +var _index69 = _interopRequireDefault(require("./nn/index.js")); +var _index70 = _interopRequireDefault(require("./oc/index.js")); +var _index71 = _interopRequireDefault(require("./pl/index.js")); +var _index72 = _interopRequireDefault(require("./pt/index.js")); +var _index73 = _interopRequireDefault(require("./pt-BR/index.js")); +var _index74 = _interopRequireDefault(require("./ro/index.js")); +var _index75 = _interopRequireDefault(require("./ru/index.js")); +var _index76 = _interopRequireDefault(require("./sk/index.js")); +var _index77 = _interopRequireDefault(require("./sl/index.js")); +var _index78 = _interopRequireDefault(require("./sq/index.js")); +var _index79 = _interopRequireDefault(require("./sr/index.js")); +var _index80 = _interopRequireDefault(require("./sr-Latn/index.js")); +var _index81 = _interopRequireDefault(require("./sv/index.js")); +var _index82 = _interopRequireDefault(require("./ta/index.js")); +var _index83 = _interopRequireDefault(require("./te/index.js")); +var _index84 = _interopRequireDefault(require("./th/index.js")); +var _index85 = _interopRequireDefault(require("./tr/index.js")); +var _index86 = _interopRequireDefault(require("./ug/index.js")); +var _index87 = _interopRequireDefault(require("./uk/index.js")); +var _index88 = _interopRequireDefault(require("./uz/index.js")); +var _index89 = _interopRequireDefault(require("./uz-Cyrl/index.js")); +var _index90 = _interopRequireDefault(require("./vi/index.js")); +var _index91 = _interopRequireDefault(require("./zh-CN/index.js")); +var _index92 = _interopRequireDefault(require("./zh-HK/index.js")); +var _index93 = _interopRequireDefault(require("./zh-TW/index.js")); \ No newline at end of file diff --git a/node_modules/date-fns/locale/index.js.flow b/node_modules/date-fns/locale/index.js.flow new file mode 100644 index 000000000..ddcdfe793 --- /dev/null +++ b/node_modules/date-fns/locale/index.js.flow @@ -0,0 +1,129 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: { + af: Locale, + ar: Locale, + arDZ: Locale, + arEG: Locale, + arMA: Locale, + arSA: Locale, + arTN: Locale, + az: Locale, + be: Locale, + beTarask: Locale, + bg: Locale, + bn: Locale, + bs: Locale, + ca: Locale, + cs: Locale, + cy: Locale, + da: Locale, + de: Locale, + deAT: Locale, + el: Locale, + enAU: Locale, + enCA: Locale, + enGB: Locale, + enIE: Locale, + enIN: Locale, + enNZ: Locale, + enUS: Locale, + enZA: Locale, + eo: Locale, + es: Locale, + et: Locale, + eu: Locale, + faIR: Locale, + fi: Locale, + fr: Locale, + frCA: Locale, + frCH: Locale, + fy: Locale, + gd: Locale, + gl: Locale, + gu: Locale, + he: Locale, + hi: Locale, + hr: Locale, + ht: Locale, + hu: Locale, + hy: Locale, + id: Locale, + is: Locale, + it: Locale, + itCH: Locale, + ja: Locale, + jaHira: Locale, + ka: Locale, + kk: Locale, + km: Locale, + kn: Locale, + ko: Locale, + lb: Locale, + lt: Locale, + lv: Locale, + mk: Locale, + mn: Locale, + ms: Locale, + mt: Locale, + nb: Locale, + nl: Locale, + nlBE: Locale, + nn: Locale, + oc: Locale, + pl: Locale, + pt: Locale, + ptBR: Locale, + ro: Locale, + ru: Locale, + sk: Locale, + sl: Locale, + sq: Locale, + sr: Locale, + srLatn: Locale, + sv: Locale, + ta: Locale, + te: Locale, + th: Locale, + tr: Locale, + ug: Locale, + uk: Locale, + uz: Locale, + uzCyrl: Locale, + vi: Locale, + zhCN: Locale, + zhHK: Locale, + zhTW: Locale, +} diff --git a/node_modules/date-fns/locale/is/_lib/formatDistance/index.js b/node_modules/date-fns/locale/is/_lib/formatDistance/index.js new file mode 100644 index 000000000..02c5f5602 --- /dev/null +++ b/node_modules/date-fns/locale/is/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minna en 1 sekúnda', + other: 'minna en {{count}} sekúndur' + }, + xSeconds: { + one: '1 sekúnda', + other: '{{count}} sekúndur' + }, + halfAMinute: 'hálf mínúta', + lessThanXMinutes: { + one: 'minna en 1 mínúta', + other: 'minna en {{count}} mínútur' + }, + xMinutes: { + one: '1 mínúta', + other: '{{count}} mínútur' + }, + aboutXHours: { + one: 'u.þ.b. 1 klukkustund', + other: 'u.þ.b. {{count}} klukkustundir' + }, + xHours: { + one: '1 klukkustund', + other: '{{count}} klukkustundir' + }, + xDays: { + one: '1 dagur', + other: '{{count}} dagar' + }, + aboutXWeeks: { + one: 'um viku', + other: 'um {{count}} vikur' + }, + xWeeks: { + one: '1 viku', + other: '{{count}} vikur' + }, + aboutXMonths: { + one: 'u.þ.b. 1 mánuður', + other: 'u.þ.b. {{count}} mánuðir' + }, + xMonths: { + one: '1 mánuður', + other: '{{count}} mánuðir' + }, + aboutXYears: { + one: 'u.þ.b. 1 ár', + other: 'u.þ.b. {{count}} ár' + }, + xYears: { + one: '1 ár', + other: '{{count}} ár' + }, + overXYears: { + one: 'meira en 1 ár', + other: 'meira en {{count}} ár' + }, + almostXYears: { + one: 'næstum 1 ár', + other: 'næstum {{count}} ár' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'í ' + result; + } else { + return result + ' síðan'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/is/_lib/formatLong/index.js b/node_modules/date-fns/locale/is/_lib/formatLong/index.js new file mode 100644 index 000000000..66be05403 --- /dev/null +++ b/node_modules/date-fns/locale/is/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, do MMMM y', + long: 'do MMMM y', + medium: 'do MMM y', + short: 'd.MM.y' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/is/_lib/formatRelative/index.js b/node_modules/date-fns/locale/is/_lib/formatRelative/index.js new file mode 100644 index 000000000..0c9251650 --- /dev/null +++ b/node_modules/date-fns/locale/is/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'síðasta' dddd 'kl.' p", + yesterday: "'í gær kl.' p", + today: "'í dag kl.' p", + tomorrow: "'á morgun kl.' p", + nextWeek: "dddd 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/is/_lib/localize/index.js b/node_modules/date-fns/locale/is/_lib/localize/index.js new file mode 100644 index 000000000..fe77ae68a --- /dev/null +++ b/node_modules/date-fns/locale/is/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['fyrir Krist', 'eftir Krist'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1F', '2F', '3F', '4F'], + wide: ['1. fjórðungur', '2. fjórðungur', '3. fjórðungur', '4. fjórðungur'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'Ó', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'sept.', 'okt.', 'nóv.', 'des.'], + wide: ['janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', 'nóvember', 'desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], + short: ['Su', 'Má', 'Þr', 'Mi', 'Fi', 'Fö', 'La'], + abbreviated: ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], + wide: ['sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', 'laugardagur'] +}; +var dayPeriodValues = { + narrow: { + am: 'f', + pm: 'e', + midnight: 'miðnætti', + noon: 'hádegi', + morning: 'morgunn', + afternoon: 'síðdegi', + evening: 'kvöld', + night: 'nótt' + }, + abbreviated: { + am: 'f.h.', + pm: 'e.h.', + midnight: 'miðnætti', + noon: 'hádegi', + morning: 'morgunn', + afternoon: 'síðdegi', + evening: 'kvöld', + night: 'nótt' + }, + wide: { + am: 'fyrir hádegi', + pm: 'eftir hádegi', + midnight: 'miðnætti', + noon: 'hádegi', + morning: 'morgunn', + afternoon: 'síðdegi', + evening: 'kvöld', + night: 'nótt' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'f', + pm: 'e', + midnight: 'á miðnætti', + noon: 'á hádegi', + morning: 'að morgni', + afternoon: 'síðdegis', + evening: 'um kvöld', + night: 'um nótt' + }, + abbreviated: { + am: 'f.h.', + pm: 'e.h.', + midnight: 'á miðnætti', + noon: 'á hádegi', + morning: 'að morgni', + afternoon: 'síðdegis', + evening: 'um kvöld', + night: 'um nótt' + }, + wide: { + am: 'fyrir hádegi', + pm: 'eftir hádegi', + midnight: 'á miðnætti', + noon: 'á hádegi', + morning: 'að morgni', + afternoon: 'síðdegis', + evening: 'um kvöld', + night: 'um nótt' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/is/_lib/match/index.js b/node_modules/date-fns/locale/is/_lib/match/index.js new file mode 100644 index 000000000..8863007e6 --- /dev/null +++ b/node_modules/date-fns/locale/is/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+(\.)?/i; +var matchEraPatterns = { + narrow: /^(f\.Kr\.|e\.Kr\.)/i, + abbreviated: /^(f\.Kr\.|e\.Kr\.)/i, + wide: /^(fyrir Krist|eftir Krist)/i +}; +var parseEraPatterns = { + any: [/^(f\.Kr\.)/i, /^(e\.Kr\.)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]\.?/i, + abbreviated: /^q[1234]\.?/i, + wide: /^[1234]\.? fjórðungur/i +}; +var parseQuarterPatterns = { + any: [/1\.?/i, /2\.?/i, /3\.?/i, /4\.?/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmásónd]/i, + abbreviated: /^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i, + wide: /^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^á/i, /^s/i, /^ó/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maí/i, /^jún/i, /^júl/i, /^áu/i, /^s/i, /^ó/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(su|má|þr|mi|fi|fö|la)/i, + abbreviated: /^(sun|mán|þri|mið|fim|fös|lau)\.?/i, + wide: /^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^þ/i, /^m/i, /^f/i, /^f/i, /^l/i], + any: [/^su/i, /^má/i, /^þr/i, /^mi/i, /^fi/i, /^fö/i, /^la/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i, + any: /^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^f/i, + pm: /^e/i, + midnight: /^mi/i, + noon: /^há/i, + morning: /morgunn/i, + afternoon: /síðdegi/i, + evening: /kvöld/i, + night: /nótt/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/is/index.d.ts b/node_modules/date-fns/locale/is/index.d.ts new file mode 100644 index 000000000..0d12119bc --- /dev/null +++ b/node_modules/date-fns/locale/is/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { is } from 'date-fns/locale' +export default is diff --git a/node_modules/date-fns/locale/is/index.js b/node_modules/date-fns/locale/is/index.js new file mode 100644 index 000000000..654bf94e8 --- /dev/null +++ b/node_modules/date-fns/locale/is/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Icelandic locale. + * @language Icelandic + * @iso-639-2 isl + * @author Derek Blank [@derekblank]{@link https://github.com/derekblank} + * @author Arnór Ýmir [@lamayg]{@link https://github.com/lamayg} + */ +var locale = { + code: 'is', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/is/index.js.flow b/node_modules/date-fns/locale/is/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/is/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/is/package.json b/node_modules/date-fns/locale/is/package.json new file mode 100644 index 000000000..d50cf98f6 --- /dev/null +++ b/node_modules/date-fns/locale/is/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/is/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/it-CH/_lib/formatLong/index.js b/node_modules/date-fns/locale/it-CH/_lib/formatLong/index.js new file mode 100644 index 000000000..212bf4163 --- /dev/null +++ b/node_modules/date-fns/locale/it-CH/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it-CH/index.d.ts b/node_modules/date-fns/locale/it-CH/index.d.ts new file mode 100644 index 000000000..43f700337 --- /dev/null +++ b/node_modules/date-fns/locale/it-CH/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { itCH } from 'date-fns/locale' +export default itCH diff --git a/node_modules/date-fns/locale/it-CH/index.js b/node_modules/date-fns/locale/it-CH/index.js new file mode 100644 index 000000000..2c529bb86 --- /dev/null +++ b/node_modules/date-fns/locale/it-CH/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../it/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../it/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../it/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../it/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Italian locale (Switzerland). + * @language Italian + * @iso-639-2 ita + * @author Mike Peyer [@maic66]{@link https://github.com/maic66} + */ +var locale = { + code: 'it-CH', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it-CH/index.js.flow b/node_modules/date-fns/locale/it-CH/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/it-CH/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/it-CH/package.json b/node_modules/date-fns/locale/it-CH/package.json new file mode 100644 index 000000000..67bb591b6 --- /dev/null +++ b/node_modules/date-fns/locale/it-CH/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/it-CH/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/_lib/formatDistance/index.js b/node_modules/date-fns/locale/it/_lib/formatDistance/index.js new file mode 100644 index 000000000..b20418701 --- /dev/null +++ b/node_modules/date-fns/locale/it/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'meno di un secondo', + other: 'meno di {{count}} secondi' + }, + xSeconds: { + one: 'un secondo', + other: '{{count}} secondi' + }, + halfAMinute: 'alcuni secondi', + lessThanXMinutes: { + one: 'meno di un minuto', + other: 'meno di {{count}} minuti' + }, + xMinutes: { + one: 'un minuto', + other: '{{count}} minuti' + }, + aboutXHours: { + one: "circa un'ora", + other: 'circa {{count}} ore' + }, + xHours: { + one: "un'ora", + other: '{{count}} ore' + }, + xDays: { + one: 'un giorno', + other: '{{count}} giorni' + }, + aboutXWeeks: { + one: 'circa una settimana', + other: 'circa {{count}} settimane' + }, + xWeeks: { + one: 'una settimana', + other: '{{count}} settimane' + }, + aboutXMonths: { + one: 'circa un mese', + other: 'circa {{count}} mesi' + }, + xMonths: { + one: 'un mese', + other: '{{count}} mesi' + }, + aboutXYears: { + one: 'circa un anno', + other: 'circa {{count}} anni' + }, + xYears: { + one: 'un anno', + other: '{{count}} anni' + }, + overXYears: { + one: 'più di un anno', + other: 'più di {{count}} anni' + }, + almostXYears: { + one: 'quasi un anno', + other: 'quasi {{count}} anni' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'tra ' + result; + } else { + return result + ' fa'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/_lib/formatLong/index.js b/node_modules/date-fns/locale/it/_lib/formatLong/index.js new file mode 100644 index 000000000..bed304021 --- /dev/null +++ b/node_modules/date-fns/locale/it/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/_lib/formatRelative/index.js b/node_modules/date-fns/locale/it/_lib/formatRelative/index.js new file mode 100644 index 000000000..7fafec2d0 --- /dev/null +++ b/node_modules/date-fns/locale/it/_lib/formatRelative/index.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var weekdays = ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato']; +function _lastWeek(day) { + switch (day) { + case 0: + return "'domenica scorsa alle' p"; + default: + return "'" + weekdays[day] + " scorso alle' p"; + } +} +function thisWeek(day) { + return "'" + weekdays[day] + " alle' p"; +} +function _nextWeek(day) { + switch (day) { + case 0: + return "'domenica prossima alle' p"; + default: + return "'" + weekdays[day] + " prossimo alle' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'ieri alle' p", + today: "'oggi alle' p", + tomorrow: "'domani alle' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/_lib/localize/index.js b/node_modules/date-fns/locale/it/_lib/localize/index.js new file mode 100644 index 000000000..18b5d82ce --- /dev/null +++ b/node_modules/date-fns/locale/it/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['aC', 'dC'], + abbreviated: ['a.C.', 'd.C.'], + wide: ['avanti Cristo', 'dopo Cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + wide: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre'] +}; +var dayValues = { + narrow: ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + short: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + abbreviated: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + wide: ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] +}; +var dayPeriodValues = { + narrow: { + am: 'm.', + pm: 'p.', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'mattina', + afternoon: 'pomeriggio', + evening: 'sera', + night: 'notte' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'mattina', + afternoon: 'pomeriggio', + evening: 'sera', + night: 'notte' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'mattina', + afternoon: 'pomeriggio', + evening: 'sera', + night: 'notte' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'm.', + pm: 'p.', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'di mattina', + afternoon: 'del pomeriggio', + evening: 'di sera', + night: 'di notte' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'di mattina', + afternoon: 'del pomeriggio', + evening: 'di sera', + night: 'di notte' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'mezzanotte', + noon: 'mezzogiorno', + morning: 'di mattina', + afternoon: 'del pomeriggio', + evening: 'di sera', + night: 'di notte' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return String(number); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/_lib/match/index.js b/node_modules/date-fns/locale/it/_lib/match/index.js new file mode 100644 index 000000000..1abdd40c0 --- /dev/null +++ b/node_modules/date-fns/locale/it/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(aC|dC)/i, + abbreviated: /^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i, + wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i +}; +var parseEraPatterns = { + any: [/^a/i, /^(d|e)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^t[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[gfmalsond]/i, + abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i, + wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i +}; +var parseMonthPatterns = { + narrow: [/^g/i, /^f/i, /^m/i, /^a/i, /^m/i, /^g/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ge/i, /^f/i, /^mar/i, /^ap/i, /^mag/i, /^gi/i, /^l/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmgvs]/i, + short: /^(do|lu|ma|me|gi|ve|sa)/i, + abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i, + wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i, + any: /^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mezza/i, + noon: /^mezzo/i, + morning: /mattina/i, + afternoon: /pomeriggio/i, + evening: /sera/i, + night: /notte/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/index.d.ts b/node_modules/date-fns/locale/it/index.d.ts new file mode 100644 index 000000000..6e0422e97 --- /dev/null +++ b/node_modules/date-fns/locale/it/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { it } from 'date-fns/locale' +export default it diff --git a/node_modules/date-fns/locale/it/index.js b/node_modules/date-fns/locale/it/index.js new file mode 100644 index 000000000..c0bb8b3ff --- /dev/null +++ b/node_modules/date-fns/locale/it/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Italian locale. + * @language Italian + * @iso-639-2 ita + * @author Alberto Restifo [@albertorestifo]{@link https://github.com/albertorestifo} + * @author Giovanni Polimeni [@giofilo]{@link https://github.com/giofilo} + * @author Vincenzo Carrese [@vin-car]{@link https://github.com/vin-car} + */ +var locale = { + code: 'it', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/it/index.js.flow b/node_modules/date-fns/locale/it/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/it/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/it/package.json b/node_modules/date-fns/locale/it/package.json new file mode 100644 index 000000000..6a2842630 --- /dev/null +++ b/node_modules/date-fns/locale/it/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/it/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ja-Hira/_lib/formatDistance/index.js new file mode 100644 index 000000000..6f0c7d73c --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/_lib/formatDistance/index.js @@ -0,0 +1,104 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1びょうみまん', + other: '{{count}}びょうみまん', + oneWithSuffix: 'やく1びょう', + otherWithSuffix: 'やく{{count}}びょう' + }, + xSeconds: { + one: '1びょう', + other: '{{count}}びょう' + }, + halfAMinute: '30びょう', + lessThanXMinutes: { + one: '1ぷんみまん', + other: '{{count}}ふんみまん', + oneWithSuffix: 'やく1ぷん', + otherWithSuffix: 'やく{{count}}ふん' + }, + xMinutes: { + one: '1ぷん', + other: '{{count}}ふん' + }, + aboutXHours: { + one: 'やく1じかん', + other: 'やく{{count}}じかん' + }, + xHours: { + one: '1じかん', + other: '{{count}}じかん' + }, + xDays: { + one: '1にち', + other: '{{count}}にち' + }, + aboutXWeeks: { + one: 'やく1しゅうかん', + other: 'やく{{count}}しゅうかん' + }, + xWeeks: { + one: '1しゅうかん', + other: '{{count}}しゅうかん' + }, + aboutXMonths: { + one: 'やく1かげつ', + other: 'やく{{count}}かげつ' + }, + xMonths: { + one: '1かげつ', + other: '{{count}}かげつ' + }, + aboutXYears: { + one: 'やく1ねん', + other: 'やく{{count}}ねん' + }, + xYears: { + one: '1ねん', + other: '{{count}}ねん' + }, + overXYears: { + one: '1ねんいじょう', + other: '{{count}}ねんいじょう' + }, + almostXYears: { + one: '1ねんちかく', + other: '{{count}}ねんちかく' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options.addSuffix && tokenValue.oneWithSuffix) { + result = tokenValue.oneWithSuffix; + } else { + result = tokenValue.one; + } + } else { + if (options.addSuffix && tokenValue.otherWithSuffix) { + result = tokenValue.otherWithSuffix.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'あと'; + } else { + return result + 'まえ'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/_lib/formatLong/index.js b/node_modules/date-fns/locale/ja-Hira/_lib/formatLong/index.js new file mode 100644 index 000000000..74f448da8 --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'yねんMがつdにちEEEE', + long: 'yねんMがつdにち', + medium: 'y/MM/dd', + short: 'y/MM/dd' +}; +var timeFormats = { + full: 'Hじmmふんssびょう zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ja-Hira/_lib/formatRelative/index.js new file mode 100644 index 000000000..42788e5d2 --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: 'せんしゅうのeeeeのp', + yesterday: 'きのうのp', + today: 'きょうのp', + tomorrow: 'あしたのp', + nextWeek: 'よくしゅうのeeeeのp', + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/_lib/localize/index.js b/node_modules/date-fns/locale/ja-Hira/_lib/localize/index.js new file mode 100644 index 000000000..c62be040c --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/_lib/localize/index.js @@ -0,0 +1,148 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['BC', 'AC'], + abbreviated: ['きげんぜん', 'せいれき'], + wide: ['きげんぜん', 'せいれき'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['だい1しはんき', 'だい2しはんき', 'だい3しはんき', 'だい4しはんき'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['1がつ', '2がつ', '3がつ', '4がつ', '5がつ', '6がつ', '7がつ', '8がつ', '9がつ', '10がつ', '11がつ', '12がつ'], + wide: ['1がつ', '2がつ', '3がつ', '4がつ', '5がつ', '6がつ', '7がつ', '8がつ', '9がつ', '10がつ', '11がつ', '12がつ'] +}; +var dayValues = { + narrow: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'], + short: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'], + abbreviated: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'], + wide: ['にちようび', 'げつようび', 'かようび', 'すいようび', 'もくようび', 'きんようび', 'どようび'] +}; +var dayPeriodValues = { + narrow: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + abbreviated: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + wide: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + abbreviated: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + }, + wide: { + am: 'ごぜん', + pm: 'ごご', + midnight: 'しんや', + noon: 'しょうご', + morning: 'あさ', + afternoon: 'ごご', + evening: 'よる', + night: 'しんや' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + switch (unit) { + case 'year': + return "".concat(number, "\u306D\u3093"); + case 'quarter': + return "\u3060\u3044".concat(number, "\u3057\u306F\u3093\u304D"); + case 'month': + return "".concat(number, "\u304C\u3064"); + case 'week': + return "\u3060\u3044".concat(number, "\u3057\u3085\u3046"); + case 'date': + return "".concat(number, "\u306B\u3061"); + case 'hour': + return "".concat(number, "\u3058"); + case 'minute': + return "".concat(number, "\u3075\u3093"); + case 'second': + return "".concat(number, "\u3073\u3087\u3046"); + default: + return "".concat(number); + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/_lib/match/index.js b/node_modules/date-fns/locale/ja-Hira/_lib/match/index.js new file mode 100644 index 000000000..488bd771e --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^だ?い?\d+(ねん|しはんき|がつ|しゅう|にち|じ|ふん|びょう)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(B\.?C\.?|A\.?D\.?)/i, + abbreviated: /^(きげん[前後]|せいれき)/i, + wide: /^(きげん[前後]|せいれき)/i +}; +var parseEraPatterns = { + narrow: [/^B/i, /^A/i], + any: [/^(きげんぜん)/i, /^(せいれき|きげんご)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^Q[1234]/i, + wide: /^だい[1234一二三四1234]しはんき/i +}; +var parseQuarterPatterns = { + any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i] +}; +var matchMonthPatterns = { + narrow: /^([123456789]|1[012])/, + abbreviated: /^([123456789]|1[012])がつ/i, + wide: /^([123456789]|1[012])がつ/i +}; +var parseMonthPatterns = { + any: [/^1\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/] +}; +var matchDayPatterns = { + narrow: /^(にち|げつ|か|すい|もく|きん|ど)/, + short: /^(にち|げつ|か|すい|もく|きん|ど)/, + abbreviated: /^(にち|げつ|か|すい|もく|きん|ど)/, + wide: /^(にち|げつ|か|すい|もく|きん|ど)ようび/ +}; +var parseDayPatterns = { + any: [/^にち/, /^げつ/, /^か/, /^すい/, /^もく/, /^きん/, /^ど/] +}; +var matchDayPeriodPatterns = { + any: /^(AM|PM|ごぜん|ごご|しょうご|しんや|まよなか|よる|あさ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(A|ごぜん)/i, + pm: /^(P|ごご)/i, + midnight: /^しんや|まよなか/i, + noon: /^しょうご/i, + morning: /^あさ/i, + afternoon: /^ごご/i, + evening: /^よる/i, + night: /^しんや/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/index.d.ts b/node_modules/date-fns/locale/ja-Hira/index.d.ts new file mode 100644 index 000000000..9dfe12516 --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { jaHira } from 'date-fns/locale' +export default jaHira diff --git a/node_modules/date-fns/locale/ja-Hira/index.js b/node_modules/date-fns/locale/ja-Hira/index.js new file mode 100644 index 000000000..d12bab289 --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Japanese (Hiragana) locale. + * @language Japanese (Hiragana) + * @iso-639-2 jpn + * @author Eri Hiramatsu [@Eritutteo]{@link https://github.com/Eritutteo} + */ +var locale = { + code: 'ja-Hira', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja-Hira/index.js.flow b/node_modules/date-fns/locale/ja-Hira/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ja-Hira/package.json b/node_modules/date-fns/locale/ja-Hira/package.json new file mode 100644 index 000000000..60d9ddc6f --- /dev/null +++ b/node_modules/date-fns/locale/ja-Hira/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ja-Hira/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ja/_lib/formatDistance/index.js new file mode 100644 index 000000000..f06fc57e5 --- /dev/null +++ b/node_modules/date-fns/locale/ja/_lib/formatDistance/index.js @@ -0,0 +1,104 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1秒未満', + other: '{{count}}秒未満', + oneWithSuffix: '約1秒', + otherWithSuffix: '約{{count}}秒' + }, + xSeconds: { + one: '1秒', + other: '{{count}}秒' + }, + halfAMinute: '30秒', + lessThanXMinutes: { + one: '1分未満', + other: '{{count}}分未満', + oneWithSuffix: '約1分', + otherWithSuffix: '約{{count}}分' + }, + xMinutes: { + one: '1分', + other: '{{count}}分' + }, + aboutXHours: { + one: '約1時間', + other: '約{{count}}時間' + }, + xHours: { + one: '1時間', + other: '{{count}}時間' + }, + xDays: { + one: '1日', + other: '{{count}}日' + }, + aboutXWeeks: { + one: '約1週間', + other: '約{{count}}週間' + }, + xWeeks: { + one: '1週間', + other: '{{count}}週間' + }, + aboutXMonths: { + one: '約1か月', + other: '約{{count}}か月' + }, + xMonths: { + one: '1か月', + other: '{{count}}か月' + }, + aboutXYears: { + one: '約1年', + other: '約{{count}}年' + }, + xYears: { + one: '1年', + other: '{{count}}年' + }, + overXYears: { + one: '1年以上', + other: '{{count}}年以上' + }, + almostXYears: { + one: '1年近く', + other: '{{count}}年近く' + } +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options.addSuffix && tokenValue.oneWithSuffix) { + result = tokenValue.oneWithSuffix; + } else { + result = tokenValue.one; + } + } else { + if (options.addSuffix && tokenValue.otherWithSuffix) { + result = tokenValue.otherWithSuffix.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + } + if (options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '後'; + } else { + return result + '前'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/_lib/formatLong/index.js b/node_modules/date-fns/locale/ja/_lib/formatLong/index.js new file mode 100644 index 000000000..6638761be --- /dev/null +++ b/node_modules/date-fns/locale/ja/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'y年M月d日EEEE', + long: 'y年M月d日', + medium: 'y/MM/dd', + short: 'y/MM/dd' +}; +var timeFormats = { + full: 'H時mm分ss秒 zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ja/_lib/formatRelative/index.js new file mode 100644 index 000000000..5227ee48b --- /dev/null +++ b/node_modules/date-fns/locale/ja/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: '先週のeeeeのp', + yesterday: '昨日のp', + today: '今日のp', + tomorrow: '明日のp', + nextWeek: '翌週のeeeeのp', + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/_lib/localize/index.js b/node_modules/date-fns/locale/ja/_lib/localize/index.js new file mode 100644 index 000000000..b8409a7c1 --- /dev/null +++ b/node_modules/date-fns/locale/ja/_lib/localize/index.js @@ -0,0 +1,148 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['BC', 'AC'], + abbreviated: ['紀元前', '西暦'], + wide: ['紀元前', '西暦'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['第1四半期', '第2四半期', '第3四半期', '第4四半期'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'] +}; +var dayValues = { + narrow: ['日', '月', '火', '水', '木', '金', '土'], + short: ['日', '月', '火', '水', '木', '金', '土'], + abbreviated: ['日', '月', '火', '水', '木', '金', '土'], + wide: ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'] +}; +var dayPeriodValues = { + narrow: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + abbreviated: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + wide: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + abbreviated: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + }, + wide: { + am: '午前', + pm: '午後', + midnight: '深夜', + noon: '正午', + morning: '朝', + afternoon: '午後', + evening: '夜', + night: '深夜' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + switch (unit) { + case 'year': + return "".concat(number, "\u5E74"); + case 'quarter': + return "\u7B2C".concat(number, "\u56DB\u534A\u671F"); + case 'month': + return "".concat(number, "\u6708"); + case 'week': + return "\u7B2C".concat(number, "\u9031"); + case 'date': + return "".concat(number, "\u65E5"); + case 'hour': + return "".concat(number, "\u6642"); + case 'minute': + return "".concat(number, "\u5206"); + case 'second': + return "".concat(number, "\u79D2"); + default: + return "".concat(number); + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/_lib/match/index.js b/node_modules/date-fns/locale/ja/_lib/match/index.js new file mode 100644 index 000000000..27e070053 --- /dev/null +++ b/node_modules/date-fns/locale/ja/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var matchOrdinalNumberPattern = /^第?\d+(年|四半期|月|週|日|時|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(B\.?C\.?|A\.?D\.?)/i, + abbreviated: /^(紀元[前後]|西暦)/i, + wide: /^(紀元[前後]|西暦)/i +}; +var parseEraPatterns = { + narrow: [/^B/i, /^A/i], + any: [/^(紀元前)/i, /^(西暦|紀元後)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^Q[1234]/i, + wide: /^第[1234一二三四1234]四半期/i +}; +var parseQuarterPatterns = { + any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i] +}; +var matchMonthPatterns = { + narrow: /^([123456789]|1[012])/, + abbreviated: /^([123456789]|1[012])月/i, + wide: /^([123456789]|1[012])月/i +}; +var parseMonthPatterns = { + any: [/^1\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/] +}; +var matchDayPatterns = { + narrow: /^[日月火水木金土]/, + short: /^[日月火水木金土]/, + abbreviated: /^[日月火水木金土]/, + wide: /^[日月火水木金土]曜日/ +}; +var parseDayPatterns = { + any: [/^日/, /^月/, /^火/, /^水/, /^木/, /^金/, /^土/] +}; +var matchDayPeriodPatterns = { + any: /^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(A|午前)/i, + pm: /^(P|午後)/i, + midnight: /^深夜|真夜中/i, + noon: /^正午/i, + morning: /^朝/i, + afternoon: /^午後/i, + evening: /^夜/i, + night: /^深夜/i + } +}; +var match = { + ordinalNumber: (0, _index.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index2.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index2.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index2.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index2.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index2.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/index.d.ts b/node_modules/date-fns/locale/ja/index.d.ts new file mode 100644 index 000000000..dec4f9c97 --- /dev/null +++ b/node_modules/date-fns/locale/ja/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ja } from 'date-fns/locale' +export default ja diff --git a/node_modules/date-fns/locale/ja/index.js b/node_modules/date-fns/locale/ja/index.js new file mode 100644 index 000000000..e2463e2f1 --- /dev/null +++ b/node_modules/date-fns/locale/ja/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Japanese locale. + * @language Japanese + * @iso-639-2 jpn + * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu} + * @author Yamagishi Kazutoshi [@ykzts]{@link https://github.com/ykzts} + * @author Luca Ban [@mesqueeb]{@link https://github.com/mesqueeb} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles} + */ +var locale = { + code: 'ja', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ja/index.js.flow b/node_modules/date-fns/locale/ja/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ja/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ja/package.json b/node_modules/date-fns/locale/ja/package.json new file mode 100644 index 000000000..21a71d36b --- /dev/null +++ b/node_modules/date-fns/locale/ja/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ja/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js new file mode 100644 index 000000000..4f1cbb602 --- /dev/null +++ b/node_modules/date-fns/locale/ka/_lib/formatDistance/index.js @@ -0,0 +1,105 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + past: '{{count}} წამზე ნაკლები ხნის წინ', + present: '{{count}} წამზე ნაკლები', + future: '{{count}} წამზე ნაკლებში' + }, + xSeconds: { + past: '{{count}} წამის წინ', + present: '{{count}} წამი', + future: '{{count}} წამში' + }, + halfAMinute: { + past: 'ნახევარი წუთის წინ', + present: 'ნახევარი წუთი', + future: 'ნახევარი წუთში' + }, + lessThanXMinutes: { + past: '{{count}} წუთზე ნაკლები ხნის წინ', + present: '{{count}} წუთზე ნაკლები', + future: '{{count}} წუთზე ნაკლებში' + }, + xMinutes: { + past: '{{count}} წუთის წინ', + present: '{{count}} წუთი', + future: '{{count}} წუთში' + }, + aboutXHours: { + past: 'დაახლოებით {{count}} საათის წინ', + present: 'დაახლოებით {{count}} საათი', + future: 'დაახლოებით {{count}} საათში' + }, + xHours: { + past: '{{count}} საათის წინ', + present: '{{count}} საათი', + future: '{{count}} საათში' + }, + xDays: { + past: '{{count}} დღის წინ', + present: '{{count}} დღე', + future: '{{count}} დღეში' + }, + aboutXWeeks: { + past: 'დაახლოებით {{count}} კვირას წინ', + present: 'დაახლოებით {{count}} კვირა', + future: 'დაახლოებით {{count}} კვირაში' + }, + xWeeks: { + past: '{{count}} კვირას კვირა', + present: '{{count}} კვირა', + future: '{{count}} კვირაში' + }, + aboutXMonths: { + past: 'დაახლოებით {{count}} თვის წინ', + present: 'დაახლოებით {{count}} თვე', + future: 'დაახლოებით {{count}} თვეში' + }, + xMonths: { + past: '{{count}} თვის წინ', + present: '{{count}} თვე', + future: '{{count}} თვეში' + }, + aboutXYears: { + past: 'დაახლოებით {{count}} წლის წინ', + present: 'დაახლოებით {{count}} წელი', + future: 'დაახლოებით {{count}} წელში' + }, + xYears: { + past: '{{count}} წლის წინ', + present: '{{count}} წელი', + future: '{{count}} წელში' + }, + overXYears: { + past: '{{count}} წელზე მეტი ხნის წინ', + present: '{{count}} წელზე მეტი', + future: '{{count}} წელზე მეტი ხნის შემდეგ' + }, + almostXYears: { + past: 'თითქმის {{count}} წლის წინ', + present: 'თითქმის {{count}} წელი', + future: 'თითქმის {{count}} წელში' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) { + result = tokenValue.future.replace('{{count}}', String(count)); + } else if (options !== null && options !== void 0 && options.addSuffix) { + result = tokenValue.past.replace('{{count}}', String(count)); + } else { + result = tokenValue.present.replace('{{count}}', String(count)); + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/_lib/formatLong/index.js b/node_modules/date-fns/locale/ka/_lib/formatLong/index.js new file mode 100644 index 000000000..5554721f9 --- /dev/null +++ b/node_modules/date-fns/locale/ka/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, do MMMM, y', + long: 'do, MMMM, y', + medium: 'd, MMM, y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} {{time}}'-ზე'", + long: "{{date}} {{time}}'-ზე'", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ka/_lib/formatRelative/index.js new file mode 100644 index 000000000..d54cce93a --- /dev/null +++ b/node_modules/date-fns/locale/ka/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'წინა' eeee p'-ზე'", + yesterday: "'გუშინ' p'-ზე'", + today: "'დღეს' p'-ზე'", + tomorrow: "'ხვალ' p'-ზე'", + nextWeek: "'შემდეგი' eeee p'-ზე'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/_lib/localize/index.js b/node_modules/date-fns/locale/ka/_lib/localize/index.js new file mode 100644 index 000000000..7e8126060 --- /dev/null +++ b/node_modules/date-fns/locale/ka/_lib/localize/index.js @@ -0,0 +1,136 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ჩ.წ-მდე', 'ჩ.წ'], + abbreviated: ['ჩვ.წ-მდე', 'ჩვ.წ'], + wide: ['ჩვენს წელთაღრიცხვამდე', 'ჩვენი წელთაღრიცხვით'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ლი კვ', '2-ე კვ', '3-ე კვ', '4-ე კვ'], + wide: ['1-ლი კვარტალი', '2-ე კვარტალი', '3-ე კვარტალი', '4-ე კვარტალი'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['ია', 'თე', 'მა', 'აპ', 'მს', 'ვნ', 'ვლ', 'აგ', 'სე', 'ოქ', 'ნო', 'დე'], + abbreviated: ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'], + wide: ['იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი'] +}; +var dayValues = { + narrow: ['კვ', 'ორ', 'სა', 'ოთ', 'ხუ', 'პა', 'შა'], + short: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], + abbreviated: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], + wide: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'შუაღამე', + noon: 'შუადღე', + morning: 'დილა', + afternoon: 'საღამო', + evening: 'საღამო', + night: 'ღამე' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'შუაღამე', + noon: 'შუადღე', + morning: 'დილა', + afternoon: 'საღამო', + evening: 'საღამო', + night: 'ღამე' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'შუაღამე', + noon: 'შუადღე', + morning: 'დილა', + afternoon: 'საღამო', + evening: 'საღამო', + night: 'ღამე' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'შუაღამით', + noon: 'შუადღისას', + morning: 'დილით', + afternoon: 'ნაშუადღევს', + evening: 'საღამოს', + night: 'ღამით' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'შუაღამით', + noon: 'შუადღისას', + morning: 'დილით', + afternoon: 'ნაშუადღევს', + evening: 'საღამოს', + night: 'ღამით' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'შუაღამით', + noon: 'შუადღისას', + morning: 'დილით', + afternoon: 'ნაშუადღევს', + evening: 'საღამოს', + night: 'ღამით' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber) { + var number = Number(dirtyNumber); + if (number === 1) { + return number + '-ლი'; + } + return number + '-ე'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/_lib/match/index.js b/node_modules/date-fns/locale/ka/_lib/match/index.js new file mode 100644 index 000000000..31421e2a0 --- /dev/null +++ b/node_modules/date-fns/locale/ka/_lib/match/index.js @@ -0,0 +1,101 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ჩვ?\.წ)/i, + abbreviated: /^(ჩვ?\.წ)/i, + wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i +}; +var parseEraPatterns = { + any: [/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i, /^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]-(ლი|ე)? კვ/i, + wide: /^[1234]-(ლი|ე)? კვარტალი/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i +}; +var parseMonthPatterns = { + any: [/^ია/i, /^თ/i, /^მარ/i, /^აპ/i, /^მაი/i, /^ი?ვნ/i, /^ი?ვლ/i, /^აგ/i, /^ს/i, /^ო/i, /^ნ/i, /^დ/i] +}; +var matchDayPatterns = { + narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i, + short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i, + wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i +}; +var parseDayPatterns = { + any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i] +}; +var matchDayPeriodPatterns = { + any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^შუაღ/i, + noon: /^შუადღ/i, + morning: /^დილ/i, + afternoon: /ნაშუადღევს/i, + evening: /საღამო/i, + night: /ღამ/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/index.d.ts b/node_modules/date-fns/locale/ka/index.d.ts new file mode 100644 index 000000000..c0be71ad8 --- /dev/null +++ b/node_modules/date-fns/locale/ka/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ka } from 'date-fns/locale' +export default ka diff --git a/node_modules/date-fns/locale/ka/index.js b/node_modules/date-fns/locale/ka/index.js new file mode 100644 index 000000000..fc1b67407 --- /dev/null +++ b/node_modules/date-fns/locale/ka/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Georgian locale. + * @language Georgian + * @iso-639-2 geo + * @author Lado Lomidze [@Landish]{@link https://github.com/Landish} + * @author Nick Shvelidze [@shvelo]{@link https://github.com/shvelo} + */ +var locale = { + code: 'ka', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ka/index.js.flow b/node_modules/date-fns/locale/ka/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ka/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ka/package.json b/node_modules/date-fns/locale/ka/package.json new file mode 100644 index 000000000..9ec0879a2 --- /dev/null +++ b/node_modules/date-fns/locale/ka/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ka/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/_lib/formatDistance/index.js b/node_modules/date-fns/locale/kk/_lib/formatDistance/index.js new file mode 100644 index 000000000..299636c70 --- /dev/null +++ b/node_modules/date-fns/locale/kk/_lib/formatDistance/index.js @@ -0,0 +1,234 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + regular: { + one: '1 секундтан аз', + singularNominative: '{{count}} секундтан аз', + singularGenitive: '{{count}} секундтан аз', + pluralGenitive: '{{count}} секундтан аз' + }, + future: { + one: 'бір секундтан кейін', + singularNominative: '{{count}} секундтан кейін', + singularGenitive: '{{count}} секундтан кейін', + pluralGenitive: '{{count}} секундтан кейін' + } + }, + xSeconds: { + regular: { + singularNominative: '{{count}} секунд', + singularGenitive: '{{count}} секунд', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунд бұрын', + singularGenitive: '{{count}} секунд бұрын', + pluralGenitive: '{{count}} секунд бұрын' + }, + future: { + singularNominative: '{{count}} секундтан кейін', + singularGenitive: '{{count}} секундтан кейін', + pluralGenitive: '{{count}} секундтан кейін' + } + }, + halfAMinute: function halfAMinute(options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'жарты минут ішінде'; + } else { + return 'жарты минут бұрын'; + } + } + return 'жарты минут'; + }, + lessThanXMinutes: { + regular: { + one: '1 минуттан аз', + singularNominative: '{{count}} минуттан аз', + singularGenitive: '{{count}} минуттан аз', + pluralGenitive: '{{count}} минуттан аз' + }, + future: { + one: 'минуттан кем ', + singularNominative: '{{count}} минуттан кем', + singularGenitive: '{{count}} минуттан кем', + pluralGenitive: '{{count}} минуттан кем' + } + }, + xMinutes: { + regular: { + singularNominative: '{{count}} минут', + singularGenitive: '{{count}} минут', + pluralGenitive: '{{count}} минут' + }, + past: { + singularNominative: '{{count}} минут бұрын', + singularGenitive: '{{count}} минут бұрын', + pluralGenitive: '{{count}} минут бұрын' + }, + future: { + singularNominative: '{{count}} минуттан кейін', + singularGenitive: '{{count}} минуттан кейін', + pluralGenitive: '{{count}} минуттан кейін' + } + }, + aboutXHours: { + regular: { + singularNominative: 'шамамен {{count}} сағат', + singularGenitive: 'шамамен {{count}} сағат', + pluralGenitive: 'шамамен {{count}} сағат' + }, + future: { + singularNominative: 'шамамен {{count}} сағаттан кейін', + singularGenitive: 'шамамен {{count}} сағаттан кейін', + pluralGenitive: 'шамамен {{count}} сағаттан кейін' + } + }, + xHours: { + regular: { + singularNominative: '{{count}} сағат', + singularGenitive: '{{count}} сағат', + pluralGenitive: '{{count}} сағат' + } + }, + xDays: { + regular: { + singularNominative: '{{count}} күн', + singularGenitive: '{{count}} күн', + pluralGenitive: '{{count}} күн' + }, + future: { + singularNominative: '{{count}} күннен кейін', + singularGenitive: '{{count}} күннен кейін', + pluralGenitive: '{{count}} күннен кейін' + } + }, + aboutXWeeks: { + type: 'weeks', + one: 'шамамен 1 апта', + other: 'шамамен {{count}} апта' + }, + xWeeks: { + type: 'weeks', + one: '1 апта', + other: '{{count}} апта' + }, + aboutXMonths: { + regular: { + singularNominative: 'шамамен {{count}} ай', + singularGenitive: 'шамамен {{count}} ай', + pluralGenitive: 'шамамен {{count}} ай' + }, + future: { + singularNominative: 'шамамен {{count}} айдан кейін', + singularGenitive: 'шамамен {{count}} айдан кейін', + pluralGenitive: 'шамамен {{count}} айдан кейін' + } + }, + xMonths: { + regular: { + singularNominative: '{{count}} ай', + singularGenitive: '{{count}} ай', + pluralGenitive: '{{count}} ай' + } + }, + aboutXYears: { + regular: { + singularNominative: 'шамамен {{count}} жыл', + singularGenitive: 'шамамен {{count}} жыл', + pluralGenitive: 'шамамен {{count}} жыл' + }, + future: { + singularNominative: 'шамамен {{count}} жылдан кейін', + singularGenitive: 'шамамен {{count}} жылдан кейін', + pluralGenitive: 'шамамен {{count}} жылдан кейін' + } + }, + xYears: { + regular: { + singularNominative: '{{count}} жыл', + singularGenitive: '{{count}} жыл', + pluralGenitive: '{{count}} жыл' + }, + future: { + singularNominative: '{{count}} жылдан кейін', + singularGenitive: '{{count}} жылдан кейін', + pluralGenitive: '{{count}} жылдан кейін' + } + }, + overXYears: { + regular: { + singularNominative: '{{count}} жылдан астам', + singularGenitive: '{{count}} жылдан астам', + pluralGenitive: '{{count}} жылдан астам' + }, + future: { + singularNominative: '{{count}} жылдан астам', + singularGenitive: '{{count}} жылдан астам', + pluralGenitive: '{{count}} жылдан астам' + } + }, + almostXYears: { + regular: { + singularNominative: '{{count}} жылға жақын', + singularGenitive: '{{count}} жылға жақын', + pluralGenitive: '{{count}} жылға жақын' + }, + future: { + singularNominative: '{{count}} жылдан кейін', + singularGenitive: '{{count}} жылдан кейін', + pluralGenitive: '{{count}} жылдан кейін' + } + } +}; +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one && count === 1) return scheme.one; + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +var formatDistance = function formatDistance(token, count, options) { + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'function') return tokenValue(options); + if (tokenValue.type === 'weeks') { + return count === 1 ? tokenValue.one : tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (tokenValue.future) { + return declension(tokenValue.future, count); + } else { + return declension(tokenValue.regular, count) + ' кейін'; + } + } else { + if (tokenValue.past) { + return declension(tokenValue.past, count); + } else { + return declension(tokenValue.regular, count) + ' бұрын'; + } + } + } else { + return declension(tokenValue.regular, count); + } +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/_lib/formatLong/index.js b/node_modules/date-fns/locale/kk/_lib/formatLong/index.js new file mode 100644 index 000000000..e7e274341 --- /dev/null +++ b/node_modules/date-fns/locale/kk/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, do MMMM y 'ж.'", + long: "do MMMM y 'ж.'", + medium: "d MMM y 'ж.'", + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/_lib/formatRelative/index.js b/node_modules/date-fns/locale/kk/_lib/formatRelative/index.js new file mode 100644 index 000000000..ca5045834 --- /dev/null +++ b/node_modules/date-fns/locale/kk/_lib/formatRelative/index.js @@ -0,0 +1,53 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var accusativeWeekdays = ['жексенбіде', 'дүйсенбіде', 'сейсенбіде', 'сәрсенбіде', 'бейсенбіде', 'жұмада', 'сенбіде']; +function _lastWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'өткен " + weekday + " сағат' p'-де'"; +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'" + weekday + " сағат' p'-де'"; +} +function _nextWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'келесі " + weekday + " сағат' p'-де'"; +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'кеше сағат' p'-де'", + today: "'бүгін сағат' p'-де'", + tomorrow: "'ертең сағат' p'-де'", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/_lib/localize/index.js b/node_modules/date-fns/locale/kk/_lib/localize/index.js new file mode 100644 index 000000000..b55bafc1f --- /dev/null +++ b/node_modules/date-fns/locale/kk/_lib/localize/index.js @@ -0,0 +1,140 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['б.з.д.', 'б.з.'], + abbreviated: ['б.з.д.', 'б.з.'], + wide: ['біздің заманымызға дейін', 'біздің заманымыз'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ші тоқ.', '2-ші тоқ.', '3-ші тоқ.', '4-ші тоқ.'], + wide: ['1-ші тоқсан', '2-ші тоқсан', '3-ші тоқсан', '4-ші тоқсан'] +}; +var monthValues = { + narrow: ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + abbreviated: ['қаң', 'ақп', 'нау', 'сәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'], + wide: ['қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқсан'] +}; +var formattingMonthValues = { + narrow: ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + abbreviated: ['қаң', 'ақп', 'нау', 'сәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'], + wide: ['қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқсан'] +}; +var dayValues = { + narrow: ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], + short: ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], + abbreviated: ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], + wide: ['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі'] +}; +var dayPeriodValues = { + narrow: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасы', + noon: 'түс', + morning: 'таң', + afternoon: 'күндіз', + evening: 'кеш', + night: 'түн' + }, + wide: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасы', + noon: 'түс', + morning: 'таң', + afternoon: 'күндіз', + evening: 'кеш', + night: 'түн' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасында', + noon: 'түс', + morning: 'таң', + afternoon: 'күн', + evening: 'кеш', + night: 'түн' + }, + wide: { + am: 'ТД', + pm: 'ТК', + midnight: 'түн ортасында', + noon: 'түсте', + morning: 'таңертең', + afternoon: 'күндіз', + evening: 'кеште', + night: 'түнде' + } +}; +var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші' +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var mod10 = number % 10; + var b = number >= 100 ? 100 : null; + var suffix = suffixes[number] || suffixes[mod10] || b && suffixes[b] || ''; + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/_lib/match/index.js b/node_modules/date-fns/locale/kk/_lib/match/index.js new file mode 100644 index 000000000..cf7fc6652 --- /dev/null +++ b/node_modules/date-fns/locale/kk/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?(ші|шы))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((б )?з\.?\s?д\.?)/i, + abbreviated: /^((б )?з\.?\s?д\.?)/i, + wide: /^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i +}; +var parseEraPatterns = { + any: [/^б/i, /^з/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?ші)? тоқ.?/i, + wide: /^[1234](-?ші)? тоқсан/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i, + abbreviated: /^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i, + wide: /^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i +}; +var parseMonthPatterns = { + narrow: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i], + abbreviated: [/^қаң/i, /^ақп/i, /^нау/i, /^сәу/i, /^мам/i, /^мау/i, /^шіл/i, /^там/i, /^қыр/i, /^қаз/i, /^қар/i, /^жел/i], + any: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i] +}; +var matchDayPatterns = { + narrow: /^(ж|д|с|с|б|ж|с)/i, + short: /^(жс|дс|сс|ср|бс|жм|сб)/i, + wide: /^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i +}; +var parseDayPatterns = { + narrow: [/^ж/i, /^д/i, /^с/i, /^с/i, /^б/i, /^ж/i, /^с/i], + short: [/^жс/i, /^дс/i, /^сс/i, /^ср/i, /^бс/i, /^жм/i, /^сб/i], + any: [/^ж[ек]/i, /^д[үй]/i, /^сe[й]/i, /^сә[р]/i, /^б[ей]/i, /^ж[ұм]/i, /^се[н]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i, + wide: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i, + any: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ТД/i, + pm: /^ТК/i, + midnight: /^түн орта/i, + noon: /^күндіз/i, + morning: /таң/i, + afternoon: /түс/i, + evening: /кеш/i, + night: /түн/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/index.d.ts b/node_modules/date-fns/locale/kk/index.d.ts new file mode 100644 index 000000000..8ccf1a7f1 --- /dev/null +++ b/node_modules/date-fns/locale/kk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { kk } from 'date-fns/locale' +export default kk diff --git a/node_modules/date-fns/locale/kk/index.js b/node_modules/date-fns/locale/kk/index.js new file mode 100644 index 000000000..74d199508 --- /dev/null +++ b/node_modules/date-fns/locale/kk/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Kazakh locale. + * @language Kazakh + * @iso-639-2 kaz + * @author Nikita Bayev [@drugoi]{@link https://github.com/drugoi} + */ +var locale = { + code: 'kk', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kk/index.js.flow b/node_modules/date-fns/locale/kk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/kk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/kk/package.json b/node_modules/date-fns/locale/kk/package.json new file mode 100644 index 000000000..e094d41a1 --- /dev/null +++ b/node_modules/date-fns/locale/kk/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/kk/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/_lib/formatDistance/index.js b/node_modules/date-fns/locale/km/_lib/formatDistance/index.js new file mode 100644 index 000000000..46ab3ebf5 --- /dev/null +++ b/node_modules/date-fns/locale/km/_lib/formatDistance/index.js @@ -0,0 +1,42 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: 'តិចជាង {{count}} វិនាទី', + xSeconds: '{{count}} វិនាទី', + halfAMinute: 'កន្លះនាទី', + lessThanXMinutes: 'តិចជាង {{count}} នាទី', + xMinutes: '{{count}} នាទី', + aboutXHours: 'ប្រហែល {{count}} ម៉ោង', + xHours: '{{count}} ម៉ោង', + xDays: '{{count}} ថ្ងៃ', + aboutXWeeks: 'ប្រហែល {{count}} សប្តាហ៍', + xWeeks: '{{count}} សប្តាហ៍', + aboutXMonths: 'ប្រហែល {{count}} ខែ', + xMonths: '{{count}} ខែ', + aboutXYears: 'ប្រហែល {{count}} ឆ្នាំ', + xYears: '{{count}} ឆ្នាំ', + overXYears: 'ជាង {{count}} ឆ្នាំ', + almostXYears: 'ជិត {{count}} ឆ្នាំ' +}; +var formatDistance = function formatDistance(token, count, options) { + var tokenValue = formatDistanceLocale[token]; + var result = tokenValue; + if (typeof count === 'number') { + result = result.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'ក្នុងរយៈពេល ' + result; + } else { + return result + 'មុន'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/_lib/formatLong/index.js b/node_modules/date-fns/locale/km/_lib/formatLong/index.js new file mode 100644 index 000000000..bb6f0f20d --- /dev/null +++ b/node_modules/date-fns/locale/km/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a', + long: 'h:mm:ss a', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'ម៉ោង' {{time}}", + long: "{{date}} 'ម៉ោង' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/_lib/formatRelative/index.js b/node_modules/date-fns/locale/km/_lib/formatRelative/index.js new file mode 100644 index 000000000..f1139ca47 --- /dev/null +++ b/node_modules/date-fns/locale/km/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​មុនម៉ោង' p", + yesterday: "'ម្សិលមិញនៅម៉ោង' p", + today: "'ថ្ងៃនេះម៉ោង' p", + tomorrow: "'ថ្ងៃស្អែកម៉ោង' p", + nextWeek: "'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​ក្រោយម៉ោង' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/_lib/localize/index.js b/node_modules/date-fns/locale/km/_lib/localize/index.js new file mode 100644 index 000000000..619b4771f --- /dev/null +++ b/node_modules/date-fns/locale/km/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ម.គស', 'គស'], + abbreviated: ['មុនគ.ស', 'គ.ស'], + wide: ['មុនគ្រិស្តសករាជ', 'នៃគ្រិស្តសករាជ'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['ត្រីមាសទី 1', 'ត្រីមាសទី 2', 'ត្រីមាសទី 3', 'ត្រីមាសទី 4'] +}; +var monthValues = { + narrow: ['ម.ក', 'ក.ម', 'មិ', 'ម.ស', 'ឧ.ស', 'ម.ថ', 'ក.ដ', 'សី', 'កញ', 'តុ', 'វិ', 'ធ'], + abbreviated: ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'], + wide: ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'] +}; +var dayValues = { + narrow: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'], + short: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'], + abbreviated: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'], + wide: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'] +}; +var dayPeriodValues = { + narrow: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + abbreviated: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + wide: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + abbreviated: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + }, + wide: { + am: 'ព្រឹក', + pm: 'ល្ងាច', + midnight: '​ពេលកណ្ដាលអធ្រាត្រ', + noon: 'ពេលថ្ងៃត្រង់', + morning: 'ពេលព្រឹក', + afternoon: 'ពេលរសៀល', + evening: 'ពេលល្ងាច', + night: 'ពេលយប់' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _) { + var number = Number(dirtyNumber); + return number.toString(); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/_lib/match/index.js b/node_modules/date-fns/locale/km/_lib/match/index.js new file mode 100644 index 000000000..2e2d6d57b --- /dev/null +++ b/node_modules/date-fns/locale/km/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ម\.)?គស/i, + abbreviated: /^(មុន)?គ\.ស/i, + wide: /^(មុន|នៃ)គ្រិស្តសករាជ/i +}; +var parseEraPatterns = { + any: [/^(ម|មុន)គ\.?ស/i, /^(នៃ)?គ\.?ស/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^(ត្រីមាស)(ទី)?\s?[1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(ម\.ក|ក\.ម|មិ|ម\.ស|ឧ\.ស|ម\.ថ|ក\.ដ|សី|កញ|តុ|វិ|ធ)/i, + abbreviated: /^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i, + wide: /^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i +}; +var parseMonthPatterns = { + narrow: [/^ម\.ក/i, /^ក\.ម/i, /^មិ/i, /^ម\.ស/i, /^ឧ\.ស/i, /^ម\.ថ/i, /^ក\.ដ/i, /^សី/i, /^កញ/i, /^តុ/i, /^វិ/i, /^ធ/i], + any: [/^មក/i, /^កុ/i, /^មីន/i, /^មេ/i, /^ឧស/i, /^មិថ/i, /^កក/i, /^សី/i, /^កញ/i, /^តុ/i, /^វិច/i, /^ធ/i] +}; +var matchDayPatterns = { + narrow: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i, + short: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i, + abbreviated: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i, + wide: /^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i +}; +var parseDayPatterns = { + narrow: [/^អា/i, /^ច/i, /^អ/i, /^ព/i, /^ព្រ/i, /^សុ/i, /^ស/i], + any: [/^អា/i, /^ច/i, /^អ/i, /^ព/i, /^ព្រ/i, /^សុ/i, /^សៅ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i, + any: /^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ព្រឹក/i, + pm: /^ល្ងាច/i, + midnight: /^ពេលកណ្ដាលអធ្រាត្រ/i, + noon: /^ពេលថ្ងៃត្រង់/i, + morning: /ពេលព្រឹក/i, + afternoon: /ពេលរសៀល/i, + evening: /ពេលល្ងាច/i, + night: /ពេលយប់/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/index.d.ts b/node_modules/date-fns/locale/km/index.d.ts new file mode 100644 index 000000000..82f582cd1 --- /dev/null +++ b/node_modules/date-fns/locale/km/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { km } from 'date-fns/locale' +export default km diff --git a/node_modules/date-fns/locale/km/index.js b/node_modules/date-fns/locale/km/index.js new file mode 100644 index 000000000..218b7afbf --- /dev/null +++ b/node_modules/date-fns/locale/km/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Khmer locale (Cambodian). + * @language Khmer + * @iso-639-2 khm + * @author Seanghay Yath [@seanghay]{@link https://github.com/seanghay} + */ +var locale = { + code: 'km', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/km/index.js.flow b/node_modules/date-fns/locale/km/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/km/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/km/package.json b/node_modules/date-fns/locale/km/package.json new file mode 100644 index 000000000..e6e179561 --- /dev/null +++ b/node_modules/date-fns/locale/km/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/km/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/_lib/formatDistance/index.js b/node_modules/date-fns/locale/kn/_lib/formatDistance/index.js new file mode 100644 index 000000000..e68e2b2ad --- /dev/null +++ b/node_modules/date-fns/locale/kn/_lib/formatDistance/index.js @@ -0,0 +1,202 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +// note: no implementation for weeks + +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + default: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + future: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + past: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ' + }, + other: { + default: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + future: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ', + past: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ' + } + }, + xSeconds: { + one: { + default: '1 ಸೆಕೆಂಡ್', + future: '1 ಸೆಕೆಂಡ್‌ನಲ್ಲಿ', + past: '1 ಸೆಕೆಂಡ್ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ಸೆಕೆಂಡುಗಳು', + future: '{{count}} ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ', + past: '{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ' + } + }, + halfAMinute: { + other: { + default: 'ಅರ್ಧ ನಿಮಿಷ', + future: 'ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ', + past: 'ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ' + } + }, + lessThanXMinutes: { + one: { + default: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + future: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + past: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ' + }, + other: { + default: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + future: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ', + past: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ' + } + }, + xMinutes: { + one: { + default: '1 ನಿಮಿಷ', + future: '1 ನಿಮಿಷದಲ್ಲಿ', + past: '1 ನಿಮಿಷದ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ನಿಮಿಷಗಳು', + future: '{{count}} ನಿಮಿಷಗಳಲ್ಲಿ', + past: '{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ' + } + }, + aboutXHours: { + one: { + default: 'ಸುಮಾರು 1 ಗಂಟೆ', + future: 'ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ', + past: 'ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ' + }, + other: { + default: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳು', + future: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ' + } + }, + xHours: { + one: { + default: '1 ಗಂಟೆ', + future: '1 ಗಂಟೆಯಲ್ಲಿ', + past: '1 ಗಂಟೆ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ಗಂಟೆಗಳು', + future: '{{count}} ಗಂಟೆಗಳಲ್ಲಿ', + past: '{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ' + } + }, + xDays: { + one: { + default: '1 ದಿನ', + future: '1 ದಿನದಲ್ಲಿ', + past: '1 ದಿನದ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ದಿನಗಳು', + future: '{{count}} ದಿನಗಳಲ್ಲಿ', + past: '{{count}} ದಿನಗಳ ಹಿಂದೆ' + } + }, + // TODO + // aboutXWeeks: {}, + + // TODO + // xWeeks: {}, + + aboutXMonths: { + one: { + default: 'ಸುಮಾರು 1 ತಿಂಗಳು', + future: 'ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ' + }, + other: { + default: 'ಸುಮಾರು {{count}} ತಿಂಗಳು', + future: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ' + } + }, + xMonths: { + one: { + default: '1 ತಿಂಗಳು', + future: '1 ತಿಂಗಳಲ್ಲಿ', + past: '1 ತಿಂಗಳ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ತಿಂಗಳು', + future: '{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ', + past: '{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ' + } + }, + aboutXYears: { + one: { + default: 'ಸುಮಾರು 1 ವರ್ಷ', + future: 'ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ', + past: 'ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ' + }, + other: { + default: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳು', + future: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ', + past: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ' + } + }, + xYears: { + one: { + default: '1 ವರ್ಷ', + future: '1 ವರ್ಷದಲ್ಲಿ', + past: '1 ವರ್ಷದ ಹಿಂದೆ' + }, + other: { + default: '{{count}} ವರ್ಷಗಳು', + future: '{{count}} ವರ್ಷಗಳಲ್ಲಿ', + past: '{{count}} ವರ್ಷಗಳ ಹಿಂದೆ' + } + }, + overXYears: { + one: { + default: '1 ವರ್ಷದ ಮೇಲೆ', + future: '1 ವರ್ಷದ ಮೇಲೆ', + past: '1 ವರ್ಷದ ಮೇಲೆ' + }, + other: { + default: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ', + future: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ', + past: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ' + } + }, + almostXYears: { + one: { + default: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ', + future: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ', + past: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ' + }, + other: { + default: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ', + future: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ', + past: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ' + } + } +}; +function getResultByTense(parentToken, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return parentToken.future; + } else { + return parentToken.past; + } + } + return parentToken.default; +} +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (tokenValue.one && count === 1) { + result = getResultByTense(tokenValue.one, options); + } else { + result = getResultByTense(tokenValue.other, options); + } + return result.replace('{{count}}', String(count)); +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/_lib/formatLong/index.js b/node_modules/date-fns/locale/kn/_lib/formatLong/index.js new file mode 100644 index 000000000..149e15e27 --- /dev/null +++ b/node_modules/date-fns/locale/kn/_lib/formatLong/index.js @@ -0,0 +1,57 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +// Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html + +var dateFormats = { + full: 'EEEE, MMMM d, y', + // CLDR 1816 + long: 'MMMM d, y', + // CLDR 1817 + medium: 'MMM d, y', + // CLDR 1818 + short: 'd/M/yy' // CLDR 1819 +}; + +var timeFormats = { + full: 'hh:mm:ss a zzzz', + // CLDR 1820 + long: 'hh:mm:ss a z', + // CLDR 1821 + medium: 'hh:mm:ss a', + // CLDR 1822 + short: 'hh:mm a' // CLDR 1823 +}; + +var dateTimeFormats = { + full: '{{date}} {{time}}', + // CLDR 1824 + long: '{{date}} {{time}}', + // CLDR 1825 + medium: '{{date}} {{time}}', + // CLDR 1826 + short: '{{date}} {{time}}' // CLDR 1827 +}; + +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/_lib/formatRelative/index.js b/node_modules/date-fns/locale/kn/_lib/formatRelative/index.js new file mode 100644 index 000000000..bc6139612 --- /dev/null +++ b/node_modules/date-fns/locale/kn/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'ಕಳೆದ' eeee p 'ಕ್ಕೆ'", + yesterday: "'ನಿನ್ನೆ' p 'ಕ್ಕೆ'", + today: "'ಇಂದು' p 'ಕ್ಕೆ'", + tomorrow: "'ನಾಳೆ' p 'ಕ್ಕೆ'", + nextWeek: "eeee p 'ಕ್ಕೆ'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/_lib/localize/index.js b/node_modules/date-fns/locale/kn/_lib/localize/index.js new file mode 100644 index 000000000..08b8d3bd6 --- /dev/null +++ b/node_modules/date-fns/locale/kn/_lib/localize/index.js @@ -0,0 +1,139 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html + +var eraValues = { + narrow: ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], + abbreviated: ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], + // CLDR #1618, #1620 + wide: ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ'] // CLDR #1614, #1616 +}; + +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['ತ್ರೈ 1', 'ತ್ರೈ 2', 'ತ್ರೈ 3', 'ತ್ರೈ 4'], + // CLDR #1630 - #1638 + wide: ['1ನೇ ತ್ರೈಮಾಸಿಕ', '2ನೇ ತ್ರೈಮಾಸಿಕ', '3ನೇ ತ್ರೈಮಾಸಿಕ', '4ನೇ ತ್ರೈಮಾಸಿಕ'] // CLDR #1622 - #1629 +}; + +// CLDR #1646 - #1717 +var monthValues = { + narrow: ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], + abbreviated: ['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], + wide: ['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', 'ಡಿಸೆಂಬರ್'] +}; + +// CLDR #1718 - #1773 +var dayValues = { + narrow: ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], + short: ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], + abbreviated: ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], + wide: ['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ'] +}; + +// CLDR #1774 - #1815 +var dayPeriodValues = { + narrow: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾಹ್ನ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾಹ್ನ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + abbreviated: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + wide: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ಪೂ', + pm: 'ಅ', + midnight: 'ಮಧ್ಯರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + abbreviated: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯ ರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + }, + wide: { + am: 'ಪೂರ್ವಾಹ್ನ', + pm: 'ಅಪರಾಹ್ನ', + midnight: 'ಮಧ್ಯ ರಾತ್ರಿ', + noon: 'ಮಧ್ಯಾನ್ಹ', + morning: 'ಬೆಳಗ್ಗೆ', + afternoon: 'ಮಧ್ಯಾನ್ಹ', + evening: 'ಸಂಜೆ', + night: 'ರಾತ್ರಿ' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'ನೇ'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/_lib/match/index.js b/node_modules/date-fns/locale/kn/_lib/match/index.js new file mode 100644 index 000000000..43516b477 --- /dev/null +++ b/node_modules/date-fns/locale/kn/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(ನೇ|ನೆ)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i, + abbreviated: /^(ಕ್ರಿ\.?\s?ಪೂ\.?|ಕ್ರಿ\.?\s?ಶ\.?|ಪ್ರ\.?\s?ಶ\.?)/i, + wide: /^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i +}; +var parseEraPatterns = { + any: [/^ಪೂ/i, /^(ಶ|ಪ್ರ)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i, + wide: /^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i, + abbreviated: /^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i, + wide: /^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i +}; +var parseMonthPatterns = { + narrow: [/^ಜ$/i, /^ಫೆ/i, /^ಮಾ/i, /^ಏ/i, /^ಮೇ/i, /^ಜೂ/i, /^ಜು$/i, /^ಆ/i, /^ಸೆ/i, /^ಅ/i, /^ನ/i, /^ಡಿ/i], + any: [/^ಜನ/i, /^ಫೆ/i, /^ಮಾ/i, /^ಏ/i, /^ಮೇ/i, /^ಜೂನ್/i, /^ಜುಲೈ/i, /^ಆ/i, /^ಸೆ/i, /^ಅ/i, /^ನ/i, /^ಡಿ/i] +}; +var matchDayPatterns = { + narrow: /^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i, + short: /^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i, + abbreviated: /^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i, + wide: /^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i +}; +var parseDayPatterns = { + narrow: [/^ಭಾ/i, /^ಸೋ/i, /^ಮ/i, /^ಬು/i, /^ಗು/i, /^ಶು/i, /^ಶ/i], + any: [/^ಭಾ/i, /^ಸೋ/i, /^ಮ/i, /^ಬು/i, /^ಗು/i, /^ಶು/i, /^ಶ/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i, + any: /^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ಪೂ/i, + pm: /^ಅ/i, + midnight: /ಮಧ್ಯರಾತ್ರಿ/i, + noon: /ಮಧ್ಯಾನ್ಹ/i, + morning: /ಬೆಳಗ್ಗೆ/i, + afternoon: /ಮಧ್ಯಾನ್ಹ/i, + evening: /ಸಂಜೆ/i, + night: /ರಾತ್ರಿ/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/index.d.ts b/node_modules/date-fns/locale/kn/index.d.ts new file mode 100644 index 000000000..85a2ed5c2 --- /dev/null +++ b/node_modules/date-fns/locale/kn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { kn } from 'date-fns/locale' +export default kn diff --git a/node_modules/date-fns/locale/kn/index.js b/node_modules/date-fns/locale/kn/index.js new file mode 100644 index 000000000..a7f04710f --- /dev/null +++ b/node_modules/date-fns/locale/kn/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Kannada locale (India). + * @language Kannada + * @iso-639-2 kan + * @author Manjunatha Gouli [@developergouli]{@link https://github.com/developergouli} + */ +var locale = { + code: 'kn', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/kn/index.js.flow b/node_modules/date-fns/locale/kn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/kn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/kn/package.json b/node_modules/date-fns/locale/kn/package.json new file mode 100644 index 000000000..005e18bfe --- /dev/null +++ b/node_modules/date-fns/locale/kn/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/kn/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ko/_lib/formatDistance/index.js new file mode 100644 index 000000000..9181deb4d --- /dev/null +++ b/node_modules/date-fns/locale/ko/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1초 미만', + other: '{{count}}초 미만' + }, + xSeconds: { + one: '1초', + other: '{{count}}초' + }, + halfAMinute: '30초', + lessThanXMinutes: { + one: '1분 미만', + other: '{{count}}분 미만' + }, + xMinutes: { + one: '1분', + other: '{{count}}분' + }, + aboutXHours: { + one: '약 1시간', + other: '약 {{count}}시간' + }, + xHours: { + one: '1시간', + other: '{{count}}시간' + }, + xDays: { + one: '1일', + other: '{{count}}일' + }, + aboutXWeeks: { + one: '약 1주', + other: '약 {{count}}주' + }, + xWeeks: { + one: '1주', + other: '{{count}}주' + }, + aboutXMonths: { + one: '약 1개월', + other: '약 {{count}}개월' + }, + xMonths: { + one: '1개월', + other: '{{count}}개월' + }, + aboutXYears: { + one: '약 1년', + other: '약 {{count}}년' + }, + xYears: { + one: '1년', + other: '{{count}}년' + }, + overXYears: { + one: '1년 이상', + other: '{{count}}년 이상' + }, + almostXYears: { + one: '거의 1년', + other: '거의 {{count}}년' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' 후'; + } else { + return result + ' 전'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/_lib/formatLong/index.js b/node_modules/date-fns/locale/ko/_lib/formatLong/index.js new file mode 100644 index 000000000..6439f606a --- /dev/null +++ b/node_modules/date-fns/locale/ko/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'y년 M월 d일 EEEE', + long: 'y년 M월 d일', + medium: 'y.MM.dd', + short: 'y.MM.dd' +}; +var timeFormats = { + full: 'a H시 mm분 ss초 zzzz', + long: 'a H:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ko/_lib/formatRelative/index.js new file mode 100644 index 000000000..460495824 --- /dev/null +++ b/node_modules/date-fns/locale/ko/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'지난' eeee p", + yesterday: "'어제' p", + today: "'오늘' p", + tomorrow: "'내일' p", + nextWeek: "'다음' eeee p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/_lib/localize/index.js b/node_modules/date-fns/locale/ko/_lib/localize/index.js new file mode 100644 index 000000000..359a1fee6 --- /dev/null +++ b/node_modules/date-fns/locale/ko/_lib/localize/index.js @@ -0,0 +1,137 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['BC', 'AD'], + abbreviated: ['BC', 'AD'], + wide: ['기원전', '서기'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1분기', '2분기', '3분기', '4분기'] +}; +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], + wide: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'] +}; +var dayValues = { + narrow: ['일', '월', '화', '수', '목', '금', '토'], + short: ['일', '월', '화', '수', '목', '금', '토'], + abbreviated: ['일', '월', '화', '수', '목', '금', '토'], + wide: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'] +}; +var dayPeriodValues = { + narrow: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + abbreviated: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + wide: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + abbreviated: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + }, + wide: { + am: '오전', + pm: '오후', + midnight: '자정', + noon: '정오', + morning: '아침', + afternoon: '오후', + evening: '저녁', + night: '밤' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + switch (unit) { + case 'minute': + case 'second': + return String(number); + case 'date': + return number + '일'; + default: + return number + '번째'; + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/_lib/match/index.js b/node_modules/date-fns/locale/ko/_lib/match/index.js new file mode 100644 index 000000000..bf0cecc4b --- /dev/null +++ b/node_modules/date-fns/locale/ko/_lib/match/index.js @@ -0,0 +1,104 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(일|번째)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(기원전|서기)/i +}; +var parseEraPatterns = { + any: [/^(bc|기원전)/i, /^(ad|서기)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]사?분기/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(1[012]|[123456789])/, + abbreviated: /^(1[012]|[123456789])월/i, + wide: /^(1[012]|[123456789])월/i +}; +var parseMonthPatterns = { + any: [/^1월?$/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/] +}; +var matchDayPatterns = { + narrow: /^[일월화수목금토]/, + short: /^[일월화수목금토]/, + abbreviated: /^[일월화수목금토]/, + wide: /^[일월화수목금토]요일/ +}; +var parseDayPatterns = { + any: [/^일/, /^월/, /^화/, /^수/, /^목/, /^금/, /^토/] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(am|오전)/i, + pm: /^(pm|오후)/i, + midnight: /^자정/i, + noon: /^정오/i, + morning: /^아침/i, + afternoon: /^오후/i, + evening: /^저녁/i, + night: /^밤/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/index.d.ts b/node_modules/date-fns/locale/ko/index.d.ts new file mode 100644 index 000000000..eac82282c --- /dev/null +++ b/node_modules/date-fns/locale/ko/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ko } from 'date-fns/locale' +export default ko diff --git a/node_modules/date-fns/locale/ko/index.js b/node_modules/date-fns/locale/ko/index.js new file mode 100644 index 000000000..f1d80a5d2 --- /dev/null +++ b/node_modules/date-fns/locale/ko/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Korean locale. + * @language Korean + * @iso-639-2 kor + * @author Hong Chulju [@angdev]{@link https://github.com/angdev} + * @author Lee Seoyoen [@iamssen]{@link https://github.com/iamssen} + * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles} + */ +var locale = { + code: 'ko', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ko/index.js.flow b/node_modules/date-fns/locale/ko/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ko/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ko/package.json b/node_modules/date-fns/locale/ko/package.json new file mode 100644 index 000000000..34aedde5c --- /dev/null +++ b/node_modules/date-fns/locale/ko/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ko/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/_lib/formatDistance/index.js b/node_modules/date-fns/locale/lb/_lib/formatDistance/index.js new file mode 100644 index 000000000..a36fdf8a3 --- /dev/null +++ b/node_modules/date-fns/locale/lb/_lib/formatDistance/index.js @@ -0,0 +1,208 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'manner wéi eng Sekonn', + other: 'manner wéi {{count}} Sekonnen' + }, + withPreposition: { + one: 'manner wéi enger Sekonn', + other: 'manner wéi {{count}} Sekonnen' + } + }, + xSeconds: { + standalone: { + one: 'eng Sekonn', + other: '{{count}} Sekonnen' + }, + withPreposition: { + one: 'enger Sekonn', + other: '{{count}} Sekonnen' + } + }, + halfAMinute: { + standalone: 'eng hallef Minutt', + withPreposition: 'enger hallwer Minutt' + }, + lessThanXMinutes: { + standalone: { + one: 'manner wéi eng Minutt', + other: 'manner wéi {{count}} Minutten' + }, + withPreposition: { + one: 'manner wéi enger Minutt', + other: 'manner wéi {{count}} Minutten' + } + }, + xMinutes: { + standalone: { + one: 'eng Minutt', + other: '{{count}} Minutten' + }, + withPreposition: { + one: 'enger Minutt', + other: '{{count}} Minutten' + } + }, + aboutXHours: { + standalone: { + one: 'ongeféier eng Stonn', + other: 'ongeféier {{count}} Stonnen' + }, + withPreposition: { + one: 'ongeféier enger Stonn', + other: 'ongeféier {{count}} Stonnen' + } + }, + xHours: { + standalone: { + one: 'eng Stonn', + other: '{{count}} Stonnen' + }, + withPreposition: { + one: 'enger Stonn', + other: '{{count}} Stonnen' + } + }, + xDays: { + standalone: { + one: 'een Dag', + other: '{{count}} Deeg' + }, + withPreposition: { + one: 'engem Dag', + other: '{{count}} Deeg' + } + }, + aboutXWeeks: { + standalone: { + one: 'ongeféier eng Woch', + other: 'ongeféier {{count}} Wochen' + }, + withPreposition: { + one: 'ongeféier enger Woche', + other: 'ongeféier {{count}} Wochen' + } + }, + xWeeks: { + standalone: { + one: 'eng Woch', + other: '{{count}} Wochen' + }, + withPreposition: { + one: 'enger Woch', + other: '{{count}} Wochen' + } + }, + aboutXMonths: { + standalone: { + one: 'ongeféier ee Mount', + other: 'ongeféier {{count}} Méint' + }, + withPreposition: { + one: 'ongeféier engem Mount', + other: 'ongeféier {{count}} Méint' + } + }, + xMonths: { + standalone: { + one: 'ee Mount', + other: '{{count}} Méint' + }, + withPreposition: { + one: 'engem Mount', + other: '{{count}} Méint' + } + }, + aboutXYears: { + standalone: { + one: 'ongeféier ee Joer', + other: 'ongeféier {{count}} Joer' + }, + withPreposition: { + one: 'ongeféier engem Joer', + other: 'ongeféier {{count}} Joer' + } + }, + xYears: { + standalone: { + one: 'ee Joer', + other: '{{count}} Joer' + }, + withPreposition: { + one: 'engem Joer', + other: '{{count}} Joer' + } + }, + overXYears: { + standalone: { + one: 'méi wéi ee Joer', + other: 'méi wéi {{count}} Joer' + }, + withPreposition: { + one: 'méi wéi engem Joer', + other: 'méi wéi {{count}} Joer' + } + }, + almostXYears: { + standalone: { + one: 'bal ee Joer', + other: 'bal {{count}} Joer' + }, + withPreposition: { + one: 'bal engem Joer', + other: 'bal {{count}} Joer' + } + } +}; +var EXCEPTION_CONSONANTS = ['d', 'h', 'n', 't', 'z']; +var VOWELS = ['a,', 'e', 'i', 'o', 'u']; +var DIGITS_SPOKEN_N_NEEDED = [0, 1, 2, 3, 8, 9]; +var FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED = [40, 50, 60, 70]; + +// Eifeler Regel +function isFinalNNeeded(nextWords) { + var firstLetter = nextWords.charAt(0).toLowerCase(); + if (VOWELS.indexOf(firstLetter) != -1 || EXCEPTION_CONSONANTS.indexOf(firstLetter) != -1) { + return true; + } + + // Numbers would need to converted into words for checking. + // Therefore, I have listed the digits that require a preceeding n with a few exceptions. + var firstWord = nextWords.split(' ')[0]; + var number = parseInt(firstWord); + if (!isNaN(number) && DIGITS_SPOKEN_N_NEEDED.indexOf(number % 10) != -1 && FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED.indexOf(parseInt(firstWord.substring(0, 2))) == -1) { + return true; + } + + // Omit other checks as they are not expected here. + return false; +} +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + var usageGroup = options !== null && options !== void 0 && options.addSuffix ? tokenValue.withPreposition : tokenValue.standalone; + if (typeof usageGroup === 'string') { + result = usageGroup; + } else if (count === 1) { + result = usageGroup.one; + } else { + result = usageGroup.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'a' + (isFinalNNeeded(result) ? 'n' : '') + ' ' + result; + } else { + return 'viru' + (isFinalNNeeded(result) ? 'n' : '') + ' ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/_lib/formatLong/index.js b/node_modules/date-fns/locale/lb/_lib/formatLong/index.js new file mode 100644 index 000000000..8bf2d8e85 --- /dev/null +++ b/node_modules/date-fns/locale/lb/_lib/formatLong/index.js @@ -0,0 +1,49 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +// DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008 + +var dateFormats = { + full: 'EEEE, do MMMM y', + // Méindeg, 7. Januar 2018 + long: 'do MMMM y', + // 7. Januar 2018 + medium: 'do MMM y', + // 7. Jan 2018 + short: 'dd.MM.yy' // 07.01.18 +}; + +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'um' {{time}}", + long: "{{date}} 'um' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/_lib/formatRelative/index.js b/node_modules/date-fns/locale/lb/_lib/formatRelative/index.js new file mode 100644 index 000000000..2b269d672 --- /dev/null +++ b/node_modules/date-fns/locale/lb/_lib/formatRelative/index.js @@ -0,0 +1,33 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var day = date.getUTCDay(); + var result = "'läschte"; + if (day === 2 || day === 4) { + // Eifeler Regel: Add an n before the consonant d; Here "Dënschdeg" "and Donneschde". + result += 'n'; + } + result += "' eeee 'um' p"; + return result; + }, + yesterday: "'gëschter um' p", + today: "'haut um' p", + tomorrow: "'moien um' p", + nextWeek: "eeee 'um' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/_lib/localize/index.js b/node_modules/date-fns/locale/lb/_lib/localize/index.js new file mode 100644 index 000000000..fbffc0320 --- /dev/null +++ b/node_modules/date-fns/locale/lb/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['v.Chr.', 'n.Chr.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['viru Christus', 'no Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + wide: ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'] +}; +var dayValues = { + narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + short: ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'], + abbreviated: ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'], + wide: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'] +}; +var dayPeriodValues = { + narrow: { + am: 'mo.', + pm: 'nomë.', + midnight: 'Mëtternuecht', + noon: 'Mëtteg', + morning: 'Moien', + afternoon: 'Nomëtteg', + evening: 'Owend', + night: 'Nuecht' + }, + abbreviated: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'Mëtteg', + morning: 'Moien', + afternoon: 'Nomëtteg', + evening: 'Owend', + night: 'Nuecht' + }, + wide: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'Mëtteg', + morning: 'Moien', + afternoon: 'Nomëtteg', + evening: 'Owend', + night: 'Nuecht' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'mo.', + pm: 'nom.', + midnight: 'Mëtternuecht', + noon: 'mëttes', + morning: 'moies', + afternoon: 'nomëttes', + evening: 'owes', + night: 'nuets' + }, + abbreviated: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'mëttes', + morning: 'moies', + afternoon: 'nomëttes', + evening: 'owes', + night: 'nuets' + }, + wide: { + am: 'moies', + pm: 'nomëttes', + midnight: 'Mëtternuecht', + noon: 'mëttes', + morning: 'moies', + afternoon: 'nomëttes', + evening: 'owes', + night: 'nuets' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/_lib/match/index.js b/node_modules/date-fns/locale/lb/_lib/match/index.js new file mode 100644 index 000000000..adceb5d84 --- /dev/null +++ b/node_modules/date-fns/locale/lb/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i, + wide: /^(viru Christus|virun eiser Zäitrechnung|no Christus|eiser Zäitrechnung)/i +}; +var parseEraPatterns = { + any: [/^v/i, /^n/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? Quartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mäe|abr|mee|jun|jul|aug|sep|okt|nov|dez)/i, + wide: /^(januar|februar|mäerz|abrëll|mee|juni|juli|august|september|oktober|november|dezember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mä/i, /^ab/i, /^me/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smdf]/i, + short: /^(so|mé|dë|më|do|fr|sa)/i, + abbreviated: /^(son?|méi?|dën?|mët?|don?|fre?|sam?)\.?/i, + wide: /^(sonndeg|méindeg|dënschdeg|mëttwoch|donneschdeg|freideg|samschdeg)/i +}; +var parseDayPatterns = { + any: [/^so/i, /^mé/i, /^dë/i, /^më/i, /^do/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(mo\.?|nomë\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i, + abbreviated: /^(moi\.?|nomët\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i, + wide: /^(moies|nomëttes|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^m/i, + pm: /^n/i, + midnight: /^Mëtter/i, + noon: /^mëttes/i, + morning: /moies/i, + afternoon: /nomëttes/i, + // will never be matched. Afternoon is matched by `pm` + evening: /owes/i, + night: /nuets/i // will never be matched. Night is matched by `pm` + } +}; + +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/index.d.ts b/node_modules/date-fns/locale/lb/index.d.ts new file mode 100644 index 000000000..727529bb2 --- /dev/null +++ b/node_modules/date-fns/locale/lb/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lb } from 'date-fns/locale' +export default lb diff --git a/node_modules/date-fns/locale/lb/index.js b/node_modules/date-fns/locale/lb/index.js new file mode 100644 index 000000000..9afdc01a4 --- /dev/null +++ b/node_modules/date-fns/locale/lb/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Luxembourgish locale. + * @language Luxembourgish + * @iso-639-2 ltz + * @author Daniel Waxweiler [@dwaxweiler]{@link https://github.com/dwaxweiler} + */ +var locale = { + code: 'lb', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lb/index.js.flow b/node_modules/date-fns/locale/lb/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/lb/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/lb/package.json b/node_modules/date-fns/locale/lb/package.json new file mode 100644 index 000000000..d17661769 --- /dev/null +++ b/node_modules/date-fns/locale/lb/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/lb/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/_lib/formatDistance/index.js b/node_modules/date-fns/locale/lt/_lib/formatDistance/index.js new file mode 100644 index 000000000..abd5992f0 --- /dev/null +++ b/node_modules/date-fns/locale/lt/_lib/formatDistance/index.js @@ -0,0 +1,147 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var translations = { + xseconds_other: 'sekundė_sekundžių_sekundes', + xminutes_one: 'minutė_minutės_minutę', + xminutes_other: 'minutės_minučių_minutes', + xhours_one: 'valanda_valandos_valandą', + xhours_other: 'valandos_valandų_valandas', + xdays_one: 'diena_dienos_dieną', + xdays_other: 'dienos_dienų_dienas', + xweeks_one: 'savaitė_savaitės_savaitę', + xweeks_other: 'savaitės_savaičių_savaites', + xmonths_one: 'mėnuo_mėnesio_mėnesį', + xmonths_other: 'mėnesiai_mėnesių_mėnesius', + xyears_one: 'metai_metų_metus', + xyears_other: 'metai_metų_metus', + about: 'apie', + over: 'daugiau nei', + almost: 'beveik', + lessthan: 'mažiau nei' +}; +var translateSeconds = function translateSeconds(_number, addSuffix, _key, isFuture) { + if (!addSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } +}; +var translateSingular = function translateSingular(_number, addSuffix, key, isFuture) { + return !addSuffix ? forms(key)[0] : isFuture ? forms(key)[1] : forms(key)[2]; +}; +var translate = function translate(number, addSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return result + translateSingular(number, addSuffix, key, isFuture); + } else if (!addSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } +}; +function special(number) { + return number % 10 === 0 || number > 10 && number < 20; +} +function forms(key) { + return translations[key].split('_'); +} +var formatDistanceLocale = { + lessThanXSeconds: { + one: translateSeconds, + other: translate + }, + xSeconds: { + one: translateSeconds, + other: translate + }, + halfAMinute: 'pusė minutės', + lessThanXMinutes: { + one: translateSingular, + other: translate + }, + xMinutes: { + one: translateSingular, + other: translate + }, + aboutXHours: { + one: translateSingular, + other: translate + }, + xHours: { + one: translateSingular, + other: translate + }, + xDays: { + one: translateSingular, + other: translate + }, + aboutXWeeks: { + one: translateSingular, + other: translate + }, + xWeeks: { + one: translateSingular, + other: translate + }, + aboutXMonths: { + one: translateSingular, + other: translate + }, + xMonths: { + one: translateSingular, + other: translate + }, + aboutXYears: { + one: translateSingular, + other: translate + }, + xYears: { + one: translateSingular, + other: translate + }, + overXYears: { + one: translateSingular, + other: translate + }, + almostXYears: { + one: translateSingular, + other: translate + } +}; +var formatDistance = function formatDistance(token, count, options) { + var adverb = token.match(/about|over|almost|lessthan/i); + var unit = adverb ? token.replace(adverb[0], '') : token; + var isFuture = (options === null || options === void 0 ? void 0 : options.comparison) !== undefined && options.comparison > 0; + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one(count, (options === null || options === void 0 ? void 0 : options.addSuffix) === true, unit.toLowerCase() + '_one', isFuture); + } else { + result = tokenValue.other(count, (options === null || options === void 0 ? void 0 : options.addSuffix) === true, unit.toLowerCase() + '_other', isFuture); + } + if (adverb) { + var _key2 = adverb[0].toLowerCase(); + result = translations[_key2] + ' ' + result; + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'po ' + result; + } else { + return 'prieš ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/_lib/formatLong/index.js b/node_modules/date-fns/locale/lt/_lib/formatLong/index.js new file mode 100644 index 000000000..7a8403724 --- /dev/null +++ b/node_modules/date-fns/locale/lt/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "y 'm'. MMMM d 'd'., EEEE", + long: "y 'm'. MMMM d 'd'.", + medium: 'y-MM-dd', + short: 'y-MM-dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/_lib/formatRelative/index.js b/node_modules/date-fns/locale/lt/_lib/formatRelative/index.js new file mode 100644 index 000000000..2d86bd758 --- /dev/null +++ b/node_modules/date-fns/locale/lt/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'Praėjusį' eeee p", + yesterday: "'Vakar' p", + today: "'Šiandien' p", + tomorrow: "'Rytoj' p", + nextWeek: 'eeee p', + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/_lib/localize/index.js b/node_modules/date-fns/locale/lt/_lib/localize/index.js new file mode 100644 index 000000000..775b4d6d3 --- /dev/null +++ b/node_modules/date-fns/locale/lt/_lib/localize/index.js @@ -0,0 +1,150 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['pr. Kr.', 'po Kr.'], + abbreviated: ['pr. Kr.', 'po Kr.'], + wide: ['prieš Kristų', 'po Kristaus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['I ketv.', 'II ketv.', 'III ketv.', 'IV ketv.'], + wide: ['I ketvirtis', 'II ketvirtis', 'III ketvirtis', 'IV ketvirtis'] +}; +var formattingQuarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['I k.', 'II k.', 'III k.', 'IV k.'], + wide: ['I ketvirtis', 'II ketvirtis', 'III ketvirtis', 'IV ketvirtis'] +}; +var monthValues = { + narrow: ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + abbreviated: ['saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', 'lapkr.', 'gruod.'], + wide: ['sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', 'rugsėjis', 'spalis', 'lapkritis', 'gruodis'] +}; +var formattingMonthValues = { + narrow: ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + abbreviated: ['saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', 'lapkr.', 'gruod.'], + wide: ['sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjūčio', 'rugsėjo', 'spalio', 'lapkričio', 'gruodžio'] +}; +var dayValues = { + narrow: ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], + short: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], + abbreviated: ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + wide: ['sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis', 'šeštadienis'] +}; +var formattingDayValues = { + narrow: ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], + short: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], + abbreviated: ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + wide: ['sekmadienį', 'pirmadienį', 'antradienį', 'trečiadienį', 'ketvirtadienį', 'penktadienį', 'šeštadienį'] +}; +var dayPeriodValues = { + narrow: { + am: 'pr. p.', + pm: 'pop.', + midnight: 'vidurnaktis', + noon: 'vidurdienis', + morning: 'rytas', + afternoon: 'diena', + evening: 'vakaras', + night: 'naktis' + }, + abbreviated: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'vidurdienis', + morning: 'rytas', + afternoon: 'diena', + evening: 'vakaras', + night: 'naktis' + }, + wide: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'vidurdienis', + morning: 'rytas', + afternoon: 'diena', + evening: 'vakaras', + night: 'naktis' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'pr. p.', + pm: 'pop.', + midnight: 'vidurnaktis', + noon: 'perpiet', + morning: 'rytas', + afternoon: 'popietė', + evening: 'vakaras', + night: 'naktis' + }, + abbreviated: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'perpiet', + morning: 'rytas', + afternoon: 'popietė', + evening: 'vakaras', + night: 'naktis' + }, + wide: { + am: 'priešpiet', + pm: 'popiet', + midnight: 'vidurnaktis', + noon: 'perpiet', + morning: 'rytas', + afternoon: 'popietė', + evening: 'vakaras', + night: 'naktis' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '-oji'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/_lib/match/index.js b/node_modules/date-fns/locale/lt/_lib/match/index.js new file mode 100644 index 000000000..f0d47ba97 --- /dev/null +++ b/node_modules/date-fns/locale/lt/_lib/match/index.js @@ -0,0 +1,120 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-oji)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^p(r|o)\.?\s?(kr\.?|me)/i, + abbreviated: /^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i, + wide: /^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i +}; +var parseEraPatterns = { + wide: [/prieš/i, /(po|mūsų)/i], + any: [/^pr/i, /^(po|m)/i] +}; +var matchQuarterPatterns = { + narrow: /^([1234])/i, + abbreviated: /^(I|II|III|IV)\s?ketv?\.?/i, + wide: /^(I|II|III|IV)\s?ketvirtis/i +}; +var parseQuarterPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i], + any: [/I$/i, /II$/i, /III/i, /IV/i] +}; +var matchMonthPatterns = { + narrow: /^[svkbglr]/i, + abbreviated: /^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i, + wide: /^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i +}; +var parseMonthPatterns = { + narrow: [/^s/i, /^v/i, /^k/i, /^b/i, /^g/i, /^b/i, /^l/i, /^r/i, /^r/i, /^s/i, /^l/i, /^g/i], + any: [/^saus/i, /^vas/i, /^kov/i, /^bal/i, /^geg/i, /^birž/i, /^liep/i, /^rugp/i, /^rugs/i, /^spal/i, /^lapkr/i, /^gruod/i] +}; +var matchDayPatterns = { + narrow: /^[spatkš]/i, + short: /^(sk|pr|an|tr|kt|pn|št)/i, + abbreviated: /^(sk|pr|an|tr|kt|pn|št)/i, + wide: /^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^p/i, /^a/i, /^t/i, /^k/i, /^p/i, /^š/i], + wide: [/^se/i, /^pi/i, /^an/i, /^tr/i, /^ke/i, /^pe/i, /^še/i], + any: [/^sk/i, /^pr/i, /^an/i, /^tr/i, /^kt/i, /^pn/i, /^št/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i, + any: /^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^pr/i, + pm: /^pop./i, + midnight: /^vidurnaktis/i, + noon: /^(vidurdienis|perp)/i, + morning: /rytas/i, + afternoon: /(die|popietė)/i, + evening: /vakaras/i, + night: /naktis/i + }, + any: { + am: /^pr/i, + pm: /^popiet$/i, + midnight: /^vidurnaktis/i, + noon: /^(vidurdienis|perp)/i, + morning: /rytas/i, + afternoon: /(die|popietė)/i, + evening: /vakaras/i, + night: /naktis/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/index.d.ts b/node_modules/date-fns/locale/lt/index.d.ts new file mode 100644 index 000000000..573a84029 --- /dev/null +++ b/node_modules/date-fns/locale/lt/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lt } from 'date-fns/locale' +export default lt diff --git a/node_modules/date-fns/locale/lt/index.js b/node_modules/date-fns/locale/lt/index.js new file mode 100644 index 000000000..3342346fc --- /dev/null +++ b/node_modules/date-fns/locale/lt/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Lithuanian locale. + * @language Lithuanian + * @iso-639-2 lit + * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak} + * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll} + */ +var locale = { + code: 'lt', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lt/index.js.flow b/node_modules/date-fns/locale/lt/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/lt/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/lt/package.json b/node_modules/date-fns/locale/lt/package.json new file mode 100644 index 000000000..be17a412e --- /dev/null +++ b/node_modules/date-fns/locale/lt/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/lt/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/_lib/formatDistance/index.js b/node_modules/date-fns/locale/lv/_lib/formatDistance/index.js new file mode 100644 index 000000000..18aa713bc --- /dev/null +++ b/node_modules/date-fns/locale/lv/_lib/formatDistance/index.js @@ -0,0 +1,109 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function buildLocalizeTokenFn(schema) { + return function (count, options) { + if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + return schema.one[0].replace('{{time}}', schema.one[2]); + } else { + return schema.one[0].replace('{{time}}', schema.one[1]); + } + } else { + var rem = count % 10 === 1 && count % 100 !== 11; + if (options !== null && options !== void 0 && options.addSuffix) { + return schema.other[0].replace('{{time}}', rem ? schema.other[3] : schema.other[4]).replace('{{count}}', String(count)); + } else { + return schema.other[0].replace('{{time}}', rem ? schema.other[1] : schema.other[2]).replace('{{count}}', String(count)); + } + } + }; +} +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + one: ['mazāk par {{time}}', 'sekundi', 'sekundi'], + other: ['mazāk nekā {{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm'] + }), + xSeconds: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'sekunde', 'sekundes'], + other: ['{{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm'] + }), + halfAMinute: function halfAMinute(_count, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + return 'pusminūtes'; + } else { + return 'pusminūte'; + } + }, + lessThanXMinutes: buildLocalizeTokenFn({ + one: ['mazāk par {{time}}', 'minūti', 'minūti'], + other: ['mazāk nekā {{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm'] + }), + xMinutes: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'minūte', 'minūtes'], + other: ['{{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm'] + }), + aboutXHours: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'stunda', 'stundas'], + other: ['apmēram {{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām'] + }), + xHours: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'stunda', 'stundas'], + other: ['{{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām'] + }), + xDays: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'diena', 'dienas'], + other: ['{{count}} {{time}}', 'diena', 'dienas', 'dienas', 'dienām'] + }), + aboutXWeeks: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'nedēļa', 'nedēļas'], + other: ['apmēram {{count}} {{time}}', 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām'] + }), + xWeeks: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'nedēļa', 'nedēļas'], + other: ['{{count}} {{time}}', + // TODO + 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām'] + }), + aboutXMonths: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'mēnesis', 'mēneša'], + other: ['apmēram {{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem'] + }), + xMonths: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'mēnesis', 'mēneša'], + other: ['{{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem'] + }), + aboutXYears: buildLocalizeTokenFn({ + one: ['apmēram 1 {{time}}', 'gads', 'gada'], + other: ['apmēram {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }), + xYears: buildLocalizeTokenFn({ + one: ['1 {{time}}', 'gads', 'gada'], + other: ['{{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }), + overXYears: buildLocalizeTokenFn({ + one: ['ilgāk par 1 {{time}}', 'gadu', 'gadu'], + other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }), + almostXYears: buildLocalizeTokenFn({ + one: ['gandrīz 1 {{time}}', 'gads', 'gada'], + other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem'] + }) +}; +var formatDistance = function formatDistance(token, count, options) { + var result = formatDistanceLocale[token](count, options); + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'pēc ' + result; + } else { + return 'pirms ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/_lib/formatLong/index.js b/node_modules/date-fns/locale/lv/_lib/formatLong/index.js new file mode 100644 index 000000000..8e7820641 --- /dev/null +++ b/node_modules/date-fns/locale/lv/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, y. 'gada' d. MMMM", + long: "y. 'gada' d. MMMM", + medium: 'dd.MM.y.', + short: 'dd.MM.y.' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'plkst.' {{time}}", + long: "{{date}} 'plkst.' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/_lib/formatRelative/index.js b/node_modules/date-fns/locale/lv/_lib/formatRelative/index.js new file mode 100644 index 000000000..cbfdb8b7d --- /dev/null +++ b/node_modules/date-fns/locale/lv/_lib/formatRelative/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var weekdays = ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā']; +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + if ((0, _index.default)(date, baseDate, options)) { + return "eeee 'plkst.' p"; + } + var weekday = weekdays[date.getUTCDay()]; + return "'Pagājušā " + weekday + " plkst.' p"; + }, + yesterday: "'Vakar plkst.' p", + today: "'Šodien plkst.' p", + tomorrow: "'Rīt plkst.' p", + nextWeek: function nextWeek(date, baseDate, options) { + if ((0, _index.default)(date, baseDate, options)) { + return "eeee 'plkst.' p"; + } + var weekday = weekdays[date.getUTCDay()]; + return "'Nākamajā " + weekday + " plkst.' p"; + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/_lib/localize/index.js b/node_modules/date-fns/locale/lv/_lib/localize/index.js new file mode 100644 index 000000000..3e01f1fdb --- /dev/null +++ b/node_modules/date-fns/locale/lv/_lib/localize/index.js @@ -0,0 +1,150 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['p.m.ē', 'm.ē'], + abbreviated: ['p. m. ē.', 'm. ē.'], + wide: ['pirms mūsu ēras', 'mūsu ērā'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'], + wide: ['pirmais ceturksnis', 'otrais ceturksnis', 'trešais ceturksnis', 'ceturtais ceturksnis'] +}; +var formattingQuarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'], + wide: ['pirmajā ceturksnī', 'otrajā ceturksnī', 'trešajā ceturksnī', 'ceturtajā ceturksnī'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'], + wide: ['janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', 'septembris', 'oktobris', 'novembris', 'decembris'] +}; +var formattingMonthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['janv.', 'febr.', 'martā', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'], + wide: ['janvārī', 'februārī', 'martā', 'aprīlī', 'maijā', 'jūnijā', 'jūlijā', 'augustā', 'septembrī', 'oktobrī', 'novembrī', 'decembrī'] +}; +var dayValues = { + narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'], + abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], + wide: ['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena'] +}; +var formattingDayValues = { + narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'], + abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], + wide: ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rīts', + afternoon: 'diena', + evening: 'vakars', + night: 'nakts' + }, + abbreviated: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rīts', + afternoon: 'pēcpusd.', + evening: 'vakars', + night: 'nakts' + }, + wide: { + am: 'am', + pm: 'pm', + midnight: 'pusnakts', + noon: 'pusdienlaiks', + morning: 'rīts', + afternoon: 'pēcpusdiena', + evening: 'vakars', + night: 'nakts' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rītā', + afternoon: 'dienā', + evening: 'vakarā', + night: 'naktī' + }, + abbreviated: { + am: 'am', + pm: 'pm', + midnight: 'pusn.', + noon: 'pusd.', + morning: 'rītā', + afternoon: 'pēcpusd.', + evening: 'vakarā', + night: 'naktī' + }, + wide: { + am: 'am', + pm: 'pm', + midnight: 'pusnaktī', + noon: 'pusdienlaikā', + morning: 'rītā', + afternoon: 'pēcpusdienā', + evening: 'vakarā', + night: 'naktī' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/_lib/match/index.js b/node_modules/date-fns/locale/lv/_lib/match/index.js new file mode 100644 index 000000000..31f66f9eb --- /dev/null +++ b/node_modules/date-fns/locale/lv/_lib/match/index.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p\.m\.ē|m\.ē)/i, + abbreviated: /^(p\. m\. ē\.|m\. ē\.)/i, + wide: /^(pirms mūsu ēras|mūsu ērā)/i +}; +var parseEraPatterns = { + any: [/^p/i, /^m/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](\. cet\.)/i, + wide: /^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i +}; +var parseQuarterPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i], + abbreviated: [/^1/i, /^2/i, /^3/i, /^4/i], + wide: [/^p/i, /^o/i, /^t/i, /^c/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i, + wide: /^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jūn/i, /^jūl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[spotc]/i, + short: /^(sv|pi|o|t|c|pk|s)/i, + abbreviated: /^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i, + wide: /^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^p/i, /^o/i, /^t/i, /^c/i, /^p/i, /^s/i], + any: [/^sv/i, /^pi/i, /^o/i, /^t/i, /^c/i, /^p/i, /^se/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/, + abbreviated: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/, + wide: /^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^pusn/i, + noon: /^pusd/i, + morning: /^r/i, + afternoon: /^(d|pēc)/i, + evening: /^v/i, + night: /^n/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'wide', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/index.d.ts b/node_modules/date-fns/locale/lv/index.d.ts new file mode 100644 index 000000000..14686a268 --- /dev/null +++ b/node_modules/date-fns/locale/lv/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { lv } from 'date-fns/locale' +export default lv diff --git a/node_modules/date-fns/locale/lv/index.js b/node_modules/date-fns/locale/lv/index.js new file mode 100644 index 000000000..5a6747478 --- /dev/null +++ b/node_modules/date-fns/locale/lv/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Latvian locale (Latvia). + * @language Latvian + * @iso-639-2 lav + * @author Rūdolfs Puķītis [@prudolfs]{@link https://github.com/prudolfs} + */ +var locale = { + code: 'lv', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/lv/index.js.flow b/node_modules/date-fns/locale/lv/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/lv/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/lv/package.json b/node_modules/date-fns/locale/lv/package.json new file mode 100644 index 000000000..c5c0bf40e --- /dev/null +++ b/node_modules/date-fns/locale/lv/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/lv/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/_lib/formatDistance/index.js b/node_modules/date-fns/locale/mk/_lib/formatDistance/index.js new file mode 100644 index 000000000..d5de2f5a9 --- /dev/null +++ b/node_modules/date-fns/locale/mk/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'помалку од секунда', + other: 'помалку од {{count}} секунди' + }, + xSeconds: { + one: '1 секунда', + other: '{{count}} секунди' + }, + halfAMinute: 'половина минута', + lessThanXMinutes: { + one: 'помалку од минута', + other: 'помалку од {{count}} минути' + }, + xMinutes: { + one: '1 минута', + other: '{{count}} минути' + }, + aboutXHours: { + one: 'околу 1 час', + other: 'околу {{count}} часа' + }, + xHours: { + one: '1 час', + other: '{{count}} часа' + }, + xDays: { + one: '1 ден', + other: '{{count}} дена' + }, + aboutXWeeks: { + one: 'околу 1 недела', + other: 'околу {{count}} месеци' + }, + xWeeks: { + one: '1 недела', + other: '{{count}} недели' + }, + aboutXMonths: { + one: 'околу 1 месец', + other: 'околу {{count}} недели' + }, + xMonths: { + one: '1 месец', + other: '{{count}} месеци' + }, + aboutXYears: { + one: 'околу 1 година', + other: 'околу {{count}} години' + }, + xYears: { + one: '1 година', + other: '{{count}} години' + }, + overXYears: { + one: 'повеќе од 1 година', + other: 'повеќе од {{count}} години' + }, + almostXYears: { + one: 'безмалку 1 година', + other: 'безмалку {{count}} години' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'за ' + result; + } else { + return 'пред ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/_lib/formatLong/index.js b/node_modules/date-fns/locale/mk/_lib/formatLong/index.js new file mode 100644 index 000000000..f8da9d072 --- /dev/null +++ b/node_modules/date-fns/locale/mk/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/_lib/formatRelative/index.js b/node_modules/date-fns/locale/mk/_lib/formatRelative/index.js new file mode 100644 index 000000000..48f9bcf85 --- /dev/null +++ b/node_modules/date-fns/locale/mk/_lib/formatRelative/index.js @@ -0,0 +1,83 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var weekdays = ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота']; +function _lastWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'минатата " + weekday + " во' p"; + case 1: + case 2: + case 4: + case 5: + return "'минатиот " + weekday + " во' p"; + } +} +function thisWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'ова " + weekday + " вo' p"; + case 1: + case 2: + case 4: + case 5: + return "'овој " + weekday + " вo' p"; + } +} +function _nextWeek(day) { + var weekday = weekdays[day]; + switch (day) { + case 0: + case 3: + case 6: + return "'следната " + weekday + " вo' p"; + case 1: + case 2: + case 4: + case 5: + return "'следниот " + weekday + " вo' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'вчера во' p", + today: "'денес во' p", + tomorrow: "'утре во' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/_lib/localize/index.js b/node_modules/date-fns/locale/mk/_lib/localize/index.js new file mode 100644 index 000000000..7ffd49d69 --- /dev/null +++ b/node_modules/date-fns/locale/mk/_lib/localize/index.js @@ -0,0 +1,85 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['пр.н.е.', 'н.е.'], + abbreviated: ['пред н. е.', 'н. е.'], + wide: ['пред нашата ера', 'нашата ера'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-ви кв.', '2-ри кв.', '3-ти кв.', '4-ти кв.'], + wide: ['1-ви квартал', '2-ри квартал', '3-ти квартал', '4-ти квартал'] +}; +var monthValues = { + abbreviated: ['јан', 'фев', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'ноем', 'дек'], + wide: ['јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември', 'октомври', 'ноември', 'декември'] +}; +var dayValues = { + narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['не', 'по', 'вт', 'ср', 'че', 'пе', 'са'], + abbreviated: ['нед', 'пон', 'вто', 'сре', 'чет', 'пет', 'саб'], + wide: ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'] +}; +var dayPeriodValues = { + wide: { + am: 'претпладне', + pm: 'попладне', + midnight: 'полноќ', + noon: 'напладне', + morning: 'наутро', + afternoon: 'попладне', + evening: 'навечер', + night: 'ноќе' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + '-ви'; + case 2: + return number + '-ри'; + case 7: + case 8: + return number + '-ми'; + } + } + return number + '-ти'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/_lib/match/index.js b/node_modules/date-fns/locale/mk/_lib/match/index.js new file mode 100644 index 000000000..15eea096e --- /dev/null +++ b/node_modules/date-fns/locale/mk/_lib/match/index.js @@ -0,0 +1,104 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?[врмт][и])?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((пр)?н\.?\s?е\.?)/i, + abbreviated: /^((пр)?н\.?\s?е\.?)/i, + wide: /^(пред нашата ера|нашата ера)/i +}; +var parseEraPatterns = { + any: [/^п/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[врт]?и?)? кв.?/i, + wide: /^[1234](-?[врт]?и?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchDayPatterns = { + narrow: /^[нпвсч]/i, + short: /^(не|по|вт|ср|че|пе|са)/i, + abbreviated: /^(нед|пон|вто|сре|чет|пет|саб)/i, + wide: /^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[аб]/i] +}; +var matchMonthPatterns = { + abbreviated: /^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i, + wide: /^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i +}; +var parseMonthPatterns = { + any: [/^ја/i, /^Ф/i, /^мар/i, /^ап/i, /^мај/i, /^јун/i, /^јул/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i] +}; +var matchDayPeriodPatterns = { + any: /^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /претпладне/i, + pm: /попладне/i, + midnight: /полноќ/i, + noon: /напладне/i, + morning: /наутро/i, + afternoon: /попладне/i, + evening: /навечер/i, + night: /ноќе/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/index.d.ts b/node_modules/date-fns/locale/mk/index.d.ts new file mode 100644 index 000000000..b845b31d2 --- /dev/null +++ b/node_modules/date-fns/locale/mk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { mk } from 'date-fns/locale' +export default mk diff --git a/node_modules/date-fns/locale/mk/index.js b/node_modules/date-fns/locale/mk/index.js new file mode 100644 index 000000000..01443194a --- /dev/null +++ b/node_modules/date-fns/locale/mk/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Macedonian locale. + * @language Macedonian + * @iso-639-2 mkd + * @author Petar Vlahu [@vlahupetar]{@link https://github.com/vlahupetar} + * @author Altrim Beqiri [@altrim]{@link https://github.com/altrim} + */ +var locale = { + code: 'mk', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mk/index.js.flow b/node_modules/date-fns/locale/mk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/mk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/mk/package.json b/node_modules/date-fns/locale/mk/package.json new file mode 100644 index 000000000..14c4d4f10 --- /dev/null +++ b/node_modules/date-fns/locale/mk/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/mk/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/_lib/formatDistance/index.js b/node_modules/date-fns/locale/mn/_lib/formatDistance/index.js new file mode 100644 index 000000000..959ac18b1 --- /dev/null +++ b/node_modules/date-fns/locale/mn/_lib/formatDistance/index.js @@ -0,0 +1,128 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'секунд хүрэхгүй', + other: '{{count}} секунд хүрэхгүй' + }, + xSeconds: { + one: '1 секунд', + other: '{{count}} секунд' + }, + halfAMinute: 'хагас минут', + lessThanXMinutes: { + one: 'минут хүрэхгүй', + other: '{{count}} минут хүрэхгүй' + }, + xMinutes: { + one: '1 минут', + other: '{{count}} минут' + }, + aboutXHours: { + one: 'ойролцоогоор 1 цаг', + other: 'ойролцоогоор {{count}} цаг' + }, + xHours: { + one: '1 цаг', + other: '{{count}} цаг' + }, + xDays: { + one: '1 өдөр', + other: '{{count}} өдөр' + }, + aboutXWeeks: { + one: 'ойролцоогоор 1 долоо хоног', + other: 'ойролцоогоор {{count}} долоо хоног' + }, + xWeeks: { + one: '1 долоо хоног', + other: '{{count}} долоо хоног' + }, + aboutXMonths: { + one: 'ойролцоогоор 1 сар', + other: 'ойролцоогоор {{count}} сар' + }, + xMonths: { + one: '1 сар', + other: '{{count}} сар' + }, + aboutXYears: { + one: 'ойролцоогоор 1 жил', + other: 'ойролцоогоор {{count}} жил' + }, + xYears: { + one: '1 жил', + other: '{{count}} жил' + }, + overXYears: { + one: '1 жил гаран', + other: '{{count}} жил гаран' + }, + almostXYears: { + one: 'бараг 1 жил', + other: 'бараг {{count}} жил' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + /** + * Append genitive case + */ + var words = result.split(' '); + var lastword = words.pop(); + result = words.join(' '); + switch (lastword) { + case 'секунд': + result += ' секундийн'; + break; + case 'минут': + result += ' минутын'; + break; + case 'цаг': + result += ' цагийн'; + break; + case 'өдөр': + result += ' өдрийн'; + break; + case 'сар': + result += ' сарын'; + break; + case 'жил': + result += ' жилийн'; + break; + case 'хоног': + result += ' хоногийн'; + break; + case 'гаран': + result += ' гараны'; + break; + case 'хүрэхгүй': + result += ' хүрэхгүй хугацааны'; + break; + default: + result += lastword + '-н'; + } + if (options.comparison && options.comparison > 0) { + return result + ' дараа'; + } else { + return result + ' өмнө'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/_lib/formatLong/index.js b/node_modules/date-fns/locale/mn/_lib/formatLong/index.js new file mode 100644 index 000000000..70d5afd3e --- /dev/null +++ b/node_modules/date-fns/locale/mn/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "y 'оны' MMMM'ын' d, EEEE 'гараг'", + long: "y 'оны' MMMM'ын' d", + medium: "y 'оны' MMM'ын' d", + short: 'y.MM.dd' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/_lib/formatRelative/index.js b/node_modules/date-fns/locale/mn/_lib/formatRelative/index.js new file mode 100644 index 000000000..01e0411a2 --- /dev/null +++ b/node_modules/date-fns/locale/mn/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'өнгөрсөн' eeee 'гарагийн' p 'цагт'", + yesterday: "'өчигдөр' p 'цагт'", + today: "'өнөөдөр' p 'цагт'", + tomorrow: "'маргааш' p 'цагт'", + nextWeek: "'ирэх' eeee 'гарагийн' p 'цагт'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/_lib/localize/index.js b/node_modules/date-fns/locale/mn/_lib/localize/index.js new file mode 100644 index 000000000..342c0d490 --- /dev/null +++ b/node_modules/date-fns/locale/mn/_lib/localize/index.js @@ -0,0 +1,113 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['НТӨ', 'НТ'], + abbreviated: ['НТӨ', 'НТ'], + wide: ['нийтийн тооллын өмнөх', 'нийтийн тооллын'] +}; +var quarterValues = { + narrow: ['I', 'II', 'III', 'IV'], + abbreviated: ['I улирал', 'II улирал', 'III улирал', 'IV улирал'], + wide: ['1-р улирал', '2-р улирал', '3-р улирал', '4-р улирал'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], + abbreviated: ['1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар'], + wide: ['Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар', 'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', 'Арваннэгдүгээр сар', 'Арван хоёрдугаар сар'] +}; +var formattingMonthValues = { + narrow: ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], + abbreviated: ['1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар'], + wide: ['нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар', 'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', 'арваннэгдүгээр сар', 'арван хоёрдугаар сар'] +}; +var dayValues = { + narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'], + short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'], + wide: ['Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', 'Бямба'] +}; +var formattingDayValues = { + narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'], + short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'], + wide: ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба'] +}; +var dayPeriodValues = { + narrow: { + am: 'ү.ө.', + pm: 'ү.х.', + midnight: 'шөнө дунд', + noon: 'үд дунд', + morning: 'өглөө', + afternoon: 'өдөр', + evening: 'орой', + night: 'шөнө' + }, + abbreviated: { + am: 'ү.ө.', + pm: 'ү.х.', + midnight: 'шөнө дунд', + noon: 'үд дунд', + morning: 'өглөө', + afternoon: 'өдөр', + evening: 'орой', + night: 'шөнө' + }, + wide: { + am: 'ү.ө.', + pm: 'ү.х.', + midnight: 'шөнө дунд', + noon: 'үд дунд', + morning: 'өглөө', + afternoon: 'өдөр', + evening: 'орой', + night: 'шөнө' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: formattingDayValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/_lib/match/index.js b/node_modules/date-fns/locale/mn/_lib/match/index.js new file mode 100644 index 000000000..8e5b7c329 --- /dev/null +++ b/node_modules/date-fns/locale/mn/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /\d+/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(нтө|нт)/i, + abbreviated: /^(нтө|нт)/i, + wide: /^(нийтийн тооллын өмнө|нийтийн тооллын)/i +}; +var parseEraPatterns = { + any: [/^(нтө|нийтийн тооллын өмнө)/i, /^(нт|нийтийн тооллын)/i] +}; +var matchQuarterPatterns = { + narrow: /^(iv|iii|ii|i)/i, + abbreviated: /^(iv|iii|ii|i) улирал/i, + wide: /^[1-4]-р улирал/i +}; +var parseQuarterPatterns = { + any: [/^(i(\s|$)|1)/i, /^(ii(\s|$)|2)/i, /^(iii(\s|$)|3)/i, /^(iv(\s|$)|4)/i] +}; +var matchMonthPatterns = { + narrow: /^(xii|xi|x|ix|viii|vii|vi|v|iv|iii|ii|i)/i, + abbreviated: /^(1-р сар|2-р сар|3-р сар|4-р сар|5-р сар|6-р сар|7-р сар|8-р сар|9-р сар|10-р сар|11-р сар|12-р сар)/i, + wide: /^(нэгдүгээр сар|хоёрдугаар сар|гуравдугаар сар|дөрөвдүгээр сар|тавдугаар сар|зургаадугаар сар|долоодугаар сар|наймдугаар сар|есдүгээр сар|аравдугаар сар|арван нэгдүгээр сар|арван хоёрдугаар сар)/i +}; +var parseMonthPatterns = { + narrow: [/^i$/i, /^ii$/i, /^iii$/i, /^iv$/i, /^v$/i, /^vi$/i, /^vii$/i, /^viii$/i, /^ix$/i, /^x$/i, /^xi$/i, /^xii$/i], + any: [/^(1|нэгдүгээр)/i, /^(2|хоёрдугаар)/i, /^(3|гуравдугаар)/i, /^(4|дөрөвдүгээр)/i, /^(5|тавдугаар)/i, /^(6|зургаадугаар)/i, /^(7|долоодугаар)/i, /^(8|наймдугаар)/i, /^(9|есдүгээр)/i, /^(10|аравдугаар)/i, /^(11|арван нэгдүгээр)/i, /^(12|арван хоёрдугаар)/i] +}; +var matchDayPatterns = { + narrow: /^[ндмлпбб]/i, + short: /^(ня|да|мя|лх|пү|ба|бя)/i, + abbreviated: /^(ням|дав|мяг|лха|пүр|баа|бям)/i, + wide: /^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^д/i, /^м/i, /^л/i, /^п/i, /^б/i, /^б/i], + any: [/^ня/i, /^да/i, /^мя/i, /^лх/i, /^пү/i, /^ба/i, /^бя/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i, + any: /^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ү\.ө\./i, + pm: /^ү\.х\./i, + midnight: /^шөнө дунд/i, + noon: /^үд дунд/i, + morning: /өглөө/i, + afternoon: /өдөр/i, + evening: /орой/i, + night: /шөнө/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/index.d.ts b/node_modules/date-fns/locale/mn/index.d.ts new file mode 100644 index 000000000..9b27ad912 --- /dev/null +++ b/node_modules/date-fns/locale/mn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { mn } from 'date-fns/locale' +export default mn diff --git a/node_modules/date-fns/locale/mn/index.js b/node_modules/date-fns/locale/mn/index.js new file mode 100644 index 000000000..3489be826 --- /dev/null +++ b/node_modules/date-fns/locale/mn/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Mongolian locale. + * @language Mongolian + * @iso-639-2 mon + * @author Bilguun Ochirbat [@bilguun0203]{@link https://github.com/bilguun0203} + */ +var locale = { + code: 'mn', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mn/index.js.flow b/node_modules/date-fns/locale/mn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/mn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/mn/package.json b/node_modules/date-fns/locale/mn/package.json new file mode 100644 index 000000000..f3233bc6b --- /dev/null +++ b/node_modules/date-fns/locale/mn/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/mn/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ms/_lib/formatDistance/index.js new file mode 100644 index 000000000..c788581dd --- /dev/null +++ b/node_modules/date-fns/locale/ms/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'kurang dari 1 saat', + other: 'kurang dari {{count}} saat' + }, + xSeconds: { + one: '1 saat', + other: '{{count}} saat' + }, + halfAMinute: 'setengah minit', + lessThanXMinutes: { + one: 'kurang dari 1 minit', + other: 'kurang dari {{count}} minit' + }, + xMinutes: { + one: '1 minit', + other: '{{count}} minit' + }, + aboutXHours: { + one: 'sekitar 1 jam', + other: 'sekitar {{count}} jam' + }, + xHours: { + one: '1 jam', + other: '{{count}} jam' + }, + xDays: { + one: '1 hari', + other: '{{count}} hari' + }, + aboutXWeeks: { + one: 'sekitar 1 minggu', + other: 'sekitar {{count}} minggu' + }, + xWeeks: { + one: '1 minggu', + other: '{{count}} minggu' + }, + aboutXMonths: { + one: 'sekitar 1 bulan', + other: 'sekitar {{count}} bulan' + }, + xMonths: { + one: '1 bulan', + other: '{{count}} bulan' + }, + aboutXYears: { + one: 'sekitar 1 tahun', + other: 'sekitar {{count}} tahun' + }, + xYears: { + one: '1 tahun', + other: '{{count}} tahun' + }, + overXYears: { + one: 'lebih dari 1 tahun', + other: 'lebih dari {{count}} tahun' + }, + almostXYears: { + one: 'hampir 1 tahun', + other: 'hampir {{count}} tahun' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'dalam masa ' + result; + } else { + return result + ' yang lalu'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/_lib/formatLong/index.js b/node_modules/date-fns/locale/ms/_lib/formatLong/index.js new file mode 100644 index 000000000..6afa95cf5 --- /dev/null +++ b/node_modules/date-fns/locale/ms/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'd/M/yyyy' +}; +var timeFormats = { + full: 'HH.mm.ss', + long: 'HH.mm.ss', + medium: 'HH.mm', + short: 'HH.mm' +}; +var dateTimeFormats = { + full: "{{date}} 'pukul' {{time}}", + long: "{{date}} 'pukul' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ms/_lib/formatRelative/index.js new file mode 100644 index 000000000..d51010cc3 --- /dev/null +++ b/node_modules/date-fns/locale/ms/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'lepas pada jam' p", + yesterday: "'Semalam pada jam' p", + today: "'Hari ini pada jam' p", + tomorrow: "'Esok pada jam' p", + nextWeek: "eeee 'pada jam' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/_lib/localize/index.js b/node_modules/date-fns/locale/ms/_lib/localize/index.js new file mode 100644 index 000000000..6aca55522 --- /dev/null +++ b/node_modules/date-fns/locale/ms/_lib/localize/index.js @@ -0,0 +1,135 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// Most data for localization are taken from this page +// https://www.unicode.org/cldr/charts/32/summary/ms.html +var eraValues = { + narrow: ['SM', 'M'], + abbreviated: ['SM', 'M'], + wide: ['Sebelum Masihi', 'Masihi'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['S1', 'S2', 'S3', 'S4'], + wide: ['Suku pertama', 'Suku kedua', 'Suku ketiga', 'Suku keempat'] +}; + +// Note: in Malay, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + wide: ['Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', 'November', 'Disember'] +}; +var dayValues = { + narrow: ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + short: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + abbreviated: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + wide: ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'tgh malam', + noon: 'tgh hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'tengah malam', + noon: 'tengah hari', + morning: 'pagi', + afternoon: 'tengah hari', + evening: 'petang', + night: 'malam' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + // Can't use "pertama", "kedua" because can't be parsed + return 'ke-' + Number(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/_lib/match/index.js b/node_modules/date-fns/locale/ms/_lib/match/index.js new file mode 100644 index 000000000..1a4b6bb0f --- /dev/null +++ b/node_modules/date-fns/locale/ms/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^ke-(\d+)?/i; +var parseOrdinalNumberPattern = /petama|\d+/i; +var matchEraPatterns = { + narrow: /^(sm|m)/i, + abbreviated: /^(s\.?\s?m\.?|m\.?)/i, + wide: /^(sebelum masihi|masihi)/i +}; +var parseEraPatterns = { + any: [/^s/i, /^(m)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^S[1234]/i, + wide: /Suku (pertama|kedua|ketiga|keempat)/i +}; +var parseQuarterPatterns = { + any: [/pertama|1/i, /kedua|2/i, /ketiga|3/i, /keempat|4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i, + wide: /^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^o/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^ma/i, /^ap/i, /^me/i, /^jun/i, /^jul/i, /^og/i, /^s/i, /^ok/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[aisrkj]/i, + short: /^(ahd|isn|sel|rab|kha|jum|sab)/i, + abbreviated: /^(ahd|isn|sel|rab|kha|jum|sab)/i, + wide: /^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i +}; +var parseDayPatterns = { + narrow: [/^a/i, /^i/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i], + any: [/^a/i, /^i/i, /^se/i, /^r/i, /^k/i, /^j/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i, + any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^pm/i, + midnight: /^tengah m/i, + noon: /^tengah h/i, + morning: /pa/i, + afternoon: /tengah h/i, + evening: /pe/i, + night: /m/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/index.d.ts b/node_modules/date-fns/locale/ms/index.d.ts new file mode 100644 index 000000000..d7450bdd7 --- /dev/null +++ b/node_modules/date-fns/locale/ms/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ms } from 'date-fns/locale' +export default ms diff --git a/node_modules/date-fns/locale/ms/index.js b/node_modules/date-fns/locale/ms/index.js new file mode 100644 index 000000000..69a7958ba --- /dev/null +++ b/node_modules/date-fns/locale/ms/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Malay locale. + * @language Malay + * @iso-639-2 msa + * @author Ruban Selvarajah [@Zyten]{@link https://github.com/Zyten} + */ +var locale = { + code: 'ms', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ms/index.js.flow b/node_modules/date-fns/locale/ms/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ms/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ms/package.json b/node_modules/date-fns/locale/ms/package.json new file mode 100644 index 000000000..e96ee071b --- /dev/null +++ b/node_modules/date-fns/locale/ms/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ms/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/_lib/formatDistance/index.js b/node_modules/date-fns/locale/mt/_lib/formatDistance/index.js new file mode 100644 index 000000000..bc569f5b3 --- /dev/null +++ b/node_modules/date-fns/locale/mt/_lib/formatDistance/index.js @@ -0,0 +1,97 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'inqas minn sekonda', + other: 'inqas minn {{count}} sekondi' + }, + xSeconds: { + one: 'sekonda', + other: '{{count}} sekondi' + }, + halfAMinute: 'nofs minuta', + lessThanXMinutes: { + one: 'inqas minn minuta', + other: 'inqas minn {{count}} minuti' + }, + xMinutes: { + one: 'minuta', + other: '{{count}} minuti' + }, + aboutXHours: { + one: 'madwar siegħa', + other: 'madwar {{count}} siegħat' + }, + xHours: { + one: 'siegħa', + other: '{{count}} siegħat' + }, + xDays: { + one: 'ġurnata', + other: '{{count}} ġranet' + }, + aboutXWeeks: { + one: 'madwar ġimgħa', + other: 'madwar {{count}} ġimgħat' + }, + xWeeks: { + one: 'ġimgħa', + other: '{{count}} ġimgħat' + }, + aboutXMonths: { + one: 'madwar xahar', + other: 'madwar {{count}} xhur' + }, + xMonths: { + one: 'xahar', + other: '{{count}} xhur' + }, + aboutXYears: { + one: 'madwar sena', + two: 'madwar sentejn', + other: 'madwar {{count}} snin' + }, + xYears: { + one: 'sena', + two: 'sentejn', + other: '{{count}} snin' + }, + overXYears: { + one: 'aktar minn sena', + two: 'aktar minn sentejn', + other: 'aktar minn {{count}} snin' + }, + almostXYears: { + one: 'kważi sena', + two: 'kważi sentejn', + other: 'kważi {{count}} snin' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else if (count === 2 && tokenValue.two) { + result = tokenValue.two; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return "f'" + result; + } else { + return result + ' ilu'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/_lib/formatLong/index.js b/node_modules/date-fns/locale/mt/_lib/formatLong/index.js new file mode 100644 index 000000000..8b4182af8 --- /dev/null +++ b/node_modules/date-fns/locale/mt/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/_lib/formatRelative/index.js b/node_modules/date-fns/locale/mt/_lib/formatRelative/index.js new file mode 100644 index 000000000..906caf1f2 --- /dev/null +++ b/node_modules/date-fns/locale/mt/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'li għadda' 'fil-'p", + yesterday: "'Il-bieraħ fil-'p", + today: "'Illum fil-'p", + tomorrow: "'Għada fil-'p", + nextWeek: "eeee 'fil-'p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/_lib/localize/index.js b/node_modules/date-fns/locale/mt/_lib/localize/index.js new file mode 100644 index 000000000..e431688ae --- /dev/null +++ b/node_modules/date-fns/locale/mt/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['Q', 'W'], + abbreviated: ['QK', 'WK'], + wide: ['qabel Kristu', 'wara Kristu'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1. kwart', '2. kwart', '3. kwart', '4. kwart'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], + wide: ['Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', 'Ottubru', 'Novembru', 'Diċembru'] +}; +var dayValues = { + narrow: ['Ħ', 'T', 'T', 'E', 'Ħ', 'Ġ', 'S'], + short: ['Ħa', 'Tn', 'Tl', 'Er', 'Ħa', 'Ġi', 'Si'], + abbreviated: ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + wide: ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'nofsillejl', + noon: 'nofsinhar', + morning: 'għodwa', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'lejl' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'nofsillejl', + noon: 'nofsinhar', + morning: 'għodwa', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'lejl' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'nofsillejl', + noon: 'nofsinhar', + morning: 'għodwa', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'lejl' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: "f'nofsillejl", + noon: "f'nofsinhar", + morning: 'filgħodu', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'billejl' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: "f'nofsillejl", + noon: "f'nofsinhar", + morning: 'filgħodu', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'billejl' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: "f'nofsillejl", + noon: "f'nofsinhar", + morning: 'filgħodu', + afternoon: 'wara nofsinhar', + evening: 'filgħaxija', + night: 'billejl' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/_lib/match/index.js b/node_modules/date-fns/locale/mt/_lib/match/index.js new file mode 100644 index 000000000..8849aa377 --- /dev/null +++ b/node_modules/date-fns/locale/mt/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(º)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(q|w)/i, + abbreviated: /^(q\.?\s?k\.?|b\.?\s?c\.?\s?e\.?|w\.?\s?k\.?)/i, + wide: /^(qabel kristu|before common era|wara kristu|common era)/i +}; +var parseEraPatterns = { + any: [/^(q|b)/i, /^(w|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^k[1234]/i, + wide: /^[1234](\.)? kwart/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmaglsond]/i, + abbreviated: /^(jan|fra|mar|apr|mej|ġun|lul|aww|set|ott|nov|diċ)/i, + wide: /^(jannar|frar|marzu|april|mejju|ġunju|lulju|awwissu|settembru|ottubru|novembru|diċembru)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^ġ/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mej/i, /^ġ/i, /^l/i, /^aw/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[ħteġs]/i, + short: /^(ħa|tn|tl|er|ħa|ġi|si)/i, + abbreviated: /^(ħad|tne|tli|erb|ħam|ġim|sib)/i, + wide: /^(il-ħadd|it-tnejn|it-tlieta|l-erbgħa|il-ħamis|il-ġimgħa|is-sibt)/i +}; +var parseDayPatterns = { + narrow: [/^ħ/i, /^t/i, /^t/i, /^e/i, /^ħ/i, /^ġ/i, /^s/i], + any: [/^(il-)?ħad/i, /^(it-)?tn/i, /^(it-)?tl/i, /^(l-)?er/i, /^(il-)?ham/i, /^(il-)?ġi/i, /^(is-)?si/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i, + any: /^([ap]\.?\s?m\.?|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^f'nofsillejl/i, + noon: /^f'nofsinhar/i, + morning: /għodwa/i, + afternoon: /wara(\s.*)nofsinhar/i, + evening: /filgħaxija/i, + night: /lejl/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/index.d.ts b/node_modules/date-fns/locale/mt/index.d.ts new file mode 100644 index 000000000..a845625b6 --- /dev/null +++ b/node_modules/date-fns/locale/mt/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { mt } from 'date-fns/locale' +export default mt diff --git a/node_modules/date-fns/locale/mt/index.js b/node_modules/date-fns/locale/mt/index.js new file mode 100644 index 000000000..19050aa3b --- /dev/null +++ b/node_modules/date-fns/locale/mt/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Maltese locale. + * @language Maltese + * @iso-639-2 mlt + * @author Andras Matzon [@amatzon](@link https://github.com/amatzon) + * @author Bryan Borg [@bryanMt](@link https://github.com/bryanMt) + */ +var locale = { + code: 'mt', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/mt/index.js.flow b/node_modules/date-fns/locale/mt/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/mt/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/mt/package.json b/node_modules/date-fns/locale/mt/package.json new file mode 100644 index 000000000..ac6f8e7f4 --- /dev/null +++ b/node_modules/date-fns/locale/mt/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/mt/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/_lib/formatDistance/index.js b/node_modules/date-fns/locale/nb/_lib/formatDistance/index.js new file mode 100644 index 000000000..d63c4b789 --- /dev/null +++ b/node_modules/date-fns/locale/nb/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre enn ett sekund', + other: 'mindre enn {{count}} sekunder' + }, + xSeconds: { + one: 'ett sekund', + other: '{{count}} sekunder' + }, + halfAMinute: 'et halvt minutt', + lessThanXMinutes: { + one: 'mindre enn ett minutt', + other: 'mindre enn {{count}} minutter' + }, + xMinutes: { + one: 'ett minutt', + other: '{{count}} minutter' + }, + aboutXHours: { + one: 'omtrent en time', + other: 'omtrent {{count}} timer' + }, + xHours: { + one: 'en time', + other: '{{count}} timer' + }, + xDays: { + one: 'en dag', + other: '{{count}} dager' + }, + aboutXWeeks: { + one: 'omtrent en uke', + other: 'omtrent {{count}} uker' + }, + xWeeks: { + one: 'en uke', + other: '{{count}} uker' + }, + aboutXMonths: { + one: 'omtrent en måned', + other: 'omtrent {{count}} måneder' + }, + xMonths: { + one: 'en måned', + other: '{{count}} måneder' + }, + aboutXYears: { + one: 'omtrent ett år', + other: 'omtrent {{count}} år' + }, + xYears: { + one: 'ett år', + other: '{{count}} år' + }, + overXYears: { + one: 'over ett år', + other: 'over {{count}} år' + }, + almostXYears: { + one: 'nesten ett år', + other: 'nesten {{count}} år' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' siden'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/_lib/formatLong/index.js b/node_modules/date-fns/locale/nb/_lib/formatLong/index.js new file mode 100644 index 000000000..ec99af63c --- /dev/null +++ b/node_modules/date-fns/locale/nb/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/_lib/formatRelative/index.js b/node_modules/date-fns/locale/nb/_lib/formatRelative/index.js new file mode 100644 index 000000000..3aab18cfa --- /dev/null +++ b/node_modules/date-fns/locale/nb/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'forrige' eeee 'kl.' p", + yesterday: "'i går kl.' p", + today: "'i dag kl.' p", + tomorrow: "'i morgen kl.' p", + nextWeek: "EEEE 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/_lib/localize/index.js b/node_modules/date-fns/locale/nb/_lib/localize/index.js new file mode 100644 index 000000000..31dd4ff69 --- /dev/null +++ b/node_modules/date-fns/locale/nb/_lib/localize/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['før Kristus', 'etter Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], + wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + abbreviated: ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], + wide: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natten' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natten' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morgenen', + afternoon: 'på ettermiddagen', + evening: 'på kvelden', + night: 'på natten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/_lib/match/index.js b/node_modules/date-fns/locale/nb/_lib/match/index.js new file mode 100644 index 000000000..bacc8fa0a --- /dev/null +++ b/node_modules/date-fns/locale/nb/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^e/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i, + wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(sø|ma|ti|on|to|fr|lø)/i, + abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i, + wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i +}; +var parseDayPatterns = { + any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i, + any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a(\.?\s?m\.?)?$/i, + pm: /^p(\.?\s?m\.?)?$/i, + midnight: /^midn/i, + noon: /^midd/i, + morning: /morgen/i, + afternoon: /ettermiddag/i, + evening: /kveld/i, + night: /natt/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/index.d.ts b/node_modules/date-fns/locale/nb/index.d.ts new file mode 100644 index 000000000..75c06bb92 --- /dev/null +++ b/node_modules/date-fns/locale/nb/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nb } from 'date-fns/locale' +export default nb diff --git a/node_modules/date-fns/locale/nb/index.js b/node_modules/date-fns/locale/nb/index.js new file mode 100644 index 000000000..9cd369d67 --- /dev/null +++ b/node_modules/date-fns/locale/nb/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Norwegian Bokmål locale. + * @language Norwegian Bokmål + * @iso-639-2 nob + * @author Hans-Kristian Koren [@Hanse]{@link https://github.com/Hanse} + * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb} + * @author Dag Stuan [@dagstuan]{@link https://github.com/dagstuan} + */ +var locale = { + code: 'nb', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nb/index.js.flow b/node_modules/date-fns/locale/nb/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/nb/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/nb/package.json b/node_modules/date-fns/locale/nb/package.json new file mode 100644 index 000000000..1b66b4308 --- /dev/null +++ b/node_modules/date-fns/locale/nb/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/nb/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/_lib/formatDistance/index.js b/node_modules/date-fns/locale/nl-BE/_lib/formatDistance/index.js new file mode 100644 index 000000000..64bb7c9e1 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minder dan een seconde', + other: 'minder dan {{count}} seconden' + }, + xSeconds: { + one: '1 seconde', + other: '{{count}} seconden' + }, + halfAMinute: 'een halve minuut', + lessThanXMinutes: { + one: 'minder dan een minuut', + other: 'minder dan {{count}} minuten' + }, + xMinutes: { + one: 'een minuut', + other: '{{count}} minuten' + }, + aboutXHours: { + one: 'ongeveer 1 uur', + other: 'ongeveer {{count}} uur' + }, + xHours: { + one: '1 uur', + other: '{{count}} uur' + }, + xDays: { + one: '1 dag', + other: '{{count}} dagen' + }, + aboutXWeeks: { + one: 'ongeveer 1 week', + other: 'ongeveer {{count}} weken' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weken' + }, + aboutXMonths: { + one: 'ongeveer 1 maand', + other: 'ongeveer {{count}} maanden' + }, + xMonths: { + one: '1 maand', + other: '{{count}} maanden' + }, + aboutXYears: { + one: 'ongeveer 1 jaar', + other: 'ongeveer {{count}} jaar' + }, + xYears: { + one: '1 jaar', + other: '{{count}} jaar' + }, + overXYears: { + one: 'meer dan 1 jaar', + other: 'meer dan {{count}} jaar' + }, + almostXYears: { + one: 'bijna 1 jaar', + other: 'bijna {{count}} jaar' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'over ' + result; + } else { + return result + ' geleden'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/_lib/formatLong/index.js b/node_modules/date-fns/locale/nl-BE/_lib/formatLong/index.js new file mode 100644 index 000000000..5b708fd08 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/_lib/formatRelative/index.js b/node_modules/date-fns/locale/nl-BE/_lib/formatRelative/index.js new file mode 100644 index 000000000..ca4f02341 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'vorige' eeee 'om' p", + yesterday: "'gisteren om' p", + today: "'vandaag om' p", + tomorrow: "'morgen om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/_lib/localize/index.js b/node_modules/date-fns/locale/nl-BE/_lib/localize/index.js new file mode 100644 index 000000000..7f029a7bf --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/_lib/localize/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['v.C.', 'n.C.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['voor Christus', 'na Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + short: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middag', + morning: "'s ochtends", + afternoon: "'s namiddags", + evening: "'s avonds", + night: "'s nachts" + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middag', + morning: "'s ochtends", + afternoon: "'s namiddags", + evening: "'s avonds", + night: "'s nachts" + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middag', + morning: "'s ochtends", + afternoon: "'s namiddags", + evening: "'s avonds", + night: "'s nachts" + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/_lib/match/index.js b/node_modules/date-fns/locale/nl-BE/_lib/match/index.js new file mode 100644 index 000000000..9d1528533 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)e?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([vn]\.? ?C\.?)/, + abbreviated: /^([vn]\. ?Chr\.?)/, + wide: /^((voor|na) Christus)/ +}; +var parseEraPatterns = { + any: [/^v/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234]e kwartaal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, + wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i] +}; +var matchDayPatterns = { + narrow: /^[zmdwv]/i, + short: /^(zo|ma|di|wo|do|vr|za)/i, + abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i, + wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i +}; +var parseDayPatterns = { + narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i], + any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^middernacht/i, + noon: /^het middaguur/i, + morning: /ochtend/i, + afternoon: /middag/i, + evening: /avond/i, + night: /nacht/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/index.d.ts b/node_modules/date-fns/locale/nl-BE/index.d.ts new file mode 100644 index 000000000..c2970a4e6 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nlBE } from 'date-fns/locale' +export default nlBE diff --git a/node_modules/date-fns/locale/nl-BE/index.js b/node_modules/date-fns/locale/nl-BE/index.js new file mode 100644 index 000000000..919667f00 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Dutch locale. + * @language Dutch + * @iso-639-2 nld + * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder} + * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk} + * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb} + * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn} + */ +var locale = { + code: 'nl-BE', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl-BE/index.js.flow b/node_modules/date-fns/locale/nl-BE/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/nl-BE/package.json b/node_modules/date-fns/locale/nl-BE/package.json new file mode 100644 index 000000000..607a6c208 --- /dev/null +++ b/node_modules/date-fns/locale/nl-BE/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/nl-BE/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/_lib/formatDistance/index.js b/node_modules/date-fns/locale/nl/_lib/formatDistance/index.js new file mode 100644 index 000000000..64bb7c9e1 --- /dev/null +++ b/node_modules/date-fns/locale/nl/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'minder dan een seconde', + other: 'minder dan {{count}} seconden' + }, + xSeconds: { + one: '1 seconde', + other: '{{count}} seconden' + }, + halfAMinute: 'een halve minuut', + lessThanXMinutes: { + one: 'minder dan een minuut', + other: 'minder dan {{count}} minuten' + }, + xMinutes: { + one: 'een minuut', + other: '{{count}} minuten' + }, + aboutXHours: { + one: 'ongeveer 1 uur', + other: 'ongeveer {{count}} uur' + }, + xHours: { + one: '1 uur', + other: '{{count}} uur' + }, + xDays: { + one: '1 dag', + other: '{{count}} dagen' + }, + aboutXWeeks: { + one: 'ongeveer 1 week', + other: 'ongeveer {{count}} weken' + }, + xWeeks: { + one: '1 week', + other: '{{count}} weken' + }, + aboutXMonths: { + one: 'ongeveer 1 maand', + other: 'ongeveer {{count}} maanden' + }, + xMonths: { + one: '1 maand', + other: '{{count}} maanden' + }, + aboutXYears: { + one: 'ongeveer 1 jaar', + other: 'ongeveer {{count}} jaar' + }, + xYears: { + one: '1 jaar', + other: '{{count}} jaar' + }, + overXYears: { + one: 'meer dan 1 jaar', + other: 'meer dan {{count}} jaar' + }, + almostXYears: { + one: 'bijna 1 jaar', + other: 'bijna {{count}} jaar' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'over ' + result; + } else { + return result + ' geleden'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/_lib/formatLong/index.js b/node_modules/date-fns/locale/nl/_lib/formatLong/index.js new file mode 100644 index 000000000..bc56a01f7 --- /dev/null +++ b/node_modules/date-fns/locale/nl/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd-MM-y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'om' {{time}}", + long: "{{date}} 'om' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/_lib/formatRelative/index.js b/node_modules/date-fns/locale/nl/_lib/formatRelative/index.js new file mode 100644 index 000000000..656573100 --- /dev/null +++ b/node_modules/date-fns/locale/nl/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'afgelopen' eeee 'om' p", + yesterday: "'gisteren om' p", + today: "'vandaag om' p", + tomorrow: "'morgen om' p", + nextWeek: "eeee 'om' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/_lib/localize/index.js b/node_modules/date-fns/locale/nl/_lib/localize/index.js new file mode 100644 index 000000000..daa62f8b7 --- /dev/null +++ b/node_modules/date-fns/locale/nl/_lib/localize/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['v.C.', 'n.C.'], + abbreviated: ['v.Chr.', 'n.Chr.'], + wide: ['voor Christus', 'na Christus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['K1', 'K2', 'K3', 'K4'], + wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + short: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middaguur', + morning: "'s ochtends", + afternoon: "'s middags", + evening: "'s avonds", + night: "'s nachts" + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middaguur', + morning: "'s ochtends", + afternoon: "'s middags", + evening: "'s avonds", + night: "'s nachts" + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'middernacht', + noon: 'het middaguur', + morning: "'s ochtends", + afternoon: "'s middags", + evening: "'s avonds", + night: "'s nachts" + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/_lib/match/index.js b/node_modules/date-fns/locale/nl/_lib/match/index.js new file mode 100644 index 000000000..9d1528533 --- /dev/null +++ b/node_modules/date-fns/locale/nl/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)e?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([vn]\.? ?C\.?)/, + abbreviated: /^([vn]\. ?Chr\.?)/, + wide: /^((voor|na) Christus)/ +}; +var parseEraPatterns = { + any: [/^v/, /^n/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^K[1234]/i, + wide: /^[1234]e kwartaal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, + wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i] +}; +var matchDayPatterns = { + narrow: /^[zmdwv]/i, + short: /^(zo|ma|di|wo|do|vr|za)/i, + abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i, + wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i +}; +var parseDayPatterns = { + narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i], + any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /^middernacht/i, + noon: /^het middaguur/i, + morning: /ochtend/i, + afternoon: /middag/i, + evening: /avond/i, + night: /nacht/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/index.d.ts b/node_modules/date-fns/locale/nl/index.d.ts new file mode 100644 index 000000000..eb92f4eaa --- /dev/null +++ b/node_modules/date-fns/locale/nl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nl } from 'date-fns/locale' +export default nl diff --git a/node_modules/date-fns/locale/nl/index.js b/node_modules/date-fns/locale/nl/index.js new file mode 100644 index 000000000..378c1de8f --- /dev/null +++ b/node_modules/date-fns/locale/nl/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Dutch locale. + * @language Dutch + * @iso-639-2 nld + * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder} + * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk} + * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb} + * @author Edo Rivai [@edorivai]{@link https://github.com/edorivai} + * @author Niels Keurentjes [@curry684]{@link https://github.com/curry684} + * @author Stefan Vermaas [@stefanvermaas]{@link https://github.com/stefanvermaas} + */ +var locale = { + code: 'nl', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nl/index.js.flow b/node_modules/date-fns/locale/nl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/nl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/nl/package.json b/node_modules/date-fns/locale/nl/package.json new file mode 100644 index 000000000..210425ac5 --- /dev/null +++ b/node_modules/date-fns/locale/nl/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/nl/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/_lib/formatDistance/index.js b/node_modules/date-fns/locale/nn/_lib/formatDistance/index.js new file mode 100644 index 000000000..7a3ac054f --- /dev/null +++ b/node_modules/date-fns/locale/nn/_lib/formatDistance/index.js @@ -0,0 +1,96 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre enn eitt sekund', + other: 'mindre enn {{count}} sekund' + }, + xSeconds: { + one: 'eitt sekund', + other: '{{count}} sekund' + }, + halfAMinute: 'eit halvt minutt', + lessThanXMinutes: { + one: 'mindre enn eitt minutt', + other: 'mindre enn {{count}} minutt' + }, + xMinutes: { + one: 'eitt minutt', + other: '{{count}} minutt' + }, + aboutXHours: { + one: 'omtrent ein time', + other: 'omtrent {{count}} timar' + }, + xHours: { + one: 'ein time', + other: '{{count}} timar' + }, + xDays: { + one: 'ein dag', + other: '{{count}} dagar' + }, + aboutXWeeks: { + one: 'omtrent ei veke', + other: 'omtrent {{count}} veker' + }, + xWeeks: { + one: 'ei veke', + other: '{{count}} veker' + }, + aboutXMonths: { + one: 'omtrent ein månad', + other: 'omtrent {{count}} månader' + }, + xMonths: { + one: 'ein månad', + other: '{{count}} månader' + }, + aboutXYears: { + one: 'omtrent eitt år', + other: 'omtrent {{count}} år' + }, + xYears: { + one: 'eitt år', + other: '{{count}} år' + }, + overXYears: { + one: 'over eitt år', + other: 'over {{count}} år' + }, + almostXYears: { + one: 'nesten eitt år', + other: 'nesten {{count}} år' + } +}; +var wordMapping = ['null', 'ein', 'to', 'tre', 'fire', 'fem', 'seks', 'sju', 'åtte', 'ni', 'ti', 'elleve', 'tolv']; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + if (options && options.onlyNumeric) { + result = tokenValue.other.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count)); + } + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' sidan'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/_lib/formatLong/index.js b/node_modules/date-fns/locale/nn/_lib/formatLong/index.js new file mode 100644 index 000000000..ec99af63c --- /dev/null +++ b/node_modules/date-fns/locale/nn/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d. MMMM y', + long: 'd. MMMM y', + medium: 'd. MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/_lib/formatRelative/index.js b/node_modules/date-fns/locale/nn/_lib/formatRelative/index.js new file mode 100644 index 000000000..2c33f34dc --- /dev/null +++ b/node_modules/date-fns/locale/nn/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'førre' eeee 'kl.' p", + yesterday: "'i går kl.' p", + today: "'i dag kl.' p", + tomorrow: "'i morgon kl.' p", + nextWeek: "EEEE 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/_lib/localize/index.js b/node_modules/date-fns/locale/nn/_lib/localize/index.js new file mode 100644 index 000000000..716d7428b --- /dev/null +++ b/node_modules/date-fns/locale/nn/_lib/localize/index.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['før Kristus', 'etter Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'], + wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['su', 'må', 'ty', 'on', 'to', 'fr', 'lau'], + abbreviated: ['sun', 'mån', 'tys', 'ons', 'tor', 'fre', 'laur'], + wide: ['sundag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natta' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på etterm.', + evening: 'på kvelden', + night: 'på natta' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morgonen', + afternoon: 'på ettermiddagen', + evening: 'på kvelden', + night: 'på natta' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/_lib/match/index.js b/node_modules/date-fns/locale/nn/_lib/match/index.js new file mode 100644 index 000000000..e0c7d731a --- /dev/null +++ b/node_modules/date-fns/locale/nn/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i, + wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^e/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](\.)? kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i, + wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(su|må|ty|on|to|fr|la)/i, + abbreviated: /^(sun|mån|tys|ons|tor|fre|laur)/i, + wide: /^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i +}; +var parseDayPatterns = { + any: [/^s/i, /^m/i, /^ty/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i, + any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a(\.?\s?m\.?)?$/i, + pm: /^p(\.?\s?m\.?)?$/i, + midnight: /^midn/i, + noon: /^midd/i, + morning: /morgon/i, + afternoon: /ettermiddag/i, + evening: /kveld/i, + night: /natt/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/index.d.ts b/node_modules/date-fns/locale/nn/index.d.ts new file mode 100644 index 000000000..08050ed8a --- /dev/null +++ b/node_modules/date-fns/locale/nn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nn } from 'date-fns/locale' +export default nn diff --git a/node_modules/date-fns/locale/nn/index.js b/node_modules/date-fns/locale/nn/index.js new file mode 100644 index 000000000..9e34bd196 --- /dev/null +++ b/node_modules/date-fns/locale/nn/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Norwegian Nynorsk locale. + * @language Norwegian Nynorsk + * @iso-639-2 nno + * @author Mats Byrkjeland [@draperunner]{@link https://github.com/draperunner} + */ +var locale = { + code: 'nn', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/nn/index.js.flow b/node_modules/date-fns/locale/nn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/nn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/nn/package.json b/node_modules/date-fns/locale/nn/package.json new file mode 100644 index 000000000..898d9e2c3 --- /dev/null +++ b/node_modules/date-fns/locale/nn/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/nn/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/_lib/formatDistance/index.js b/node_modules/date-fns/locale/oc/_lib/formatDistance/index.js new file mode 100644 index 000000000..e83bf546f --- /dev/null +++ b/node_modules/date-fns/locale/oc/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mens d’una segonda', + other: 'mens de {{count}} segondas' + }, + xSeconds: { + one: '1 segonda', + other: '{{count}} segondas' + }, + halfAMinute: '30 segondas', + lessThanXMinutes: { + one: 'mens d’una minuta', + other: 'mens de {{count}} minutas' + }, + xMinutes: { + one: '1 minuta', + other: '{{count}} minutas' + }, + aboutXHours: { + one: 'environ 1 ora', + other: 'environ {{count}} oras' + }, + xHours: { + one: '1 ora', + other: '{{count}} oras' + }, + xDays: { + one: '1 jorn', + other: '{{count}} jorns' + }, + aboutXWeeks: { + one: 'environ 1 setmana', + other: 'environ {{count}} setmanas' + }, + xWeeks: { + one: '1 setmana', + other: '{{count}} setmanas' + }, + aboutXMonths: { + one: 'environ 1 mes', + other: 'environ {{count}} meses' + }, + xMonths: { + one: '1 mes', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'environ 1 an', + other: 'environ {{count}} ans' + }, + xYears: { + one: '1 an', + other: '{{count}} ans' + }, + overXYears: { + one: 'mai d’un an', + other: 'mai de {{count}} ans' + }, + almostXYears: { + one: 'gaireben un an', + other: 'gaireben {{count}} ans' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'd’aquí ' + result; + } else { + return 'fa ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/_lib/formatLong/index.js b/node_modules/date-fns/locale/oc/_lib/formatLong/index.js new file mode 100644 index 000000000..59ea04e1c --- /dev/null +++ b/node_modules/date-fns/locale/oc/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE d 'de' MMMM y", + long: "d 'de' MMMM y", + medium: 'd MMM y', + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'a' {{time}}", + long: "{{date}} 'a' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/_lib/formatRelative/index.js b/node_modules/date-fns/locale/oc/_lib/formatRelative/index.js new file mode 100644 index 000000000..e59971655 --- /dev/null +++ b/node_modules/date-fns/locale/oc/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'passat a' p", + yesterday: "'ièr a' p", + today: "'uèi a' p", + tomorrow: "'deman a' p", + nextWeek: "eeee 'a' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/_lib/localize/index.js b/node_modules/date-fns/locale/oc/_lib/localize/index.js new file mode 100644 index 000000000..bd8a48e1f --- /dev/null +++ b/node_modules/date-fns/locale/oc/_lib/localize/index.js @@ -0,0 +1,145 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ab. J.C.', 'apr. J.C.'], + abbreviated: ['ab. J.C.', 'apr. J.C.'], + wide: ['abans Jèsus-Crist', 'après Jèsus-Crist'] +}; +var quarterValues = { + narrow: ['T1', 'T2', 'T3', 'T4'], + abbreviated: ['1èr trim.', '2nd trim.', '3en trim.', '4en trim.'], + wide: ['1èr trimèstre', '2nd trimèstre', '3en trimèstre', '4en trimèstre'] +}; +var monthValues = { + narrow: ['GN', 'FB', 'MÇ', 'AB', 'MA', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DC'], + abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'mai', 'junh', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'dec.'], + wide: ['genièr', 'febrièr', 'març', 'abril', 'mai', 'junh', 'julhet', 'agost', 'setembre', 'octòbre', 'novembre', 'decembre'] +}; +var dayValues = { + narrow: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], + short: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], + abbreviated: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], + wide: ['dimenge', 'diluns', 'dimars', 'dimècres', 'dijòus', 'divendres', 'dissabte'] +}; +var dayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'matin', + afternoon: 'aprèp-miègjorn', + evening: 'vèspre', + night: 'nuèch' + }, + abbreviated: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'matin', + afternoon: 'aprèp-miègjorn', + evening: 'vèspre', + night: 'nuèch' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'matin', + afternoon: 'aprèp-miègjorn', + evening: 'vèspre', + night: 'nuèch' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'del matin', + afternoon: 'de l’aprèp-miègjorn', + evening: 'del ser', + night: 'de la nuèch' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'del matin', + afternoon: 'de l’aprèp-miègjorn', + evening: 'del ser', + night: 'de la nuèch' + }, + wide: { + am: 'ante meridiem', + pm: 'post meridiem', + midnight: 'mièjanuèch', + noon: 'miègjorn', + morning: 'del matin', + afternoon: 'de l’aprèp-miègjorn', + evening: 'del ser', + night: 'de la nuèch' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + var ordinal; + switch (number) { + case 1: + ordinal = 'èr'; + break; + case 2: + ordinal = 'nd'; + break; + default: + ordinal = 'en'; + } + + // feminine for year, week, hour, minute, second + if (unit === 'year' || unit === 'week' || unit === 'hour' || unit === 'minute' || unit === 'second') { + ordinal += 'a'; + } + return number + ordinal; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/_lib/match/index.js b/node_modules/date-fns/locale/oc/_lib/match/index.js new file mode 100644 index 000000000..a12f1f247 --- /dev/null +++ b/node_modules/date-fns/locale/oc/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(èr|nd|en)?[a]?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ab\.J\.C|apr\.J\.C|apr\.J\.-C)/i, + abbreviated: /^(ab\.J\.-C|ab\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, + wide: /^(abans Jèsus-Crist|après Jèsus-Crist)/i +}; +var parseEraPatterns = { + any: [/^ab/i, /^ap/i] +}; +var matchQuarterPatterns = { + narrow: /^T[1234]/i, + abbreviated: /^[1234](èr|nd|en)? trim\.?/i, + wide: /^[1234](èr|nd|en)? trimèstre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(GN|FB|MÇ|AB|MA|JN|JL|AG|ST|OC|NV|DC)/i, + abbreviated: /^(gen|febr|març|abr|mai|junh|jul|ag|set|oct|nov|dec)\.?/i, + wide: /^(genièr|febrièr|març|abril|mai|junh|julhet|agost|setembre|octòbre|novembre|decembre)/i +}; +var parseMonthPatterns = { + any: [/^g/i, /^f/i, /^ma[r?]|MÇ/i, /^ab/i, /^ma[i?]/i, /^ju[n?]|JN/i, /^ju[l?]|JL/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^d[glmcjvs]\.?/i, + short: /^d[glmcjvs]\.?/i, + abbreviated: /^d[glmcjvs]\.?/i, + wide: /^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i +}; +var parseDayPatterns = { + narrow: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], + short: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], + abbreviated: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], + any: [/^dg|dime/i, /^dl|dil/i, /^dm|dima/i, /^dc|dimè/i, /^dj|dij/i, /^dv|div/i, /^ds|dis/i] +}; +var matchDayPeriodPatterns = { + any: /(^(a\.?m|p\.?m))|(ante meridiem|post meridiem)|((del |de la |de l’)(matin|aprèp-miègjorn|vèspre|ser|nuèch))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /(^a)|ante meridiem/i, + pm: /(^p)|post meridiem/i, + midnight: /^mièj/i, + noon: /^mièg/i, + morning: /matin/i, + afternoon: /aprèp-miègjorn/i, + evening: /vèspre|ser/i, + night: /nuèch/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/index.d.ts b/node_modules/date-fns/locale/oc/index.d.ts new file mode 100644 index 000000000..39cb51b36 --- /dev/null +++ b/node_modules/date-fns/locale/oc/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { oc } from 'date-fns/locale' +export default oc diff --git a/node_modules/date-fns/locale/oc/index.js b/node_modules/date-fns/locale/oc/index.js new file mode 100644 index 000000000..c92584e9d --- /dev/null +++ b/node_modules/date-fns/locale/oc/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Occitan locale. + * @language Occitan + * @iso-639-2 oci + * @author Quentin PAGÈS + */ +var locale = { + code: 'oc', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/oc/index.js.flow b/node_modules/date-fns/locale/oc/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/oc/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/oc/package.json b/node_modules/date-fns/locale/oc/package.json new file mode 100644 index 000000000..cf6f0a008 --- /dev/null +++ b/node_modules/date-fns/locale/oc/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/oc/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/package.json b/node_modules/date-fns/locale/package.json new file mode 100644 index 000000000..bba077996 --- /dev/null +++ b/node_modules/date-fns/locale/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/locale/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/_lib/formatDistance/index.js b/node_modules/date-fns/locale/pl/_lib/formatDistance/index.js new file mode 100644 index 000000000..becc80e83 --- /dev/null +++ b/node_modules/date-fns/locale/pl/_lib/formatDistance/index.js @@ -0,0 +1,153 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + regular: 'mniej niż sekunda', + past: 'mniej niż sekundę', + future: 'mniej niż sekundę' + }, + twoFour: 'mniej niż {{count}} sekundy', + other: 'mniej niż {{count}} sekund' + }, + xSeconds: { + one: { + regular: 'sekunda', + past: 'sekundę', + future: 'sekundę' + }, + twoFour: '{{count}} sekundy', + other: '{{count}} sekund' + }, + halfAMinute: { + one: 'pół minuty', + twoFour: 'pół minuty', + other: 'pół minuty' + }, + lessThanXMinutes: { + one: { + regular: 'mniej niż minuta', + past: 'mniej niż minutę', + future: 'mniej niż minutę' + }, + twoFour: 'mniej niż {{count}} minuty', + other: 'mniej niż {{count}} minut' + }, + xMinutes: { + one: { + regular: 'minuta', + past: 'minutę', + future: 'minutę' + }, + twoFour: '{{count}} minuty', + other: '{{count}} minut' + }, + aboutXHours: { + one: { + regular: 'około godziny', + past: 'około godziny', + future: 'około godzinę' + }, + twoFour: 'około {{count}} godziny', + other: 'około {{count}} godzin' + }, + xHours: { + one: { + regular: 'godzina', + past: 'godzinę', + future: 'godzinę' + }, + twoFour: '{{count}} godziny', + other: '{{count}} godzin' + }, + xDays: { + one: { + regular: 'dzień', + past: 'dzień', + future: '1 dzień' + }, + twoFour: '{{count}} dni', + other: '{{count}} dni' + }, + aboutXWeeks: { + one: 'około tygodnia', + twoFour: 'około {{count}} tygodni', + other: 'około {{count}} tygodni' + }, + xWeeks: { + one: 'tydzień', + twoFour: '{{count}} tygodnie', + other: '{{count}} tygodni' + }, + aboutXMonths: { + one: 'około miesiąc', + twoFour: 'około {{count}} miesiące', + other: 'około {{count}} miesięcy' + }, + xMonths: { + one: 'miesiąc', + twoFour: '{{count}} miesiące', + other: '{{count}} miesięcy' + }, + aboutXYears: { + one: 'około rok', + twoFour: 'około {{count}} lata', + other: 'około {{count}} lat' + }, + xYears: { + one: 'rok', + twoFour: '{{count}} lata', + other: '{{count}} lat' + }, + overXYears: { + one: 'ponad rok', + twoFour: 'ponad {{count}} lata', + other: 'ponad {{count}} lat' + }, + almostXYears: { + one: 'prawie rok', + twoFour: 'prawie {{count}} lata', + other: 'prawie {{count}} lat' + } +}; +function declensionGroup(scheme, count) { + if (count === 1) { + return scheme.one; + } + var rem100 = count % 100; + + // ends with 11-20 + if (rem100 <= 20 && rem100 > 10) { + return scheme.other; + } + var rem10 = rem100 % 10; + + // ends with 2, 3, 4 + if (rem10 >= 2 && rem10 <= 4) { + return scheme.twoFour; + } + return scheme.other; +} +function declension(scheme, count, time) { + var group = declensionGroup(scheme, count); + var finalText = typeof group === 'string' ? group : group[time]; + return finalText.replace('{{count}}', String(count)); +} +var formatDistance = function formatDistance(token, count, options) { + var scheme = formatDistanceLocale[token]; + if (!(options !== null && options !== void 0 && options.addSuffix)) { + return declension(scheme, count, 'regular'); + } + if (options.comparison && options.comparison > 0) { + return 'za ' + declension(scheme, count, 'future'); + } else { + return declension(scheme, count, 'past') + ' temu'; + } +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/_lib/formatLong/index.js b/node_modules/date-fns/locale/pl/_lib/formatLong/index.js new file mode 100644 index 000000000..835515509 --- /dev/null +++ b/node_modules/date-fns/locale/pl/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, do MMMM y', + long: 'do MMMM y', + medium: 'do MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/_lib/formatRelative/index.js b/node_modules/date-fns/locale/pl/_lib/formatRelative/index.js new file mode 100644 index 000000000..18b627569 --- /dev/null +++ b/node_modules/date-fns/locale/pl/_lib/formatRelative/index.js @@ -0,0 +1,63 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var adjectivesLastWeek = { + masculine: 'ostatni', + feminine: 'ostatnia' +}; +var adjectivesThisWeek = { + masculine: 'ten', + feminine: 'ta' +}; +var adjectivesNextWeek = { + masculine: 'następny', + feminine: 'następna' +}; +var dayGrammaticalGender = { + 0: 'feminine', + 1: 'masculine', + 2: 'masculine', + 3: 'feminine', + 4: 'masculine', + 5: 'masculine', + 6: 'feminine' +}; +function dayAndTimeWithAdjective(token, date, baseDate, options) { + var adjectives; + if ((0, _index.default)(date, baseDate, options)) { + adjectives = adjectivesThisWeek; + } else if (token === 'lastWeek') { + adjectives = adjectivesLastWeek; + } else if (token === 'nextWeek') { + adjectives = adjectivesNextWeek; + } else { + throw new Error("Cannot determine adjectives for token ".concat(token)); + } + var day = date.getUTCDay(); + var grammaticalGender = dayGrammaticalGender[day]; + var adjective = adjectives[grammaticalGender]; + return "'".concat(adjective, "' eeee 'o' p"); +} +var formatRelativeLocale = { + lastWeek: dayAndTimeWithAdjective, + yesterday: "'wczoraj o' p", + today: "'dzisiaj o' p", + tomorrow: "'jutro o' p", + nextWeek: dayAndTimeWithAdjective, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(token, date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/_lib/localize/index.js b/node_modules/date-fns/locale/pl/_lib/localize/index.js new file mode 100644 index 000000000..2f59e7e58 --- /dev/null +++ b/node_modules/date-fns/locale/pl/_lib/localize/index.js @@ -0,0 +1,142 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['p.n.e.', 'n.e.'], + abbreviated: ['p.n.e.', 'n.e.'], + wide: ['przed naszą erą', 'naszej ery'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['I kw.', 'II kw.', 'III kw.', 'IV kw.'], + wide: ['I kwartał', 'II kwartał', 'III kwartał', 'IV kwartał'] +}; +var monthValues = { + narrow: ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'], + abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + wide: ['styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień'] +}; +var monthFormattingValues = { + narrow: ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'], + abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + wide: ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia'] +}; +var dayValues = { + narrow: ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'], + short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'], + abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'] +}; +var dayFormattingValues = { + narrow: ['n', 'p', 'w', 'ś', 'c', 'p', 's'], + short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'], + abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'półn.', + noon: 'poł', + morning: 'rano', + afternoon: 'popoł.', + evening: 'wiecz.', + night: 'noc' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'północ', + noon: 'południe', + morning: 'rano', + afternoon: 'popołudnie', + evening: 'wieczór', + night: 'noc' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'północ', + noon: 'południe', + morning: 'rano', + afternoon: 'popołudnie', + evening: 'wieczór', + night: 'noc' + } +}; +var dayPeriodFormattingValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'o półn.', + noon: 'w poł.', + morning: 'rano', + afternoon: 'po poł.', + evening: 'wiecz.', + night: 'w nocy' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'o północy', + noon: 'w południe', + morning: 'rano', + afternoon: 'po południu', + evening: 'wieczorem', + night: 'w nocy' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'o północy', + noon: 'w południe', + morning: 'rano', + afternoon: 'po południu', + evening: 'wieczorem', + night: 'w nocy' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: monthFormattingValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide', + formattingValues: dayFormattingValues, + defaultFormattingWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: dayPeriodFormattingValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/_lib/match/index.js b/node_modules/date-fns/locale/pl/_lib/match/index.js new file mode 100644 index 000000000..546ac0281 --- /dev/null +++ b/node_modules/date-fns/locale/pl/_lib/match/index.js @@ -0,0 +1,119 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, + abbreviated: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, + wide: /^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i +}; +var parseEraPatterns = { + any: [/^p/i, /^n/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^(I|II|III|IV)\s*kw\.?/i, + wide: /^(I|II|III|IV)\s*kwarta(ł|l)/i +}; +var parseQuarterPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i], + any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i] +}; +var matchMonthPatterns = { + narrow: /^[slmkcwpg]/i, + abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i, + wide: /^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i +}; +var parseMonthPatterns = { + narrow: [/^s/i, /^l/i, /^m/i, /^k/i, /^m/i, /^c/i, /^l/i, /^s/i, /^w/i, /^p/i, /^l/i, /^g/i], + any: [/^st/i, /^lu/i, /^mar/i, /^k/i, /^maj/i, /^c/i, /^lip/i, /^si/i, /^w/i, /^p/i, /^lis/i, /^g/i] +}; +var matchDayPatterns = { + narrow: /^[npwścs]/i, + short: /^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i, + abbreviated: /^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i, + wide: /^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^w/i, /^ś/i, /^c/i, /^p/i, /^s/i], + abbreviated: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pt/i, /^so/i], + any: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pi/i, /^so/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i, + any: /^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^a$/i, + pm: /^p$/i, + midnight: /pó(ł|l)n/i, + noon: /po(ł|l)/i, + morning: /rano/i, + afternoon: /po\s*po(ł|l)/i, + evening: /wiecz/i, + night: /noc/i + }, + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /pó(ł|l)n/i, + noon: /po(ł|l)/i, + morning: /rano/i, + afternoon: /po\s*po(ł|l)/i, + evening: /wiecz/i, + night: /noc/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/index.d.ts b/node_modules/date-fns/locale/pl/index.d.ts new file mode 100644 index 000000000..1ff8b7d58 --- /dev/null +++ b/node_modules/date-fns/locale/pl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { pl } from 'date-fns/locale' +export default pl diff --git a/node_modules/date-fns/locale/pl/index.js b/node_modules/date-fns/locale/pl/index.js new file mode 100644 index 000000000..af2a12e58 --- /dev/null +++ b/node_modules/date-fns/locale/pl/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Polish locale. + * @language Polish + * @iso-639-2 pol + * @author Mateusz Derks [@ertrzyiks]{@link https://github.com/ertrzyiks} + * @author Just RAG [@justrag]{@link https://github.com/justrag} + * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb} + * @author Mateusz Tokarski [@mutisz]{@link https://github.com/mutisz} + */ +var locale = { + code: 'pl', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pl/index.js.flow b/node_modules/date-fns/locale/pl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/pl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/pl/package.json b/node_modules/date-fns/locale/pl/package.json new file mode 100644 index 000000000..c9daa2578 --- /dev/null +++ b/node_modules/date-fns/locale/pl/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/pl/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/_lib/formatDistance/index.js b/node_modules/date-fns/locale/pt-BR/_lib/formatDistance/index.js new file mode 100644 index 000000000..7f5cb46e3 --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos de um segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'meio minuto', + lessThanXMinutes: { + one: 'menos de um minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'cerca de 1 hora', + other: 'cerca de {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 dia', + other: '{{count}} dias' + }, + aboutXWeeks: { + one: 'cerca de 1 semana', + other: 'cerca de {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'cerca de 1 mês', + other: 'cerca de {{count}} meses' + }, + xMonths: { + one: '1 mês', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'cerca de 1 ano', + other: 'cerca de {{count}} anos' + }, + xYears: { + one: '1 ano', + other: '{{count}} anos' + }, + overXYears: { + one: 'mais de 1 ano', + other: 'mais de {{count}} anos' + }, + almostXYears: { + one: 'quase 1 ano', + other: 'quase {{count}} anos' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'em ' + result; + } else { + return 'há ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/_lib/formatLong/index.js b/node_modules/date-fns/locale/pt-BR/_lib/formatLong/index.js new file mode 100644 index 000000000..a1a2ca2f6 --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d 'de' MMMM 'de' y", + long: "d 'de' MMMM 'de' y", + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'às' {{time}}", + long: "{{date}} 'às' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/_lib/formatRelative/index.js b/node_modules/date-fns/locale/pt-BR/_lib/formatRelative/index.js new file mode 100644 index 000000000..d146287aa --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/_lib/formatRelative/index.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var weekday = date.getUTCDay(); + var last = weekday === 0 || weekday === 6 ? 'último' : 'última'; + return "'" + last + "' eeee 'às' p"; + }, + yesterday: "'ontem às' p", + today: "'hoje às' p", + tomorrow: "'amanhã às' p", + nextWeek: "eeee 'às' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/_lib/localize/index.js b/node_modules/date-fns/locale/pt-BR/_lib/localize/index.js new file mode 100644 index 000000000..9dd690e41 --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/_lib/localize/index.js @@ -0,0 +1,131 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['AC', 'DC'], + abbreviated: ['AC', 'DC'], + wide: ['antes de cristo', 'depois de cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + wide: ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'] +}; +var dayValues = { + narrow: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + short: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab'], + abbreviated: ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + wide: ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'manhã', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'tarde', + night: 'noite' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'md', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da tarde', + night: 'da noite' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da tarde', + night: 'da noite' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da tarde', + night: 'da noite' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + if ((options === null || options === void 0 ? void 0 : options.unit) === 'week') { + return number + 'ª'; + } + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/_lib/match/index.js b/node_modules/date-fns/locale/pt-BR/_lib/match/index.js new file mode 100644 index 000000000..bb78e1e2b --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/_lib/match/index.js @@ -0,0 +1,109 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)[ºªo]?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i, + wide: /^(antes de cristo|depois de cristo)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^antes de cristo/i, /^depois de cristo/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmajsond]/i, + abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i, + wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^fev/i, /^mar/i, /^abr/i, /^mai/i, /^jun/i, /^jul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dez/i] +}; +var matchDayPatterns = { + narrow: /^(dom|[23456]ª?|s[aá]b)/i, + short: /^(dom|[23456]ª?|s[aá]b)/i, + abbreviated: /^(dom|seg|ter|qua|qui|sex|s[aá]b)/i, + wide: /^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i +}; +var parseDayPatterns = { + short: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i], + narrow: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i], + any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[aá]b/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i, + any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn|^meia[-\s]noite/i, + noon: /^md|^meio[-\s]dia/i, + morning: /manhã/i, + afternoon: /tarde/i, + evening: /tarde/i, + night: /noite/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/index.d.ts b/node_modules/date-fns/locale/pt-BR/index.d.ts new file mode 100644 index 000000000..e50a0b16d --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ptBR } from 'date-fns/locale' +export default ptBR diff --git a/node_modules/date-fns/locale/pt-BR/index.js b/node_modules/date-fns/locale/pt-BR/index.js new file mode 100644 index 000000000..028853e32 --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Portuguese locale (Brazil). + * @language Portuguese + * @iso-639-2 por + * @author Lucas Duailibe [@duailibe]{@link https://github.com/duailibe} + * @author Yago Carballo [@yagocarballo]{@link https://github.com/YagoCarballo} + */ +var locale = { + code: 'pt-BR', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt-BR/index.js.flow b/node_modules/date-fns/locale/pt-BR/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/pt-BR/package.json b/node_modules/date-fns/locale/pt-BR/package.json new file mode 100644 index 000000000..1f6609dbf --- /dev/null +++ b/node_modules/date-fns/locale/pt-BR/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/pt-BR/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/_lib/formatDistance/index.js b/node_modules/date-fns/locale/pt/_lib/formatDistance/index.js new file mode 100644 index 000000000..94ac00f0b --- /dev/null +++ b/node_modules/date-fns/locale/pt/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'menos de um segundo', + other: 'menos de {{count}} segundos' + }, + xSeconds: { + one: '1 segundo', + other: '{{count}} segundos' + }, + halfAMinute: 'meio minuto', + lessThanXMinutes: { + one: 'menos de um minuto', + other: 'menos de {{count}} minutos' + }, + xMinutes: { + one: '1 minuto', + other: '{{count}} minutos' + }, + aboutXHours: { + one: 'aproximadamente 1 hora', + other: 'aproximadamente {{count}} horas' + }, + xHours: { + one: '1 hora', + other: '{{count}} horas' + }, + xDays: { + one: '1 dia', + other: '{{count}} dias' + }, + aboutXWeeks: { + one: 'aproximadamente 1 semana', + other: 'aproximadamente {{count}} semanas' + }, + xWeeks: { + one: '1 semana', + other: '{{count}} semanas' + }, + aboutXMonths: { + one: 'aproximadamente 1 mês', + other: 'aproximadamente {{count}} meses' + }, + xMonths: { + one: '1 mês', + other: '{{count}} meses' + }, + aboutXYears: { + one: 'aproximadamente 1 ano', + other: 'aproximadamente {{count}} anos' + }, + xYears: { + one: '1 ano', + other: '{{count}} anos' + }, + overXYears: { + one: 'mais de 1 ano', + other: 'mais de {{count}} anos' + }, + almostXYears: { + one: 'quase 1 ano', + other: 'quase {{count}} anos' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'daqui a ' + result; + } else { + return 'há ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/_lib/formatLong/index.js b/node_modules/date-fns/locale/pt/_lib/formatLong/index.js new file mode 100644 index 000000000..611251229 --- /dev/null +++ b/node_modules/date-fns/locale/pt/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d 'de' MMMM 'de' y", + long: "d 'de' MMMM 'de' y", + medium: "d 'de' MMM 'de' y", + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'às' {{time}}", + long: "{{date}} 'às' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/_lib/formatRelative/index.js b/node_modules/date-fns/locale/pt/_lib/formatRelative/index.js new file mode 100644 index 000000000..d146287aa --- /dev/null +++ b/node_modules/date-fns/locale/pt/_lib/formatRelative/index.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var weekday = date.getUTCDay(); + var last = weekday === 0 || weekday === 6 ? 'último' : 'última'; + return "'" + last + "' eeee 'às' p"; + }, + yesterday: "'ontem às' p", + today: "'hoje às' p", + tomorrow: "'amanhã às' p", + nextWeek: "eeee 'às' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/_lib/localize/index.js b/node_modules/date-fns/locale/pt/_lib/localize/index.js new file mode 100644 index 000000000..9c1ef7a71 --- /dev/null +++ b/node_modules/date-fns/locale/pt/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['aC', 'dC'], + abbreviated: ['a.C.', 'd.C.'], + wide: ['antes de Cristo', 'depois de Cristo'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + wide: ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'] +}; +var dayValues = { + narrow: ['d', 's', 't', 'q', 'q', 's', 's'], + short: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + abbreviated: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + wide: ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado'] +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'noite', + night: 'madrugada' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'noite', + night: 'madrugada' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'manhã', + afternoon: 'tarde', + evening: 'noite', + night: 'madrugada' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da noite', + night: 'da madrugada' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da noite', + night: 'da madrugada' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'meia-noite', + noon: 'meio-dia', + morning: 'da manhã', + afternoon: 'da tarde', + evening: 'da noite', + night: 'da madrugada' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'º'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/_lib/match/index.js b/node_modules/date-fns/locale/pt/_lib/match/index.js new file mode 100644 index 000000000..5a0ab1b74 --- /dev/null +++ b/node_modules/date-fns/locale/pt/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(º|ª)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ac|dc|a|d)/i, + abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, + wide: /^(antes de cristo|antes da era comum|depois de cristo|era comum)/i +}; +var parseEraPatterns = { + any: [/^ac/i, /^dc/i], + wide: [/^(antes de cristo|antes da era comum)/i, /^(depois de cristo|era comum)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^[1234](º|ª)? trimestre/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i, + wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ab/i, /^mai/i, /^jun/i, /^jul/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dstq]/i, + short: /^(dom|seg|ter|qua|qui|sex|s[áa]b)/i, + abbreviated: /^(dom|seg|ter|qua|qui|sex|s[áa]b)/i, + wide: /^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^s/i, /^t/i, /^q/i, /^q/i, /^s/i, /^s/i], + any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[áa]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i, + any: /^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^meia/i, + noon: /^meio/i, + morning: /manh[ãa]/i, + afternoon: /tarde/i, + evening: /noite/i, + night: /madrugada/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/index.d.ts b/node_modules/date-fns/locale/pt/index.d.ts new file mode 100644 index 000000000..b848c9134 --- /dev/null +++ b/node_modules/date-fns/locale/pt/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { pt } from 'date-fns/locale' +export default pt diff --git a/node_modules/date-fns/locale/pt/index.js b/node_modules/date-fns/locale/pt/index.js new file mode 100644 index 000000000..72040895b --- /dev/null +++ b/node_modules/date-fns/locale/pt/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Portuguese locale. + * @language Portuguese + * @iso-639-2 por + * @author Dário Freire [@dfreire]{@link https://github.com/dfreire} + * @author Adrián de la Rosa [@adrm]{@link https://github.com/adrm} + */ +var locale = { + code: 'pt', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/pt/index.js.flow b/node_modules/date-fns/locale/pt/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/pt/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/pt/package.json b/node_modules/date-fns/locale/pt/package.json new file mode 100644 index 000000000..b266f4805 --- /dev/null +++ b/node_modules/date-fns/locale/pt/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/pt/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ro/_lib/formatDistance/index.js new file mode 100644 index 000000000..18c8c70ab --- /dev/null +++ b/node_modules/date-fns/locale/ro/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mai puțin de o secundă', + other: 'mai puțin de {{count}} secunde' + }, + xSeconds: { + one: '1 secundă', + other: '{{count}} secunde' + }, + halfAMinute: 'jumătate de minut', + lessThanXMinutes: { + one: 'mai puțin de un minut', + other: 'mai puțin de {{count}} minute' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minute' + }, + aboutXHours: { + one: 'circa 1 oră', + other: 'circa {{count}} ore' + }, + xHours: { + one: '1 oră', + other: '{{count}} ore' + }, + xDays: { + one: '1 zi', + other: '{{count}} zile' + }, + aboutXWeeks: { + one: 'circa o săptămână', + other: 'circa {{count}} săptămâni' + }, + xWeeks: { + one: '1 săptămână', + other: '{{count}} săptămâni' + }, + aboutXMonths: { + one: 'circa 1 lună', + other: 'circa {{count}} luni' + }, + xMonths: { + one: '1 lună', + other: '{{count}} luni' + }, + aboutXYears: { + one: 'circa 1 an', + other: 'circa {{count}} ani' + }, + xYears: { + one: '1 an', + other: '{{count}} ani' + }, + overXYears: { + one: 'peste 1 an', + other: 'peste {{count}} ani' + }, + almostXYears: { + one: 'aproape 1 an', + other: 'aproape {{count}} ani' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'în ' + result; + } else { + return result + ' în urmă'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/_lib/formatLong/index.js b/node_modules/date-fns/locale/ro/_lib/formatLong/index.js new file mode 100644 index 000000000..a8b29c229 --- /dev/null +++ b/node_modules/date-fns/locale/ro/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'la' {{time}}", + long: "{{date}} 'la' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ro/_lib/formatRelative/index.js new file mode 100644 index 000000000..49613d011 --- /dev/null +++ b/node_modules/date-fns/locale/ro/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'trecută la' p", + yesterday: "'ieri la' p", + today: "'astăzi la' p", + tomorrow: "'mâine la' p", + nextWeek: "eeee 'viitoare la' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/_lib/localize/index.js b/node_modules/date-fns/locale/ro/_lib/localize/index.js new file mode 100644 index 000000000..2f45f47cb --- /dev/null +++ b/node_modules/date-fns/locale/ro/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['Î', 'D'], + abbreviated: ['Î.d.C.', 'D.C.'], + wide: ['Înainte de Cristos', 'După Cristos'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['T1', 'T2', 'T3', 'T4'], + wide: ['primul trimestru', 'al doilea trimestru', 'al treilea trimestru', 'al patrulea trimestru'] +}; +var monthValues = { + narrow: ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['ian', 'feb', 'mar', 'apr', 'mai', 'iun', 'iul', 'aug', 'sep', 'oct', 'noi', 'dec'], + wide: ['ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'] +}; +var dayValues = { + narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'], + short: ['du', 'lu', 'ma', 'mi', 'jo', 'vi', 'sâ'], + abbreviated: ['dum', 'lun', 'mar', 'mie', 'joi', 'vin', 'sâm'], + wide: ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'ami', + morning: 'dim', + afternoon: 'da', + evening: 's', + night: 'n' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mn', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'miezul nopții', + noon: 'amiază', + morning: 'dimineață', + afternoon: 'după-amiază', + evening: 'seară', + night: 'noapte' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/_lib/match/index.js b/node_modules/date-fns/locale/ro/_lib/match/index.js new file mode 100644 index 000000000..b5db246f1 --- /dev/null +++ b/node_modules/date-fns/locale/ro/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(Î|D)/i, + abbreviated: /^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i, + wide: /^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i +}; +var parseEraPatterns = { + any: [/^ÎC/i, /^DC/i], + wide: [/^(Înainte de Cristos|Înaintea erei noastre)/i, /^(După Cristos|Era noastră)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^T[1234]/i, + wide: /^trimestrul [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[ifmaasond]/i, + abbreviated: /^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i, + wide: /^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i +}; +var parseMonthPatterns = { + narrow: [/^i/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ia/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^iun/i, /^iul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dlmjvs]/i, + short: /^(d|l|ma|mi|j|v|s)/i, + abbreviated: /^(dum|lun|mar|mie|jo|vi|sâ)/i, + wide: /^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], + any: [/^d/i, /^l/i, /^ma/i, /^mi/i, /^j/i, /^v/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i, + any: /^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mn/i, + noon: /amiaza/i, + morning: /dimineaţa/i, + afternoon: /după-amiaza/i, + evening: /seara/i, + night: /noaptea/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/index.d.ts b/node_modules/date-fns/locale/ro/index.d.ts new file mode 100644 index 000000000..c19fdecb4 --- /dev/null +++ b/node_modules/date-fns/locale/ro/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ro } from 'date-fns/locale' +export default ro diff --git a/node_modules/date-fns/locale/ro/index.js b/node_modules/date-fns/locale/ro/index.js new file mode 100644 index 000000000..f79a66317 --- /dev/null +++ b/node_modules/date-fns/locale/ro/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Romanian locale. + * @language Romanian + * @iso-639-2 ron + * @author Sergiu Munteanu [@jsergiu]{@link https://github.com/jsergiu} + * @author Adrian Ocneanu [@aocneanu]{@link https://github.com/aocneanu} + * @author Mihai Ocneanu [@gandesc]{@link https://github.com/gandesc} + */ +var locale = { + code: 'ro', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ro/index.js.flow b/node_modules/date-fns/locale/ro/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ro/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ro/package.json b/node_modules/date-fns/locale/ro/package.json new file mode 100644 index 000000000..3816f1a38 --- /dev/null +++ b/node_modules/date-fns/locale/ro/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ro/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ru/_lib/formatDistance/index.js new file mode 100644 index 000000000..d0deb11e0 --- /dev/null +++ b/node_modules/date-fns/locale/ru/_lib/formatDistance/index.js @@ -0,0 +1,235 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'через ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' назад'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'меньше секунды', + singularNominative: 'меньше {{count}} секунды', + singularGenitive: 'меньше {{count}} секунд', + pluralGenitive: 'меньше {{count}} секунд' + }, + future: { + one: 'меньше, чем через секунду', + singularNominative: 'меньше, чем через {{count}} секунду', + singularGenitive: 'меньше, чем через {{count}} секунды', + pluralGenitive: 'меньше, чем через {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунды', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду назад', + singularGenitive: '{{count}} секунды назад', + pluralGenitive: '{{count}} секунд назад' + }, + future: { + singularNominative: 'через {{count}} секунду', + singularGenitive: 'через {{count}} секунды', + pluralGenitive: 'через {{count}} секунд' + } + }), + halfAMinute: function halfAMinute(_count, options) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'через полминуты'; + } else { + return 'полминуты назад'; + } + } + return 'полминуты'; + }, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'меньше минуты', + singularNominative: 'меньше {{count}} минуты', + singularGenitive: 'меньше {{count}} минут', + pluralGenitive: 'меньше {{count}} минут' + }, + future: { + one: 'меньше, чем через минуту', + singularNominative: 'меньше, чем через {{count}} минуту', + singularGenitive: 'меньше, чем через {{count}} минуты', + pluralGenitive: 'меньше, чем через {{count}} минут' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} минута', + singularGenitive: '{{count}} минуты', + pluralGenitive: '{{count}} минут' + }, + past: { + singularNominative: '{{count}} минуту назад', + singularGenitive: '{{count}} минуты назад', + pluralGenitive: '{{count}} минут назад' + }, + future: { + singularNominative: 'через {{count}} минуту', + singularGenitive: 'через {{count}} минуты', + pluralGenitive: 'через {{count}} минут' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} часа', + singularGenitive: 'около {{count}} часов', + pluralGenitive: 'около {{count}} часов' + }, + future: { + singularNominative: 'приблизительно через {{count}} час', + singularGenitive: 'приблизительно через {{count}} часа', + pluralGenitive: 'приблизительно через {{count}} часов' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} час', + singularGenitive: '{{count}} часа', + pluralGenitive: '{{count}} часов' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} день', + singularGenitive: '{{count}} дня', + pluralGenitive: '{{count}} дней' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} недели', + singularGenitive: 'около {{count}} недель', + pluralGenitive: 'около {{count}} недель' + }, + future: { + singularNominative: 'приблизительно через {{count}} неделю', + singularGenitive: 'приблизительно через {{count}} недели', + pluralGenitive: 'приблизительно через {{count}} недель' + } + }), + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} неделя', + singularGenitive: '{{count}} недели', + pluralGenitive: '{{count}} недель' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} месяца', + singularGenitive: 'около {{count}} месяцев', + pluralGenitive: 'около {{count}} месяцев' + }, + future: { + singularNominative: 'приблизительно через {{count}} месяц', + singularGenitive: 'приблизительно через {{count}} месяца', + pluralGenitive: 'приблизительно через {{count}} месяцев' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} месяц', + singularGenitive: '{{count}} месяца', + pluralGenitive: '{{count}} месяцев' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'около {{count}} года', + singularGenitive: 'около {{count}} лет', + pluralGenitive: 'около {{count}} лет' + }, + future: { + singularNominative: 'приблизительно через {{count}} год', + singularGenitive: 'приблизительно через {{count}} года', + pluralGenitive: 'приблизительно через {{count}} лет' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} год', + singularGenitive: '{{count}} года', + pluralGenitive: '{{count}} лет' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'больше {{count}} года', + singularGenitive: 'больше {{count}} лет', + pluralGenitive: 'больше {{count}} лет' + }, + future: { + singularNominative: 'больше, чем через {{count}} год', + singularGenitive: 'больше, чем через {{count}} года', + pluralGenitive: 'больше, чем через {{count}} лет' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'почти {{count}} год', + singularGenitive: 'почти {{count}} года', + pluralGenitive: 'почти {{count}} лет' + }, + future: { + singularNominative: 'почти через {{count}} год', + singularGenitive: 'почти через {{count}} года', + pluralGenitive: 'почти через {{count}} лет' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + return formatDistanceLocale[token](count, options); +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/_lib/formatLong/index.js b/node_modules/date-fns/locale/ru/_lib/formatLong/index.js new file mode 100644 index 000000000..f69309d31 --- /dev/null +++ b/node_modules/date-fns/locale/ru/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, d MMMM y 'г.'", + long: "d MMMM y 'г.'", + medium: "d MMM y 'г.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ru/_lib/formatRelative/index.js new file mode 100644 index 000000000..cfc6728e9 --- /dev/null +++ b/node_modules/date-fns/locale/ru/_lib/formatRelative/index.js @@ -0,0 +1,79 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var accusativeWeekdays = ['воскресенье', 'понедельник', 'вторник', 'среду', 'четверг', 'пятницу', 'субботу']; +function _lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + return "'в прошлое " + weekday + " в' p"; + case 1: + case 2: + case 4: + return "'в прошлый " + weekday + " в' p"; + case 3: + case 5: + case 6: + return "'в прошлую " + weekday + " в' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + if (day === 2 /* Tue */) { + return "'во " + weekday + " в' p"; + } else { + return "'в " + weekday + " в' p"; + } +} +function _nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + return "'в следующее " + weekday + " в' p"; + case 1: + case 2: + case 4: + return "'в следующий " + weekday + " в' p"; + case 3: + case 5: + case 6: + return "'в следующую " + weekday + " в' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'вчера в' p", + today: "'сегодня в' p", + tomorrow: "'завтра в' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/_lib/localize/index.js b/node_modules/date-fns/locale/ru/_lib/localize/index.js new file mode 100644 index 000000000..50adac5ca --- /dev/null +++ b/node_modules/date-fns/locale/ru/_lib/localize/index.js @@ -0,0 +1,144 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['до н.э.', 'н.э.'], + abbreviated: ['до н. э.', 'н. э.'], + wide: ['до нашей эры', 'нашей эры'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'], + wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал'] +}; +var monthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв.', 'фев.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'], + wide: ['январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', 'декабрь'] +}; +var formattingMonthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв.', 'фев.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'], + wide: ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'] +}; +var dayValues = { + narrow: ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + abbreviated: ['вск', 'пнд', 'втр', 'срд', 'чтв', 'птн', 'суб'], + wide: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утро', + afternoon: 'день', + evening: 'веч.', + night: 'ночь' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утро', + afternoon: 'день', + evening: 'веч.', + night: 'ночь' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'полночь', + noon: 'полдень', + morning: 'утро', + afternoon: 'день', + evening: 'вечер', + night: 'ночь' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утра', + afternoon: 'дня', + evening: 'веч.', + night: 'ночи' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'полн.', + noon: 'полд.', + morning: 'утра', + afternoon: 'дня', + evening: 'веч.', + night: 'ночи' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'полночь', + noon: 'полдень', + morning: 'утра', + afternoon: 'дня', + evening: 'вечера', + night: 'ночи' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + var suffix; + if (unit === 'date') { + suffix = '-е'; + } else if (unit === 'week' || unit === 'minute' || unit === 'second') { + suffix = '-я'; + } else { + suffix = '-й'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/_lib/match/index.js b/node_modules/date-fns/locale/ru/_lib/match/index.js new file mode 100644 index 000000000..c0baee518 --- /dev/null +++ b/node_modules/date-fns/locale/ru/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((до )?н\.?\s?э\.?)/i, + abbreviated: /^((до )?н\.?\s?э\.?)/i, + wide: /^(до нашей эры|нашей эры|наша эра)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i, + wide: /^[1234](-?[ыои]?й?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[яфмаисонд]/i, + abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i, + wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i +}; +var parseMonthPatterns = { + narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^я/i], + any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i] +}; +var matchDayPatterns = { + narrow: /^[впсч]/i, + short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i, + abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i, + wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i +}; +var parseDayPatterns = { + narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, + abbreviated: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, + wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^полн/i, + noon: /^полд/i, + morning: /^у/i, + afternoon: /^д[ен]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/index.d.ts b/node_modules/date-fns/locale/ru/index.d.ts new file mode 100644 index 000000000..1a7f74fda --- /dev/null +++ b/node_modules/date-fns/locale/ru/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ru } from 'date-fns/locale' +export default ru diff --git a/node_modules/date-fns/locale/ru/index.js b/node_modules/date-fns/locale/ru/index.js new file mode 100644 index 000000000..3985e3b2c --- /dev/null +++ b/node_modules/date-fns/locale/ru/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Russian locale. + * @language Russian + * @iso-639-2 rus + * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp} + * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss} + */ +var locale = { + code: 'ru', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ru/index.js.flow b/node_modules/date-fns/locale/ru/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ru/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ru/package.json b/node_modules/date-fns/locale/ru/package.json new file mode 100644 index 000000000..33bb4ec08 --- /dev/null +++ b/node_modules/date-fns/locale/ru/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ru/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/_lib/formatDistance/index.js b/node_modules/date-fns/locale/sk/_lib/formatDistance/index.js new file mode 100644 index 000000000..40ac28519 --- /dev/null +++ b/node_modules/date-fns/locale/sk/_lib/formatDistance/index.js @@ -0,0 +1,195 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function declensionGroup(scheme, count) { + if (count === 1 && scheme.one) { + return scheme.one; + } + if (count >= 2 && count <= 4 && scheme.twoFour) { + return scheme.twoFour; + } + + // if count === null || count === 0 || count >= 5 + return scheme.other; +} +function declension(scheme, count, time) { + var group = declensionGroup(scheme, count); + var finalText = group[time]; + return finalText.replace('{{count}}', String(count)); +} +function extractPreposition(token) { + var result = ['lessThan', 'about', 'over', 'almost'].filter(function (preposition) { + return !!token.match(new RegExp('^' + preposition)); + }); + return result[0]; +} +function prefixPreposition(preposition) { + var translation = ''; + if (preposition === 'almost') { + translation = 'takmer'; + } + if (preposition === 'about') { + translation = 'približne'; + } + return translation.length > 0 ? translation + ' ' : ''; +} +function suffixPreposition(preposition) { + var translation = ''; + if (preposition === 'lessThan') { + translation = 'menej než'; + } + if (preposition === 'over') { + translation = 'viac než'; + } + return translation.length > 0 ? translation + ' ' : ''; +} +function lowercaseFirstLetter(string) { + return string.charAt(0).toLowerCase() + string.slice(1); +} +var formatDistanceLocale = { + xSeconds: { + one: { + present: 'sekunda', + past: 'sekundou', + future: 'sekundu' + }, + twoFour: { + present: '{{count}} sekundy', + past: '{{count}} sekundami', + future: '{{count}} sekundy' + }, + other: { + present: '{{count}} sekúnd', + past: '{{count}} sekundami', + future: '{{count}} sekúnd' + } + }, + halfAMinute: { + other: { + present: 'pol minúty', + past: 'pol minútou', + future: 'pol minúty' + } + }, + xMinutes: { + one: { + present: 'minúta', + past: 'minútou', + future: 'minútu' + }, + twoFour: { + present: '{{count}} minúty', + past: '{{count}} minútami', + future: '{{count}} minúty' + }, + other: { + present: '{{count}} minút', + past: '{{count}} minútami', + future: '{{count}} minút' + } + }, + xHours: { + one: { + present: 'hodina', + past: 'hodinou', + future: 'hodinu' + }, + twoFour: { + present: '{{count}} hodiny', + past: '{{count}} hodinami', + future: '{{count}} hodiny' + }, + other: { + present: '{{count}} hodín', + past: '{{count}} hodinami', + future: '{{count}} hodín' + } + }, + xDays: { + one: { + present: 'deň', + past: 'dňom', + future: 'deň' + }, + twoFour: { + present: '{{count}} dni', + past: '{{count}} dňami', + future: '{{count}} dni' + }, + other: { + present: '{{count}} dní', + past: '{{count}} dňami', + future: '{{count}} dní' + } + }, + xWeeks: { + one: { + present: 'týždeň', + past: 'týždňom', + future: 'týždeň' + }, + twoFour: { + present: '{{count}} týždne', + past: '{{count}} týždňami', + future: '{{count}} týždne' + }, + other: { + present: '{{count}} týždňov', + past: '{{count}} týždňami', + future: '{{count}} týždňov' + } + }, + xMonths: { + one: { + present: 'mesiac', + past: 'mesiacom', + future: 'mesiac' + }, + twoFour: { + present: '{{count}} mesiace', + past: '{{count}} mesiacmi', + future: '{{count}} mesiace' + }, + other: { + present: '{{count}} mesiacov', + past: '{{count}} mesiacmi', + future: '{{count}} mesiacov' + } + }, + xYears: { + one: { + present: 'rok', + past: 'rokom', + future: 'rok' + }, + twoFour: { + present: '{{count}} roky', + past: '{{count}} rokmi', + future: '{{count}} roky' + }, + other: { + present: '{{count}} rokov', + past: '{{count}} rokmi', + future: '{{count}} rokov' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var preposition = extractPreposition(token) || ''; + var key = lowercaseFirstLetter(token.substring(preposition.length)); + var scheme = formatDistanceLocale[key]; + if (!(options !== null && options !== void 0 && options.addSuffix)) { + return prefixPreposition(preposition) + suffixPreposition(preposition) + declension(scheme, count, 'present'); + } + if (options.comparison && options.comparison > 0) { + return prefixPreposition(preposition) + 'o ' + suffixPreposition(preposition) + declension(scheme, count, 'future'); + } else { + return prefixPreposition(preposition) + 'pred ' + suffixPreposition(preposition) + declension(scheme, count, 'past'); + } +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/_lib/formatLong/index.js b/node_modules/date-fns/locale/sk/_lib/formatLong/index.js new file mode 100644 index 000000000..6ecc866ba --- /dev/null +++ b/node_modules/date-fns/locale/sk/_lib/formatLong/index.js @@ -0,0 +1,48 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986 +var dateFormats = { + full: 'EEEE d. MMMM y', + long: 'd. MMMM y', + medium: 'd. M. y', + short: 'd. M. y' +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149 +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994 +var dateTimeFormats = { + full: '{{date}}, {{time}}', + long: '{{date}}, {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/_lib/formatRelative/index.js b/node_modules/date-fns/locale/sk/_lib/formatRelative/index.js new file mode 100644 index 000000000..ff6ddc704 --- /dev/null +++ b/node_modules/date-fns/locale/sk/_lib/formatRelative/index.js @@ -0,0 +1,72 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308 +var accusativeWeekdays = ['nedeľu', 'pondelok', 'utorok', 'stredu', 'štvrtok', 'piatok', 'sobotu']; +function _lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: /* Sun */ + case 3: /* Wed */ + case 6 /* Sat */: + return "'minulú " + weekday + " o' p"; + default: + return "'minulý' eeee 'o' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + if (day === 4 /* Thu */) { + return "'vo' eeee 'o' p"; + } else { + return "'v " + weekday + " o' p"; + } +} +function _nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: /* Sun */ + case 4: /* Wed */ + case 6 /* Sat */: + return "'budúcu " + weekday + " o' p"; + default: + return "'budúci' eeee 'o' p"; + } +} +var formatRelativeLocale = { + lastWeek: function lastWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _lastWeek(day); + } + }, + yesterday: "'včera o' p", + today: "'dnes o' p", + tomorrow: "'zajtra o' p", + nextWeek: function nextWeek(date, baseDate, options) { + var day = date.getUTCDay(); + if ((0, _index.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return _nextWeek(day); + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/_lib/localize/index.js b/node_modules/date-fns/locale/sk/_lib/localize/index.js new file mode 100644 index 000000000..a200dfcc0 --- /dev/null +++ b/node_modules/date-fns/locale/sk/_lib/localize/index.js @@ -0,0 +1,144 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1772 +var eraValues = { + narrow: ['pred Kr.', 'po Kr.'], + abbreviated: ['pred Kr.', 'po Kr.'], + wide: ['pred Kristom', 'po Kristovi'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1780 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1. štvrťrok', '2. štvrťrok', '3. štvrťrok', '4. štvrťrok'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1804 +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + wide: ['január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december'] +}; +var formattingMonthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + wide: ['januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', 'septembra', 'októbra', 'novembra', 'decembra'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1876 +var dayValues = { + narrow: ['n', 'p', 'u', 's', 'š', 'p', 's'], + short: ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + abbreviated: ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + wide: ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sk.html#1932 +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'poln.', + noon: 'pol.', + morning: 'ráno', + afternoon: 'pop.', + evening: 'več.', + night: 'noc' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'poln.', + noon: 'pol.', + morning: 'ráno', + afternoon: 'popol.', + evening: 'večer', + night: 'noc' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'polnoc', + noon: 'poludnie', + morning: 'ráno', + afternoon: 'popoludnie', + evening: 'večer', + night: 'noc' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'o poln.', + noon: 'nap.', + morning: 'ráno', + afternoon: 'pop.', + evening: 'več.', + night: 'v n.' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'o poln.', + noon: 'napol.', + morning: 'ráno', + afternoon: 'popol.', + evening: 'večer', + night: 'v noci' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'o polnoci', + noon: 'napoludnie', + morning: 'ráno', + afternoon: 'popoludní', + evening: 'večer', + night: 'v noci' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/_lib/match/index.js b/node_modules/date-fns/locale/sk/_lib/match/index.js new file mode 100644 index 000000000..89cf80ee0 --- /dev/null +++ b/node_modules/date-fns/locale/sk/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\.?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i, + abbreviated: /^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i, + wide: /^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|n)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]\. [šs]tvr[ťt]rok/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i, + wide: /^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^m[áa]j/i, /^j[úu]n/i, /^j[úu]l/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[npusšp]/i, + short: /^(ne|po|ut|st|št|pi|so)/i, + abbreviated: /^(ne|po|ut|st|št|pi|so)/i, + wide: /^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^u/i, /^s/i, /^š/i, /^p/i, /^s/i], + any: [/^n/i, /^po/i, /^u/i, /^st/i, /^(št|stv)/i, /^pi/i, /^so/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i, + abbreviated: /^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i, + any: /^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^am/i, + pm: /^pm/i, + midnight: /poln/i, + noon: /^(nap|(na)?pol(\.|u))/i, + morning: /^r[áa]no/i, + afternoon: /^pop/i, + evening: /^ve[čc]/i, + night: /^(noc|v n\.)/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/index.d.ts b/node_modules/date-fns/locale/sk/index.d.ts new file mode 100644 index 000000000..362dd321b --- /dev/null +++ b/node_modules/date-fns/locale/sk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sk } from 'date-fns/locale' +export default sk diff --git a/node_modules/date-fns/locale/sk/index.js b/node_modules/date-fns/locale/sk/index.js new file mode 100644 index 000000000..e8f60bb73 --- /dev/null +++ b/node_modules/date-fns/locale/sk/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Slovak locale. + * @language Slovak + * @iso-639-2 slk + * @author Marek Suscak [@mareksuscak]{@link https://github.com/mareksuscak} + */ +var locale = { + code: 'sk', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sk/index.js.flow b/node_modules/date-fns/locale/sk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/sk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/sk/package.json b/node_modules/date-fns/locale/sk/package.json new file mode 100644 index 000000000..8c34807e4 --- /dev/null +++ b/node_modules/date-fns/locale/sk/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/sk/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/_lib/formatDistance/index.js b/node_modules/date-fns/locale/sl/_lib/formatDistance/index.js new file mode 100644 index 000000000..3efa12236 --- /dev/null +++ b/node_modules/date-fns/locale/sl/_lib/formatDistance/index.js @@ -0,0 +1,327 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function isPluralType(val) { + return val.one !== undefined; +} +var formatDistanceLocale = { + lessThanXSeconds: { + present: { + one: 'manj kot {{count}} sekunda', + two: 'manj kot {{count}} sekundi', + few: 'manj kot {{count}} sekunde', + other: 'manj kot {{count}} sekund' + }, + past: { + one: 'manj kot {{count}} sekundo', + two: 'manj kot {{count}} sekundama', + few: 'manj kot {{count}} sekundami', + other: 'manj kot {{count}} sekundami' + }, + future: { + one: 'manj kot {{count}} sekundo', + two: 'manj kot {{count}} sekundi', + few: 'manj kot {{count}} sekunde', + other: 'manj kot {{count}} sekund' + } + }, + xSeconds: { + present: { + one: '{{count}} sekunda', + two: '{{count}} sekundi', + few: '{{count}} sekunde', + other: '{{count}} sekund' + }, + past: { + one: '{{count}} sekundo', + two: '{{count}} sekundama', + few: '{{count}} sekundami', + other: '{{count}} sekundami' + }, + future: { + one: '{{count}} sekundo', + two: '{{count}} sekundi', + few: '{{count}} sekunde', + other: '{{count}} sekund' + } + }, + halfAMinute: 'pol minute', + lessThanXMinutes: { + present: { + one: 'manj kot {{count}} minuta', + two: 'manj kot {{count}} minuti', + few: 'manj kot {{count}} minute', + other: 'manj kot {{count}} minut' + }, + past: { + one: 'manj kot {{count}} minuto', + two: 'manj kot {{count}} minutama', + few: 'manj kot {{count}} minutami', + other: 'manj kot {{count}} minutami' + }, + future: { + one: 'manj kot {{count}} minuto', + two: 'manj kot {{count}} minuti', + few: 'manj kot {{count}} minute', + other: 'manj kot {{count}} minut' + } + }, + xMinutes: { + present: { + one: '{{count}} minuta', + two: '{{count}} minuti', + few: '{{count}} minute', + other: '{{count}} minut' + }, + past: { + one: '{{count}} minuto', + two: '{{count}} minutama', + few: '{{count}} minutami', + other: '{{count}} minutami' + }, + future: { + one: '{{count}} minuto', + two: '{{count}} minuti', + few: '{{count}} minute', + other: '{{count}} minut' + } + }, + aboutXHours: { + present: { + one: 'približno {{count}} ura', + two: 'približno {{count}} uri', + few: 'približno {{count}} ure', + other: 'približno {{count}} ur' + }, + past: { + one: 'približno {{count}} uro', + two: 'približno {{count}} urama', + few: 'približno {{count}} urami', + other: 'približno {{count}} urami' + }, + future: { + one: 'približno {{count}} uro', + two: 'približno {{count}} uri', + few: 'približno {{count}} ure', + other: 'približno {{count}} ur' + } + }, + xHours: { + present: { + one: '{{count}} ura', + two: '{{count}} uri', + few: '{{count}} ure', + other: '{{count}} ur' + }, + past: { + one: '{{count}} uro', + two: '{{count}} urama', + few: '{{count}} urami', + other: '{{count}} urami' + }, + future: { + one: '{{count}} uro', + two: '{{count}} uri', + few: '{{count}} ure', + other: '{{count}} ur' + } + }, + xDays: { + present: { + one: '{{count}} dan', + two: '{{count}} dni', + few: '{{count}} dni', + other: '{{count}} dni' + }, + past: { + one: '{{count}} dnem', + two: '{{count}} dnevoma', + few: '{{count}} dnevi', + other: '{{count}} dnevi' + }, + future: { + one: '{{count}} dan', + two: '{{count}} dni', + few: '{{count}} dni', + other: '{{count}} dni' + } + }, + // no tenses for weeks? + aboutXWeeks: { + one: 'približno {{count}} teden', + two: 'približno {{count}} tedna', + few: 'približno {{count}} tedne', + other: 'približno {{count}} tednov' + }, + // no tenses for weeks? + xWeeks: { + one: '{{count}} teden', + two: '{{count}} tedna', + few: '{{count}} tedne', + other: '{{count}} tednov' + }, + aboutXMonths: { + present: { + one: 'približno {{count}} mesec', + two: 'približno {{count}} meseca', + few: 'približno {{count}} mesece', + other: 'približno {{count}} mesecev' + }, + past: { + one: 'približno {{count}} mesecem', + two: 'približno {{count}} mesecema', + few: 'približno {{count}} meseci', + other: 'približno {{count}} meseci' + }, + future: { + one: 'približno {{count}} mesec', + two: 'približno {{count}} meseca', + few: 'približno {{count}} mesece', + other: 'približno {{count}} mesecev' + } + }, + xMonths: { + present: { + one: '{{count}} mesec', + two: '{{count}} meseca', + few: '{{count}} meseci', + other: '{{count}} mesecev' + }, + past: { + one: '{{count}} mesecem', + two: '{{count}} mesecema', + few: '{{count}} meseci', + other: '{{count}} meseci' + }, + future: { + one: '{{count}} mesec', + two: '{{count}} meseca', + few: '{{count}} mesece', + other: '{{count}} mesecev' + } + }, + aboutXYears: { + present: { + one: 'približno {{count}} leto', + two: 'približno {{count}} leti', + few: 'približno {{count}} leta', + other: 'približno {{count}} let' + }, + past: { + one: 'približno {{count}} letom', + two: 'približno {{count}} letoma', + few: 'približno {{count}} leti', + other: 'približno {{count}} leti' + }, + future: { + one: 'približno {{count}} leto', + two: 'približno {{count}} leti', + few: 'približno {{count}} leta', + other: 'približno {{count}} let' + } + }, + xYears: { + present: { + one: '{{count}} leto', + two: '{{count}} leti', + few: '{{count}} leta', + other: '{{count}} let' + }, + past: { + one: '{{count}} letom', + two: '{{count}} letoma', + few: '{{count}} leti', + other: '{{count}} leti' + }, + future: { + one: '{{count}} leto', + two: '{{count}} leti', + few: '{{count}} leta', + other: '{{count}} let' + } + }, + overXYears: { + present: { + one: 'več kot {{count}} leto', + two: 'več kot {{count}} leti', + few: 'več kot {{count}} leta', + other: 'več kot {{count}} let' + }, + past: { + one: 'več kot {{count}} letom', + two: 'več kot {{count}} letoma', + few: 'več kot {{count}} leti', + other: 'več kot {{count}} leti' + }, + future: { + one: 'več kot {{count}} leto', + two: 'več kot {{count}} leti', + few: 'več kot {{count}} leta', + other: 'več kot {{count}} let' + } + }, + almostXYears: { + present: { + one: 'skoraj {{count}} leto', + two: 'skoraj {{count}} leti', + few: 'skoraj {{count}} leta', + other: 'skoraj {{count}} let' + }, + past: { + one: 'skoraj {{count}} letom', + two: 'skoraj {{count}} letoma', + few: 'skoraj {{count}} leti', + other: 'skoraj {{count}} leti' + }, + future: { + one: 'skoraj {{count}} leto', + two: 'skoraj {{count}} leti', + few: 'skoraj {{count}} leta', + other: 'skoraj {{count}} let' + } + } +}; +function getFormFromCount(count) { + switch (count % 100) { + case 1: + return 'one'; + case 2: + return 'two'; + case 3: + case 4: + return 'few'; + default: + return 'other'; + } +} +var formatDistance = function formatDistance(token, count, options) { + var result = ''; + var tense = 'present'; + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + tense = 'future'; + result = 'čez '; + } else { + tense = 'past'; + result = 'pred '; + } + } + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result += tokenValue; + } else { + var form = getFormFromCount(count); + if (isPluralType(tokenValue)) { + result += tokenValue[form].replace('{{count}}', String(count)); + } else { + result += tokenValue[tense][form].replace('{{count}}', String(count)); + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/_lib/formatLong/index.js b/node_modules/date-fns/locale/sl/_lib/formatLong/index.js new file mode 100644 index 000000000..64a37b761 --- /dev/null +++ b/node_modules/date-fns/locale/sl/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, dd. MMMM y', + long: 'dd. MMMM y', + medium: 'd. MMM y', + short: 'd. MM. yy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/_lib/formatRelative/index.js b/node_modules/date-fns/locale/sl/_lib/formatRelative/index.js new file mode 100644 index 000000000..48584f5f6 --- /dev/null +++ b/node_modules/date-fns/locale/sl/_lib/formatRelative/index.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'prejšnjo nedeljo ob' p"; + case 3: + return "'prejšnjo sredo ob' p"; + case 6: + return "'prejšnjo soboto ob' p"; + default: + return "'prejšnji' EEEE 'ob' p"; + } + }, + yesterday: "'včeraj ob' p", + today: "'danes ob' p", + tomorrow: "'jutri ob' p", + nextWeek: function nextWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'naslednjo nedeljo ob' p"; + case 3: + return "'naslednjo sredo ob' p"; + case 6: + return "'naslednjo soboto ob' p"; + default: + return "'naslednji' EEEE 'ob' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/_lib/localize/index.js b/node_modules/date-fns/locale/sl/_lib/localize/index.js new file mode 100644 index 000000000..4e3505078 --- /dev/null +++ b/node_modules/date-fns/locale/sl/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['pr. n. št.', 'po n. št.'], + abbreviated: ['pr. n. št.', 'po n. št.'], + wide: ['pred našim štetjem', 'po našem štetju'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1. čet.', '2. čet.', '3. čet.', '4. čet.'], + wide: ['1. četrtletje', '2. četrtletje', '3. četrtletje', '4. četrtletje'] +}; +var monthValues = { + narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + abbreviated: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['n', 'p', 't', 's', 'č', 'p', 's'], + short: ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + abbreviated: ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + wide: ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'] +}; +var dayPeriodValues = { + narrow: { + am: 'd', + pm: 'p', + midnight: '24.00', + noon: '12.00', + morning: 'j', + afternoon: 'p', + evening: 'v', + night: 'n' + }, + abbreviated: { + am: 'dop.', + pm: 'pop.', + midnight: 'poln.', + noon: 'pold.', + morning: 'jut.', + afternoon: 'pop.', + evening: 'več.', + night: 'noč' + }, + wide: { + am: 'dop.', + pm: 'pop.', + midnight: 'polnoč', + noon: 'poldne', + morning: 'jutro', + afternoon: 'popoldne', + evening: 'večer', + night: 'noč' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'd', + pm: 'p', + midnight: '24.00', + noon: '12.00', + morning: 'zj', + afternoon: 'p', + evening: 'zv', + night: 'po' + }, + abbreviated: { + am: 'dop.', + pm: 'pop.', + midnight: 'opoln.', + noon: 'opold.', + morning: 'zjut.', + afternoon: 'pop.', + evening: 'zveč.', + night: 'ponoči' + }, + wide: { + am: 'dop.', + pm: 'pop.', + midnight: 'opolnoči', + noon: 'opoldne', + morning: 'zjutraj', + afternoon: 'popoldan', + evening: 'zvečer', + night: 'ponoči' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/_lib/match/index.js b/node_modules/date-fns/locale/sl/_lib/match/index.js new file mode 100644 index 000000000..06fe063b9 --- /dev/null +++ b/node_modules/date-fns/locale/sl/_lib/match/index.js @@ -0,0 +1,117 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i, + wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|na[sš]em)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?[čc]et\.?/i, + wide: /^[1234]\. [čc]etrtletje/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i, + wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + abbreviated: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i], + wide: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[nptsčc]/i, + short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i, + abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i, + wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i +}; +var parseDayPatterns = { + narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i], + any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i, + any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i +}; +var parseDayPeriodPatterns = { + narrow: { + am: /^d/i, + pm: /^p/i, + midnight: /^24/i, + noon: /^12/i, + morning: /^(z?j)/i, + afternoon: /^p/i, + evening: /^(z?v)/i, + night: /^(n|po)/i + }, + any: { + am: /^dop\./i, + pm: /^pop\./i, + midnight: /^o?poln/i, + noon: /^o?pold/i, + morning: /j/i, + afternoon: /^pop\./i, + evening: /^z?ve/i, + night: /(po)?no/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/index.d.ts b/node_modules/date-fns/locale/sl/index.d.ts new file mode 100644 index 000000000..fbe964aa8 --- /dev/null +++ b/node_modules/date-fns/locale/sl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sl } from 'date-fns/locale' +export default sl diff --git a/node_modules/date-fns/locale/sl/index.js b/node_modules/date-fns/locale/sl/index.js new file mode 100644 index 000000000..679944091 --- /dev/null +++ b/node_modules/date-fns/locale/sl/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Slovenian locale. + * @language Slovenian + * @iso-639-2 slv + * @author Adam Stradovnik [@Neoglyph]{@link https://github.com/Neoglyph} + * @author Mato Žgajner [@mzgajner]{@link https://github.com/mzgajner} + */ +var locale = { + code: 'sl', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sl/index.js.flow b/node_modules/date-fns/locale/sl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/sl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/sl/package.json b/node_modules/date-fns/locale/sl/package.json new file mode 100644 index 000000000..5eac24d72 --- /dev/null +++ b/node_modules/date-fns/locale/sl/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/sl/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/_lib/formatDistance/index.js b/node_modules/date-fns/locale/sq/_lib/formatDistance/index.js new file mode 100644 index 000000000..51ac61866 --- /dev/null +++ b/node_modules/date-fns/locale/sq/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'më pak se një sekondë', + other: 'më pak se {{count}} sekonda' + }, + xSeconds: { + one: '1 sekondë', + other: '{{count}} sekonda' + }, + halfAMinute: 'gjysëm minuti', + lessThanXMinutes: { + one: 'më pak se një minute', + other: 'më pak se {{count}} minuta' + }, + xMinutes: { + one: '1 minutë', + other: '{{count}} minuta' + }, + aboutXHours: { + one: 'rreth 1 orë', + other: 'rreth {{count}} orë' + }, + xHours: { + one: '1 orë', + other: '{{count}} orë' + }, + xDays: { + one: '1 ditë', + other: '{{count}} ditë' + }, + aboutXWeeks: { + one: 'rreth 1 javë', + other: 'rreth {{count}} javë' + }, + xWeeks: { + one: '1 javë', + other: '{{count}} javë' + }, + aboutXMonths: { + one: 'rreth 1 muaj', + other: 'rreth {{count}} muaj' + }, + xMonths: { + one: '1 muaj', + other: '{{count}} muaj' + }, + aboutXYears: { + one: 'rreth 1 vit', + other: 'rreth {{count}} vite' + }, + xYears: { + one: '1 vit', + other: '{{count}} vite' + }, + overXYears: { + one: 'mbi 1 vit', + other: 'mbi {{count}} vite' + }, + almostXYears: { + one: 'pothuajse 1 vit', + other: 'pothuajse {{count}} vite' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'në ' + result; + } else { + return result + ' më parë'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/_lib/formatLong/index.js b/node_modules/date-fns/locale/sq/_lib/formatLong/index.js new file mode 100644 index 000000000..08f35a4a0 --- /dev/null +++ b/node_modules/date-fns/locale/sq/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'në' {{time}}", + long: "{{date}} 'në' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/_lib/formatRelative/index.js b/node_modules/date-fns/locale/sq/_lib/formatRelative/index.js new file mode 100644 index 000000000..4745b84ed --- /dev/null +++ b/node_modules/date-fns/locale/sq/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'të' eeee 'e shkuar në' p", + yesterday: "'dje në' p", + today: "'sot në' p", + tomorrow: "'nesër në' p", + nextWeek: "eeee 'at' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/_lib/localize/index.js b/node_modules/date-fns/locale/sq/_lib/localize/index.js new file mode 100644 index 000000000..74d8e8ef1 --- /dev/null +++ b/node_modules/date-fns/locale/sq/_lib/localize/index.js @@ -0,0 +1,136 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['P', 'M'], + abbreviated: ['PK', 'MK'], + wide: ['Para Krishtit', 'Mbas Krishtit'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['4-mujori I', '4-mujori II', '4-mujori III', '4-mujori IV'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['J', 'S', 'M', 'P', 'M', 'Q', 'K', 'G', 'S', 'T', 'N', 'D'], + abbreviated: ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gus', 'Sht', 'Tet', 'Nën', 'Dhj'], + wide: ['Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', 'Tetor', 'Nëntor', 'Dhjetor'] +}; +var dayValues = { + narrow: ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + short: ['Di', 'Hë', 'Ma', 'Më', 'En', 'Pr', 'Sh'], + abbreviated: ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + wide: ['Dielë', 'Hënë', 'Martë', 'Mërkurë', 'Enjte', 'Premte', 'Shtunë'] +}; +var dayPeriodValues = { + narrow: { + am: 'p', + pm: 'm', + midnight: 'm', + noon: 'd', + morning: 'mëngjes', + afternoon: 'dite', + evening: 'mbrëmje', + night: 'natë' + }, + abbreviated: { + am: 'PD', + pm: 'MD', + midnight: 'mesnëtë', + noon: 'drek', + morning: 'mëngjes', + afternoon: 'mbasdite', + evening: 'mbrëmje', + night: 'natë' + }, + wide: { + am: 'p.d.', + pm: 'm.d.', + midnight: 'mesnëtë', + noon: 'drek', + morning: 'mëngjes', + afternoon: 'mbasdite', + evening: 'mbrëmje', + night: 'natë' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'p', + pm: 'm', + midnight: 'm', + noon: 'd', + morning: 'në mëngjes', + afternoon: 'në mbasdite', + evening: 'në mbrëmje', + night: 'në mesnatë' + }, + abbreviated: { + am: 'PD', + pm: 'MD', + midnight: 'mesnatë', + noon: 'drek', + morning: 'në mëngjes', + afternoon: 'në mbasdite', + evening: 'në mbrëmje', + night: 'në mesnatë' + }, + wide: { + am: 'p.d.', + pm: 'm.d.', + midnight: 'mesnatë', + noon: 'drek', + morning: 'në mëngjes', + afternoon: 'në mbasdite', + evening: 'në mbrëmje', + night: 'në mesnatë' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + if ((options === null || options === void 0 ? void 0 : options.unit) === 'hour') return String(number); + if (number === 1) return number + '-rë'; + if (number === 4) return number + 't'; + return number + '-të'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/_lib/match/index.js b/node_modules/date-fns/locale/sq/_lib/match/index.js new file mode 100644 index 000000000..615842787 --- /dev/null +++ b/node_modules/date-fns/locale/sq/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-rë|-të|t|)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(p|m)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(para krishtit|mbas krishtit)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(p|m)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234]-mujori (i{1,3}|iv)/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jsmpqkftnd]/i, + abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i, + wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^s/i, /^m/i, /^p/i, /^m/i, /^q/i, /^k/i, /^g/i, /^s/i, /^t/i, /^n/i, /^d/i], + any: [/^ja/i, /^shk/i, /^mar/i, /^pri/i, /^maj/i, /^qer/i, /^kor/i, /^gu/i, /^sht/i, /^tet/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[dhmeps]/i, + short: /^(di|hë|ma|më|en|pr|sh)/i, + abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i, + wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i +}; +var parseDayPatterns = { + narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i], + any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i, + any: /^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^p/i, + pm: /^m/i, + midnight: /^me/i, + noon: /^dr/i, + morning: /mëngjes/i, + afternoon: /mbasdite/i, + evening: /mbrëmje/i, + night: /natë/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/index.d.ts b/node_modules/date-fns/locale/sq/index.d.ts new file mode 100644 index 000000000..d361e22ef --- /dev/null +++ b/node_modules/date-fns/locale/sq/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sq } from 'date-fns/locale' +export default sq diff --git a/node_modules/date-fns/locale/sq/index.js b/node_modules/date-fns/locale/sq/index.js new file mode 100644 index 000000000..66249284c --- /dev/null +++ b/node_modules/date-fns/locale/sq/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Albanian locale. + * @language Shqip + * @iso-639-2 sqi + * @author Ardit Dine [@arditdine]{@link https://github.com/arditdine} + */ +var locale = { + code: 'sq', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sq/index.js.flow b/node_modules/date-fns/locale/sq/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/sq/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/sq/package.json b/node_modules/date-fns/locale/sq/package.json new file mode 100644 index 000000000..0342bc44b --- /dev/null +++ b/node_modules/date-fns/locale/sq/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/sq/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/_lib/formatDistance/index.js b/node_modules/date-fns/locale/sr-Latn/_lib/formatDistance/index.js new file mode 100644 index 000000000..c8ca56b6f --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/_lib/formatDistance/index.js @@ -0,0 +1,179 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'manje od 1 sekunde', + withPrepositionAgo: 'manje od 1 sekunde', + withPrepositionIn: 'manje od 1 sekundu' + }, + dual: 'manje od {{count}} sekunde', + other: 'manje od {{count}} sekundi' + }, + xSeconds: { + one: { + standalone: '1 sekunda', + withPrepositionAgo: '1 sekunde', + withPrepositionIn: '1 sekundu' + }, + dual: '{{count}} sekunde', + other: '{{count}} sekundi' + }, + halfAMinute: 'pola minute', + lessThanXMinutes: { + one: { + standalone: 'manje od 1 minute', + withPrepositionAgo: 'manje od 1 minute', + withPrepositionIn: 'manje od 1 minutu' + }, + dual: 'manje od {{count}} minute', + other: 'manje od {{count}} minuta' + }, + xMinutes: { + one: { + standalone: '1 minuta', + withPrepositionAgo: '1 minute', + withPrepositionIn: '1 minutu' + }, + dual: '{{count}} minute', + other: '{{count}} minuta' + }, + aboutXHours: { + one: { + standalone: 'oko 1 sat', + withPrepositionAgo: 'oko 1 sat', + withPrepositionIn: 'oko 1 sat' + }, + dual: 'oko {{count}} sata', + other: 'oko {{count}} sati' + }, + xHours: { + one: { + standalone: '1 sat', + withPrepositionAgo: '1 sat', + withPrepositionIn: '1 sat' + }, + dual: '{{count}} sata', + other: '{{count}} sati' + }, + xDays: { + one: { + standalone: '1 dan', + withPrepositionAgo: '1 dan', + withPrepositionIn: '1 dan' + }, + dual: '{{count}} dana', + other: '{{count}} dana' + }, + aboutXWeeks: { + one: { + standalone: 'oko 1 nedelju', + withPrepositionAgo: 'oko 1 nedelju', + withPrepositionIn: 'oko 1 nedelju' + }, + dual: 'oko {{count}} nedelje', + other: 'oko {{count}} nedelje' + }, + xWeeks: { + one: { + standalone: '1 nedelju', + withPrepositionAgo: '1 nedelju', + withPrepositionIn: '1 nedelju' + }, + dual: '{{count}} nedelje', + other: '{{count}} nedelje' + }, + aboutXMonths: { + one: { + standalone: 'oko 1 mesec', + withPrepositionAgo: 'oko 1 mesec', + withPrepositionIn: 'oko 1 mesec' + }, + dual: 'oko {{count}} meseca', + other: 'oko {{count}} meseci' + }, + xMonths: { + one: { + standalone: '1 mesec', + withPrepositionAgo: '1 mesec', + withPrepositionIn: '1 mesec' + }, + dual: '{{count}} meseca', + other: '{{count}} meseci' + }, + aboutXYears: { + one: { + standalone: 'oko 1 godinu', + withPrepositionAgo: 'oko 1 godinu', + withPrepositionIn: 'oko 1 godinu' + }, + dual: 'oko {{count}} godine', + other: 'oko {{count}} godina' + }, + xYears: { + one: { + standalone: '1 godina', + withPrepositionAgo: '1 godine', + withPrepositionIn: '1 godinu' + }, + dual: '{{count}} godine', + other: '{{count}} godina' + }, + overXYears: { + one: { + standalone: 'preko 1 godinu', + withPrepositionAgo: 'preko 1 godinu', + withPrepositionIn: 'preko 1 godinu' + }, + dual: 'preko {{count}} godine', + other: 'preko {{count}} godina' + }, + almostXYears: { + one: { + standalone: 'gotovo 1 godinu', + withPrepositionAgo: 'gotovo 1 godinu', + withPrepositionIn: 'gotovo 1 godinu' + }, + dual: 'gotovo {{count}} godine', + other: 'gotovo {{count}} godina' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'za ' + result; + } else { + return 'pre ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/_lib/formatLong/index.js b/node_modules/date-fns/locale/sr-Latn/_lib/formatLong/index.js new file mode 100644 index 000000000..8de52fc9d --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d. MMMM yyyy.', + long: 'd. MMMM yyyy.', + medium: 'd. MMM yy.', + short: 'dd. MM. yy.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'u' {{time}}", + long: "{{date}} 'u' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/_lib/formatRelative/index.js b/node_modules/date-fns/locale/sr-Latn/_lib/formatRelative/index.js new file mode 100644 index 000000000..80599d5d2 --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/_lib/formatRelative/index.js @@ -0,0 +1,46 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'prošle nedelje u' p"; + case 3: + return "'prošle srede u' p"; + case 6: + return "'prošle subote u' p"; + default: + return "'prošli' EEEE 'u' p"; + } + }, + yesterday: "'juče u' p", + today: "'danas u' p", + tomorrow: "'sutra u' p", + nextWeek: function nextWeek(date) { + switch (date.getUTCDay()) { + case 0: + return "'sledeće nedelje u' p"; + case 3: + return "'sledeću sredu u' p"; + case 6: + return "'sledeću subotu u' p"; + default: + return "'sledeći' EEEE 'u' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/_lib/localize/index.js b/node_modules/date-fns/locale/sr-Latn/_lib/localize/index.js new file mode 100644 index 000000000..691eb31b1 --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/_lib/localize/index.js @@ -0,0 +1,135 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['pr.n.e.', 'AD'], + abbreviated: ['pr. Hr.', 'po. Hr.'], + wide: ['Pre Hrista', 'Posle Hrista'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'], + wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + wide: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'] +}; +var dayValues = { + narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + short: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + abbreviated: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + wide: ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'] +}; +var formattingDayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'posle podne', + evening: 'uveče', + night: 'noću' + } +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'popodne', + evening: 'uveče', + night: 'noću' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'ponoć', + noon: 'podne', + morning: 'ujutru', + afternoon: 'posle podne', + evening: 'uveče', + night: 'noću' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/_lib/match/index.js b/node_modules/date-fns/locale/sr-Latn/_lib/match/index.js new file mode 100644 index 000000000..0b9029d6f --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(pr\.n\.e\.|AD)/i, + abbreviated: /^(pr\.\s?Hr\.|po\.\s?Hr\.)/i, + wide: /^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i +}; +var parseEraPatterns = { + any: [/^pr/i, /^(po|nova)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?kv\.?/i, + wide: /^[1234]\. kvartal/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i, + wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i +}; +var parseMonthPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[npusčc]/i, + short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i, + wide: /^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i +}; +var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] +}; +var matchDayPeriodPatterns = { + any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^pono/i, + noon: /^pod/i, + morning: /jutro/i, + afternoon: /(posle\s|po)+podne/i, + evening: /(uvece|uveče)/i, + night: /(nocu|noću)/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/index.d.ts b/node_modules/date-fns/locale/sr-Latn/index.d.ts new file mode 100644 index 000000000..f6313cc92 --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { srLatn } from 'date-fns/locale' +export default srLatn diff --git a/node_modules/date-fns/locale/sr-Latn/index.js b/node_modules/date-fns/locale/sr-Latn/index.js new file mode 100644 index 000000000..bb6b3c5de --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Serbian latin locale. + * @language Serbian + * @iso-639-2 srp + * @author Igor Radivojević [@rogyvoje]{@link https://github.com/rogyvoje} + */ +var locale = { + code: 'sr-Latn', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr-Latn/index.js.flow b/node_modules/date-fns/locale/sr-Latn/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/sr-Latn/package.json b/node_modules/date-fns/locale/sr-Latn/package.json new file mode 100644 index 000000000..f05b51587 --- /dev/null +++ b/node_modules/date-fns/locale/sr-Latn/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/sr-Latn/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/_lib/formatDistance/index.js b/node_modules/date-fns/locale/sr/_lib/formatDistance/index.js new file mode 100644 index 000000000..5cc6b9d3e --- /dev/null +++ b/node_modules/date-fns/locale/sr/_lib/formatDistance/index.js @@ -0,0 +1,179 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + standalone: 'мање од 1 секунде', + withPrepositionAgo: 'мање од 1 секунде', + withPrepositionIn: 'мање од 1 секунду' + }, + dual: 'мање од {{count}} секунде', + other: 'мање од {{count}} секунди' + }, + xSeconds: { + one: { + standalone: '1 секунда', + withPrepositionAgo: '1 секунде', + withPrepositionIn: '1 секунду' + }, + dual: '{{count}} секунде', + other: '{{count}} секунди' + }, + halfAMinute: 'пола минуте', + lessThanXMinutes: { + one: { + standalone: 'мање од 1 минуте', + withPrepositionAgo: 'мање од 1 минуте', + withPrepositionIn: 'мање од 1 минуту' + }, + dual: 'мање од {{count}} минуте', + other: 'мање од {{count}} минута' + }, + xMinutes: { + one: { + standalone: '1 минута', + withPrepositionAgo: '1 минуте', + withPrepositionIn: '1 минуту' + }, + dual: '{{count}} минуте', + other: '{{count}} минута' + }, + aboutXHours: { + one: { + standalone: 'око 1 сат', + withPrepositionAgo: 'око 1 сат', + withPrepositionIn: 'око 1 сат' + }, + dual: 'око {{count}} сата', + other: 'око {{count}} сати' + }, + xHours: { + one: { + standalone: '1 сат', + withPrepositionAgo: '1 сат', + withPrepositionIn: '1 сат' + }, + dual: '{{count}} сата', + other: '{{count}} сати' + }, + xDays: { + one: { + standalone: '1 дан', + withPrepositionAgo: '1 дан', + withPrepositionIn: '1 дан' + }, + dual: '{{count}} дана', + other: '{{count}} дана' + }, + aboutXWeeks: { + one: { + standalone: 'око 1 недељу', + withPrepositionAgo: 'око 1 недељу', + withPrepositionIn: 'око 1 недељу' + }, + dual: 'око {{count}} недеље', + other: 'око {{count}} недеље' + }, + xWeeks: { + one: { + standalone: '1 недељу', + withPrepositionAgo: '1 недељу', + withPrepositionIn: '1 недељу' + }, + dual: '{{count}} недеље', + other: '{{count}} недеље' + }, + aboutXMonths: { + one: { + standalone: 'око 1 месец', + withPrepositionAgo: 'око 1 месец', + withPrepositionIn: 'око 1 месец' + }, + dual: 'око {{count}} месеца', + other: 'око {{count}} месеци' + }, + xMonths: { + one: { + standalone: '1 месец', + withPrepositionAgo: '1 месец', + withPrepositionIn: '1 месец' + }, + dual: '{{count}} месеца', + other: '{{count}} месеци' + }, + aboutXYears: { + one: { + standalone: 'око 1 годину', + withPrepositionAgo: 'око 1 годину', + withPrepositionIn: 'око 1 годину' + }, + dual: 'око {{count}} године', + other: 'око {{count}} година' + }, + xYears: { + one: { + standalone: '1 година', + withPrepositionAgo: '1 године', + withPrepositionIn: '1 годину' + }, + dual: '{{count}} године', + other: '{{count}} година' + }, + overXYears: { + one: { + standalone: 'преко 1 годину', + withPrepositionAgo: 'преко 1 годину', + withPrepositionIn: 'преко 1 годину' + }, + dual: 'преко {{count}} године', + other: 'преко {{count}} година' + }, + almostXYears: { + one: { + standalone: 'готово 1 годину', + withPrepositionAgo: 'готово 1 годину', + withPrepositionIn: 'готово 1 годину' + }, + dual: 'готово {{count}} године', + other: 'готово {{count}} година' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + result = tokenValue.one.withPrepositionIn; + } else { + result = tokenValue.one.withPrepositionAgo; + } + } else { + result = tokenValue.one.standalone; + } + } else if (count % 10 > 1 && count % 10 < 5 && + // if last digit is between 2 and 4 + String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is "1" + ) { + result = tokenValue.dual.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'за ' + result; + } else { + return 'пре ' + result; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/_lib/formatLong/index.js b/node_modules/date-fns/locale/sr/_lib/formatLong/index.js new file mode 100644 index 000000000..53d2b0ae8 --- /dev/null +++ b/node_modules/date-fns/locale/sr/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, d. MMMM yyyy.', + long: 'd. MMMM yyyy.', + medium: 'd. MMM yy.', + short: 'dd. MM. yy.' +}; +var timeFormats = { + full: 'HH:mm:ss (zzzz)', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'у' {{time}}", + long: "{{date}} 'у' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/_lib/formatRelative/index.js b/node_modules/date-fns/locale/sr/_lib/formatRelative/index.js new file mode 100644 index 000000000..85bda0b0b --- /dev/null +++ b/node_modules/date-fns/locale/sr/_lib/formatRelative/index.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: function lastWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'прошле недеље у' p"; + case 3: + return "'прошле среде у' p"; + case 6: + return "'прошле суботе у' p"; + default: + return "'прошли' EEEE 'у' p"; + } + }, + yesterday: "'јуче у' p", + today: "'данас у' p", + tomorrow: "'сутра у' p", + nextWeek: function nextWeek(date) { + var day = date.getUTCDay(); + switch (day) { + case 0: + return "'следеће недеље у' p"; + case 3: + return "'следећу среду у' p"; + case 6: + return "'следећу суботу у' p"; + default: + return "'следећи' EEEE 'у' p"; + } + }, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, _baseDate, _options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/_lib/localize/index.js b/node_modules/date-fns/locale/sr/_lib/localize/index.js new file mode 100644 index 000000000..ceebf4819 --- /dev/null +++ b/node_modules/date-fns/locale/sr/_lib/localize/index.js @@ -0,0 +1,135 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['пр.н.е.', 'АД'], + abbreviated: ['пр. Хр.', 'по. Хр.'], + wide: ['Пре Христа', 'После Христа'] +}; +var quarterValues = { + narrow: ['1.', '2.', '3.', '4.'], + abbreviated: ['1. кв.', '2. кв.', '3. кв.', '4. кв.'], + wide: ['1. квартал', '2. квартал', '3. квартал', '4. квартал'] +}; +var monthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], + wide: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'] +}; +var formattingMonthValues = { + narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + abbreviated: ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], + wide: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'] +}; +var dayValues = { + narrow: ['Н', 'П', 'У', 'С', 'Ч', 'П', 'С'], + short: ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + abbreviated: ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + wide: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'] +}; +var formattingDayPeriodValues = { + narrow: { + am: 'АМ', + pm: 'ПМ', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + abbreviated: { + am: 'АМ', + pm: 'ПМ', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'после подне', + evening: 'увече', + night: 'ноћу' + } +}; +var dayPeriodValues = { + narrow: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'поподне', + evening: 'увече', + night: 'ноћу' + }, + wide: { + am: 'AM', + pm: 'PM', + midnight: 'поноћ', + noon: 'подне', + morning: 'ујутру', + afternoon: 'после подне', + evening: 'увече', + night: 'ноћу' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/_lib/match/index.js b/node_modules/date-fns/locale/sr/_lib/match/index.js new file mode 100644 index 000000000..746b0f89a --- /dev/null +++ b/node_modules/date-fns/locale/sr/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)\./i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(пр\.н\.е\.|АД)/i, + abbreviated: /^(пр\.\s?Хр\.|по\.\s?Хр\.)/i, + wide: /^(Пре Христа|пре нове ере|После Христа|нова ера)/i +}; +var parseEraPatterns = { + any: [/^пр/i, /^(по|нова)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]\.\s?кв\.?/i, + wide: /^[1234]\. квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(10|11|12|[123456789])\./i, + abbreviated: /^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i, + wide: /^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i +}; +var parseMonthPatterns = { + narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i], + any: [/^ја/i, /^ф/i, /^мар/i, /^ап/i, /^мај/i, /^јун/i, /^јул/i, /^авг/i, /^с/i, /^о/i, /^н/i, /^д/i] +}; +var matchDayPatterns = { + narrow: /^[пусчн]/i, + short: /^(нед|пон|уто|сре|чет|пет|суб)/i, + abbreviated: /^(нед|пон|уто|сре|чет|пет|суб)/i, + wide: /^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i +}; +var parseDayPatterns = { + narrow: [/^п/i, /^у/i, /^с/i, /^ч/i, /^п/i, /^с/i, /^н/i], + any: [/^нед/i, /^пон/i, /^уто/i, /^сре/i, /^чет/i, /^пет/i, /^суб/i] +}; +var matchDayPeriodPatterns = { + any: /^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^поно/i, + noon: /^под/i, + morning: /ујутру/i, + afternoon: /(после\s|по)+подне/i, + evening: /(увече)/i, + night: /(ноћу)/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/index.d.ts b/node_modules/date-fns/locale/sr/index.d.ts new file mode 100644 index 000000000..aaede59ec --- /dev/null +++ b/node_modules/date-fns/locale/sr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sr } from 'date-fns/locale' +export default sr diff --git a/node_modules/date-fns/locale/sr/index.js b/node_modules/date-fns/locale/sr/index.js new file mode 100644 index 000000000..0e9ad6326 --- /dev/null +++ b/node_modules/date-fns/locale/sr/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Serbian cyrillic locale. + * @language Serbian + * @iso-639-2 srp + * @author Igor Radivojević [@rogyvoje]{@link https://github.com/rogyvoje} + */ +var locale = { + code: 'sr', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sr/index.js.flow b/node_modules/date-fns/locale/sr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/sr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/sr/package.json b/node_modules/date-fns/locale/sr/package.json new file mode 100644 index 000000000..a2c145f3d --- /dev/null +++ b/node_modules/date-fns/locale/sr/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/sr/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/_lib/formatDistance/index.js b/node_modules/date-fns/locale/sv/_lib/formatDistance/index.js new file mode 100644 index 000000000..e23292b19 --- /dev/null +++ b/node_modules/date-fns/locale/sv/_lib/formatDistance/index.js @@ -0,0 +1,96 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'mindre än en sekund', + other: 'mindre än {{count}} sekunder' + }, + xSeconds: { + one: 'en sekund', + other: '{{count}} sekunder' + }, + halfAMinute: 'en halv minut', + lessThanXMinutes: { + one: 'mindre än en minut', + other: 'mindre än {{count}} minuter' + }, + xMinutes: { + one: 'en minut', + other: '{{count}} minuter' + }, + aboutXHours: { + one: 'ungefär en timme', + other: 'ungefär {{count}} timmar' + }, + xHours: { + one: 'en timme', + other: '{{count}} timmar' + }, + xDays: { + one: 'en dag', + other: '{{count}} dagar' + }, + aboutXWeeks: { + one: 'ungefär en vecka', + other: 'ungefär {{count}} vecka' + }, + xWeeks: { + one: 'en vecka', + other: '{{count}} vecka' + }, + aboutXMonths: { + one: 'ungefär en månad', + other: 'ungefär {{count}} månader' + }, + xMonths: { + one: 'en månad', + other: '{{count}} månader' + }, + aboutXYears: { + one: 'ungefär ett år', + other: 'ungefär {{count}} år' + }, + xYears: { + one: 'ett år', + other: '{{count}} år' + }, + overXYears: { + one: 'över ett år', + other: 'över {{count}} år' + }, + almostXYears: { + one: 'nästan ett år', + other: 'nästan {{count}} år' + } +}; +var wordMapping = ['noll', 'en', 'två', 'tre', 'fyra', 'fem', 'sex', 'sju', 'åtta', 'nio', 'tio', 'elva', 'tolv']; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + if (options && options.onlyNumeric) { + result = tokenValue.other.replace('{{count}}', String(count)); + } else { + result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count)); + } + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'om ' + result; + } else { + return result + ' sedan'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/_lib/formatLong/index.js b/node_modules/date-fns/locale/sv/_lib/formatLong/index.js new file mode 100644 index 000000000..e224b4c91 --- /dev/null +++ b/node_modules/date-fns/locale/sv/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'y-MM-dd' +}; +var timeFormats = { + full: "'kl'. HH:mm:ss zzzz", + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'kl.' {{time}}", + long: "{{date}} 'kl.' {{time}}", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/_lib/formatRelative/index.js b/node_modules/date-fns/locale/sv/_lib/formatRelative/index.js new file mode 100644 index 000000000..ec024fed7 --- /dev/null +++ b/node_modules/date-fns/locale/sv/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'i' EEEE's kl.' p", + yesterday: "'igår kl.' p", + today: "'idag kl.' p", + tomorrow: "'imorgon kl.' p", + nextWeek: "EEEE 'kl.' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/_lib/localize/index.js b/node_modules/date-fns/locale/sv/_lib/localize/index.js new file mode 100644 index 000000000..d30c47481 --- /dev/null +++ b/node_modules/date-fns/locale/sv/_lib/localize/index.js @@ -0,0 +1,138 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['f.Kr.', 'e.Kr.'], + abbreviated: ['f.Kr.', 'e.Kr.'], + wide: ['före Kristus', 'efter Kristus'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1:a kvartalet', '2:a kvartalet', '3:e kvartalet', '4:e kvartalet'] +}; +var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'], + wide: ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december'] +}; +var dayValues = { + narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + short: ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + abbreviated: ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + wide: ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] +}; + +// https://www.unicode.org/cldr/charts/32/summary/sv.html#1888 +var dayPeriodValues = { + narrow: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'morg.', + afternoon: 'efterm.', + evening: 'kväll', + night: 'natt' + }, + abbreviated: { + am: 'f.m.', + pm: 'e.m.', + midnight: 'midnatt', + noon: 'middag', + morning: 'morgon', + afternoon: 'efterm.', + evening: 'kväll', + night: 'natt' + }, + wide: { + am: 'förmiddag', + pm: 'eftermiddag', + midnight: 'midnatt', + noon: 'middag', + morning: 'morgon', + afternoon: 'eftermiddag', + evening: 'kväll', + night: 'natt' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på efterm.', + evening: 'på kvällen', + night: 'på natten' + }, + abbreviated: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morg.', + afternoon: 'på efterm.', + evening: 'på kvällen', + night: 'på natten' + }, + wide: { + am: 'fm', + pm: 'em', + midnight: 'midnatt', + noon: 'middag', + morning: 'på morgonen', + afternoon: 'på eftermiddagen', + evening: 'på kvällen', + night: 'på natten' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + case 2: + return number + ':a'; + } + } + return number + ':e'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/_lib/match/index.js b/node_modules/date-fns/locale/sv/_lib/match/index.js new file mode 100644 index 000000000..01c41fad7 --- /dev/null +++ b/node_modules/date-fns/locale/sv/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(:a|:e)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i, + abbreviated: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i, + wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i +}; +var parseEraPatterns = { + any: [/^f/i, /^[ev]/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](:a|:e)? kvartalet/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i, + wide: /^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i +}; +var parseMonthPatterns = { + narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[smtofl]/i, + short: /^(sö|må|ti|on|to|fr|lö)/i, + abbreviated: /^(sön|mån|tis|ons|tors|fre|lör)/i, + wide: /^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i +}; +var parseDayPatterns = { + any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i] +}; +var matchDayPeriodPatterns = { + any: /^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^f/i, + pm: /^e/i, + midnight: /^midn/i, + noon: /^midd/i, + morning: /morgon/i, + afternoon: /eftermiddag/i, + evening: /kväll/i, + night: /natt/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/index.d.ts b/node_modules/date-fns/locale/sv/index.d.ts new file mode 100644 index 000000000..2a7405bf7 --- /dev/null +++ b/node_modules/date-fns/locale/sv/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sv } from 'date-fns/locale' +export default sv diff --git a/node_modules/date-fns/locale/sv/index.js b/node_modules/date-fns/locale/sv/index.js new file mode 100644 index 000000000..5cdc401fb --- /dev/null +++ b/node_modules/date-fns/locale/sv/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Swedish locale. + * @language Swedish + * @iso-639-2 swe + * @author Johannes Ulén [@ejulen]{@link https://github.com/ejulen} + * @author Alexander Nanberg [@alexandernanberg]{@link https://github.com/alexandernanberg} + * @author Henrik Andersson [@limelights]{@link https://github.com/limelights} + */ +var locale = { + code: 'sv', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/sv/index.js.flow b/node_modules/date-fns/locale/sv/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/sv/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/sv/package.json b/node_modules/date-fns/locale/sv/package.json new file mode 100644 index 000000000..d3df8bbab --- /dev/null +++ b/node_modules/date-fns/locale/sv/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/sv/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ta/_lib/formatDistance/index.js new file mode 100644 index 000000000..759529680 --- /dev/null +++ b/node_modules/date-fns/locale/ta/_lib/formatDistance/index.js @@ -0,0 +1,209 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function isPluralType(val) { + return val.one !== undefined; +} +var formatDistanceLocale = { + lessThanXSeconds: { + one: { + default: 'ஒரு வினாடிக்கு குறைவாக', + in: 'ஒரு வினாடிக்குள்', + ago: 'ஒரு வினாடிக்கு முன்பு' + }, + other: { + default: '{{count}} வினாடிகளுக்கு குறைவாக', + in: '{{count}} வினாடிகளுக்குள்', + ago: '{{count}} வினாடிகளுக்கு முன்பு' + } + }, + xSeconds: { + one: { + default: '1 வினாடி', + in: '1 வினாடியில்', + ago: '1 வினாடி முன்பு' + }, + other: { + default: '{{count}} விநாடிகள்', + in: '{{count}} வினாடிகளில்', + ago: '{{count}} விநாடிகளுக்கு முன்பு' + } + }, + halfAMinute: { + default: 'அரை நிமிடம்', + in: 'அரை நிமிடத்தில்', + ago: 'அரை நிமிடம் முன்பு' + }, + lessThanXMinutes: { + one: { + default: 'ஒரு நிமிடத்திற்கும் குறைவாக', + in: 'ஒரு நிமிடத்திற்குள்', + ago: 'ஒரு நிமிடத்திற்கு முன்பு' + }, + other: { + default: '{{count}} நிமிடங்களுக்கும் குறைவாக', + in: '{{count}} நிமிடங்களுக்குள்', + ago: '{{count}} நிமிடங்களுக்கு முன்பு' + } + }, + xMinutes: { + one: { + default: '1 நிமிடம்', + in: '1 நிமிடத்தில்', + ago: '1 நிமிடம் முன்பு' + }, + other: { + default: '{{count}} நிமிடங்கள்', + in: '{{count}} நிமிடங்களில்', + ago: '{{count}} நிமிடங்களுக்கு முன்பு' + } + }, + aboutXHours: { + one: { + default: 'சுமார் 1 மணி நேரம்', + in: 'சுமார் 1 மணி நேரத்தில்', + ago: 'சுமார் 1 மணி நேரத்திற்கு முன்பு' + }, + other: { + default: 'சுமார் {{count}} மணி நேரம்', + in: 'சுமார் {{count}} மணி நேரத்திற்கு முன்பு', + ago: 'சுமார் {{count}} மணி நேரத்தில்' + } + }, + xHours: { + one: { + default: '1 மணி நேரம்', + in: '1 மணி நேரத்தில்', + ago: '1 மணி நேரத்திற்கு முன்பு' + }, + other: { + default: '{{count}} மணி நேரம்', + in: '{{count}} மணி நேரத்தில்', + ago: '{{count}} மணி நேரத்திற்கு முன்பு' + } + }, + xDays: { + one: { + default: '1 நாள்', + in: '1 நாளில்', + ago: '1 நாள் முன்பு' + }, + other: { + default: '{{count}} நாட்கள்', + in: '{{count}} நாட்களில்', + ago: '{{count}} நாட்களுக்கு முன்பு' + } + }, + aboutXWeeks: { + one: { + default: 'சுமார் 1 வாரம்', + in: 'சுமார் 1 வாரத்தில்', + ago: 'சுமார் 1 வாரம் முன்பு' + }, + other: { + default: 'சுமார் {{count}} வாரங்கள்', + in: 'சுமார் {{count}} வாரங்களில்', + ago: 'சுமார் {{count}} வாரங்களுக்கு முன்பு' + } + }, + xWeeks: { + one: { + default: '1 வாரம்', + in: '1 வாரத்தில்', + ago: '1 வாரம் முன்பு' + }, + other: { + default: '{{count}} வாரங்கள்', + in: '{{count}} வாரங்களில்', + ago: '{{count}} வாரங்களுக்கு முன்பு' + } + }, + aboutXMonths: { + one: { + default: 'சுமார் 1 மாதம்', + in: 'சுமார் 1 மாதத்தில்', + ago: 'சுமார் 1 மாதத்திற்கு முன்பு' + }, + other: { + default: 'சுமார் {{count}} மாதங்கள்', + in: 'சுமார் {{count}} மாதங்களில்', + ago: 'சுமார் {{count}} மாதங்களுக்கு முன்பு' + } + }, + xMonths: { + one: { + default: '1 மாதம்', + in: '1 மாதத்தில்', + ago: '1 மாதம் முன்பு' + }, + other: { + default: '{{count}} மாதங்கள்', + in: '{{count}} மாதங்களில்', + ago: '{{count}} மாதங்களுக்கு முன்பு' + } + }, + aboutXYears: { + one: { + default: 'சுமார் 1 வருடம்', + in: 'சுமார் 1 ஆண்டில்', + ago: 'சுமார் 1 வருடம் முன்பு' + }, + other: { + default: 'சுமார் {{count}} ஆண்டுகள்', + in: 'சுமார் {{count}} ஆண்டுகளில்', + ago: 'சுமார் {{count}} ஆண்டுகளுக்கு முன்பு' + } + }, + xYears: { + one: { + default: '1 வருடம்', + in: '1 ஆண்டில்', + ago: '1 வருடம் முன்பு' + }, + other: { + default: '{{count}} ஆண்டுகள்', + in: '{{count}} ஆண்டுகளில்', + ago: '{{count}} ஆண்டுகளுக்கு முன்பு' + } + }, + overXYears: { + one: { + default: '1 வருடத்திற்கு மேல்', + in: '1 வருடத்திற்கும் மேலாக', + ago: '1 வருடம் முன்பு' + }, + other: { + default: '{{count}} ஆண்டுகளுக்கும் மேலாக', + in: '{{count}} ஆண்டுகளில்', + ago: '{{count}} ஆண்டுகளுக்கு முன்பு' + } + }, + almostXYears: { + one: { + default: 'கிட்டத்தட்ட 1 வருடம்', + in: 'கிட்டத்தட்ட 1 ஆண்டில்', + ago: 'கிட்டத்தட்ட 1 வருடம் முன்பு' + }, + other: { + default: 'கிட்டத்தட்ட {{count}} ஆண்டுகள்', + in: 'கிட்டத்தட்ட {{count}} ஆண்டுகளில்', + ago: 'கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var tense = options !== null && options !== void 0 && options.addSuffix ? options.comparison && options.comparison > 0 ? 'in' : 'ago' : 'default'; + var tokenValue = formatDistanceLocale[token]; + if (!isPluralType(tokenValue)) return tokenValue[tense]; + if (count === 1) { + return tokenValue.one[tense]; + } else { + return tokenValue.other[tense].replace('{{count}}', String(count)); + } +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/_lib/formatLong/index.js b/node_modules/date-fns/locale/ta/_lib/formatLong/index.js new file mode 100644 index 000000000..e0a42bee9 --- /dev/null +++ b/node_modules/date-fns/locale/ta/_lib/formatLong/index.js @@ -0,0 +1,47 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +// Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html +// CLDR #1846 - #1849 +var dateFormats = { + full: 'EEEE, d MMMM, y', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'd/M/yy' +}; + +// CLDR #1850 - #1853 +var timeFormats = { + full: 'a h:mm:ss zzzz', + long: 'a h:mm:ss z', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ta/_lib/formatRelative/index.js new file mode 100644 index 000000000..92da7b160 --- /dev/null +++ b/node_modules/date-fns/locale/ta/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'கடந்த' eeee p 'மணிக்கு'", + yesterday: "'நேற்று ' p 'மணிக்கு'", + today: "'இன்று ' p 'மணிக்கு'", + tomorrow: "'நாளை ' p 'மணிக்கு'", + nextWeek: "eeee p 'மணிக்கு'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/_lib/localize/index.js b/node_modules/date-fns/locale/ta/_lib/localize/index.js new file mode 100644 index 000000000..81accf8c4 --- /dev/null +++ b/node_modules/date-fns/locale/ta/_lib/localize/index.js @@ -0,0 +1,182 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html + +var eraValues = { + narrow: ['கி.மு.', 'கி.பி.'], + abbreviated: ['கி.மு.', 'கி.பி.'], + // CLDR #1624, #1626 + wide: ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி'] // CLDR #1620, #1622 +}; + +var quarterValues = { + // CLDR #1644 - #1647 + narrow: ['1', '2', '3', '4'], + // CLDR #1636 - #1639 + abbreviated: ['காலா.1', 'காலா.2', 'காலா.3', 'காலா.4'], + // CLDR #1628 - #1631 + wide: ['ஒன்றாம் காலாண்டு', 'இரண்டாம் காலாண்டு', 'மூன்றாம் காலாண்டு', 'நான்காம் காலாண்டு'] +}; +var monthValues = { + // CLDR #700 - #711 + narrow: ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], + // CLDR #1676 - #1687 + abbreviated: ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], + // CLDR #1652 - #1663 + wide: ['ஜனவரி', + // January + 'பிப்ரவரி', + // February + 'மார்ச்', + // March + 'ஏப்ரல்', + // April + 'மே', + // May + 'ஜூன்', + // June + 'ஜூலை', + // July + 'ஆகஸ்ட்', + // August + 'செப்டம்பர்', + // September + 'அக்டோபர்', + // October + 'நவம்பர்', + // November + 'டிசம்பர்' // December + ] +}; + +var dayValues = { + // CLDR #1766 - #1772 + narrow: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + // CLDR #1752 - #1758 + short: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + // CLDR #1738 - #1744 + abbreviated: ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], + // CLDR #1724 - #1730 + wide: ['ஞாயிறு', + // Sunday + 'திங்கள்', + // Monday + 'செவ்வாய்', + // Tuesday + 'புதன்', + // Wednesday + 'வியாழன்', + // Thursday + 'வெள்ளி', + // Friday + 'சனி' // Saturday + ] +}; + +// CLDR #1780 - #1845 +var dayPeriodValues = { + narrow: { + am: 'மு.ப', + pm: 'பி.ப', + midnight: 'நள்.', + noon: 'நண்.', + morning: 'கா.', + afternoon: 'மதி.', + evening: 'மா.', + night: 'இர.' + }, + abbreviated: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + }, + wide: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + } +}; + +// CLDR #1780 - #1845 +var formattingDayPeriodValues = { + narrow: { + am: 'மு.ப', + pm: 'பி.ப', + midnight: 'நள்.', + noon: 'நண்.', + morning: 'கா.', + afternoon: 'மதி.', + evening: 'மா.', + night: 'இர.' + }, + abbreviated: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + }, + wide: { + am: 'முற்பகல்', + pm: 'பிற்பகல்', + midnight: 'நள்ளிரவு', + noon: 'நண்பகல்', + morning: 'காலை', + afternoon: 'மதியம்', + evening: 'மாலை', + night: 'இரவு' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/_lib/match/index.js b/node_modules/date-fns/locale/ta/_lib/match/index.js new file mode 100644 index 000000000..71063b4ba --- /dev/null +++ b/node_modules/date-fns/locale/ta/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(வது)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(கி.மு.|கி.பி.)/i, + abbreviated: /^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/, + wide: /^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i +}; +var parseEraPatterns = { + any: [/கி\.?\s?மு\.?/, /கி\.?\s?பி\.?/] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^காலா.[1234]/i, + wide: /^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i +}; +var parseQuarterPatterns = { + narrow: [/1/i, /2/i, /3/i, /4/i], + any: [/(1|காலா.1|ஒன்றாம்)/i, /(2|காலா.2|இரண்டாம்)/i, /(3|காலா.3|மூன்றாம்)/i, /(4|காலா.4|நான்காம்)/i] +}; +var matchMonthPatterns = { + narrow: /^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i, + abbreviated: /^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i, + wide: /^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i +}; +var parseMonthPatterns = { + narrow: [/^ஜ$/i, /^பி/i, /^மா/i, /^ஏ/i, /^மே/i, /^ஜூ/i, /^ஜூ/i, /^ஆ/i, /^செ/i, /^அ/i, /^ந/i, /^டி/i], + any: [/^ஜன/i, /^பி/i, /^மா/i, /^ஏ/i, /^மே/i, /^ஜூன்/i, /^ஜூலை/i, /^ஆ/i, /^செ/i, /^அ/i, /^ந/i, /^டி/i] +}; +var matchDayPatterns = { + narrow: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i, + short: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i, + abbreviated: /^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i, + wide: /^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i +}; +var parseDayPatterns = { + narrow: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i], + any: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i, + any: /^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^மு/i, + pm: /^பி/i, + midnight: /^நள்/i, + noon: /^நண்/i, + morning: /காலை/i, + afternoon: /மதியம்/i, + evening: /மாலை/i, + night: /இரவு/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/index.d.ts b/node_modules/date-fns/locale/ta/index.d.ts new file mode 100644 index 000000000..fb9a06a70 --- /dev/null +++ b/node_modules/date-fns/locale/ta/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ta } from 'date-fns/locale' +export default ta diff --git a/node_modules/date-fns/locale/ta/index.js b/node_modules/date-fns/locale/ta/index.js new file mode 100644 index 000000000..5effcb1d0 --- /dev/null +++ b/node_modules/date-fns/locale/ta/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Tamil locale (India). + * @language Tamil + * @iso-639-2 tam + * @author Sibiraj [@sibiraj-s]{@link https://github.com/sibiraj-s} + */ +var locale = { + code: 'ta', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ta/index.js.flow b/node_modules/date-fns/locale/ta/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ta/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ta/package.json b/node_modules/date-fns/locale/ta/package.json new file mode 100644 index 000000000..fa632052d --- /dev/null +++ b/node_modules/date-fns/locale/ta/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ta/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/_lib/formatDistance/index.js b/node_modules/date-fns/locale/te/_lib/formatDistance/index.js new file mode 100644 index 000000000..1262f9b38 --- /dev/null +++ b/node_modules/date-fns/locale/te/_lib/formatDistance/index.js @@ -0,0 +1,193 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +// Source: https://www.unicode.org/cldr/charts/32/summary/te.html + +var formatDistanceLocale = { + lessThanXSeconds: { + standalone: { + one: 'సెకను కన్నా తక్కువ', + other: '{{count}} సెకన్ల కన్నా తక్కువ' + }, + withPreposition: { + one: 'సెకను', + other: '{{count}} సెకన్ల' + } + }, + xSeconds: { + standalone: { + one: 'ఒక సెకను', + // CLDR #1314 + other: '{{count}} సెకన్ల' + }, + withPreposition: { + one: 'ఒక సెకను', + other: '{{count}} సెకన్ల' + } + }, + halfAMinute: { + standalone: 'అర నిమిషం', + withPreposition: 'అర నిమిషం' + }, + lessThanXMinutes: { + standalone: { + one: 'ఒక నిమిషం కన్నా తక్కువ', + other: '{{count}} నిమిషాల కన్నా తక్కువ' + }, + withPreposition: { + one: 'ఒక నిమిషం', + other: '{{count}} నిమిషాల' + } + }, + xMinutes: { + standalone: { + one: 'ఒక నిమిషం', + // CLDR #1311 + other: '{{count}} నిమిషాలు' + }, + withPreposition: { + one: 'ఒక నిమిషం', + // CLDR #1311 + other: '{{count}} నిమిషాల' + } + }, + aboutXHours: { + standalone: { + one: 'సుమారు ఒక గంట', + other: 'సుమారు {{count}} గంటలు' + }, + withPreposition: { + one: 'సుమారు ఒక గంట', + other: 'సుమారు {{count}} గంటల' + } + }, + xHours: { + standalone: { + one: 'ఒక గంట', + // CLDR #1308 + other: '{{count}} గంటలు' + }, + withPreposition: { + one: 'ఒక గంట', + other: '{{count}} గంటల' + } + }, + xDays: { + standalone: { + one: 'ఒక రోజు', + // CLDR #1292 + other: '{{count}} రోజులు' + }, + withPreposition: { + one: 'ఒక రోజు', + other: '{{count}} రోజుల' + } + }, + aboutXWeeks: { + standalone: { + one: 'సుమారు ఒక వారం', + other: 'సుమారు {{count}} వారాలు' + }, + withPreposition: { + one: 'సుమారు ఒక వారం', + other: 'సుమారు {{count}} వారాలల' + } + }, + xWeeks: { + standalone: { + one: 'ఒక వారం', + other: '{{count}} వారాలు' + }, + withPreposition: { + one: 'ఒక వారం', + other: '{{count}} వారాలల' + } + }, + aboutXMonths: { + standalone: { + one: 'సుమారు ఒక నెల', + other: 'సుమారు {{count}} నెలలు' + }, + withPreposition: { + one: 'సుమారు ఒక నెల', + other: 'సుమారు {{count}} నెలల' + } + }, + xMonths: { + standalone: { + one: 'ఒక నెల', + // CLDR #1281 + other: '{{count}} నెలలు' + }, + withPreposition: { + one: 'ఒక నెల', + other: '{{count}} నెలల' + } + }, + aboutXYears: { + standalone: { + one: 'సుమారు ఒక సంవత్సరం', + other: 'సుమారు {{count}} సంవత్సరాలు' + }, + withPreposition: { + one: 'సుమారు ఒక సంవత్సరం', + other: 'సుమారు {{count}} సంవత్సరాల' + } + }, + xYears: { + standalone: { + one: 'ఒక సంవత్సరం', + // CLDR #1275 + other: '{{count}} సంవత్సరాలు' + }, + withPreposition: { + one: 'ఒక సంవత్సరం', + other: '{{count}} సంవత్సరాల' + } + }, + overXYears: { + standalone: { + one: 'ఒక సంవత్సరం పైగా', + other: '{{count}} సంవత్సరాలకు పైగా' + }, + withPreposition: { + one: 'ఒక సంవత్సరం', + other: '{{count}} సంవత్సరాల' + } + }, + almostXYears: { + standalone: { + one: 'దాదాపు ఒక సంవత్సరం', + other: 'దాదాపు {{count}} సంవత్సరాలు' + }, + withPreposition: { + one: 'దాదాపు ఒక సంవత్సరం', + other: 'దాదాపు {{count}} సంవత్సరాల' + } + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'లో'; + } else { + return result + ' క్రితం'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/_lib/formatLong/index.js b/node_modules/date-fns/locale/te/_lib/formatLong/index.js new file mode 100644 index 000000000..e07888e39 --- /dev/null +++ b/node_modules/date-fns/locale/te/_lib/formatLong/index.js @@ -0,0 +1,49 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +// Source: https://www.unicode.org/cldr/charts/32/summary/te.html +// CLDR #1807 - #1811 +var dateFormats = { + full: 'd, MMMM y, EEEE', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'dd-MM-yy' +}; + +// CLDR #1807 - #1811 +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; + +// CLDR #1815 - #1818 +var dateTimeFormats = { + full: "{{date}} {{time}}'కి'", + long: "{{date}} {{time}}'కి'", + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/_lib/formatRelative/index.js b/node_modules/date-fns/locale/te/_lib/formatRelative/index.js new file mode 100644 index 000000000..83f0def9f --- /dev/null +++ b/node_modules/date-fns/locale/te/_lib/formatRelative/index.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +// Source: https://www.unicode.org/cldr/charts/32/summary/te.html + +var formatRelativeLocale = { + lastWeek: "'గత' eeee p", + // CLDR #1384 + yesterday: "'నిన్న' p", + // CLDR #1393 + today: "'ఈ రోజు' p", + // CLDR #1394 + tomorrow: "'రేపు' p", + // CLDR #1395 + nextWeek: "'తదుపరి' eeee p", + // CLDR #1386 + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/_lib/localize/index.js b/node_modules/date-fns/locale/te/_lib/localize/index.js new file mode 100644 index 000000000..cafb9d691 --- /dev/null +++ b/node_modules/date-fns/locale/te/_lib/localize/index.js @@ -0,0 +1,139 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// Source: https://www.unicode.org/cldr/charts/32/summary/te.html +// Source: https://dsal.uchicago.edu/dictionaries/brown/ +// CLDR #1605 - #1608 +var eraValues = { + narrow: ['క్రీ.పూ.', 'క్రీ.శ.'], + abbreviated: ['క్రీ.పూ.', 'క్రీ.శ.'], + wide: ['క్రీస్తు పూర్వం', 'క్రీస్తుశకం'] +}; + +// CLDR #1613 - #1628 +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['త్రై1', 'త్రై2', 'త్రై3', 'త్రై4'], + wide: ['1వ త్రైమాసికం', '2వ త్రైమాసికం', '3వ త్రైమాసికం', '4వ త్రైమాసికం'] +}; + +// CLDR #1637 - #1708 +var monthValues = { + narrow: ['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'], + abbreviated: ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'], + wide: ['జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', 'డిసెంబర్'] +}; + +// CLDR #1709 - #1764 +var dayValues = { + narrow: ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], + short: ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], + abbreviated: ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], + wide: ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'] +}; + +// CLDR #1767 - #1806 +var dayPeriodValues = { + narrow: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + abbreviated: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + wide: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + abbreviated: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + }, + wide: { + am: 'పూర్వాహ్నం', + pm: 'అపరాహ్నం', + midnight: 'అర్ధరాత్రి', + noon: 'మిట్టమధ్యాహ్నం', + morning: 'ఉదయం', + afternoon: 'మధ్యాహ్నం', + evening: 'సాయంత్రం', + night: 'రాత్రి' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + 'వ'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/_lib/match/index.js b/node_modules/date-fns/locale/te/_lib/match/index.js new file mode 100644 index 000000000..12fae7a54 --- /dev/null +++ b/node_modules/date-fns/locale/te/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(వ)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(క్రీ\.పూ\.|క్రీ\.శ\.)/i, + abbreviated: /^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i, + wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i +}; +var parseEraPatterns = { + any: [/^(పూ|శ)/i, /^సా/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^త్రై[1234]/i, + wide: /^[1234](వ)? త్రైమాసికం/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i, + abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i, + wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i +}; +var parseMonthPatterns = { + narrow: [/^జ/i, /^ఫి/i, /^మా/i, /^ఏ/i, /^మే/i, /^జూ/i, /^జు/i, /^ఆ/i, /^సె/i, /^అ/i, /^న/i, /^డి/i], + any: [/^జన/i, /^ఫి/i, /^మా/i, /^ఏ/i, /^మే/i, /^జూన్/i, /^జులై/i, /^ఆగ/i, /^సె/i, /^అ/i, /^న/i, /^డి/i] +}; +var matchDayPatterns = { + narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i, + short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i, + abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i, + wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i +}; +var parseDayPatterns = { + narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i], + any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i, + any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^పూర్వాహ్నం/i, + pm: /^అపరాహ్నం/i, + midnight: /^అర్ధ/i, + noon: /^మిట్ట/i, + morning: /ఉదయం/i, + afternoon: /మధ్యాహ్నం/i, + evening: /సాయంత్రం/i, + night: /రాత్రి/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/index.d.ts b/node_modules/date-fns/locale/te/index.d.ts new file mode 100644 index 000000000..2dab4a836 --- /dev/null +++ b/node_modules/date-fns/locale/te/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { te } from 'date-fns/locale' +export default te diff --git a/node_modules/date-fns/locale/te/index.js b/node_modules/date-fns/locale/te/index.js new file mode 100644 index 000000000..816c1243e --- /dev/null +++ b/node_modules/date-fns/locale/te/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Telugu locale + * @language Telugu + * @iso-639-2 tel + * @author Kranthi Lakum [@kranthilakum]{@link https://github.com/kranthilakum} + */ +var locale = { + code: 'te', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/te/index.js.flow b/node_modules/date-fns/locale/te/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/te/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/te/package.json b/node_modules/date-fns/locale/te/package.json new file mode 100644 index 000000000..c8fc96e2d --- /dev/null +++ b/node_modules/date-fns/locale/te/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/te/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/_lib/formatDistance/index.js b/node_modules/date-fns/locale/th/_lib/formatDistance/index.js new file mode 100644 index 000000000..afa395226 --- /dev/null +++ b/node_modules/date-fns/locale/th/_lib/formatDistance/index.js @@ -0,0 +1,95 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'น้อยกว่า 1 วินาที', + other: 'น้อยกว่า {{count}} วินาที' + }, + xSeconds: { + one: '1 วินาที', + other: '{{count}} วินาที' + }, + halfAMinute: 'ครึ่งนาที', + lessThanXMinutes: { + one: 'น้อยกว่า 1 นาที', + other: 'น้อยกว่า {{count}} นาที' + }, + xMinutes: { + one: '1 นาที', + other: '{{count}} นาที' + }, + aboutXHours: { + one: 'ประมาณ 1 ชั่วโมง', + other: 'ประมาณ {{count}} ชั่วโมง' + }, + xHours: { + one: '1 ชั่วโมง', + other: '{{count}} ชั่วโมง' + }, + xDays: { + one: '1 วัน', + other: '{{count}} วัน' + }, + aboutXWeeks: { + one: 'ประมาณ 1 สัปดาห์', + other: 'ประมาณ {{count}} สัปดาห์' + }, + xWeeks: { + one: '1 สัปดาห์', + other: '{{count}} สัปดาห์' + }, + aboutXMonths: { + one: 'ประมาณ 1 เดือน', + other: 'ประมาณ {{count}} เดือน' + }, + xMonths: { + one: '1 เดือน', + other: '{{count}} เดือน' + }, + aboutXYears: { + one: 'ประมาณ 1 ปี', + other: 'ประมาณ {{count}} ปี' + }, + xYears: { + one: '1 ปี', + other: '{{count}} ปี' + }, + overXYears: { + one: 'มากกว่า 1 ปี', + other: 'มากกว่า {{count}} ปี' + }, + almostXYears: { + one: 'เกือบ 1 ปี', + other: 'เกือบ {{count}} ปี' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (token === 'halfAMinute') { + return 'ใน' + result; + } else { + return 'ใน ' + result; + } + } else { + return result + 'ที่ผ่านมา'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/_lib/formatLong/index.js b/node_modules/date-fns/locale/th/_lib/formatLong/index.js new file mode 100644 index 000000000..066d08dba --- /dev/null +++ b/node_modules/date-fns/locale/th/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'วันEEEEที่ do MMMM y', + long: 'do MMMM y', + medium: 'd MMM y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'H:mm:ss น. zzzz', + long: 'H:mm:ss น. z', + medium: 'H:mm:ss น.', + short: 'H:mm น.' +}; +var dateTimeFormats = { + full: "{{date}} 'เวลา' {{time}}", + long: "{{date}} 'เวลา' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'medium' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/_lib/formatRelative/index.js b/node_modules/date-fns/locale/th/_lib/formatRelative/index.js new file mode 100644 index 000000000..682615aaa --- /dev/null +++ b/node_modules/date-fns/locale/th/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee'ที่แล้วเวลา' p", + yesterday: "'เมื่อวานนี้เวลา' p", + today: "'วันนี้เวลา' p", + tomorrow: "'พรุ่งนี้เวลา' p", + nextWeek: "eeee 'เวลา' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/_lib/localize/index.js b/node_modules/date-fns/locale/th/_lib/localize/index.js new file mode 100644 index 000000000..6195c39f3 --- /dev/null +++ b/node_modules/date-fns/locale/th/_lib/localize/index.js @@ -0,0 +1,127 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['B', 'คศ'], + abbreviated: ['BC', 'ค.ศ.'], + wide: ['ปีก่อนคริสตกาล', 'คริสต์ศักราช'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['ไตรมาสแรก', 'ไตรมาสที่สอง', 'ไตรมาสที่สาม', 'ไตรมาสที่สี่'] +}; +var dayValues = { + narrow: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + short: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + abbreviated: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + wide: ['อาทิตย์', 'จันทร์', 'อังคาร', 'พุธ', 'พฤหัสบดี', 'ศุกร์', 'เสาร์'] +}; +var monthValues = { + narrow: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'], + abbreviated: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'], + wide: ['มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'] +}; +var dayPeriodValues = { + narrow: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'เช้า', + afternoon: 'บ่าย', + evening: 'เย็น', + night: 'กลางคืน' + }, + abbreviated: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'เช้า', + afternoon: 'บ่าย', + evening: 'เย็น', + night: 'กลางคืน' + }, + wide: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'เช้า', + afternoon: 'บ่าย', + evening: 'เย็น', + night: 'กลางคืน' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'ตอนเช้า', + afternoon: 'ตอนกลางวัน', + evening: 'ตอนเย็น', + night: 'ตอนกลางคืน' + }, + abbreviated: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'ตอนเช้า', + afternoon: 'ตอนกลางวัน', + evening: 'ตอนเย็น', + night: 'ตอนกลางคืน' + }, + wide: { + am: 'ก่อนเที่ยง', + pm: 'หลังเที่ยง', + midnight: 'เที่ยงคืน', + noon: 'เที่ยง', + morning: 'ตอนเช้า', + afternoon: 'ตอนกลางวัน', + evening: 'ตอนเย็น', + night: 'ตอนกลางคืน' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/_lib/match/index.js b/node_modules/date-fns/locale/th/_lib/match/index.js new file mode 100644 index 000000000..7237d184c --- /dev/null +++ b/node_modules/date-fns/locale/th/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^\d+/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^([bB]|[aA]|คศ)/i, + abbreviated: /^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i, + wide: /^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i +}; +var parseEraPatterns = { + any: [/^[bB]/i, /^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^ไตรมาส(ที่)? ?[1234]/i +}; +var parseQuarterPatterns = { + any: [/(1|แรก|หนึ่ง)/i, /(2|สอง)/i, /(3|สาม)/i, /(4|สี่)/i] +}; +var matchMonthPatterns = { + narrow: /^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i, + abbreviated: /^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i, + wide: /^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i +}; +var parseMonthPatterns = { + wide: [/^มก/i, /^กุม/i, /^มี/i, /^เม/i, /^พฤษ/i, /^มิ/i, /^กรก/i, /^ส/i, /^กัน/i, /^ต/i, /^พฤศ/i, /^ธ/i], + any: [/^ม\.?ค\.?/i, /^ก\.?พ\.?/i, /^มี\.?ค\.?/i, /^เม\.?ย\.?/i, /^พ\.?ค\.?/i, /^มิ\.?ย\.?/i, /^ก\.?ค\.?/i, /^ส\.?ค\.?/i, /^ก\.?ย\.?/i, /^ต\.?ค\.?/i, /^พ\.?ย\.?/i, /^ธ\.?ค\.?/i] +}; +var matchDayPatterns = { + narrow: /^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i, + short: /^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i, + abbreviated: /^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i, + wide: /^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i +}; +var parseDayPatterns = { + wide: [/^อา/i, /^จั/i, /^อั/i, /^พุธ/i, /^พฤ/i, /^ศ/i, /^เส/i], + any: [/^อา/i, /^จ/i, /^อ/i, /^พ(?!ฤ)/i, /^พฤ/i, /^ศ/i, /^ส/i] +}; +var matchDayPeriodPatterns = { + any: /^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ก่อนเที่ยง/i, + pm: /^หลังเที่ยง/i, + midnight: /^เที่ยงคืน/i, + noon: /^เที่ยง/i, + morning: /เช้า/i, + afternoon: /บ่าย/i, + evening: /เย็น/i, + night: /กลางคืน/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/index.d.ts b/node_modules/date-fns/locale/th/index.d.ts new file mode 100644 index 000000000..944dd874e --- /dev/null +++ b/node_modules/date-fns/locale/th/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { th } from 'date-fns/locale' +export default th diff --git a/node_modules/date-fns/locale/th/index.js b/node_modules/date-fns/locale/th/index.js new file mode 100644 index 000000000..e7cd51397 --- /dev/null +++ b/node_modules/date-fns/locale/th/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Thai locale. + * @language Thai + * @iso-639-2 tha + * @author Athiwat Hirunworawongkun [@athivvat]{@link https://github.com/athivvat} + * @author [@hawkup]{@link https://github.com/hawkup} + * @author Jirawat I. [@nodtem66]{@link https://github.com/nodtem66} + */ +var locale = { + code: 'th', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/th/index.js.flow b/node_modules/date-fns/locale/th/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/th/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/th/package.json b/node_modules/date-fns/locale/th/package.json new file mode 100644 index 000000000..da5a7618f --- /dev/null +++ b/node_modules/date-fns/locale/th/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/th/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/_lib/formatDistance/index.js b/node_modules/date-fns/locale/tr/_lib/formatDistance/index.js new file mode 100644 index 000000000..b17b48510 --- /dev/null +++ b/node_modules/date-fns/locale/tr/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'bir saniyeden az', + other: '{{count}} saniyeden az' + }, + xSeconds: { + one: '1 saniye', + other: '{{count}} saniye' + }, + halfAMinute: 'yarım dakika', + lessThanXMinutes: { + one: 'bir dakikadan az', + other: '{{count}} dakikadan az' + }, + xMinutes: { + one: '1 dakika', + other: '{{count}} dakika' + }, + aboutXHours: { + one: 'yaklaşık 1 saat', + other: 'yaklaşık {{count}} saat' + }, + xHours: { + one: '1 saat', + other: '{{count}} saat' + }, + xDays: { + one: '1 gün', + other: '{{count}} gün' + }, + aboutXWeeks: { + one: 'yaklaşık 1 hafta', + other: 'yaklaşık {{count}} hafta' + }, + xWeeks: { + one: '1 hafta', + other: '{{count}} hafta' + }, + aboutXMonths: { + one: 'yaklaşık 1 ay', + other: 'yaklaşık {{count}} ay' + }, + xMonths: { + one: '1 ay', + other: '{{count}} ay' + }, + aboutXYears: { + one: 'yaklaşık 1 yıl', + other: 'yaklaşık {{count}} yıl' + }, + xYears: { + one: '1 yıl', + other: '{{count}} yıl' + }, + overXYears: { + one: '1 yıldan fazla', + other: '{{count}} yıldan fazla' + }, + almostXYears: { + one: 'neredeyse 1 yıl', + other: 'neredeyse {{count}} yıl' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', count.toString()); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' sonra'; + } else { + return result + ' önce'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/_lib/formatLong/index.js b/node_modules/date-fns/locale/tr/_lib/formatLong/index.js new file mode 100644 index 000000000..d323b27e5 --- /dev/null +++ b/node_modules/date-fns/locale/tr/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'd MMMM y EEEE', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.yyyy' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'saat' {{time}}", + long: "{{date}} 'saat' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/_lib/formatRelative/index.js b/node_modules/date-fns/locale/tr/_lib/formatRelative/index.js new file mode 100644 index 000000000..4a0e0dc68 --- /dev/null +++ b/node_modules/date-fns/locale/tr/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'geçen hafta' eeee 'saat' p", + yesterday: "'dün saat' p", + today: "'bugün saat' p", + tomorrow: "'yarın saat' p", + nextWeek: "eeee 'saat' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/_lib/localize/index.js b/node_modules/date-fns/locale/tr/_lib/localize/index.js new file mode 100644 index 000000000..bdc0cb2eb --- /dev/null +++ b/node_modules/date-fns/locale/tr/_lib/localize/index.js @@ -0,0 +1,128 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['MÖ', 'MS'], + abbreviated: ['MÖ', 'MS'], + wide: ['Milattan Önce', 'Milattan Sonra'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1Ç', '2Ç', '3Ç', '4Ç'], + wide: ['İlk çeyrek', 'İkinci Çeyrek', 'Üçüncü çeyrek', 'Son çeyrek'] +}; +var monthValues = { + narrow: ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + abbreviated: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], + wide: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'] +}; +var dayValues = { + narrow: ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], + short: ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'], + abbreviated: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'], + wide: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'] +}; +var dayPeriodValues = { + narrow: { + am: 'öö', + pm: 'ös', + midnight: 'gy', + noon: 'ö', + morning: 'sa', + afternoon: 'ös', + evening: 'ak', + night: 'ge' + }, + abbreviated: { + am: 'ÖÖ', + pm: 'ÖS', + midnight: 'gece yarısı', + noon: 'öğle', + morning: 'sabah', + afternoon: 'öğleden sonra', + evening: 'akşam', + night: 'gece' + }, + wide: { + am: 'Ö.Ö.', + pm: 'Ö.S.', + midnight: 'gece yarısı', + noon: 'öğle', + morning: 'sabah', + afternoon: 'öğleden sonra', + evening: 'akşam', + night: 'gece' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'öö', + pm: 'ös', + midnight: 'gy', + noon: 'ö', + morning: 'sa', + afternoon: 'ös', + evening: 'ak', + night: 'ge' + }, + abbreviated: { + am: 'ÖÖ', + pm: 'ÖS', + midnight: 'gece yarısı', + noon: 'öğlen', + morning: 'sabahleyin', + afternoon: 'öğleden sonra', + evening: 'akşamleyin', + night: 'geceleyin' + }, + wide: { + am: 'ö.ö.', + pm: 'ö.s.', + midnight: 'gece yarısı', + noon: 'öğlen', + morning: 'sabahleyin', + afternoon: 'öğleden sonra', + evening: 'akşamleyin', + night: 'geceleyin' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + var number = Number(dirtyNumber); + return number + '.'; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/_lib/match/index.js b/node_modules/date-fns/locale/tr/_lib/match/index.js new file mode 100644 index 000000000..a69f16dd0 --- /dev/null +++ b/node_modules/date-fns/locale/tr/_lib/match/index.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(\.)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(mö|ms)/i, + abbreviated: /^(mö|ms)/i, + wide: /^(milattan önce|milattan sonra)/i +}; +var parseEraPatterns = { + any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]ç/i, + wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i], + abbreviated: [/1ç/i, /2ç/i, /3ç/i, /4ç/i], + wide: [/^(i|İ)lk çeyrek/i, /(i|İ)kinci çeyrek/i, /üçüncü çeyrek/i, /son çeyrek/i] +}; +var matchMonthPatterns = { + narrow: /^[oşmnhtaek]/i, + abbreviated: /^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i, + wide: /^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i +}; +var parseMonthPatterns = { + narrow: [/^o/i, /^ş/i, /^m/i, /^n/i, /^m/i, /^h/i, /^t/i, /^a/i, /^e/i, /^e/i, /^k/i, /^a/i], + any: [/^o/i, /^ş/i, /^mar/i, /^n/i, /^may/i, /^h/i, /^t/i, /^ağ/i, /^ey/i, /^ek/i, /^k/i, /^ar/i] +}; +var matchDayPatterns = { + narrow: /^[psçc]/i, + short: /^(pz|pt|sa|ça|pe|cu|ct)/i, + abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i, + wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i +}; +var parseDayPatterns = { + narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i], + any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i], + wide: [/^pazar(?!tesi)/i, /^pazartesi/i, /^salı/i, /^çarşamba/i, /^perşembe/i, /^cuma(?!rtesi)/i, /^cumartesi/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i, + any: /^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ö\.?ö\.?/i, + pm: /^ö\.?s\.?/i, + midnight: /^(gy|gece yarısı)/i, + noon: /^öğ/i, + morning: /^sa/i, + afternoon: /^öğleden sonra/i, + evening: /^ak/i, + night: /^ge/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/index.d.ts b/node_modules/date-fns/locale/tr/index.d.ts new file mode 100644 index 000000000..d4c2e0add --- /dev/null +++ b/node_modules/date-fns/locale/tr/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { tr } from 'date-fns/locale' +export default tr diff --git a/node_modules/date-fns/locale/tr/index.js b/node_modules/date-fns/locale/tr/index.js new file mode 100644 index 000000000..1b97ab77f --- /dev/null +++ b/node_modules/date-fns/locale/tr/index.js @@ -0,0 +1,41 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Turkish locale. + * @language Turkish + * @iso-639-2 tur + * @author Alpcan Aydın [@alpcanaydin]{@link https://github.com/alpcanaydin} + * @author Berkay Sargın [@berkaey]{@link https://github.com/berkaey} + * @author Fatih Bulut [@bulutfatih]{@link https://github.com/bulutfatih} + * @author Ismail Demirbilek [@dbtek]{@link https://github.com/dbtek} + * @author İsmail Kayar [@ikayar]{@link https://github.com/ikayar} + * + * + */ +var locale = { + code: 'tr', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/tr/index.js.flow b/node_modules/date-fns/locale/tr/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/tr/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/tr/package.json b/node_modules/date-fns/locale/tr/package.json new file mode 100644 index 000000000..eca88ff3c --- /dev/null +++ b/node_modules/date-fns/locale/tr/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/tr/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/types.js b/node_modules/date-fns/locale/types.js new file mode 100644 index 000000000..430afc16c --- /dev/null +++ b/node_modules/date-fns/locale/types.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/_lib/formatDistance/index.js b/node_modules/date-fns/locale/ug/_lib/formatDistance/index.js new file mode 100644 index 000000000..ab37e4545 --- /dev/null +++ b/node_modules/date-fns/locale/ug/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'بىر سىكۇنت ئىچىدە', + other: 'سىكۇنت ئىچىدە {{count}}' + }, + xSeconds: { + one: 'بىر سىكۇنت', + other: 'سىكۇنت {{count}}' + }, + halfAMinute: 'يىرىم مىنۇت', + lessThanXMinutes: { + one: 'بىر مىنۇت ئىچىدە', + other: 'مىنۇت ئىچىدە {{count}}' + }, + xMinutes: { + one: 'بىر مىنۇت', + other: 'مىنۇت {{count}}' + }, + aboutXHours: { + one: 'تەخمىنەن بىر سائەت', + other: 'سائەت {{count}} تەخمىنەن' + }, + xHours: { + one: 'بىر سائەت', + other: 'سائەت {{count}}' + }, + xDays: { + one: 'بىر كۈن', + other: 'كۈن {{count}}' + }, + aboutXWeeks: { + one: 'تەخمىنەن بىرھەپتە', + other: 'ھەپتە {{count}} تەخمىنەن' + }, + xWeeks: { + one: 'بىرھەپتە', + other: 'ھەپتە {{count}}' + }, + aboutXMonths: { + one: 'تەخمىنەن بىر ئاي', + other: 'ئاي {{count}} تەخمىنەن' + }, + xMonths: { + one: 'بىر ئاي', + other: 'ئاي {{count}}' + }, + aboutXYears: { + one: 'تەخمىنەن بىر يىل', + other: 'يىل {{count}} تەخمىنەن' + }, + xYears: { + one: 'بىر يىل', + other: 'يىل {{count}}' + }, + overXYears: { + one: 'بىر يىلدىن ئارتۇق', + other: 'يىلدىن ئارتۇق {{count}}' + }, + almostXYears: { + one: 'ئاساسەن بىر يىل', + other: 'يىل {{count}} ئاساسەن' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result; + } else { + return result + ' بولدى'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/_lib/formatLong/index.js b/node_modules/date-fns/locale/ug/_lib/formatLong/index.js new file mode 100644 index 000000000..dfbad7447 --- /dev/null +++ b/node_modules/date-fns/locale/ug/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'دە' {{time}}", + long: "{{date}} 'دە' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/_lib/formatRelative/index.js b/node_modules/date-fns/locale/ug/_lib/formatRelative/index.js new file mode 100644 index 000000000..7b2ded1fa --- /dev/null +++ b/node_modules/date-fns/locale/ug/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'ئ‍ۆتكەن' eeee 'دە' p", + yesterday: "'تۈنۈگۈن دە' p", + today: "'بۈگۈن دە' p", + tomorrow: "'ئەتە دە' p", + nextWeek: "eeee 'دە' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/_lib/localize/index.js b/node_modules/date-fns/locale/ug/_lib/localize/index.js new file mode 100644 index 000000000..fb8a36037 --- /dev/null +++ b/node_modules/date-fns/locale/ug/_lib/localize/index.js @@ -0,0 +1,132 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['ب', 'ك'], + abbreviated: ['ب', 'ك'], + wide: ['مىيلادىدىن بۇرۇن', 'مىيلادىدىن كىيىن'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1', '2', '3', '4'], + wide: ['بىرىنجى چارەك', 'ئىككىنجى چارەك', 'ئۈچىنجى چارەك', 'تۆتىنجى چارەك'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['ي', 'ف', 'م', 'ا', 'م', 'ى', 'ى', 'ا', 'س', 'ۆ', 'ن', 'د'], + abbreviated: ['يانۋار', 'فېۋىرال', 'مارت', 'ئاپرىل', 'ماي', 'ئىيۇن', 'ئىيول', 'ئاۋغۇست', 'سىنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دىكابىر'], + wide: ['يانۋار', 'فېۋىرال', 'مارت', 'ئاپرىل', 'ماي', 'ئىيۇن', 'ئىيول', 'ئاۋغۇست', 'سىنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دىكابىر'] +}; +var dayValues = { + narrow: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + short: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + abbreviated: ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'], + wide: ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'] +}; +var dayPeriodValues = { + narrow: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەن', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشىم', + night: 'كىچە' + }, + abbreviated: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەن', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشىم', + night: 'كىچە' + }, + wide: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەن', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشىم', + night: 'كىچە' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەندە', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشامدا', + night: 'كىچىدە' + }, + abbreviated: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەندە', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشامدا', + night: 'كىچىدە' + }, + wide: { + am: 'ئە', + pm: 'چ', + midnight: 'ك', + noon: 'چ', + morning: 'ئەتىگەندە', + afternoon: 'چۈشتىن كىيىن', + evening: 'ئاخشامدا', + night: 'كىچىدە' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/_lib/match/index.js b/node_modules/date-fns/locale/ug/_lib/match/index.js new file mode 100644 index 000000000..8a0712a98 --- /dev/null +++ b/node_modules/date-fns/locale/ug/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(ب|ك)/i, + wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i +}; +var parseEraPatterns = { + any: [/^بۇرۇن/i, /^كىيىن/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^چ[1234]/i, + wide: /^چارەك [1234]/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + // eslint-disable-next-line no-misleading-character-class + narrow: /^[يفمئامئ‍ئاسۆند]/i, + abbreviated: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i, + wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i +}; +var parseMonthPatterns = { + narrow: [/^ي/i, /^ف/i, /^م/i, /^ا/i, /^م/i, /^ى‍/i, /^ى‍/i, /^ا‍/i, /^س/i, /^ۆ/i, /^ن/i, /^د/i], + any: [/^يان/i, /^فېۋ/i, /^مار/i, /^ئاپ/i, /^ماي/i, /^ئىيۇن/i, /^ئىيول/i, /^ئاۋ/i, /^سىن/i, /^ئۆك/i, /^نوي/i, /^دىك/i] +}; +var matchDayPatterns = { + narrow: /^[دسچپجشي]/i, + short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i, + abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i, + wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i +}; +var parseDayPatterns = { + narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i], + any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i, + any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^ئە/i, + pm: /^چ/i, + midnight: /^ك/i, + noon: /^چ/i, + morning: /ئەتىگەن/i, + afternoon: /چۈشتىن كىيىن/i, + evening: /ئاخشىم/i, + night: /كىچە/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/index.d.ts b/node_modules/date-fns/locale/ug/index.d.ts new file mode 100644 index 000000000..a67a67951 --- /dev/null +++ b/node_modules/date-fns/locale/ug/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { ug } from 'date-fns/locale' +export default ug diff --git a/node_modules/date-fns/locale/ug/index.js b/node_modules/date-fns/locale/ug/index.js new file mode 100644 index 000000000..8adfe0c1b --- /dev/null +++ b/node_modules/date-fns/locale/ug/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Uighur locale + * @language Uighur + * @iso-639-2 uig + * @author Abduwaly M. [@abduwaly]{@link https://github.com/abduwaly} + */ +var locale = { + code: 'ug', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/ug/index.js.flow b/node_modules/date-fns/locale/ug/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/ug/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/ug/package.json b/node_modules/date-fns/locale/ug/package.json new file mode 100644 index 000000000..5ba51f2ac --- /dev/null +++ b/node_modules/date-fns/locale/ug/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/ug/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/_lib/formatDistance/index.js b/node_modules/date-fns/locale/uk/_lib/formatDistance/index.js new file mode 100644 index 000000000..d63e13559 --- /dev/null +++ b/node_modules/date-fns/locale/uk/_lib/formatDistance/index.js @@ -0,0 +1,237 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +function declension(scheme, count) { + // scheme for count=1 exists + if (scheme.one !== undefined && count === 1) { + return scheme.one; + } + var rem10 = count % 10; + var rem100 = count % 100; + + // 1, 21, 31, ... + if (rem10 === 1 && rem100 !== 11) { + return scheme.singularNominative.replace('{{count}}', String(count)); + + // 2, 3, 4, 22, 23, 24, 32 ... + } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) { + return scheme.singularGenitive.replace('{{count}}', String(count)); + + // 5, 6, 7, 8, 9, 10, 11, ... + } else { + return scheme.pluralGenitive.replace('{{count}}', String(count)); + } +} +function buildLocalizeTokenFn(scheme) { + return function (count, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + if (scheme.future) { + return declension(scheme.future, count); + } else { + return 'за ' + declension(scheme.regular, count); + } + } else { + if (scheme.past) { + return declension(scheme.past, count); + } else { + return declension(scheme.regular, count) + ' тому'; + } + } + } else { + return declension(scheme.regular, count); + } + }; +} +var halfAtMinute = function halfAtMinute(_, options) { + if (options && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return 'за півхвилини'; + } else { + return 'півхвилини тому'; + } + } + return 'півхвилини'; +}; +var formatDistanceLocale = { + lessThanXSeconds: buildLocalizeTokenFn({ + regular: { + one: 'менше секунди', + singularNominative: 'менше {{count}} секунди', + singularGenitive: 'менше {{count}} секунд', + pluralGenitive: 'менше {{count}} секунд' + }, + future: { + one: 'менше, ніж за секунду', + singularNominative: 'менше, ніж за {{count}} секунду', + singularGenitive: 'менше, ніж за {{count}} секунди', + pluralGenitive: 'менше, ніж за {{count}} секунд' + } + }), + xSeconds: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} секунда', + singularGenitive: '{{count}} секунди', + pluralGenitive: '{{count}} секунд' + }, + past: { + singularNominative: '{{count}} секунду тому', + singularGenitive: '{{count}} секунди тому', + pluralGenitive: '{{count}} секунд тому' + }, + future: { + singularNominative: 'за {{count}} секунду', + singularGenitive: 'за {{count}} секунди', + pluralGenitive: 'за {{count}} секунд' + } + }), + halfAMinute: halfAtMinute, + lessThanXMinutes: buildLocalizeTokenFn({ + regular: { + one: 'менше хвилини', + singularNominative: 'менше {{count}} хвилини', + singularGenitive: 'менше {{count}} хвилин', + pluralGenitive: 'менше {{count}} хвилин' + }, + future: { + one: 'менше, ніж за хвилину', + singularNominative: 'менше, ніж за {{count}} хвилину', + singularGenitive: 'менше, ніж за {{count}} хвилини', + pluralGenitive: 'менше, ніж за {{count}} хвилин' + } + }), + xMinutes: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} хвилина', + singularGenitive: '{{count}} хвилини', + pluralGenitive: '{{count}} хвилин' + }, + past: { + singularNominative: '{{count}} хвилину тому', + singularGenitive: '{{count}} хвилини тому', + pluralGenitive: '{{count}} хвилин тому' + }, + future: { + singularNominative: 'за {{count}} хвилину', + singularGenitive: 'за {{count}} хвилини', + pluralGenitive: 'за {{count}} хвилин' + } + }), + aboutXHours: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} години', + singularGenitive: 'близько {{count}} годин', + pluralGenitive: 'близько {{count}} годин' + }, + future: { + singularNominative: 'приблизно за {{count}} годину', + singularGenitive: 'приблизно за {{count}} години', + pluralGenitive: 'приблизно за {{count}} годин' + } + }), + xHours: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} годину', + singularGenitive: '{{count}} години', + pluralGenitive: '{{count}} годин' + } + }), + xDays: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} день', + singularGenitive: '{{count}} днi', + pluralGenitive: '{{count}} днів' + } + }), + aboutXWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} тижня', + singularGenitive: 'близько {{count}} тижнів', + pluralGenitive: 'близько {{count}} тижнів' + }, + future: { + singularNominative: 'приблизно за {{count}} тиждень', + singularGenitive: 'приблизно за {{count}} тижні', + pluralGenitive: 'приблизно за {{count}} тижнів' + } + }), + xWeeks: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} тиждень', + singularGenitive: '{{count}} тижні', + pluralGenitive: '{{count}} тижнів' + } + }), + aboutXMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} місяця', + singularGenitive: 'близько {{count}} місяців', + pluralGenitive: 'близько {{count}} місяців' + }, + future: { + singularNominative: 'приблизно за {{count}} місяць', + singularGenitive: 'приблизно за {{count}} місяці', + pluralGenitive: 'приблизно за {{count}} місяців' + } + }), + xMonths: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} місяць', + singularGenitive: '{{count}} місяці', + pluralGenitive: '{{count}} місяців' + } + }), + aboutXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'близько {{count}} року', + singularGenitive: 'близько {{count}} років', + pluralGenitive: 'близько {{count}} років' + }, + future: { + singularNominative: 'приблизно за {{count}} рік', + singularGenitive: 'приблизно за {{count}} роки', + pluralGenitive: 'приблизно за {{count}} років' + } + }), + xYears: buildLocalizeTokenFn({ + regular: { + singularNominative: '{{count}} рік', + singularGenitive: '{{count}} роки', + pluralGenitive: '{{count}} років' + } + }), + overXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'більше {{count}} року', + singularGenitive: 'більше {{count}} років', + pluralGenitive: 'більше {{count}} років' + }, + future: { + singularNominative: 'більше, ніж за {{count}} рік', + singularGenitive: 'більше, ніж за {{count}} роки', + pluralGenitive: 'більше, ніж за {{count}} років' + } + }), + almostXYears: buildLocalizeTokenFn({ + regular: { + singularNominative: 'майже {{count}} рік', + singularGenitive: 'майже {{count}} роки', + pluralGenitive: 'майже {{count}} років' + }, + future: { + singularNominative: 'майже за {{count}} рік', + singularGenitive: 'майже за {{count}} роки', + pluralGenitive: 'майже за {{count}} років' + } + }) +}; +var formatDistance = function formatDistance(token, count, options) { + options = options || {}; + return formatDistanceLocale[token](count, options); +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/_lib/formatLong/index.js b/node_modules/date-fns/locale/uk/_lib/formatLong/index.js new file mode 100644 index 000000000..ea9e42ab6 --- /dev/null +++ b/node_modules/date-fns/locale/uk/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "EEEE, do MMMM y 'р.'", + long: "do MMMM y 'р.'", + medium: "d MMM y 'р.'", + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'о' {{time}}", + long: "{{date}} 'о' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/_lib/formatRelative/index.js b/node_modules/date-fns/locale/uk/_lib/formatRelative/index.js new file mode 100644 index 000000000..abf500461 --- /dev/null +++ b/node_modules/date-fns/locale/uk/_lib/formatRelative/index.js @@ -0,0 +1,78 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = require("../../../../index.js"); +var _index2 = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +var accusativeWeekdays = ['неділю', 'понеділок', 'вівторок', 'середу', 'четвер', 'п’ятницю', 'суботу']; +function lastWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у минулу " + weekday + " о' p"; + case 1: + case 2: + case 4: + return "'у минулий " + weekday + " о' p"; + } +} +function thisWeek(day) { + var weekday = accusativeWeekdays[day]; + return "'у " + weekday + " о' p"; +} +function nextWeek(day) { + var weekday = accusativeWeekdays[day]; + switch (day) { + case 0: + case 3: + case 5: + case 6: + return "'у наступну " + weekday + " о' p"; + case 1: + case 2: + case 4: + return "'у наступний " + weekday + " о' p"; + } +} +var lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) { + var date = (0, _index.toDate)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return lastWeek(day); + } +}; +var nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) { + var date = (0, _index.toDate)(dirtyDate); + var day = date.getUTCDay(); + if ((0, _index2.default)(date, baseDate, options)) { + return thisWeek(day); + } else { + return nextWeek(day); + } +}; +var formatRelativeLocale = { + lastWeek: lastWeekFormat, + yesterday: "'вчора о' p", + today: "'сьогодні о' p", + tomorrow: "'завтра о' p", + nextWeek: nextWeekFormat, + other: 'P' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/_lib/localize/index.js b/node_modules/date-fns/locale/uk/_lib/localize/index.js new file mode 100644 index 000000000..da7abe172 --- /dev/null +++ b/node_modules/date-fns/locale/uk/_lib/localize/index.js @@ -0,0 +1,149 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['до н.е.', 'н.е.'], + abbreviated: ['до н. е.', 'н. е.'], + wide: ['до нашої ери', 'нашої ери'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'], + wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал'] +}; +var monthValues = { + // ДСТУ 3582:2013 + narrow: ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + abbreviated: ['січ.', 'лют.', 'берез.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'верес.', 'жовт.', 'листоп.', 'груд.'], + wide: ['січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень'] +}; +var formattingMonthValues = { + narrow: ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + abbreviated: ['січ.', 'лют.', 'берез.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'верес.', 'жовт.', 'листоп.', 'груд.'], + wide: ['січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', 'жовтня', 'листопада', 'грудня'] +}; +var dayValues = { + narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + short: ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + abbreviated: ['нед', 'пон', 'вів', 'сер', 'чтв', 'птн', 'суб'], + wide: ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п’ятниця', 'субота'] +}; +var dayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранок', + afternoon: 'день', + evening: 'веч.', + night: 'ніч' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранок', + afternoon: 'день', + evening: 'веч.', + night: 'ніч' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'північ', + noon: 'полудень', + morning: 'ранок', + afternoon: 'день', + evening: 'вечір', + night: 'ніч' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранку', + afternoon: 'дня', + evening: 'веч.', + night: 'ночі' + }, + abbreviated: { + am: 'ДП', + pm: 'ПП', + midnight: 'півн.', + noon: 'пол.', + morning: 'ранку', + afternoon: 'дня', + evening: 'веч.', + night: 'ночі' + }, + wide: { + am: 'ДП', + pm: 'ПП', + midnight: 'північ', + noon: 'полудень', + morning: 'ранку', + afternoon: 'дня', + evening: 'веч.', + night: 'ночі' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var unit = String(options === null || options === void 0 ? void 0 : options.unit); + var number = Number(dirtyNumber); + var suffix; + if (unit === 'date') { + if (number === 3 || number === 23) { + suffix = '-є'; + } else { + suffix = '-е'; + } + } else if (unit === 'minute' || unit === 'second' || unit === 'hour') { + suffix = '-а'; + } else { + suffix = '-й'; + } + return number + suffix; +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/_lib/match/index.js b/node_modules/date-fns/locale/uk/_lib/match/index.js new file mode 100644 index 000000000..f455bf9b3 --- /dev/null +++ b/node_modules/date-fns/locale/uk/_lib/match/index.js @@ -0,0 +1,108 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(-?(е|й|є|а|я))?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^((до )?н\.?\s?е\.?)/i, + abbreviated: /^((до )?н\.?\s?е\.?)/i, + wide: /^(до нашої ери|нашої ери|наша ера)/i +}; +var parseEraPatterns = { + any: [/^д/i, /^н/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234](-?[иі]?й?)? кв.?/i, + wide: /^[1234](-?[иі]?й?)? квартал/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[слбктчвжг]/i, + abbreviated: /^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i, + wide: /^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i +}; +var parseMonthPatterns = { + narrow: [/^с/i, /^л/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^с/i, /^в/i, /^ж/i, /^л/i, /^г/i], + any: [/^сі/i, /^лю/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^лип/i, /^се/i, /^в/i, /^ж/i, /^лис/i, /^г/i] +}; +var matchDayPatterns = { + narrow: /^[нпвсч]/i, + short: /^(нд|пн|вт|ср|чт|пт|сб)\.?/i, + abbreviated: /^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i, + wide: /^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i +}; +var parseDayPatterns = { + narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], + any: [/^н/i, /^п[он]/i, /^в/i, /^с[ер]/i, /^ч/i, /^п\W*?[ят]/i, /^с[уб]/i] +}; +var matchDayPeriodPatterns = { + narrow: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, + abbreviated: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, + wide: /^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^дп/i, + pm: /^пп/i, + midnight: /^півн/i, + noon: /^пол/i, + morning: /^р/i, + afternoon: /^д[ен]/i, + evening: /^в/i, + night: /^н/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/index.d.ts b/node_modules/date-fns/locale/uk/index.d.ts new file mode 100644 index 000000000..972da8897 --- /dev/null +++ b/node_modules/date-fns/locale/uk/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { uk } from 'date-fns/locale' +export default uk diff --git a/node_modules/date-fns/locale/uk/index.js b/node_modules/date-fns/locale/uk/index.js new file mode 100644 index 000000000..1f8b23ecf --- /dev/null +++ b/node_modules/date-fns/locale/uk/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Ukrainian locale. + * @language Ukrainian + * @iso-639-2 ukr + * @author Andrii Korzh [@korzhyk]{@link https://github.com/korzhyk} + * @author Andriy Shcherbyak [@shcherbyakdev]{@link https://github.com/shcherbyakdev} + */ +var locale = { + code: 'uk', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uk/index.js.flow b/node_modules/date-fns/locale/uk/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/uk/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/uk/package.json b/node_modules/date-fns/locale/uk/package.json new file mode 100644 index 000000000..2a8db8abd --- /dev/null +++ b/node_modules/date-fns/locale/uk/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/uk/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/_lib/formatDistance/index.js b/node_modules/date-fns/locale/uz-Cyrl/_lib/formatDistance/index.js new file mode 100644 index 000000000..43f132fb0 --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '1 сониядан кам', + other: '{{count}} сониядан кам' + }, + xSeconds: { + one: '1 сония', + other: '{{count}} сония' + }, + halfAMinute: 'ярим дақиқа', + lessThanXMinutes: { + one: '1 дақиқадан кам', + other: '{{count}} дақиқадан кам' + }, + xMinutes: { + one: '1 дақиқа', + other: '{{count}} дақиқа' + }, + aboutXHours: { + one: 'тахминан 1 соат', + other: 'тахминан {{count}} соат' + }, + xHours: { + one: '1 соат', + other: '{{count}} соат' + }, + xDays: { + one: '1 кун', + other: '{{count}} кун' + }, + aboutXWeeks: { + one: 'тахминан 1 хафта', + other: 'тахминан {{count}} хафта' + }, + xWeeks: { + one: '1 хафта', + other: '{{count}} хафта' + }, + aboutXMonths: { + one: 'тахминан 1 ой', + other: 'тахминан {{count}} ой' + }, + xMonths: { + one: '1 ой', + other: '{{count}} ой' + }, + aboutXYears: { + one: 'тахминан 1 йил', + other: 'тахминан {{count}} йил' + }, + xYears: { + one: '1 йил', + other: '{{count}} йил' + }, + overXYears: { + one: '1 йилдан кўп', + other: '{{count}} йилдан кўп' + }, + almostXYears: { + one: 'деярли 1 йил', + other: 'деярли {{count}} йил' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + 'дан кейин'; + } else { + return result + ' олдин'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/_lib/formatLong/index.js b/node_modules/date-fns/locale/uz-Cyrl/_lib/formatLong/index.js new file mode 100644 index 000000000..923556760 --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, do MMMM, y', + long: 'do MMMM, y', + medium: 'd MMM, y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'H:mm:ss zzzz', + long: 'H:mm:ss z', + medium: 'H:mm:ss', + short: 'H:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/_lib/formatRelative/index.js b/node_modules/date-fns/locale/uz-Cyrl/_lib/formatRelative/index.js new file mode 100644 index 000000000..da96cb523 --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'ўтган' eeee p 'да'", + yesterday: "'кеча' p 'да'", + today: "'бугун' p 'да'", + tomorrow: "'эртага' p 'да'", + nextWeek: "eeee p 'да'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/_lib/localize/index.js b/node_modules/date-fns/locale/uz-Cyrl/_lib/localize/index.js new file mode 100644 index 000000000..f77f06e07 --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/_lib/localize/index.js @@ -0,0 +1,87 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['М.А', 'М'], + abbreviated: ['М.А', 'М'], + wide: ['Милоддан Аввалги', 'Милодий'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['1-чор.', '2-чор.', '3-чор.', '4-чор.'], + wide: ['1-чорак', '2-чорак', '3-чорак', '4-чорак'] +}; +var monthValues = { + narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + abbreviated: ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'], + wide: ['январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'август', 'сентабр', 'октабр', 'ноябр', 'декабр'] +}; +var dayValues = { + narrow: ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], + short: ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'], + abbreviated: ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], + wide: ['якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба'] +}; +var dayPeriodValues = { + any: { + am: 'П.О.', + pm: 'П.К.', + midnight: 'ярим тун', + noon: 'пешин', + morning: 'эрталаб', + afternoon: 'пешиндан кейин', + evening: 'кечаси', + night: 'тун' + } +}; +var formattingDayPeriodValues = { + any: { + am: 'П.О.', + pm: 'П.К.', + midnight: 'ярим тун', + noon: 'пешин', + morning: 'эрталаб', + afternoon: 'пешиндан кейин', + evening: 'кечаси', + night: 'тун' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'any', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'any' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/_lib/match/index.js b/node_modules/date-fns/locale/uz-Cyrl/_lib/match/index.js new file mode 100644 index 000000000..edb439056 --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/_lib/match/index.js @@ -0,0 +1,106 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(чи)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(м\.а|м\.)/i, + abbreviated: /^(м\.а|м\.)/i, + wide: /^(милоддан аввал|милоддан кейин)/i +}; +var parseEraPatterns = { + any: [/^м/i, /^а/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^[1234]-чор./i, + wide: /^[1234]-чорак/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[яфмамииасонд]/i, + abbreviated: /^(янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек)/i, + wide: /^(январ|феврал|март|апрел|май|июн|июл|август|сентабр|октабр|ноябр|декабр)/i +}; +var parseMonthPatterns = { + narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^д/i], + any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i] +}; +var matchDayPatterns = { + narrow: /^[ядсчпжш]/i, + short: /^(як|ду|се|чо|па|жу|ша)/i, + abbreviated: /^(якш|душ|сеш|чор|пай|жум|шан)/i, + wide: /^(якшанба|душанба|сешанба|чоршанба|пайшанба|жума|шанба)/i +}; +var parseDayPatterns = { + narrow: [/^я/i, /^д/i, /^с/i, /^ч/i, /^п/i, /^ж/i, /^ш/i], + any: [/^як/i, /^ду/i, /^се/i, /^чор/i, /^пай/i, /^жу/i, /^шан/i] +}; +var matchDayPeriodPatterns = { + any: /^(п\.о\.|п\.к\.|ярим тун|пешиндан кейин|(эрталаб|пешиндан кейин|кечаси|тун))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^п\.о\./i, + pm: /^п\.к\./i, + midnight: /^ярим тун/i, + noon: /^пешиндан кейин/i, + morning: /эрталаб/i, + afternoon: /пешиндан кейин/i, + evening: /кечаси/i, + night: /тун/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/index.d.ts b/node_modules/date-fns/locale/uz-Cyrl/index.d.ts new file mode 100644 index 000000000..0b0ba8d2d --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { uzCyrl } from 'date-fns/locale' +export default uzCyrl diff --git a/node_modules/date-fns/locale/uz-Cyrl/index.js b/node_modules/date-fns/locale/uz-Cyrl/index.js new file mode 100644 index 000000000..c9f54cc11 --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Uzbek Cyrillic locale. + * @language Uzbek + * @iso-639-2 uzb + * @author Kamronbek Shodmonov [@kamronbek28]{@link https://github.com/kamronbek28} + */ +var locale = { + code: 'uz-Cyrl', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz-Cyrl/index.js.flow b/node_modules/date-fns/locale/uz-Cyrl/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/uz-Cyrl/package.json b/node_modules/date-fns/locale/uz-Cyrl/package.json new file mode 100644 index 000000000..ac4c6ca0d --- /dev/null +++ b/node_modules/date-fns/locale/uz-Cyrl/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/uz-Cyrl/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/_lib/formatDistance/index.js b/node_modules/date-fns/locale/uz/_lib/formatDistance/index.js new file mode 100644 index 000000000..a661e23d6 --- /dev/null +++ b/node_modules/date-fns/locale/uz/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'sekunddan kam', + other: '{{count}} sekunddan kam' + }, + xSeconds: { + one: '1 sekund', + other: '{{count}} sekund' + }, + halfAMinute: 'yarim minut', + lessThanXMinutes: { + one: 'bir minutdan kam', + other: '{{count}} minutdan kam' + }, + xMinutes: { + one: '1 minut', + other: '{{count}} minut' + }, + aboutXHours: { + one: 'tahminan 1 soat', + other: 'tahminan {{count}} soat' + }, + xHours: { + one: '1 soat', + other: '{{count}} soat' + }, + xDays: { + one: '1 kun', + other: '{{count}} kun' + }, + aboutXWeeks: { + one: 'tahminan 1 hafta', + other: 'tahminan {{count}} hafta' + }, + xWeeks: { + one: '1 hafta', + other: '{{count}} hafta' + }, + aboutXMonths: { + one: 'tahminan 1 oy', + other: 'tahminan {{count}} oy' + }, + xMonths: { + one: '1 oy', + other: '{{count}} oy' + }, + aboutXYears: { + one: 'tahminan 1 yil', + other: 'tahminan {{count}} yil' + }, + xYears: { + one: '1 yil', + other: '{{count}} yil' + }, + overXYears: { + one: "1 yildan ko'p", + other: "{{count}} yildan ko'p" + }, + almostXYears: { + one: 'deyarli 1 yil', + other: 'deyarli {{count}} yil' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' dan keyin'; + } else { + return result + ' oldin'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/_lib/formatLong/index.js b/node_modules/date-fns/locale/uz/_lib/formatLong/index.js new file mode 100644 index 000000000..eaaf36184 --- /dev/null +++ b/node_modules/date-fns/locale/uz/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: 'EEEE, do MMMM, y', + long: 'do MMMM, y', + medium: 'd MMM, y', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss zzzz', + long: 'h:mm:ss z', + medium: 'h:mm:ss', + short: 'h:mm' +}; +var dateTimeFormats = { + any: '{{date}}, {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'any' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/_lib/formatRelative/index.js b/node_modules/date-fns/locale/uz/_lib/formatRelative/index.js new file mode 100644 index 000000000..f1e176740 --- /dev/null +++ b/node_modules/date-fns/locale/uz/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'oldingi' eeee p 'da'", + yesterday: "'kecha' p 'da'", + today: "'bugun' p 'da'", + tomorrow: "'ertaga' p 'da'", + nextWeek: "eeee p 'da'", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/_lib/localize/index.js b/node_modules/date-fns/locale/uz/_lib/localize/index.js new file mode 100644 index 000000000..65397911d --- /dev/null +++ b/node_modules/date-fns/locale/uz/_lib/localize/index.js @@ -0,0 +1,132 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['M.A', 'M.'], + abbreviated: ['M.A', 'M.'], + wide: ['Miloddan Avvalgi', 'Milodiy'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['CH.1', 'CH.2', 'CH.3', 'CH.4'], + wide: ['1-chi chorak', '2-chi chorak', '3-chi chorak', '4-chi chorak'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + abbreviated: ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyun', 'Iyul', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], + wide: ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', 'Noyabr', 'Dekabr'] +}; +var dayValues = { + narrow: ['Y', 'D', 'S', 'CH', 'P', 'J', 'SH'], + short: ['Ya', 'Du', 'Se', 'Cho', 'Pa', 'Ju', 'Sha'], + abbreviated: ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + wide: ['Yakshanba', 'Dushanba', 'Seshanba', 'Chorshanba', 'Payshanba', 'Juma', 'Shanba'] +}; +var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'y.t', + noon: 'p.', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'y.t', + noon: 'p.', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'yarim tun', + noon: 'peshin', + morning: 'ertalab', + afternoon: 'tushdan keyin', + evening: 'kechqurun', + night: 'tun' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, _options) { + return String(dirtyNumber); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/_lib/match/index.js b/node_modules/date-fns/locale/uz/_lib/match/index.js new file mode 100644 index 000000000..51297cef0 --- /dev/null +++ b/node_modules/date-fns/locale/uz/_lib/match/index.js @@ -0,0 +1,107 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)(chi)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(m\.a|m\.)/i, + abbreviated: /^(m\.a\.?\s?m\.?)/i, + wide: /^(miloddan avval|miloddan keyin)/i +}; +var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](chi)? chorak/i +}; +var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] +}; +var matchMonthPatterns = { + narrow: /^[yfmasond]/i, + abbreviated: /^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i, + wide: /^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i +}; +var parseMonthPatterns = { + narrow: [/^y/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i], + any: [/^ya/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^iyun/i, /^iyul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i] +}; +var matchDayPatterns = { + narrow: /^[ydschj]/i, + short: /^(ya|du|se|cho|pa|ju|sha)/i, + abbreviated: /^(yak|dush|sesh|chor|pay|jum|shan)/i, + wide: /^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i +}; +var parseDayPatterns = { + narrow: [/^y/i, /^d/i, /^s/i, /^ch/i, /^p/i, /^j/i, /^sh/i], + any: [/^ya/i, /^d/i, /^se/i, /^ch/i, /^p/i, /^j/i, /^sh/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|y\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i, + any: /^([ap]\.?\s?m\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^y\.t/i, + noon: /^pe/i, + morning: /ertalab/i, + afternoon: /tushdan keyin/i, + evening: /kechqurun/i, + night: /tun/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/index.d.ts b/node_modules/date-fns/locale/uz/index.d.ts new file mode 100644 index 000000000..e10b1f6ad --- /dev/null +++ b/node_modules/date-fns/locale/uz/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { uz } from 'date-fns/locale' +export default uz diff --git a/node_modules/date-fns/locale/uz/index.js b/node_modules/date-fns/locale/uz/index.js new file mode 100644 index 000000000..39d3a2ca7 --- /dev/null +++ b/node_modules/date-fns/locale/uz/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Uzbek locale. + * @language Uzbek + * @iso-639-2 uzb + * @author Mukhammadali [@mukhammadali]{@link https://github.com/Mukhammadali} + */ +var locale = { + code: 'uz', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/uz/index.js.flow b/node_modules/date-fns/locale/uz/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/uz/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/uz/package.json b/node_modules/date-fns/locale/uz/package.json new file mode 100644 index 000000000..7e4fbd071 --- /dev/null +++ b/node_modules/date-fns/locale/uz/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/uz/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/_lib/formatDistance/index.js b/node_modules/date-fns/locale/vi/_lib/formatDistance/index.js new file mode 100644 index 000000000..d87947e88 --- /dev/null +++ b/node_modules/date-fns/locale/vi/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: 'dưới 1 giây', + other: 'dưới {{count}} giây' + }, + xSeconds: { + one: '1 giây', + other: '{{count}} giây' + }, + halfAMinute: 'nửa phút', + lessThanXMinutes: { + one: 'dưới 1 phút', + other: 'dưới {{count}} phút' + }, + xMinutes: { + one: '1 phút', + other: '{{count}} phút' + }, + aboutXHours: { + one: 'khoảng 1 giờ', + other: 'khoảng {{count}} giờ' + }, + xHours: { + one: '1 giờ', + other: '{{count}} giờ' + }, + xDays: { + one: '1 ngày', + other: '{{count}} ngày' + }, + aboutXWeeks: { + one: 'khoảng 1 tuần', + other: 'khoảng {{count}} tuần' + }, + xWeeks: { + one: '1 tuần', + other: '{{count}} tuần' + }, + aboutXMonths: { + one: 'khoảng 1 tháng', + other: 'khoảng {{count}} tháng' + }, + xMonths: { + one: '1 tháng', + other: '{{count}} tháng' + }, + aboutXYears: { + one: 'khoảng 1 năm', + other: 'khoảng {{count}} năm' + }, + xYears: { + one: '1 năm', + other: '{{count}} năm' + }, + overXYears: { + one: 'hơn 1 năm', + other: 'hơn {{count}} năm' + }, + almostXYears: { + one: 'gần 1 năm', + other: 'gần {{count}} năm' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + ' nữa'; + } else { + return result + ' trước'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/_lib/formatLong/index.js b/node_modules/date-fns/locale/vi/_lib/formatLong/index.js new file mode 100644 index 000000000..492ccaed3 --- /dev/null +++ b/node_modules/date-fns/locale/vi/_lib/formatLong/index.js @@ -0,0 +1,49 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + // thứ Sáu, ngày 25 tháng 08 năm 2017 + full: "EEEE, 'ngày' d MMMM 'năm' y", + // ngày 25 tháng 08 năm 2017 + long: "'ngày' d MMMM 'năm' y", + // 25 thg 08 năm 2017 + medium: "d MMM 'năm' y", + // 25/08/2017 + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + // thứ Sáu, ngày 25 tháng 08 năm 2017 23:25:59 + full: '{{date}} {{time}}', + // ngày 25 tháng 08 năm 2017 23:25 + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/_lib/formatRelative/index.js b/node_modules/date-fns/locale/vi/_lib/formatRelative/index.js new file mode 100644 index 000000000..ab2557a15 --- /dev/null +++ b/node_modules/date-fns/locale/vi/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "eeee 'tuần trước vào lúc' p", + yesterday: "'hôm qua vào lúc' p", + today: "'hôm nay vào lúc' p", + tomorrow: "'ngày mai vào lúc' p", + nextWeek: "eeee 'tới vào lúc' p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/_lib/localize/index.js b/node_modules/date-fns/locale/vi/_lib/localize/index.js new file mode 100644 index 000000000..6ad996305 --- /dev/null +++ b/node_modules/date-fns/locale/vi/_lib/localize/index.js @@ -0,0 +1,210 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +// Vietnamese locale reference: http://www.localeplanet.com/icu/vi-VN/index.html +// Capitalization reference: http://hcmup.edu.vn/index.php?option=com_content&view=article&id=4106%3Avit-hoa-trong-vn-bn-hanh-chinh&catid=2345%3Atham-kho&Itemid=4103&lang=vi&site=134 +var eraValues = { + narrow: ['TCN', 'SCN'], + abbreviated: ['trước CN', 'sau CN'], + wide: ['trước Công Nguyên', 'sau Công Nguyên'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['Quý 1', 'Quý 2', 'Quý 3', 'Quý 4'] +}; +var formattingQuarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + // I notice many news outlet use this "quý II/2018" + wide: ['quý I', 'quý II', 'quý III', 'quý IV'] +}; + +// Note: in English, the names of days of the week and months are capitalized. +// If you are making a new locale based on this one, check if the same is true for the language you're working on. +// Generally, formatted dates should look like they are in the middle of a sentence, +// e.g. in Spanish language the weekdays and months should be in the lowercase. +var monthValues = { + narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + abbreviated: ['Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10', 'Thg 11', 'Thg 12'], + wide: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'] +}; +// In Vietnamese date formatting, month number less than 10 expected to have leading zero +var formattingMonthValues = { + narrow: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], + abbreviated: ['thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10', 'thg 11', 'thg 12'], + wide: ['tháng 01', 'tháng 02', 'tháng 03', 'tháng 04', 'tháng 05', 'tháng 06', 'tháng 07', 'tháng 08', 'tháng 09', 'tháng 10', 'tháng 11', 'tháng 12'] +}; +var dayValues = { + narrow: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + short: ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], + abbreviated: ['CN', 'Thứ 2', 'Thứ 3', 'Thứ 4', 'Thứ 5', 'Thứ 6', 'Thứ 7'], + wide: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'] +}; + +// Vietnamese are used to AM/PM borrowing from English, hence `narrow` and +// `abbreviated` are just like English but I'm leaving the `wide` +// format being localized with abbreviations found in some systems (SÁng / CHiều); +// however, personally, I don't think `Chiều` sounds appropriate for `PM` +var dayPeriodValues = { + // narrow date period is extremely rare in Vietnamese + // I used abbreviated form for noon, morning and afternoon + // which are regconizable by Vietnamese, others cannot be any shorter + narrow: { + am: 'am', + pm: 'pm', + midnight: 'nửa đêm', + noon: 'tr', + morning: 'sg', + afternoon: 'ch', + evening: 'tối', + night: 'đêm' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'nửa đêm', + noon: 'trưa', + morning: 'sáng', + afternoon: 'chiều', + evening: 'tối', + night: 'đêm' + }, + wide: { + am: 'SA', + pm: 'CH', + midnight: 'nửa đêm', + noon: 'trưa', + morning: 'sáng', + afternoon: 'chiều', + evening: 'tối', + night: 'đêm' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: 'am', + pm: 'pm', + midnight: 'nửa đêm', + noon: 'tr', + morning: 'sg', + afternoon: 'ch', + evening: 'tối', + night: 'đêm' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'nửa đêm', + noon: 'trưa', + morning: 'sáng', + afternoon: 'chiều', + evening: 'tối', + night: 'đêm' + }, + wide: { + am: 'SA', + pm: 'CH', + midnight: 'nửa đêm', + noon: 'giữa trưa', + morning: 'vào buổi sáng', + afternoon: 'vào buổi chiều', + evening: 'vào buổi tối', + night: 'vào ban đêm' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + var unit = options === null || options === void 0 ? void 0 : options.unit; + if (unit === 'quarter') { + // many news outlets use "quý I"... + switch (number) { + case 1: + return 'I'; + case 2: + return 'II'; + case 3: + return 'III'; + case 4: + return 'IV'; + } + } else if (unit === 'day') { + // day of week in Vietnamese has ordinal number meaning, + // so we should use them, else it'll sound weird + switch (number) { + case 1: + return 'thứ 2'; + // meaning 2nd day but it's the first day of the week :D + case 2: + return 'thứ 3'; + // meaning 3rd day + case 3: + return 'thứ 4'; + // meaning 4th day and so on + case 4: + return 'thứ 5'; + case 5: + return 'thứ 6'; + case 6: + return 'thứ 7'; + case 7: + return 'chủ nhật'; + // meaning Sunday, there's no 8th day :D + } + } else if (unit === 'week') { + if (number === 1) { + return 'thứ nhất'; + } else { + return 'thứ ' + number; + } + } else if (unit === 'dayOfYear') { + if (number === 1) { + return 'đầu tiên'; + } else { + return 'thứ ' + number; + } + } + + // there are no different forms of ordinal numbers in Vietnamese + return String(number); +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + formattingValues: formattingQuarterValues, + defaultFormattingWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide', + formattingValues: formattingMonthValues, + defaultFormattingWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/_lib/match/index.js b/node_modules/date-fns/locale/vi/_lib/match/index.js new file mode 100644 index 000000000..79f9a78d9 --- /dev/null +++ b/node_modules/date-fns/locale/vi/_lib/match/index.js @@ -0,0 +1,115 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(\d+)/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(tcn|scn)/i, + abbreviated: /^(trước CN|sau CN)/i, + wide: /^(trước Công Nguyên|sau Công Nguyên)/i +}; +var parseEraPatterns = { + any: [/^t/i, /^s/i] +}; +var matchQuarterPatterns = { + narrow: /^([1234]|i{1,3}v?)/i, + abbreviated: /^q([1234]|i{1,3}v?)/i, + wide: /^quý ([1234]|i{1,3}v?)/i +}; +var parseQuarterPatterns = { + any: [/(1|i)$/i, /(2|ii)$/i, /(3|iii)$/i, /(4|iv)$/i] +}; +var matchMonthPatterns = { + // month number may contain leading 0, 'thg' prefix may have space, underscore or empty before number + // note the order of '1' since it is a sub-string of '10', so must be lower priority + narrow: /^(0?[2-9]|10|11|12|0?1)/i, + // note the order of 'thg 1' since it is sub-string of 'thg 10', so must be lower priority + abbreviated: /^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i, + // note the order of 'Mười' since it is sub-string of Mười Một, so must be lower priority + wide: /^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i +}; +var parseMonthPatterns = { + narrow: [/0?1$/i, /0?2/i, /3/, /4/, /5/, /6/, /7/, /8/, /9/, /10/, /11/, /12/], + abbreviated: [/^thg[ _]?0?1(?!\d)/i, /^thg[ _]?0?2/i, /^thg[ _]?0?3/i, /^thg[ _]?0?4/i, /^thg[ _]?0?5/i, /^thg[ _]?0?6/i, /^thg[ _]?0?7/i, /^thg[ _]?0?8/i, /^thg[ _]?0?9/i, /^thg[ _]?10/i, /^thg[ _]?11/i, /^thg[ _]?12/i], + wide: [/^tháng ?(Một|0?1(?!\d))/i, /^tháng ?(Hai|0?2)/i, /^tháng ?(Ba|0?3)/i, /^tháng ?(Tư|0?4)/i, /^tháng ?(Năm|0?5)/i, /^tháng ?(Sáu|0?6)/i, /^tháng ?(Bảy|0?7)/i, /^tháng ?(Tám|0?8)/i, /^tháng ?(Chín|0?9)/i, /^tháng ?(Mười|10)/i, /^tháng ?(Mười ?Một|11)/i, /^tháng ?(Mười ?Hai|12)/i] +}; +var matchDayPatterns = { + narrow: /^(CN|T2|T3|T4|T5|T6|T7)/i, + short: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, + abbreviated: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, + wide: /^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i +}; +var parseDayPatterns = { + narrow: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], + short: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], + abbreviated: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], + wide: [/(Chủ|Chúa) ?Nhật/i, /Hai/i, /Ba/i, /Tư/i, /Năm/i, /Sáu/i, /Bảy/i] +}; +var matchDayPeriodPatterns = { + narrow: /^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, + abbreviated: /^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, + wide: /^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^(a|sa)/i, + pm: /^(p|ch[^i]*)/i, + midnight: /nửa đêm/i, + noon: /trưa/i, + morning: /sáng/i, + afternoon: /chiều/i, + evening: /tối/i, + night: /^đêm/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'wide' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/index.d.ts b/node_modules/date-fns/locale/vi/index.d.ts new file mode 100644 index 000000000..17be5cae7 --- /dev/null +++ b/node_modules/date-fns/locale/vi/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { vi } from 'date-fns/locale' +export default vi diff --git a/node_modules/date-fns/locale/vi/index.js b/node_modules/date-fns/locale/vi/index.js new file mode 100644 index 000000000..68f211922 --- /dev/null +++ b/node_modules/date-fns/locale/vi/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Vietnamese locale (Vietnam). + * @language Vietnamese + * @iso-639-2 vie + * @author Thanh Tran [@trongthanh]{@link https://github.com/trongthanh} + * @author Leroy Hopson [@lihop]{@link https://github.com/lihop} + */ +var locale = { + code: 'vi', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 1 /* First week of new year contains Jan 1st */ + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/vi/index.js.flow b/node_modules/date-fns/locale/vi/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/vi/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/vi/package.json b/node_modules/date-fns/locale/vi/package.json new file mode 100644 index 000000000..730737ac5 --- /dev/null +++ b/node_modules/date-fns/locale/vi/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/vi/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/_lib/formatDistance/index.js b/node_modules/date-fns/locale/zh-CN/_lib/formatDistance/index.js new file mode 100644 index 000000000..681d65231 --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '不到 1 秒', + other: '不到 {{count}} 秒' + }, + xSeconds: { + one: '1 秒', + other: '{{count}} 秒' + }, + halfAMinute: '半分钟', + lessThanXMinutes: { + one: '不到 1 分钟', + other: '不到 {{count}} 分钟' + }, + xMinutes: { + one: '1 分钟', + other: '{{count}} 分钟' + }, + xHours: { + one: '1 小时', + other: '{{count}} 小时' + }, + aboutXHours: { + one: '大约 1 小时', + other: '大约 {{count}} 小时' + }, + xDays: { + one: '1 天', + other: '{{count}} 天' + }, + aboutXWeeks: { + one: '大约 1 个星期', + other: '大约 {{count}} 个星期' + }, + xWeeks: { + one: '1 个星期', + other: '{{count}} 个星期' + }, + aboutXMonths: { + one: '大约 1 个月', + other: '大约 {{count}} 个月' + }, + xMonths: { + one: '1 个月', + other: '{{count}} 个月' + }, + aboutXYears: { + one: '大约 1 年', + other: '大约 {{count}} 年' + }, + xYears: { + one: '1 年', + other: '{{count}} 年' + }, + overXYears: { + one: '超过 1 年', + other: '超过 {{count}} 年' + }, + almostXYears: { + one: '将近 1 年', + other: '将近 {{count}} 年' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '内'; + } else { + return result + '前'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/_lib/formatLong/index.js b/node_modules/date-fns/locale/zh-CN/_lib/formatLong/index.js new file mode 100644 index 000000000..a822a2a6f --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "y'年'M'月'd'日' EEEE", + long: "y'年'M'月'd'日'", + medium: 'yyyy-MM-dd', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'zzzz a h:mm:ss', + long: 'z a h:mm:ss', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/_lib/formatRelative/index.js b/node_modules/date-fns/locale/zh-CN/_lib/formatRelative/index.js new file mode 100644 index 000000000..725e20027 --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/_lib/formatRelative/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js")); +function checkWeek(date, baseDate, options) { + var baseFormat = 'eeee p'; + if ((0, _index.default)(date, baseDate, options)) { + return baseFormat; // in same week + } else if (date.getTime() > baseDate.getTime()) { + return "'下个'" + baseFormat; // in next week + } + + return "'上个'" + baseFormat; // in last week +} + +var formatRelativeLocale = { + lastWeek: checkWeek, + // days before yesterday, maybe in this week or last week + yesterday: "'昨天' p", + today: "'今天' p", + tomorrow: "'明天' p", + nextWeek: checkWeek, + // days after tomorrow, maybe in this week or next week + other: 'PP p' +}; +var formatRelative = function formatRelative(token, date, baseDate, options) { + var format = formatRelativeLocale[token]; + if (typeof format === 'function') { + return format(date, baseDate, options); + } + return format; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/_lib/localize/index.js b/node_modules/date-fns/locale/zh-CN/_lib/localize/index.js new file mode 100644 index 000000000..61c9c5821 --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/_lib/localize/index.js @@ -0,0 +1,139 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['前', '公元'], + abbreviated: ['前', '公元'], + wide: ['公元前', '公元'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['第一季', '第二季', '第三季', '第四季'], + wide: ['第一季度', '第二季度', '第三季度', '第四季度'] +}; +var monthValues = { + narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'] +}; +var dayValues = { + narrow: ['日', '一', '二', '三', '四', '五', '六'], + short: ['日', '一', '二', '三', '四', '五', '六'], + abbreviated: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'] +}; +var dayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜间' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + switch (options === null || options === void 0 ? void 0 : options.unit) { + case 'date': + return number.toString() + '日'; + case 'hour': + return number.toString() + '时'; + case 'minute': + return number.toString() + '分'; + case 'second': + return number.toString() + '秒'; + default: + return '第 ' + number.toString(); + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/_lib/match/index.js b/node_modules/date-fns/locale/zh-CN/_lib/match/index.js new file mode 100644 index 000000000..da177016e --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|时|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(前)/i, + abbreviated: /^(前)/i, + wide: /^(公元前|公元)/i +}; +var parseEraPatterns = { + any: [/^(前)/i, /^(公元)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^第[一二三四]刻/i, + wide: /^第[一二三四]刻钟/i +}; +var parseQuarterPatterns = { + any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i] +}; +var matchMonthPatterns = { + narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i, + abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i, + wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i +}; +var parseMonthPatterns = { + narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i], + any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i] +}; +var matchDayPatterns = { + narrow: /^[一二三四五六日]/i, + short: /^[一二三四五六日]/i, + abbreviated: /^周[一二三四五六日]/i, + wide: /^星期[一二三四五六日]/i +}; +var parseDayPatterns = { + any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i] +}; +var matchDayPeriodPatterns = { + any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^上午?/i, + pm: /^下午?/i, + midnight: /^午夜/i, + noon: /^[中正]午/i, + morning: /^早上/i, + afternoon: /^下午/i, + evening: /^晚上?/i, + night: /^凌晨/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/index.d.ts b/node_modules/date-fns/locale/zh-CN/index.d.ts new file mode 100644 index 000000000..ffe2f2eb3 --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { zhCN } from 'date-fns/locale' +export default zhCN diff --git a/node_modules/date-fns/locale/zh-CN/index.js b/node_modules/date-fns/locale/zh-CN/index.js new file mode 100644 index 000000000..2ec2f128d --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/index.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Chinese Simplified locale. + * @language Chinese Simplified + * @iso-639-2 zho + * @author Changyu Geng [@KingMario]{@link https://github.com/KingMario} + * @author Song Shuoyun [@fnlctrl]{@link https://github.com/fnlctrl} + * @author sabrinaM [@sabrinamiao]{@link https://github.com/sabrinamiao} + * @author Carney Wu [@cubicwork]{@link https://github.com/cubicwork} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + */ +var locale = { + code: 'zh-CN', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-CN/index.js.flow b/node_modules/date-fns/locale/zh-CN/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/zh-CN/package.json b/node_modules/date-fns/locale/zh-CN/package.json new file mode 100644 index 000000000..00448f5c8 --- /dev/null +++ b/node_modules/date-fns/locale/zh-CN/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/zh-CN/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/_lib/formatDistance/index.js b/node_modules/date-fns/locale/zh-HK/_lib/formatDistance/index.js new file mode 100644 index 000000000..a95b050f9 --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '少於 1 秒', + other: '少於 {{count}} 秒' + }, + xSeconds: { + one: '1 秒', + other: '{{count}} 秒' + }, + halfAMinute: '半分鐘', + lessThanXMinutes: { + one: '少於 1 分鐘', + other: '少於 {{count}} 分鐘' + }, + xMinutes: { + one: '1 分鐘', + other: '{{count}} 分鐘' + }, + xHours: { + one: '1 小時', + other: '{{count}} 小時' + }, + aboutXHours: { + one: '大約 1 小時', + other: '大約 {{count}} 小時' + }, + xDays: { + one: '1 天', + other: '{{count}} 天' + }, + aboutXWeeks: { + one: '大約 1 個星期', + other: '大約 {{count}} 個星期' + }, + xWeeks: { + one: '1 個星期', + other: '{{count}} 個星期' + }, + aboutXMonths: { + one: '大約 1 個月', + other: '大約 {{count}} 個月' + }, + xMonths: { + one: '1 個月', + other: '{{count}} 個月' + }, + aboutXYears: { + one: '大約 1 年', + other: '大約 {{count}} 年' + }, + xYears: { + one: '1 年', + other: '{{count}} 年' + }, + overXYears: { + one: '超過 1 年', + other: '超過 {{count}} 年' + }, + almostXYears: { + one: '將近 1 年', + other: '將近 {{count}} 年' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '內'; + } else { + return result + '前'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/_lib/formatLong/index.js b/node_modules/date-fns/locale/zh-HK/_lib/formatLong/index.js new file mode 100644 index 000000000..a822a2a6f --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "y'年'M'月'd'日' EEEE", + long: "y'年'M'月'd'日'", + medium: 'yyyy-MM-dd', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'zzzz a h:mm:ss', + long: 'z a h:mm:ss', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/_lib/formatRelative/index.js b/node_modules/date-fns/locale/zh-HK/_lib/formatRelative/index.js new file mode 100644 index 000000000..a2cad1a67 --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'上個'eeee p", + yesterday: "'昨天' p", + today: "'今天' p", + tomorrow: "'明天' p", + nextWeek: "'下個'eeee p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/_lib/localize/index.js b/node_modules/date-fns/locale/zh-HK/_lib/localize/index.js new file mode 100644 index 000000000..5c281a62c --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/_lib/localize/index.js @@ -0,0 +1,139 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['前', '公元'], + abbreviated: ['前', '公元'], + wide: ['公元前', '公元'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['第一季', '第二季', '第三季', '第四季'], + wide: ['第一季度', '第二季度', '第三季度', '第四季度'] +}; +var monthValues = { + narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'] +}; +var dayValues = { + narrow: ['日', '一', '二', '三', '四', '五', '六'], + short: ['日', '一', '二', '三', '四', '五', '六'], + abbreviated: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'] +}; +var dayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '午夜', + noon: '晌', + morning: '早', + afternoon: '午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '午夜', + noon: '晌', + morning: '早', + afternoon: '午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '午夜', + noon: '中午', + morning: '上午', + afternoon: '下午', + evening: '晚上', + night: '夜晚' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + switch (options === null || options === void 0 ? void 0 : options.unit) { + case 'date': + return number + '日'; + case 'hour': + return number + '時'; + case 'minute': + return number + '分'; + case 'second': + return number + '秒'; + default: + return '第 ' + number; + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/_lib/match/index.js b/node_modules/date-fns/locale/zh-HK/_lib/match/index.js new file mode 100644 index 000000000..b4c2df441 --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|時|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(前)/i, + abbreviated: /^(前)/i, + wide: /^(公元前|公元)/i +}; +var parseEraPatterns = { + any: [/^(前)/i, /^(公元)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^第[一二三四]季/i, + wide: /^第[一二三四]季度/i +}; +var parseQuarterPatterns = { + any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i] +}; +var matchMonthPatterns = { + narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i, + abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i, + wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i +}; +var parseMonthPatterns = { + narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i], + any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i] +}; +var matchDayPatterns = { + narrow: /^[一二三四五六日]/i, + short: /^[一二三四五六日]/i, + abbreviated: /^週[一二三四五六日]/i, + wide: /^星期[一二三四五六日]/i +}; +var parseDayPatterns = { + any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i] +}; +var matchDayPeriodPatterns = { + any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^上午?/i, + pm: /^下午?/i, + midnight: /^午夜/i, + noon: /^[中正]午/i, + morning: /^早上/i, + afternoon: /^下午/i, + evening: /^晚上?/i, + night: /^凌晨/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/index.d.ts b/node_modules/date-fns/locale/zh-HK/index.d.ts new file mode 100644 index 000000000..81552b877 --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { zhHK } from 'date-fns/locale' +export default zhHK diff --git a/node_modules/date-fns/locale/zh-HK/index.js b/node_modules/date-fns/locale/zh-HK/index.js new file mode 100644 index 000000000..6d551366e --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Chinese Traditional locale. + * @language Chinese Traditional + * @iso-639-2 zho + * @author Gary Ip [@gaplo]{@link https://github.com/gaplo} + */ +var locale = { + code: 'zh-HK', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-HK/index.js.flow b/node_modules/date-fns/locale/zh-HK/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/zh-HK/package.json b/node_modules/date-fns/locale/zh-HK/package.json new file mode 100644 index 000000000..68482eda9 --- /dev/null +++ b/node_modules/date-fns/locale/zh-HK/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/zh-HK/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/_lib/formatDistance/index.js b/node_modules/date-fns/locale/zh-TW/_lib/formatDistance/index.js new file mode 100644 index 000000000..a95b050f9 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/_lib/formatDistance/index.js @@ -0,0 +1,91 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatDistanceLocale = { + lessThanXSeconds: { + one: '少於 1 秒', + other: '少於 {{count}} 秒' + }, + xSeconds: { + one: '1 秒', + other: '{{count}} 秒' + }, + halfAMinute: '半分鐘', + lessThanXMinutes: { + one: '少於 1 分鐘', + other: '少於 {{count}} 分鐘' + }, + xMinutes: { + one: '1 分鐘', + other: '{{count}} 分鐘' + }, + xHours: { + one: '1 小時', + other: '{{count}} 小時' + }, + aboutXHours: { + one: '大約 1 小時', + other: '大約 {{count}} 小時' + }, + xDays: { + one: '1 天', + other: '{{count}} 天' + }, + aboutXWeeks: { + one: '大約 1 個星期', + other: '大約 {{count}} 個星期' + }, + xWeeks: { + one: '1 個星期', + other: '{{count}} 個星期' + }, + aboutXMonths: { + one: '大約 1 個月', + other: '大約 {{count}} 個月' + }, + xMonths: { + one: '1 個月', + other: '{{count}} 個月' + }, + aboutXYears: { + one: '大約 1 年', + other: '大約 {{count}} 年' + }, + xYears: { + one: '1 年', + other: '{{count}} 年' + }, + overXYears: { + one: '超過 1 年', + other: '超過 {{count}} 年' + }, + almostXYears: { + one: '將近 1 年', + other: '將近 {{count}} 年' + } +}; +var formatDistance = function formatDistance(token, count, options) { + var result; + var tokenValue = formatDistanceLocale[token]; + if (typeof tokenValue === 'string') { + result = tokenValue; + } else if (count === 1) { + result = tokenValue.one; + } else { + result = tokenValue.other.replace('{{count}}', String(count)); + } + if (options !== null && options !== void 0 && options.addSuffix) { + if (options.comparison && options.comparison > 0) { + return result + '內'; + } else { + return result + '前'; + } + } + return result; +}; +var _default = formatDistance; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/_lib/formatLong/index.js b/node_modules/date-fns/locale/zh-TW/_lib/formatLong/index.js new file mode 100644 index 000000000..a822a2a6f --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js")); +var dateFormats = { + full: "y'年'M'月'd'日' EEEE", + long: "y'年'M'月'd'日'", + medium: 'yyyy-MM-dd', + short: 'yy-MM-dd' +}; +var timeFormats = { + full: 'zzzz a h:mm:ss', + long: 'z a h:mm:ss', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: (0, _index.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: (0, _index.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: (0, _index.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +var _default = formatLong; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/_lib/formatRelative/index.js b/node_modules/date-fns/locale/zh-TW/_lib/formatRelative/index.js new file mode 100644 index 000000000..a2cad1a67 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/_lib/formatRelative/index.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var formatRelativeLocale = { + lastWeek: "'上個'eeee p", + yesterday: "'昨天' p", + today: "'今天' p", + tomorrow: "'明天' p", + nextWeek: "'下個'eeee p", + other: 'P' +}; +var formatRelative = function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token]; +}; +var _default = formatRelative; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/_lib/localize/index.js b/node_modules/date-fns/locale/zh-TW/_lib/localize/index.js new file mode 100644 index 000000000..d9eaf6bc8 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/_lib/localize/index.js @@ -0,0 +1,139 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js")); +var eraValues = { + narrow: ['前', '公元'], + abbreviated: ['前', '公元'], + wide: ['公元前', '公元'] +}; +var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['第一刻', '第二刻', '第三刻', '第四刻'], + wide: ['第一刻鐘', '第二刻鐘', '第三刻鐘', '第四刻鐘'] +}; +var monthValues = { + narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'], + abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'] +}; +var dayValues = { + narrow: ['日', '一', '二', '三', '四', '五', '六'], + short: ['日', '一', '二', '三', '四', '五', '六'], + abbreviated: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'] +}; +var dayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + } +}; +var formattingDayPeriodValues = { + narrow: { + am: '上', + pm: '下', + midnight: '凌晨', + noon: '午', + morning: '早', + afternoon: '下午', + evening: '晚', + night: '夜' + }, + abbreviated: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + }, + wide: { + am: '上午', + pm: '下午', + midnight: '凌晨', + noon: '中午', + morning: '早晨', + afternoon: '中午', + evening: '晚上', + night: '夜間' + } +}; +var ordinalNumber = function ordinalNumber(dirtyNumber, options) { + var number = Number(dirtyNumber); + switch (options === null || options === void 0 ? void 0 : options.unit) { + case 'date': + return number + '日'; + case 'hour': + return number + '時'; + case 'minute': + return number + '分'; + case 'second': + return number + '秒'; + default: + return '第 ' + number; + } +}; +var localize = { + ordinalNumber: ordinalNumber, + era: (0, _index.default)({ + values: eraValues, + defaultWidth: 'wide' + }), + quarter: (0, _index.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return quarter - 1; + } + }), + month: (0, _index.default)({ + values: monthValues, + defaultWidth: 'wide' + }), + day: (0, _index.default)({ + values: dayValues, + defaultWidth: 'wide' + }), + dayPeriod: (0, _index.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaultFormattingWidth: 'wide' + }) +}; +var _default = localize; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/_lib/match/index.js b/node_modules/date-fns/locale/zh-TW/_lib/match/index.js new file mode 100644 index 000000000..6d4872d44 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/_lib/match/index.js @@ -0,0 +1,105 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js")); +var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|時|分|秒)?/i; +var parseOrdinalNumberPattern = /\d+/i; +var matchEraPatterns = { + narrow: /^(前)/i, + abbreviated: /^(前)/i, + wide: /^(公元前|公元)/i +}; +var parseEraPatterns = { + any: [/^(前)/i, /^(公元)/i] +}; +var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^第[一二三四]刻/i, + wide: /^第[一二三四]刻鐘/i +}; +var parseQuarterPatterns = { + any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i] +}; +var matchMonthPatterns = { + narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i, + abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i, + wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i +}; +var parseMonthPatterns = { + narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i], + any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i] +}; +var matchDayPatterns = { + narrow: /^[一二三四五六日]/i, + short: /^[一二三四五六日]/i, + abbreviated: /^週[一二三四五六日]/i, + wide: /^星期[一二三四五六日]/i +}; +var parseDayPatterns = { + any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i] +}; +var matchDayPeriodPatterns = { + any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i +}; +var parseDayPeriodPatterns = { + any: { + am: /^上午?/i, + pm: /^下午?/i, + midnight: /^午夜/i, + noon: /^[中正]午/i, + morning: /^早上/i, + afternoon: /^下午/i, + evening: /^晚上?/i, + night: /^凌晨/i + } +}; +var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), + era: (0, _index.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), + quarter: (0, _index.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; + } + }), + month: (0, _index.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), + day: (0, _index.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), + dayPeriod: (0, _index.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) +}; +var _default = match; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/index.d.ts b/node_modules/date-fns/locale/zh-TW/index.d.ts new file mode 100644 index 000000000..745a08f80 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { zhTW } from 'date-fns/locale' +export default zhTW diff --git a/node_modules/date-fns/locale/zh-TW/index.js b/node_modules/date-fns/locale/zh-TW/index.js new file mode 100644 index 000000000..0122eb2b2 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js")); +var _index4 = _interopRequireDefault(require("./_lib/localize/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/match/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary Chinese Traditional locale. + * @language Chinese Traditional + * @iso-639-2 zho + * @author tonypai [@tpai]{@link https://github.com/tpai} + * @author Jack Hsu [@jackhsu978]{@link https://github.com/jackhsu978} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + */ +var locale = { + code: 'zh-TW', + formatDistance: _index.default, + formatLong: _index2.default, + formatRelative: _index3.default, + localize: _index4.default, + match: _index5.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/locale/zh-TW/index.js.flow b/node_modules/date-fns/locale/zh-TW/index.js.flow new file mode 100644 index 000000000..b9dfe669e --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/locale/zh-TW/package.json b/node_modules/date-fns/locale/zh-TW/package.json new file mode 100644 index 000000000..4c08c78e8 --- /dev/null +++ b/node_modules/date-fns/locale/zh-TW/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/zh-TW/index.js", + "typings": "../../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/max/index.d.ts b/node_modules/date-fns/max/index.d.ts new file mode 100644 index 000000000..733a96e37 --- /dev/null +++ b/node_modules/date-fns/max/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { max } from 'date-fns' +export default max diff --git a/node_modules/date-fns/max/index.js b/node_modules/date-fns/max/index.js new file mode 100644 index 000000000..48a469ad4 --- /dev/null +++ b/node_modules/date-fns/max/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = max; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name max + * @category Common Helpers + * @summary Return the latest of the given dates. + * + * @description + * Return the latest of the given dates. + * + * @param {Date[]|Number[]} datesArray - the dates to compare + * @returns {Date} the latest of the dates + * @throws {TypeError} 1 argument required + * + * @example + * // Which of these dates is the latest? + * const result = max([ + * new Date(1989, 6, 10), + * new Date(1987, 1, 11), + * new Date(1995, 6, 2), + * new Date(1990, 0, 1) + * ]) + * //=> Sun Jul 02 1995 00:00:00 + */ +function max(dirtyDatesArray) { + (0, _index2.default)(1, arguments); + var datesArray; + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + if (dirtyDatesArray && typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. + } else if ((0, _typeof2.default)(dirtyDatesArray) === 'object' && dirtyDatesArray !== null) { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } else { + // `dirtyDatesArray` is non-iterable, return Invalid Date + return new Date(NaN); + } + var result; + datesArray.forEach(function (dirtyDate) { + var currentDate = (0, _index.default)(dirtyDate); + if (result === undefined || result < currentDate || isNaN(Number(currentDate))) { + result = currentDate; + } + }); + return result || new Date(NaN); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/max/index.js.flow b/node_modules/date-fns/max/index.js.flow new file mode 100644 index 000000000..85439094c --- /dev/null +++ b/node_modules/date-fns/max/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (datesArray: (Date | number)[]) => Date diff --git a/node_modules/date-fns/max/package.json b/node_modules/date-fns/max/package.json new file mode 100644 index 000000000..a20e35594 --- /dev/null +++ b/node_modules/date-fns/max/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/max/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/milliseconds/index.d.ts b/node_modules/date-fns/milliseconds/index.d.ts new file mode 100644 index 000000000..6927b5206 --- /dev/null +++ b/node_modules/date-fns/milliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { milliseconds } from 'date-fns' +export default milliseconds diff --git a/node_modules/date-fns/milliseconds/index.js b/node_modules/date-fns/milliseconds/index.js new file mode 100644 index 000000000..7a985cc63 --- /dev/null +++ b/node_modules/date-fns/milliseconds/index.js @@ -0,0 +1,62 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = milliseconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +// Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400. +// 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days +var daysInYear = 365.2425; + +/** + * @name milliseconds + * @category Millisecond Helpers + * @summary + * Returns the number of milliseconds in the specified, years, months, weeks, days, hours, minutes and seconds. + * + * @description + * Returns the number of milliseconds in the specified, years, months, weeks, days, hours, minutes and seconds. + * + * One years equals 365.2425 days according to the formula: + * + * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400. + * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days + * + * One month is a year divided by 12. + * + * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {number} the milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // 1 year in milliseconds + * milliseconds({ years: 1 }) + * //=> 31556952000 + * + * // 3 months in milliseconds + * milliseconds({ months: 3 }) + * //=> 7889238000 + */ +function milliseconds(_ref) { + var years = _ref.years, + months = _ref.months, + weeks = _ref.weeks, + days = _ref.days, + hours = _ref.hours, + minutes = _ref.minutes, + seconds = _ref.seconds; + (0, _index.default)(1, arguments); + var totalDays = 0; + if (years) totalDays += years * daysInYear; + if (months) totalDays += months * (daysInYear / 12); + if (weeks) totalDays += weeks * 7; + if (days) totalDays += days; + var totalSeconds = totalDays * 24 * 60 * 60; + if (hours) totalSeconds += hours * 60 * 60; + if (minutes) totalSeconds += minutes * 60; + if (seconds) totalSeconds += seconds; + return Math.round(totalSeconds * 1000); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/milliseconds/index.js.flow b/node_modules/date-fns/milliseconds/index.js.flow new file mode 100644 index 000000000..5ca1b36c9 --- /dev/null +++ b/node_modules/date-fns/milliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (duration: Duration) => number diff --git a/node_modules/date-fns/milliseconds/package.json b/node_modules/date-fns/milliseconds/package.json new file mode 100644 index 000000000..9f75d05e7 --- /dev/null +++ b/node_modules/date-fns/milliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/milliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/millisecondsToHours/index.d.ts b/node_modules/date-fns/millisecondsToHours/index.d.ts new file mode 100644 index 000000000..af90bf83e --- /dev/null +++ b/node_modules/date-fns/millisecondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToHours } from 'date-fns' +export default millisecondsToHours diff --git a/node_modules/date-fns/millisecondsToHours/index.js b/node_modules/date-fns/millisecondsToHours/index.js new file mode 100644 index 000000000..8717455b1 --- /dev/null +++ b/node_modules/date-fns/millisecondsToHours/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = millisecondsToHours; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name millisecondsToHours + * @category Conversion Helpers + * @summary Convert milliseconds to hours. + * + * @description + * Convert a number of milliseconds to a full number of hours. + * + * @param {number} milliseconds - number of milliseconds to be converted + * + * @returns {number} the number of milliseconds converted in hours + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 7200000 milliseconds to hours: + * const result = millisecondsToHours(7200000) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = millisecondsToHours(7199999) + * //=> 1 + */ +function millisecondsToHours(milliseconds) { + (0, _index.default)(1, arguments); + var hours = milliseconds / _index2.millisecondsInHour; + return Math.floor(hours); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/millisecondsToHours/index.js.flow b/node_modules/date-fns/millisecondsToHours/index.js.flow new file mode 100644 index 000000000..c998756c0 --- /dev/null +++ b/node_modules/date-fns/millisecondsToHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (milliseconds: number) => number diff --git a/node_modules/date-fns/millisecondsToHours/package.json b/node_modules/date-fns/millisecondsToHours/package.json new file mode 100644 index 000000000..e16605941 --- /dev/null +++ b/node_modules/date-fns/millisecondsToHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/millisecondsToHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/millisecondsToMinutes/index.d.ts b/node_modules/date-fns/millisecondsToMinutes/index.d.ts new file mode 100644 index 000000000..ea008090d --- /dev/null +++ b/node_modules/date-fns/millisecondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToMinutes } from 'date-fns' +export default millisecondsToMinutes diff --git a/node_modules/date-fns/millisecondsToMinutes/index.js b/node_modules/date-fns/millisecondsToMinutes/index.js new file mode 100644 index 000000000..9a38ffc53 --- /dev/null +++ b/node_modules/date-fns/millisecondsToMinutes/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = millisecondsToMinutes; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name millisecondsToMinutes + * @category Conversion Helpers + * @summary Convert milliseconds to minutes. + * + * @description + * Convert a number of milliseconds to a full number of minutes. + * + * @param {number} milliseconds - number of milliseconds to be converted. + * + * @returns {number} the number of milliseconds converted in minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 60000 milliseconds to minutes: + * const result = millisecondsToMinutes(60000) + * //=> 1 + * + * @example + * // It uses floor rounding: + * const result = millisecondsToMinutes(119999) + * //=> 1 + */ +function millisecondsToMinutes(milliseconds) { + (0, _index.default)(1, arguments); + var minutes = milliseconds / _index2.millisecondsInMinute; + return Math.floor(minutes); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/millisecondsToMinutes/index.js.flow b/node_modules/date-fns/millisecondsToMinutes/index.js.flow new file mode 100644 index 000000000..c998756c0 --- /dev/null +++ b/node_modules/date-fns/millisecondsToMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (milliseconds: number) => number diff --git a/node_modules/date-fns/millisecondsToMinutes/package.json b/node_modules/date-fns/millisecondsToMinutes/package.json new file mode 100644 index 000000000..2f5bf1daf --- /dev/null +++ b/node_modules/date-fns/millisecondsToMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/millisecondsToMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/millisecondsToSeconds/index.d.ts b/node_modules/date-fns/millisecondsToSeconds/index.d.ts new file mode 100644 index 000000000..d761abd66 --- /dev/null +++ b/node_modules/date-fns/millisecondsToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { millisecondsToSeconds } from 'date-fns' +export default millisecondsToSeconds diff --git a/node_modules/date-fns/millisecondsToSeconds/index.js b/node_modules/date-fns/millisecondsToSeconds/index.js new file mode 100644 index 000000000..ef733aa65 --- /dev/null +++ b/node_modules/date-fns/millisecondsToSeconds/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = millisecondsToSeconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name millisecondsToSeconds + * @category Conversion Helpers + * @summary Convert milliseconds to seconds. + * + * @description + * Convert a number of milliseconds to a full number of seconds. + * + * @param {number} milliseconds - number of milliseconds to be converted + * + * @returns {number} the number of milliseconds converted in seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 1000 miliseconds to seconds: + * const result = millisecondsToSeconds(1000) + * //=> 1 + * + * @example + * // It uses floor rounding: + * const result = millisecondsToSeconds(1999) + * //=> 1 + */ +function millisecondsToSeconds(milliseconds) { + (0, _index.default)(1, arguments); + var seconds = milliseconds / _index2.millisecondsInSecond; + return Math.floor(seconds); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/millisecondsToSeconds/index.js.flow b/node_modules/date-fns/millisecondsToSeconds/index.js.flow new file mode 100644 index 000000000..c998756c0 --- /dev/null +++ b/node_modules/date-fns/millisecondsToSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (milliseconds: number) => number diff --git a/node_modules/date-fns/millisecondsToSeconds/package.json b/node_modules/date-fns/millisecondsToSeconds/package.json new file mode 100644 index 000000000..21e7c39f1 --- /dev/null +++ b/node_modules/date-fns/millisecondsToSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/millisecondsToSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/min/index.d.ts b/node_modules/date-fns/min/index.d.ts new file mode 100644 index 000000000..f7227e7d7 --- /dev/null +++ b/node_modules/date-fns/min/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { min } from 'date-fns' +export default min diff --git a/node_modules/date-fns/min/index.js b/node_modules/date-fns/min/index.js new file mode 100644 index 000000000..1f05d76ca --- /dev/null +++ b/node_modules/date-fns/min/index.js @@ -0,0 +1,55 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = min; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name min + * @category Common Helpers + * @summary Returns the earliest of the given dates. + * + * @description + * Returns the earliest of the given dates. + * + * @param {Date[]|Number[]} datesArray - the dates to compare + * @returns {Date} - the earliest of the dates + * @throws {TypeError} 1 argument required + * + * @example + * // Which of these dates is the earliest? + * const result = min([ + * new Date(1989, 6, 10), + * new Date(1987, 1, 11), + * new Date(1995, 6, 2), + * new Date(1990, 0, 1) + * ]) + * //=> Wed Feb 11 1987 00:00:00 + */ +function min(dirtyDatesArray) { + (0, _index2.default)(1, arguments); + var datesArray; + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + if (dirtyDatesArray && typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + // If `dirtyDatesArray` is Array-like Object, convert to Array. + } else if ((0, _typeof2.default)(dirtyDatesArray) === 'object' && dirtyDatesArray !== null) { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } else { + // `dirtyDatesArray` is non-iterable, return Invalid Date + return new Date(NaN); + } + var result; + datesArray.forEach(function (dirtyDate) { + var currentDate = (0, _index.default)(dirtyDate); + if (result === undefined || result > currentDate || isNaN(currentDate.getDate())) { + result = currentDate; + } + }); + return result || new Date(NaN); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/min/index.js.flow b/node_modules/date-fns/min/index.js.flow new file mode 100644 index 000000000..85439094c --- /dev/null +++ b/node_modules/date-fns/min/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (datesArray: (Date | number)[]) => Date diff --git a/node_modules/date-fns/min/package.json b/node_modules/date-fns/min/package.json new file mode 100644 index 000000000..ffe9187d8 --- /dev/null +++ b/node_modules/date-fns/min/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/min/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/minutesToHours/index.d.ts b/node_modules/date-fns/minutesToHours/index.d.ts new file mode 100644 index 000000000..d29fb020c --- /dev/null +++ b/node_modules/date-fns/minutesToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToHours } from 'date-fns' +export default minutesToHours diff --git a/node_modules/date-fns/minutesToHours/index.js b/node_modules/date-fns/minutesToHours/index.js new file mode 100644 index 000000000..2bdc562ad --- /dev/null +++ b/node_modules/date-fns/minutesToHours/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = minutesToHours; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name minutesToHours + * @category Conversion Helpers + * @summary Convert minutes to hours. + * + * @description + * Convert a number of minutes to a full number of hours. + * + * @param {number} minutes - number of minutes to be converted + * + * @returns {number} the number of minutes converted in hours + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 140 minutes to hours: + * const result = minutesToHours(120) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = minutesToHours(179) + * //=> 2 + */ +function minutesToHours(minutes) { + (0, _index.default)(1, arguments); + var hours = minutes / _index2.minutesInHour; + return Math.floor(hours); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/minutesToHours/index.js.flow b/node_modules/date-fns/minutesToHours/index.js.flow new file mode 100644 index 000000000..efb76c7be --- /dev/null +++ b/node_modules/date-fns/minutesToHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (minutes: number) => number diff --git a/node_modules/date-fns/minutesToHours/package.json b/node_modules/date-fns/minutesToHours/package.json new file mode 100644 index 000000000..07cb77e98 --- /dev/null +++ b/node_modules/date-fns/minutesToHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/minutesToHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/minutesToMilliseconds/index.d.ts b/node_modules/date-fns/minutesToMilliseconds/index.d.ts new file mode 100644 index 000000000..14b551308 --- /dev/null +++ b/node_modules/date-fns/minutesToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToMilliseconds } from 'date-fns' +export default minutesToMilliseconds diff --git a/node_modules/date-fns/minutesToMilliseconds/index.js b/node_modules/date-fns/minutesToMilliseconds/index.js new file mode 100644 index 000000000..7bc828ad2 --- /dev/null +++ b/node_modules/date-fns/minutesToMilliseconds/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = minutesToMilliseconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name minutesToMilliseconds + * @category Conversion Helpers + * @summary Convert minutes to milliseconds. + * + * @description + * Convert a number of minutes to a full number of milliseconds. + * + * @param {number} minutes - number of minutes to be converted + * + * @returns {number} the number of minutes converted in milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 minutes to milliseconds + * const result = minutesToMilliseconds(2) + * //=> 120000 + */ +function minutesToMilliseconds(minutes) { + (0, _index.default)(1, arguments); + return Math.floor(minutes * _index2.millisecondsInMinute); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/minutesToMilliseconds/index.js.flow b/node_modules/date-fns/minutesToMilliseconds/index.js.flow new file mode 100644 index 000000000..efb76c7be --- /dev/null +++ b/node_modules/date-fns/minutesToMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (minutes: number) => number diff --git a/node_modules/date-fns/minutesToMilliseconds/package.json b/node_modules/date-fns/minutesToMilliseconds/package.json new file mode 100644 index 000000000..7e5d83706 --- /dev/null +++ b/node_modules/date-fns/minutesToMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/minutesToMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/minutesToSeconds/index.d.ts b/node_modules/date-fns/minutesToSeconds/index.d.ts new file mode 100644 index 000000000..7998c9b3e --- /dev/null +++ b/node_modules/date-fns/minutesToSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { minutesToSeconds } from 'date-fns' +export default minutesToSeconds diff --git a/node_modules/date-fns/minutesToSeconds/index.js b/node_modules/date-fns/minutesToSeconds/index.js new file mode 100644 index 000000000..e1e9b657f --- /dev/null +++ b/node_modules/date-fns/minutesToSeconds/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = minutesToSeconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name minutesToSeconds + * @category Conversion Helpers + * @summary Convert minutes to seconds. + * + * @description + * Convert a number of minutes to a full number of seconds. + * + * @param { number } minutes - number of minutes to be converted + * + * @returns {number} the number of minutes converted in seconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 minutes to seconds + * const result = minutesToSeconds(2) + * //=> 120 + */ +function minutesToSeconds(minutes) { + (0, _index.default)(1, arguments); + return Math.floor(minutes * _index2.secondsInMinute); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/minutesToSeconds/index.js.flow b/node_modules/date-fns/minutesToSeconds/index.js.flow new file mode 100644 index 000000000..efb76c7be --- /dev/null +++ b/node_modules/date-fns/minutesToSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (minutes: number) => number diff --git a/node_modules/date-fns/minutesToSeconds/package.json b/node_modules/date-fns/minutesToSeconds/package.json new file mode 100644 index 000000000..23df23c0d --- /dev/null +++ b/node_modules/date-fns/minutesToSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/minutesToSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/monthsToQuarters/index.d.ts b/node_modules/date-fns/monthsToQuarters/index.d.ts new file mode 100644 index 000000000..895b1a961 --- /dev/null +++ b/node_modules/date-fns/monthsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToQuarters } from 'date-fns' +export default monthsToQuarters diff --git a/node_modules/date-fns/monthsToQuarters/index.js b/node_modules/date-fns/monthsToQuarters/index.js new file mode 100644 index 000000000..d3d9bb066 --- /dev/null +++ b/node_modules/date-fns/monthsToQuarters/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = monthsToQuarters; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name monthsToQuarters + * @category Conversion Helpers + * @summary Convert number of months to quarters. + * + * @description + * Convert a number of months to a full number of quarters. + * + * @param {number} months - number of months to be converted. + * + * @returns {number} the number of months converted in quarters + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 6 months to quarters: + * const result = monthsToQuarters(6) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = monthsToQuarters(7) + * //=> 2 + */ +function monthsToQuarters(months) { + (0, _index.default)(1, arguments); + var quarters = months / _index2.monthsInQuarter; + return Math.floor(quarters); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/monthsToQuarters/index.js.flow b/node_modules/date-fns/monthsToQuarters/index.js.flow new file mode 100644 index 000000000..de9ea9b19 --- /dev/null +++ b/node_modules/date-fns/monthsToQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (months: number) => number diff --git a/node_modules/date-fns/monthsToQuarters/package.json b/node_modules/date-fns/monthsToQuarters/package.json new file mode 100644 index 000000000..e6cb3aa26 --- /dev/null +++ b/node_modules/date-fns/monthsToQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/monthsToQuarters/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/monthsToYears/index.d.ts b/node_modules/date-fns/monthsToYears/index.d.ts new file mode 100644 index 000000000..16c41fb0f --- /dev/null +++ b/node_modules/date-fns/monthsToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { monthsToYears } from 'date-fns' +export default monthsToYears diff --git a/node_modules/date-fns/monthsToYears/index.js b/node_modules/date-fns/monthsToYears/index.js new file mode 100644 index 000000000..c27a0ec37 --- /dev/null +++ b/node_modules/date-fns/monthsToYears/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = monthsToYears; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name monthsToYears + * @category Conversion Helpers + * @summary Convert number of months to years. + * + * @description + * Convert a number of months to a full number of years. + * + * @param {number} months - number of months to be converted + * + * @returns {number} the number of months converted in years + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 36 months to years: + * const result = monthsToYears(36) + * //=> 3 + * + * // It uses floor rounding: + * const result = monthsToYears(40) + * //=> 3 + */ +function monthsToYears(months) { + (0, _index.default)(1, arguments); + var years = months / _index2.monthsInYear; + return Math.floor(years); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/monthsToYears/index.js.flow b/node_modules/date-fns/monthsToYears/index.js.flow new file mode 100644 index 000000000..de9ea9b19 --- /dev/null +++ b/node_modules/date-fns/monthsToYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (months: number) => number diff --git a/node_modules/date-fns/monthsToYears/package.json b/node_modules/date-fns/monthsToYears/package.json new file mode 100644 index 000000000..c01b92fc0 --- /dev/null +++ b/node_modules/date-fns/monthsToYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/monthsToYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextDay/index.d.ts b/node_modules/date-fns/nextDay/index.d.ts new file mode 100644 index 000000000..ed096730c --- /dev/null +++ b/node_modules/date-fns/nextDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextDay } from 'date-fns' +export default nextDay diff --git a/node_modules/date-fns/nextDay/index.js b/node_modules/date-fns/nextDay/index.js new file mode 100644 index 000000000..a11f76eba --- /dev/null +++ b/node_modules/date-fns/nextDay/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextDay; +var _index = _interopRequireDefault(require("../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../getDay/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextDay + * @category Weekday Helpers + * @summary When is the next day of the week? + * + * @description + * When is the next day of the week? 0-6 the day of the week, 0 represents Sunday. + * + * @param {Date | number} date - the date to check + * @param {Day} day - day of the week + * @returns {Date} - the date is the next day of week + * @throws {TypeError} - 2 arguments required + * + * @example + * // When is the next Monday after Mar, 20, 2020? + * const result = nextDay(new Date(2020, 2, 20), 1) + * //=> Mon Mar 23 2020 00:00:00 + * + * @example + * // When is the next Tuesday after Mar, 21, 2020? + * const result = nextDay(new Date(2020, 2, 21), 2) + * //=> Tue Mar 24 2020 00:00:00 + */ +function nextDay(date, day) { + (0, _index3.default)(2, arguments); + var delta = day - (0, _index2.default)(date); + if (delta <= 0) delta += 7; + return (0, _index.default)(date, delta); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextDay/index.js.flow b/node_modules/date-fns/nextDay/index.js.flow new file mode 100644 index 000000000..4b45d7f77 --- /dev/null +++ b/node_modules/date-fns/nextDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, day: Day) => Date diff --git a/node_modules/date-fns/nextDay/package.json b/node_modules/date-fns/nextDay/package.json new file mode 100644 index 000000000..2bb355002 --- /dev/null +++ b/node_modules/date-fns/nextDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextFriday/index.d.ts b/node_modules/date-fns/nextFriday/index.d.ts new file mode 100644 index 000000000..1ea773cd9 --- /dev/null +++ b/node_modules/date-fns/nextFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextFriday } from 'date-fns' +export default nextFriday diff --git a/node_modules/date-fns/nextFriday/index.js b/node_modules/date-fns/nextFriday/index.js new file mode 100644 index 000000000..42606fcdc --- /dev/null +++ b/node_modules/date-fns/nextFriday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextFriday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextFriday + * @category Weekday Helpers + * @summary When is the next Friday? + * + * @description + * When is the next Friday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Friday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Friday after Mar, 22, 2020? + * const result = nextFriday(new Date(2020, 2, 22)) + * //=> Fri Mar 27 2020 00:00:00 + */ +function nextFriday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 5); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextFriday/index.js.flow b/node_modules/date-fns/nextFriday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextFriday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextFriday/package.json b/node_modules/date-fns/nextFriday/package.json new file mode 100644 index 000000000..e7a7030c3 --- /dev/null +++ b/node_modules/date-fns/nextFriday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextFriday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextMonday/index.d.ts b/node_modules/date-fns/nextMonday/index.d.ts new file mode 100644 index 000000000..d26688689 --- /dev/null +++ b/node_modules/date-fns/nextMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextMonday } from 'date-fns' +export default nextMonday diff --git a/node_modules/date-fns/nextMonday/index.js b/node_modules/date-fns/nextMonday/index.js new file mode 100644 index 000000000..413bb7f4f --- /dev/null +++ b/node_modules/date-fns/nextMonday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextMonday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextMonday + * @category Weekday Helpers + * @summary When is the next Monday? + * + * @description + * When is the next Monday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Monday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Monday after Mar, 22, 2020? + * const result = nextMonday(new Date(2020, 2, 22)) + * //=> Mon Mar 23 2020 00:00:00 + */ +function nextMonday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 1); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextMonday/index.js.flow b/node_modules/date-fns/nextMonday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextMonday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextMonday/package.json b/node_modules/date-fns/nextMonday/package.json new file mode 100644 index 000000000..8d9af91fa --- /dev/null +++ b/node_modules/date-fns/nextMonday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextMonday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextSaturday/index.d.ts b/node_modules/date-fns/nextSaturday/index.d.ts new file mode 100644 index 000000000..20532f750 --- /dev/null +++ b/node_modules/date-fns/nextSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSaturday } from 'date-fns' +export default nextSaturday diff --git a/node_modules/date-fns/nextSaturday/index.js b/node_modules/date-fns/nextSaturday/index.js new file mode 100644 index 000000000..3e56c90d8 --- /dev/null +++ b/node_modules/date-fns/nextSaturday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextSaturday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextSaturday + * @category Weekday Helpers + * @summary When is the next Saturday? + * + * @description + * When is the next Saturday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Saturday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Saturday after Mar, 22, 2020? + * const result = nextSaturday(new Date(2020, 2, 22)) + * //=> Sat Mar 28 2020 00:00:00 + */ +function nextSaturday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 6); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextSaturday/index.js.flow b/node_modules/date-fns/nextSaturday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextSaturday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextSaturday/package.json b/node_modules/date-fns/nextSaturday/package.json new file mode 100644 index 000000000..75d415815 --- /dev/null +++ b/node_modules/date-fns/nextSaturday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextSaturday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextSunday/index.d.ts b/node_modules/date-fns/nextSunday/index.d.ts new file mode 100644 index 000000000..e0a7965f1 --- /dev/null +++ b/node_modules/date-fns/nextSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextSunday } from 'date-fns' +export default nextSunday diff --git a/node_modules/date-fns/nextSunday/index.js b/node_modules/date-fns/nextSunday/index.js new file mode 100644 index 000000000..54e19eb4f --- /dev/null +++ b/node_modules/date-fns/nextSunday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextSunday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextSunday + * @category Weekday Helpers + * @summary When is the next Sunday? + * + * @description + * When is the next Sunday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Sunday after Mar, 22, 2020? + * const result = nextSunday(new Date(2020, 2, 22)) + * //=> Sun Mar 29 2020 00:00:00 + */ +function nextSunday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 0); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextSunday/index.js.flow b/node_modules/date-fns/nextSunday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextSunday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextSunday/package.json b/node_modules/date-fns/nextSunday/package.json new file mode 100644 index 000000000..5c25c82bb --- /dev/null +++ b/node_modules/date-fns/nextSunday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextSunday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextThursday/index.d.ts b/node_modules/date-fns/nextThursday/index.d.ts new file mode 100644 index 000000000..092c3ba9a --- /dev/null +++ b/node_modules/date-fns/nextThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextThursday } from 'date-fns' +export default nextThursday diff --git a/node_modules/date-fns/nextThursday/index.js b/node_modules/date-fns/nextThursday/index.js new file mode 100644 index 000000000..2317ae2c4 --- /dev/null +++ b/node_modules/date-fns/nextThursday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextThursday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextThursday + * @category Weekday Helpers + * @summary When is the next Thursday? + * + * @description + * When is the next Thursday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Thursday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Thursday after Mar, 22, 2020? + * const result = nextThursday(new Date(2020, 2, 22)) + * //=> Thur Mar 26 2020 00:00:00 + */ +function nextThursday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 4); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextThursday/index.js.flow b/node_modules/date-fns/nextThursday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextThursday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextThursday/package.json b/node_modules/date-fns/nextThursday/package.json new file mode 100644 index 000000000..8cf8915a4 --- /dev/null +++ b/node_modules/date-fns/nextThursday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextThursday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextTuesday/index.d.ts b/node_modules/date-fns/nextTuesday/index.d.ts new file mode 100644 index 000000000..0e332acf8 --- /dev/null +++ b/node_modules/date-fns/nextTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextTuesday } from 'date-fns' +export default nextTuesday diff --git a/node_modules/date-fns/nextTuesday/index.js b/node_modules/date-fns/nextTuesday/index.js new file mode 100644 index 000000000..163a1eb25 --- /dev/null +++ b/node_modules/date-fns/nextTuesday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextTuesday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextTuesday + * @category Weekday Helpers + * @summary When is the next Tuesday? + * + * @description + * When is the next Tuesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Tuesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Tuesday after Mar, 22, 2020? + * const result = nextTuesday(new Date(2020, 2, 22)) + * //=> Tue Mar 24 2020 00:00:00 + */ +function nextTuesday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 2); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextTuesday/index.js.flow b/node_modules/date-fns/nextTuesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextTuesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextTuesday/package.json b/node_modules/date-fns/nextTuesday/package.json new file mode 100644 index 000000000..f9f6f21c3 --- /dev/null +++ b/node_modules/date-fns/nextTuesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextTuesday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/nextWednesday/index.d.ts b/node_modules/date-fns/nextWednesday/index.d.ts new file mode 100644 index 000000000..42f7eb3c6 --- /dev/null +++ b/node_modules/date-fns/nextWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { nextWednesday } from 'date-fns' +export default nextWednesday diff --git a/node_modules/date-fns/nextWednesday/index.js b/node_modules/date-fns/nextWednesday/index.js new file mode 100644 index 000000000..c60bf3b27 --- /dev/null +++ b/node_modules/date-fns/nextWednesday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = nextWednesday; +var _index = _interopRequireDefault(require("../nextDay/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name nextWednesday + * @category Weekday Helpers + * @summary When is the next Wednesday? + * + * @description + * When is the next Wednesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the next Wednesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the next Wednesday after Mar, 22, 2020? + * const result = nextWednesday(new Date(2020, 2, 22)) + * //=> Wed Mar 25 2020 00:00:00 + */ +function nextWednesday(date) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(date, 3); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/nextWednesday/index.js.flow b/node_modules/date-fns/nextWednesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/nextWednesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/nextWednesday/package.json b/node_modules/date-fns/nextWednesday/package.json new file mode 100644 index 000000000..221c7a5fa --- /dev/null +++ b/node_modules/date-fns/nextWednesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/nextWednesday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/package.json b/node_modules/date-fns/package.json new file mode 100644 index 000000000..44fb81cd9 --- /dev/null +++ b/node_modules/date-fns/package.json @@ -0,0 +1,104 @@ +{ + "name": "date-fns", + "version": "2.30.0", + "sideEffects": false, + "contributors": ["Sasha Koss ", "Lesha Koss "], + "license": "MIT", + "description": "Modern JavaScript date utility library", + "repository": "https://github.com/date-fns/date-fns", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + }, + "engines": { + "node": ">=0.11" + }, + "typings": "./typings.d.ts", + "main": "index.js", + "module": "esm/index.js", + "scripts": { + "test": "karma start config/karma.js", + "lint": "eslint .", + "lint-types": "eslint --config=.ts-eslintrc.js typings.d.ts", + "locale-snapshots": "env TZ=utc babel-node --extensions .ts,.js ./scripts/build/localeSnapshots/index.js", + "stats": "cloc . --exclude-dir=node_modules,tmp,.git" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{js,ts,json}": ["prettier --write", "git add"] + }, + "browserslist": ["last 1 version", "> 1%", "IE 11"], + "dependencies": { + "@babel/runtime": "^7.21.0" + }, + "devDependencies": { + "@babel/cli": "^7.21.5", + "@babel/core": "^7.21.5", + "@babel/node": "^7.20.7", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-runtime": "^7.21.4", + "@babel/preset-env": "^7.21.5", + "@babel/preset-typescript": "^7.21.5", + "@date-fns/date-fns-scripts": "0.0.6", + "@octokit/core": "^3.2.5", + "@size-limit/preset-big-lib": "^8.2.4", + "@types/jest": "^26.0.23", + "@types/node": "^14.6.3", + "@types/sinon": "^9.0.6", + "@typescript-eslint/eslint-plugin": "^4.23.0", + "@typescript-eslint/parser": "^4.31.0", + "babel-eslint": "^10.0.2", + "babel-loader": "8.0.6", + "babel-plugin-add-import-extension": "^1.4.3", + "babel-plugin-add-module-exports": "^1.0.2", + "cloc": "^2.2.0", + "coveralls": "^3.0.6", + "eslint": "^7.27.0", + "eslint-config-prettier": "^4.3.0", + "firebase": "^3.7.1", + "glob-promise": "^2.0.0", + "globby": "^11.0.3", + "husky": "^1.0.1", + "istanbul-instrumenter-loader": "^3.0.1", + "jest": "^27.0.4", + "js-beautify": "^1.5.10", + "js-fns": "^2.5.1", + "jsdoc-babel": "^0.5.0", + "jsdoc-to-markdown": "7", + "karma": "^3.1.4", + "karma-chrome-launcher": "2.2", + "karma-cli": "^1.0.1", + "karma-coverage": "^1.1.2", + "karma-coverage-istanbul-reporter": "^2.1.0", + "karma-mocha": "^1.3.0", + "karma-mocha-reporter": "^2.2.5", + "karma-sauce-launcher": "^1.2.0", + "karma-sourcemap-loader": "^0.3.5", + "karma-webpack": "^4.0.2", + "lint-staged": "^7.3.0", + "lodash": "^4.17.15", + "lodash.clonedeep": "^4.5.0", + "mocha": "^3.5.3", + "moment": "^2.24.0", + "mz": "^2.7.0", + "node-fetch": "^1.7.3", + "p-limit": "^3.1.0", + "prettier": "2", + "simple-git": "^2.35.2", + "sinon": "^7.4.1", + "size-limit": "^8.2.4", + "snazzy": "^7.0.0", + "ts-node": "^10.9.1", + "typescript": "^4.2.4", + "webpack": "4", + "webpack-cli": "^3.1.2", + "world-countries": "^1.8.1" + }, + "resolutions": { + "ajv": "6.8.1" + } +} diff --git a/node_modules/date-fns/parse/_lib/Parser.js b/node_modules/date-fns/parse/_lib/Parser.js new file mode 100644 index 000000000..c425ac712 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/Parser.js @@ -0,0 +1,39 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Parser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Setter = require("./Setter.js"); +var Parser = /*#__PURE__*/function () { + function Parser() { + (0, _classCallCheck2.default)(this, Parser); + (0, _defineProperty2.default)(this, "incompatibleTokens", void 0); + (0, _defineProperty2.default)(this, "priority", void 0); + (0, _defineProperty2.default)(this, "subPriority", void 0); + } + (0, _createClass2.default)(Parser, [{ + key: "run", + value: function run(dateString, token, match, options) { + var result = this.parse(dateString, token, match, options); + if (!result) { + return null; + } + return { + setter: new _Setter.ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority), + rest: result.rest + }; + } + }, { + key: "validate", + value: function validate(_utcDate, _value, _options) { + return true; + } + }]); + return Parser; +}(); +exports.Parser = Parser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/Setter.js b/node_modules/date-fns/parse/_lib/Setter.js new file mode 100644 index 000000000..5e82c6eba --- /dev/null +++ b/node_modules/date-fns/parse/_lib/Setter.js @@ -0,0 +1,88 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ValueSetter = exports.Setter = exports.DateToSystemTimezoneSetter = void 0; +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var TIMEZONE_UNIT_PRIORITY = 10; +var Setter = /*#__PURE__*/function () { + function Setter() { + (0, _classCallCheck2.default)(this, Setter); + (0, _defineProperty2.default)(this, "priority", void 0); + (0, _defineProperty2.default)(this, "subPriority", 0); + } + (0, _createClass2.default)(Setter, [{ + key: "validate", + value: function validate(_utcDate, _options) { + return true; + } + }]); + return Setter; +}(); +exports.Setter = Setter; +var ValueSetter = /*#__PURE__*/function (_Setter) { + (0, _inherits2.default)(ValueSetter, _Setter); + var _super = (0, _createSuper2.default)(ValueSetter); + function ValueSetter(value, validateValue, setValue, priority, subPriority) { + var _this; + (0, _classCallCheck2.default)(this, ValueSetter); + _this = _super.call(this); + _this.value = value; + _this.validateValue = validateValue; + _this.setValue = setValue; + _this.priority = priority; + if (subPriority) { + _this.subPriority = subPriority; + } + return _this; + } + (0, _createClass2.default)(ValueSetter, [{ + key: "validate", + value: function validate(utcDate, options) { + return this.validateValue(utcDate, this.value, options); + } + }, { + key: "set", + value: function set(utcDate, flags, options) { + return this.setValue(utcDate, flags, this.value, options); + } + }]); + return ValueSetter; +}(Setter); +exports.ValueSetter = ValueSetter; +var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) { + (0, _inherits2.default)(DateToSystemTimezoneSetter, _Setter2); + var _super2 = (0, _createSuper2.default)(DateToSystemTimezoneSetter); + function DateToSystemTimezoneSetter() { + var _this2; + (0, _classCallCheck2.default)(this, DateToSystemTimezoneSetter); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this2 = _super2.call.apply(_super2, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this2), "priority", TIMEZONE_UNIT_PRIORITY); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this2), "subPriority", -1); + return _this2; + } + (0, _createClass2.default)(DateToSystemTimezoneSetter, [{ + key: "set", + value: function set(date, flags) { + if (flags.timestampIsSet) { + return date; + } + var convertedDate = new Date(0); + convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate()); + convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds()); + return convertedDate; + } + }]); + return DateToSystemTimezoneSetter; +}(Setter); +exports.DateToSystemTimezoneSetter = DateToSystemTimezoneSetter; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/constants.js b/node_modules/date-fns/parse/_lib/constants.js new file mode 100644 index 000000000..e8697d845 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/constants.js @@ -0,0 +1,55 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.timezonePatterns = exports.numericPatterns = void 0; +var numericPatterns = { + month: /^(1[0-2]|0?\d)/, + // 0 to 12 + date: /^(3[0-1]|[0-2]?\d)/, + // 0 to 31 + dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/, + // 0 to 366 + week: /^(5[0-3]|[0-4]?\d)/, + // 0 to 53 + hour23h: /^(2[0-3]|[0-1]?\d)/, + // 0 to 23 + hour24h: /^(2[0-4]|[0-1]?\d)/, + // 0 to 24 + hour11h: /^(1[0-1]|0?\d)/, + // 0 to 11 + hour12h: /^(1[0-2]|0?\d)/, + // 0 to 12 + minute: /^[0-5]?\d/, + // 0 to 59 + second: /^[0-5]?\d/, + // 0 to 59 + + singleDigit: /^\d/, + // 0 to 9 + twoDigits: /^\d{1,2}/, + // 0 to 99 + threeDigits: /^\d{1,3}/, + // 0 to 999 + fourDigits: /^\d{1,4}/, + // 0 to 9999 + + anyDigitsSigned: /^-?\d+/, + singleDigitSigned: /^-?\d/, + // 0 to 9, -0 to -9 + twoDigitsSigned: /^-?\d{1,2}/, + // 0 to 99, -0 to -99 + threeDigitsSigned: /^-?\d{1,3}/, + // 0 to 999, -0 to -999 + fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999 +}; +exports.numericPatterns = numericPatterns; +var timezonePatterns = { + basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/, + basic: /^([+-])(\d{2})(\d{2})|Z/, + basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/, + extended: /^([+-])(\d{2}):(\d{2})|Z/, + extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/ +}; +exports.timezonePatterns = timezonePatterns; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js b/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js new file mode 100644 index 000000000..20735c77e --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js @@ -0,0 +1,72 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.AMPMMidnightParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var AMPMMidnightParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(AMPMMidnightParser, _Parser); + var _super = (0, _createSuper2.default)(AMPMMidnightParser); + function AMPMMidnightParser() { + var _this; + (0, _classCallCheck2.default)(this, AMPMMidnightParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 80); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['a', 'B', 'H', 'k', 't', 'T']); + return _this; + } + (0, _createClass2.default)(AMPMMidnightParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'b': + case 'bb': + case 'bbb': + return match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbbb': + return match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbb': + default: + return match.dayPeriod(dateString, { + width: 'wide', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours((0, _utils.dayPeriodEnumToHours)(value), 0, 0, 0); + return date; + } + }]); + return AMPMMidnightParser; +}(_Parser2.Parser); +exports.AMPMMidnightParser = AMPMMidnightParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js b/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js new file mode 100644 index 000000000..67797e9fd --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js @@ -0,0 +1,72 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.AMPMParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var AMPMParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(AMPMParser, _Parser); + var _super = (0, _createSuper2.default)(AMPMParser); + function AMPMParser() { + var _this; + (0, _classCallCheck2.default)(this, AMPMParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 80); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['b', 'B', 'H', 'k', 't', 'T']); + return _this; + } + (0, _createClass2.default)(AMPMParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'a': + case 'aa': + case 'aaa': + return match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaaa': + return match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaa': + default: + return match.dayPeriod(dateString, { + width: 'wide', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours((0, _utils.dayPeriodEnumToHours)(value), 0, 0, 0); + return date; + } + }]); + return AMPMParser; +}(_Parser2.Parser); +exports.AMPMParser = AMPMParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/DateParser.js b/node_modules/date-fns/parse/_lib/parsers/DateParser.js new file mode 100644 index 000000000..c14f8c733 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/DateParser.js @@ -0,0 +1,72 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DateParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _utils = require("../utils.js"); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + +// Day of the month +var DateParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(DateParser, _Parser); + var _super = (0, _createSuper2.default)(DateParser); + function DateParser() { + var _this; + (0, _classCallCheck2.default)(this, DateParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 90); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "subPriority", 1); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(DateParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'd': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.date, dateString); + case 'do': + return match.ordinalNumber(dateString, { + unit: 'date' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(date, value) { + var year = date.getUTCFullYear(); + var isLeapYear = (0, _utils.isLeapYearIndex)(year); + var month = date.getUTCMonth(); + if (isLeapYear) { + return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month]; + } else { + return value >= 1 && value <= DAYS_IN_MONTH[month]; + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCDate(value); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return DateParser; +}(_Parser2.Parser); +exports.DateParser = DateParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js b/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js new file mode 100644 index 000000000..a2ea9f39a --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js @@ -0,0 +1,68 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DayOfYearParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var DayOfYearParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(DayOfYearParser, _Parser); + var _super = (0, _createSuper2.default)(DayOfYearParser); + function DayOfYearParser() { + var _this; + (0, _classCallCheck2.default)(this, DayOfYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 90); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "subpriority", 1); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(DayOfYearParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'D': + case 'DD': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.dayOfYear, dateString); + case 'Do': + return match.ordinalNumber(dateString, { + unit: 'date' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(date, value) { + var year = date.getUTCFullYear(); + var isLeapYear = (0, _utils.isLeapYearIndex)(year); + if (isLeapYear) { + return value >= 1 && value <= 366; + } else { + return value >= 1 && value <= 365; + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth(0, value); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return DayOfYearParser; +}(_Parser2.Parser); +exports.DayOfYearParser = DayOfYearParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/DayParser.js b/node_modules/date-fns/parse/_lib/parsers/DayParser.js new file mode 100644 index 000000000..0ff2ce1d4 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/DayParser.js @@ -0,0 +1,97 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DayParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _index = _interopRequireDefault(require("../../../_lib/setUTCDay/index.js")); +// Day of week +var DayParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(DayParser, _Parser); + var _super = (0, _createSuper2.default)(DayParser); + function DayParser() { + var _this; + (0, _classCallCheck2.default)(this, DayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 90); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(DayParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // Tue + case 'E': + case 'EE': + case 'EEE': + return match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // T + case 'EEEEE': + return match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'EEEEEE': + return match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tuesday + case 'EEEE': + default: + return match.day(dateString, { + width: 'wide', + context: 'formatting' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 6; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + date = (0, _index.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return DayParser; +}(_Parser2.Parser); +exports.DayParser = DayParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js b/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js new file mode 100644 index 000000000..b29da731b --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js @@ -0,0 +1,73 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DayPeriodParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +// in the morning, in the afternoon, in the evening, at night +var DayPeriodParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(DayPeriodParser, _Parser); + var _super = (0, _createSuper2.default)(DayPeriodParser); + function DayPeriodParser() { + var _this; + (0, _classCallCheck2.default)(this, DayPeriodParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 80); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['a', 'b', 't', 'T']); + return _this; + } + (0, _createClass2.default)(DayPeriodParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'B': + case 'BB': + case 'BBB': + return match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBBB': + return match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBB': + default: + return match.dayPeriod(dateString, { + width: 'wide', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.dayPeriod(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours((0, _utils.dayPeriodEnumToHours)(value), 0, 0, 0); + return date; + } + }]); + return DayPeriodParser; +}(_Parser2.Parser); +exports.DayPeriodParser = DayPeriodParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/EraParser.js b/node_modules/date-fns/parse/_lib/parsers/EraParser.js new file mode 100644 index 000000000..8c4402e79 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/EraParser.js @@ -0,0 +1,70 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.EraParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var EraParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(EraParser, _Parser); + var _super = (0, _createSuper2.default)(EraParser); + function EraParser() { + var _this; + (0, _classCallCheck2.default)(this, EraParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 140); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['R', 'u', 't', 'T']); + return _this; + } + (0, _createClass2.default)(EraParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // AD, BC + case 'G': + case 'GG': + case 'GGG': + return match.era(dateString, { + width: 'abbreviated' + }) || match.era(dateString, { + width: 'narrow' + }); + // A, B + case 'GGGGG': + return match.era(dateString, { + width: 'narrow' + }); + // Anno Domini, Before Christ + case 'GGGG': + default: + return match.era(dateString, { + width: 'wide' + }) || match.era(dateString, { + width: 'abbreviated' + }) || match.era(dateString, { + width: 'narrow' + }); + } + } + }, { + key: "set", + value: function set(date, flags, value) { + flags.era = value; + date.setUTCFullYear(value, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return EraParser; +}(_Parser2.Parser); +exports.EraParser = EraParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js b/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js new file mode 100644 index 000000000..445d2aca2 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js @@ -0,0 +1,48 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ExtendedYearParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var ExtendedYearParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(ExtendedYearParser, _Parser); + var _super = (0, _createSuper2.default)(ExtendedYearParser); + function ExtendedYearParser() { + var _this; + (0, _classCallCheck2.default)(this, ExtendedYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 130); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(ExtendedYearParser, [{ + key: "parse", + value: function parse(dateString, token) { + if (token === 'u') { + return (0, _utils.parseNDigitsSigned)(4, dateString); + } + return (0, _utils.parseNDigitsSigned)(token.length, dateString); + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCFullYear(value, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return ExtendedYearParser; +}(_Parser2.Parser); +exports.ExtendedYearParser = ExtendedYearParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js b/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js new file mode 100644 index 000000000..11a2d4829 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js @@ -0,0 +1,47 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.FractionOfSecondParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var FractionOfSecondParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(FractionOfSecondParser, _Parser); + var _super = (0, _createSuper2.default)(FractionOfSecondParser); + function FractionOfSecondParser() { + var _this; + (0, _classCallCheck2.default)(this, FractionOfSecondParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 30); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['t', 'T']); + return _this; + } + (0, _createClass2.default)(FractionOfSecondParser, [{ + key: "parse", + value: function parse(dateString, token) { + var valueCallback = function valueCallback(value) { + return Math.floor(value * Math.pow(10, -token.length + 3)); + }; + return (0, _utils.mapValue)((0, _utils.parseNDigits)(token.length, dateString), valueCallback); + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMilliseconds(value); + return date; + } + }]); + return FractionOfSecondParser; +}(_Parser2.Parser); +exports.FractionOfSecondParser = FractionOfSecondParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js b/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js new file mode 100644 index 000000000..55288752a --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js @@ -0,0 +1,64 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Hour0To11Parser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var Hour0To11Parser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(Hour0To11Parser, _Parser); + var _super = (0, _createSuper2.default)(Hour0To11Parser); + function Hour0To11Parser() { + var _this; + (0, _classCallCheck2.default)(this, Hour0To11Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 70); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['h', 'H', 'k', 't', 'T']); + return _this; + } + (0, _createClass2.default)(Hour0To11Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'K': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.hour11h, dateString); + case 'Ko': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 11; + } + }, { + key: "set", + value: function set(date, _flags, value) { + var isPM = date.getUTCHours() >= 12; + if (isPM && value < 12) { + date.setUTCHours(value + 12, 0, 0, 0); + } else { + date.setUTCHours(value, 0, 0, 0); + } + return date; + } + }]); + return Hour0To11Parser; +}(_Parser2.Parser); +exports.Hour0To11Parser = Hour0To11Parser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js b/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js new file mode 100644 index 000000000..b65bfca76 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js @@ -0,0 +1,59 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Hour0to23Parser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var Hour0to23Parser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(Hour0to23Parser, _Parser); + var _super = (0, _createSuper2.default)(Hour0to23Parser); + function Hour0to23Parser() { + var _this; + (0, _classCallCheck2.default)(this, Hour0to23Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 70); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['a', 'b', 'h', 'K', 'k', 't', 'T']); + return _this; + } + (0, _createClass2.default)(Hour0to23Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'H': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.hour23h, dateString); + case 'Ho': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 23; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCHours(value, 0, 0, 0); + return date; + } + }]); + return Hour0to23Parser; +}(_Parser2.Parser); +exports.Hour0to23Parser = Hour0to23Parser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js b/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js new file mode 100644 index 000000000..7d2556599 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Hour1To24Parser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var Hour1To24Parser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(Hour1To24Parser, _Parser); + var _super = (0, _createSuper2.default)(Hour1To24Parser); + function Hour1To24Parser() { + var _this; + (0, _classCallCheck2.default)(this, Hour1To24Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 70); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['a', 'b', 'h', 'H', 'K', 't', 'T']); + return _this; + } + (0, _createClass2.default)(Hour1To24Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'k': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.hour24h, dateString); + case 'ko': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 24; + } + }, { + key: "set", + value: function set(date, _flags, value) { + var hours = value <= 24 ? value % 24 : value; + date.setUTCHours(hours, 0, 0, 0); + return date; + } + }]); + return Hour1To24Parser; +}(_Parser2.Parser); +exports.Hour1To24Parser = Hour1To24Parser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js b/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js new file mode 100644 index 000000000..432d5ed48 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js @@ -0,0 +1,66 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Hour1to12Parser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var Hour1to12Parser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(Hour1to12Parser, _Parser); + var _super = (0, _createSuper2.default)(Hour1to12Parser); + function Hour1to12Parser() { + var _this; + (0, _classCallCheck2.default)(this, Hour1to12Parser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 70); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['H', 'K', 'k', 't', 'T']); + return _this; + } + (0, _createClass2.default)(Hour1to12Parser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'h': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.hour12h, dateString); + case 'ho': + return match.ordinalNumber(dateString, { + unit: 'hour' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 12; + } + }, { + key: "set", + value: function set(date, _flags, value) { + var isPM = date.getUTCHours() >= 12; + if (isPM && value < 12) { + date.setUTCHours(value + 12, 0, 0, 0); + } else if (!isPM && value === 12) { + date.setUTCHours(0, 0, 0, 0); + } else { + date.setUTCHours(value, 0, 0, 0); + } + return date; + } + }]); + return Hour1to12Parser; +}(_Parser2.Parser); +exports.Hour1to12Parser = Hour1to12Parser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js b/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js new file mode 100644 index 000000000..5cda6b327 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js @@ -0,0 +1,112 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ISODayParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/setUTCISODay/index.js")); +// ISO day of week +var ISODayParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(ISODayParser, _Parser); + var _super = (0, _createSuper2.default)(ISODayParser); + function ISODayParser() { + var _this; + (0, _classCallCheck2.default)(this, ISODayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 90); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(ISODayParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(value) { + if (value === 0) { + return 7; + } + return value; + }; + switch (token) { + // 2 + case 'i': + case 'ii': + // 02 + return (0, _utils.parseNDigits)(token.length, dateString); + // 2nd + case 'io': + return match.ordinalNumber(dateString, { + unit: 'day' + }); + // Tue + case 'iii': + return (0, _utils.mapValue)(match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + // T + case 'iiiii': + return (0, _utils.mapValue)(match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + // Tu + case 'iiiiii': + return (0, _utils.mapValue)(match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + // Tuesday + case 'iiii': + default: + return (0, _utils.mapValue)(match.day(dateString, { + width: 'wide', + context: 'formatting' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }), valueCallback); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 7; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date = (0, _index.default)(date, value); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return ISODayParser; +}(_Parser2.Parser); +exports.ISODayParser = ISODayParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js b/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js new file mode 100644 index 000000000..b80445eb2 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ISOTimezoneParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +// Timezone (ISO-8601) +var ISOTimezoneParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(ISOTimezoneParser, _Parser); + var _super = (0, _createSuper2.default)(ISOTimezoneParser); + function ISOTimezoneParser() { + var _this; + (0, _classCallCheck2.default)(this, ISOTimezoneParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 10); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['t', 'T', 'X']); + return _this; + } + (0, _createClass2.default)(ISOTimezoneParser, [{ + key: "parse", + value: function parse(dateString, token) { + switch (token) { + case 'x': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.basicOptionalMinutes, dateString); + case 'xx': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.basic, dateString); + case 'xxxx': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.basicOptionalSeconds, dateString); + case 'xxxxx': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.extendedOptionalSeconds, dateString); + case 'xxx': + default: + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.extended, dateString); + } + } + }, { + key: "set", + value: function set(date, flags, value) { + if (flags.timestampIsSet) { + return date; + } + return new Date(date.getTime() - value); + } + }]); + return ISOTimezoneParser; +}(_Parser2.Parser); +exports.ISOTimezoneParser = ISOTimezoneParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js b/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js new file mode 100644 index 000000000..08c70e3a7 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ISOTimezoneWithZParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +// Timezone (ISO-8601. +00:00 is `'Z'`) +var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(ISOTimezoneWithZParser, _Parser); + var _super = (0, _createSuper2.default)(ISOTimezoneWithZParser); + function ISOTimezoneWithZParser() { + var _this; + (0, _classCallCheck2.default)(this, ISOTimezoneWithZParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 10); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['t', 'T', 'x']); + return _this; + } + (0, _createClass2.default)(ISOTimezoneWithZParser, [{ + key: "parse", + value: function parse(dateString, token) { + switch (token) { + case 'X': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.basicOptionalMinutes, dateString); + case 'XX': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.basic, dateString); + case 'XXXX': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.basicOptionalSeconds, dateString); + case 'XXXXX': + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.extendedOptionalSeconds, dateString); + case 'XXX': + default: + return (0, _utils.parseTimezonePattern)(_constants.timezonePatterns.extended, dateString); + } + } + }, { + key: "set", + value: function set(date, flags, value) { + if (flags.timestampIsSet) { + return date; + } + return new Date(date.getTime() - value); + } + }]); + return ISOTimezoneWithZParser; +}(_Parser2.Parser); +exports.ISOTimezoneWithZParser = ISOTimezoneWithZParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js b/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js new file mode 100644 index 000000000..f60150b01 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js @@ -0,0 +1,61 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ISOWeekParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/setUTCISOWeek/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/startOfUTCISOWeek/index.js")); +// ISO week of year +var ISOWeekParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(ISOWeekParser, _Parser); + var _super = (0, _createSuper2.default)(ISOWeekParser); + function ISOWeekParser() { + var _this; + (0, _classCallCheck2.default)(this, ISOWeekParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 100); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(ISOWeekParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'I': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.week, dateString); + case 'Io': + return match.ordinalNumber(dateString, { + unit: 'week' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 53; + } + }, { + key: "set", + value: function set(date, _flags, value) { + return (0, _index2.default)((0, _index.default)(date, value)); + } + }]); + return ISOWeekParser; +}(_Parser2.Parser); +exports.ISOWeekParser = ISOWeekParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js b/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js new file mode 100644 index 000000000..00edb3903 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js @@ -0,0 +1,51 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ISOWeekYearParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/startOfUTCISOWeek/index.js")); +// ISO week-numbering year +var ISOWeekYearParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(ISOWeekYearParser, _Parser); + var _super = (0, _createSuper2.default)(ISOWeekYearParser); + function ISOWeekYearParser() { + var _this; + (0, _classCallCheck2.default)(this, ISOWeekYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 130); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(ISOWeekYearParser, [{ + key: "parse", + value: function parse(dateString, token) { + if (token === 'R') { + return (0, _utils.parseNDigitsSigned)(4, dateString); + } + return (0, _utils.parseNDigitsSigned)(token.length, dateString); + } + }, { + key: "set", + value: function set(_date, _flags, value) { + var firstWeekOfYear = new Date(0); + firstWeekOfYear.setUTCFullYear(value, 0, 4); + firstWeekOfYear.setUTCHours(0, 0, 0, 0); + return (0, _index.default)(firstWeekOfYear); + } + }]); + return ISOWeekYearParser; +}(_Parser2.Parser); +exports.ISOWeekYearParser = ISOWeekYearParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js b/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js new file mode 100644 index 000000000..49d91dabb --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.LocalDayParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/setUTCDay/index.js")); +// Local day of week +var LocalDayParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(LocalDayParser, _Parser); + var _super = (0, _createSuper2.default)(LocalDayParser); + function LocalDayParser() { + var _this; + (0, _classCallCheck2.default)(this, LocalDayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 90); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(LocalDayParser, [{ + key: "parse", + value: function parse(dateString, token, match, options) { + var valueCallback = function valueCallback(value) { + var wholeWeekDays = Math.floor((value - 1) / 7) * 7; + return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays; + }; + switch (token) { + // 3 + case 'e': + case 'ee': + // 03 + return (0, _utils.mapValue)((0, _utils.parseNDigits)(token.length, dateString), valueCallback); + // 3rd + case 'eo': + return (0, _utils.mapValue)(match.ordinalNumber(dateString, { + unit: 'day' + }), valueCallback); + // Tue + case 'eee': + return match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // T + case 'eeeee': + return match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'eeeeee': + return match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + // Tuesday + case 'eeee': + default: + return match.day(dateString, { + width: 'wide', + context: 'formatting' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.day(dateString, { + width: 'short', + context: 'formatting' + }) || match.day(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 6; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + date = (0, _index.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return LocalDayParser; +}(_Parser2.Parser); +exports.LocalDayParser = LocalDayParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js b/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js new file mode 100644 index 000000000..5c01c4165 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js @@ -0,0 +1,61 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.LocalWeekParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/setUTCWeek/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/startOfUTCWeek/index.js")); +// Local week of year +var LocalWeekParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(LocalWeekParser, _Parser); + var _super = (0, _createSuper2.default)(LocalWeekParser); + function LocalWeekParser() { + var _this; + (0, _classCallCheck2.default)(this, LocalWeekParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 100); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']); + return _this; + } + (0, _createClass2.default)(LocalWeekParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'w': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.week, dateString); + case 'wo': + return match.ordinalNumber(dateString, { + unit: 'week' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 53; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + return (0, _index2.default)((0, _index.default)(date, value, options), options); + } + }]); + return LocalWeekParser; +}(_Parser2.Parser); +exports.LocalWeekParser = LocalWeekParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js b/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js new file mode 100644 index 000000000..c9b588793 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js @@ -0,0 +1,76 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.LocalWeekYearParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/getUTCWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../../../_lib/startOfUTCWeek/index.js")); +// Local week-numbering year +var LocalWeekYearParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(LocalWeekYearParser, _Parser); + var _super = (0, _createSuper2.default)(LocalWeekYearParser); + function LocalWeekYearParser() { + var _this; + (0, _classCallCheck2.default)(this, LocalWeekYearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 130); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']); + return _this; + } + (0, _createClass2.default)(LocalWeekYearParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(year) { + return { + year: year, + isTwoDigitYear: token === 'YY' + }; + }; + switch (token) { + case 'Y': + return (0, _utils.mapValue)((0, _utils.parseNDigits)(4, dateString), valueCallback); + case 'Yo': + return (0, _utils.mapValue)(match.ordinalNumber(dateString, { + unit: 'year' + }), valueCallback); + default: + return (0, _utils.mapValue)((0, _utils.parseNDigits)(token.length, dateString), valueCallback); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value.isTwoDigitYear || value.year > 0; + } + }, { + key: "set", + value: function set(date, flags, value, options) { + var currentYear = (0, _index.default)(date, options); + if (value.isTwoDigitYear) { + var normalizedTwoDigitYear = (0, _utils.normalizeTwoDigitYear)(value.year, currentYear); + date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate); + date.setUTCHours(0, 0, 0, 0); + return (0, _index2.default)(date, options); + } + var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year; + date.setUTCFullYear(year, 0, options.firstWeekContainsDate); + date.setUTCHours(0, 0, 0, 0); + return (0, _index2.default)(date, options); + } + }]); + return LocalWeekYearParser; +}(_Parser2.Parser); +exports.LocalWeekYearParser = LocalWeekYearParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js b/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js new file mode 100644 index 000000000..93e551b65 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js @@ -0,0 +1,59 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.MinuteParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var MinuteParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(MinuteParser, _Parser); + var _super = (0, _createSuper2.default)(MinuteParser); + function MinuteParser() { + var _this; + (0, _classCallCheck2.default)(this, MinuteParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 60); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['t', 'T']); + return _this; + } + (0, _createClass2.default)(MinuteParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 'm': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.minute, dateString); + case 'mo': + return match.ordinalNumber(dateString, { + unit: 'minute' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 59; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMinutes(value, 0, 0); + return date; + } + }]); + return MinuteParser; +}(_Parser2.Parser); +exports.MinuteParser = MinuteParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/MonthParser.js b/node_modules/date-fns/parse/_lib/parsers/MonthParser.js new file mode 100644 index 000000000..f856c724a --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/MonthParser.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.MonthParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _utils = require("../utils.js"); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var MonthParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(MonthParser, _Parser); + var _super = (0, _createSuper2.default)(MonthParser); + function MonthParser() { + var _this; + (0, _classCallCheck2.default)(this, MonthParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 110); + return _this; + } + (0, _createClass2.default)(MonthParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(value) { + return value - 1; + }; + switch (token) { + // 1, 2, ..., 12 + case 'M': + return (0, _utils.mapValue)((0, _utils.parseNumericPattern)(_constants.numericPatterns.month, dateString), valueCallback); + // 01, 02, ..., 12 + case 'MM': + return (0, _utils.mapValue)((0, _utils.parseNDigits)(2, dateString), valueCallback); + // 1st, 2nd, ..., 12th + case 'Mo': + return (0, _utils.mapValue)(match.ordinalNumber(dateString, { + unit: 'month' + }), valueCallback); + // Jan, Feb, ..., Dec + case 'MMM': + return match.month(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.month(dateString, { + width: 'narrow', + context: 'formatting' + }); + // J, F, ..., D + case 'MMMMM': + return match.month(dateString, { + width: 'narrow', + context: 'formatting' + }); + // January, February, ..., December + case 'MMMM': + default: + return match.month(dateString, { + width: 'wide', + context: 'formatting' + }) || match.month(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.month(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 11; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth(value, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return MonthParser; +}(_Parser2.Parser); +exports.MonthParser = MonthParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js b/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js new file mode 100644 index 000000000..3b88da0be --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js @@ -0,0 +1,89 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.QuarterParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var QuarterParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(QuarterParser, _Parser); + var _super = (0, _createSuper2.default)(QuarterParser); + function QuarterParser() { + var _this; + (0, _classCallCheck2.default)(this, QuarterParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 120); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(QuarterParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // 1, 2, 3, 4 + case 'Q': + case 'QQ': + // 01, 02, 03, 04 + return (0, _utils.parseNDigits)(token.length, dateString); + // 1st, 2nd, 3rd, 4th + case 'Qo': + return match.ordinalNumber(dateString, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'QQQ': + return match.quarter(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'formatting' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'QQQQQ': + return match.quarter(dateString, { + width: 'narrow', + context: 'formatting' + }); + // 1st quarter, 2nd quarter, ... + case 'QQQQ': + default: + return match.quarter(dateString, { + width: 'wide', + context: 'formatting' + }) || match.quarter(dateString, { + width: 'abbreviated', + context: 'formatting' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'formatting' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 4; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth((value - 1) * 3, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return QuarterParser; +}(_Parser2.Parser); +exports.QuarterParser = QuarterParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/SecondParser.js b/node_modules/date-fns/parse/_lib/parsers/SecondParser.js new file mode 100644 index 000000000..705511e1b --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/SecondParser.js @@ -0,0 +1,59 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.SecondParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var SecondParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(SecondParser, _Parser); + var _super = (0, _createSuper2.default)(SecondParser); + function SecondParser() { + var _this; + (0, _classCallCheck2.default)(this, SecondParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 50); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['t', 'T']); + return _this; + } + (0, _createClass2.default)(SecondParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + case 's': + return (0, _utils.parseNumericPattern)(_constants.numericPatterns.second, dateString); + case 'so': + return match.ordinalNumber(dateString, { + unit: 'second' + }); + default: + return (0, _utils.parseNDigits)(token.length, dateString); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 59; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCSeconds(value, 0); + return date; + } + }]); + return SecondParser; +}(_Parser2.Parser); +exports.SecondParser = SecondParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js b/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js new file mode 100644 index 000000000..96bed0ae4 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js @@ -0,0 +1,110 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.StandAloneLocalDayParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var _index = _interopRequireDefault(require("../../../_lib/setUTCDay/index.js")); +// Stand-alone local day of week +var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(StandAloneLocalDayParser, _Parser); + var _super = (0, _createSuper2.default)(StandAloneLocalDayParser); + function StandAloneLocalDayParser() { + var _this; + (0, _classCallCheck2.default)(this, StandAloneLocalDayParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 90); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']); + return _this; + } + (0, _createClass2.default)(StandAloneLocalDayParser, [{ + key: "parse", + value: function parse(dateString, token, match, options) { + var valueCallback = function valueCallback(value) { + var wholeWeekDays = Math.floor((value - 1) / 7) * 7; + return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays; + }; + switch (token) { + // 3 + case 'c': + case 'cc': + // 03 + return (0, _utils.mapValue)((0, _utils.parseNDigits)(token.length, dateString), valueCallback); + // 3rd + case 'co': + return (0, _utils.mapValue)(match.ordinalNumber(dateString, { + unit: 'day' + }), valueCallback); + // Tue + case 'ccc': + return match.day(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.day(dateString, { + width: 'short', + context: 'standalone' + }) || match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + // T + case 'ccccc': + return match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + // Tu + case 'cccccc': + return match.day(dateString, { + width: 'short', + context: 'standalone' + }) || match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + // Tuesday + case 'cccc': + default: + return match.day(dateString, { + width: 'wide', + context: 'standalone' + }) || match.day(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.day(dateString, { + width: 'short', + context: 'standalone' + }) || match.day(dateString, { + width: 'narrow', + context: 'standalone' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 6; + } + }, { + key: "set", + value: function set(date, _flags, value, options) { + date = (0, _index.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return StandAloneLocalDayParser; +}(_Parser2.Parser); +exports.StandAloneLocalDayParser = StandAloneLocalDayParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js b/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js new file mode 100644 index 000000000..524740b5d --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js @@ -0,0 +1,94 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.StandAloneMonthParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _constants = require("../constants.js"); +var _utils = require("../utils.js"); +var StandAloneMonthParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(StandAloneMonthParser, _Parser); + var _super = (0, _createSuper2.default)(StandAloneMonthParser); + function StandAloneMonthParser() { + var _this; + (0, _classCallCheck2.default)(this, StandAloneMonthParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 110); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(StandAloneMonthParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(value) { + return value - 1; + }; + switch (token) { + // 1, 2, ..., 12 + case 'L': + return (0, _utils.mapValue)((0, _utils.parseNumericPattern)(_constants.numericPatterns.month, dateString), valueCallback); + // 01, 02, ..., 12 + case 'LL': + return (0, _utils.mapValue)((0, _utils.parseNDigits)(2, dateString), valueCallback); + // 1st, 2nd, ..., 12th + case 'Lo': + return (0, _utils.mapValue)(match.ordinalNumber(dateString, { + unit: 'month' + }), valueCallback); + // Jan, Feb, ..., Dec + case 'LLL': + return match.month(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.month(dateString, { + width: 'narrow', + context: 'standalone' + }); + // J, F, ..., D + case 'LLLLL': + return match.month(dateString, { + width: 'narrow', + context: 'standalone' + }); + // January, February, ..., December + case 'LLLL': + default: + return match.month(dateString, { + width: 'wide', + context: 'standalone' + }) || match.month(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.month(dateString, { + width: 'narrow', + context: 'standalone' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 0 && value <= 11; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth(value, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return StandAloneMonthParser; +}(_Parser2.Parser); +exports.StandAloneMonthParser = StandAloneMonthParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js b/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js new file mode 100644 index 000000000..7f18d8e26 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js @@ -0,0 +1,89 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.StandAloneQuarterParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(StandAloneQuarterParser, _Parser); + var _super = (0, _createSuper2.default)(StandAloneQuarterParser); + function StandAloneQuarterParser() { + var _this; + (0, _classCallCheck2.default)(this, StandAloneQuarterParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 120); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(StandAloneQuarterParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + switch (token) { + // 1, 2, 3, 4 + case 'q': + case 'qq': + // 01, 02, 03, 04 + return (0, _utils.parseNDigits)(token.length, dateString); + // 1st, 2nd, 3rd, 4th + case 'qo': + return match.ordinalNumber(dateString, { + unit: 'quarter' + }); + // Q1, Q2, Q3, Q4 + case 'qqq': + return match.quarter(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'standalone' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'qqqqq': + return match.quarter(dateString, { + width: 'narrow', + context: 'standalone' + }); + // 1st quarter, 2nd quarter, ... + case 'qqqq': + default: + return match.quarter(dateString, { + width: 'wide', + context: 'standalone' + }) || match.quarter(dateString, { + width: 'abbreviated', + context: 'standalone' + }) || match.quarter(dateString, { + width: 'narrow', + context: 'standalone' + }); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value >= 1 && value <= 4; + } + }, { + key: "set", + value: function set(date, _flags, value) { + date.setUTCMonth((value - 1) * 3, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return StandAloneQuarterParser; +}(_Parser2.Parser); +exports.StandAloneQuarterParser = StandAloneQuarterParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js b/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js new file mode 100644 index 000000000..fd3eafdaf --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js @@ -0,0 +1,45 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TimestampMillisecondsParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(TimestampMillisecondsParser, _Parser); + var _super = (0, _createSuper2.default)(TimestampMillisecondsParser); + function TimestampMillisecondsParser() { + var _this; + (0, _classCallCheck2.default)(this, TimestampMillisecondsParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 20); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", '*'); + return _this; + } + (0, _createClass2.default)(TimestampMillisecondsParser, [{ + key: "parse", + value: function parse(dateString) { + return (0, _utils.parseAnyDigitsSigned)(dateString); + } + }, { + key: "set", + value: function set(_date, _flags, value) { + return [new Date(value), { + timestampIsSet: true + }]; + } + }]); + return TimestampMillisecondsParser; +}(_Parser2.Parser); +exports.TimestampMillisecondsParser = TimestampMillisecondsParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js b/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js new file mode 100644 index 000000000..cd38cda8d --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js @@ -0,0 +1,45 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TimestampSecondsParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +var TimestampSecondsParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(TimestampSecondsParser, _Parser); + var _super = (0, _createSuper2.default)(TimestampSecondsParser); + function TimestampSecondsParser() { + var _this; + (0, _classCallCheck2.default)(this, TimestampSecondsParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 40); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", '*'); + return _this; + } + (0, _createClass2.default)(TimestampSecondsParser, [{ + key: "parse", + value: function parse(dateString) { + return (0, _utils.parseAnyDigitsSigned)(dateString); + } + }, { + key: "set", + value: function set(_date, _flags, value) { + return [new Date(value * 1000), { + timestampIsSet: true + }]; + } + }]); + return TimestampSecondsParser; +}(_Parser2.Parser); +exports.TimestampSecondsParser = TimestampSecondsParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/YearParser.js b/node_modules/date-fns/parse/_lib/parsers/YearParser.js new file mode 100644 index 000000000..45e3d2b4d --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/YearParser.js @@ -0,0 +1,81 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.YearParser = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); +var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); +var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); +var _Parser2 = require("../Parser.js"); +var _utils = require("../utils.js"); +// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns +// | Year | y | yy | yyy | yyyy | yyyyy | +// |----------|-------|----|-------|-------|-------| +// | AD 1 | 1 | 01 | 001 | 0001 | 00001 | +// | AD 12 | 12 | 12 | 012 | 0012 | 00012 | +// | AD 123 | 123 | 23 | 123 | 0123 | 00123 | +// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 | +// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 | +var YearParser = /*#__PURE__*/function (_Parser) { + (0, _inherits2.default)(YearParser, _Parser); + var _super = (0, _createSuper2.default)(YearParser); + function YearParser() { + var _this; + (0, _classCallCheck2.default)(this, YearParser); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "priority", 130); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "incompatibleTokens", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']); + return _this; + } + (0, _createClass2.default)(YearParser, [{ + key: "parse", + value: function parse(dateString, token, match) { + var valueCallback = function valueCallback(year) { + return { + year: year, + isTwoDigitYear: token === 'yy' + }; + }; + switch (token) { + case 'y': + return (0, _utils.mapValue)((0, _utils.parseNDigits)(4, dateString), valueCallback); + case 'yo': + return (0, _utils.mapValue)(match.ordinalNumber(dateString, { + unit: 'year' + }), valueCallback); + default: + return (0, _utils.mapValue)((0, _utils.parseNDigits)(token.length, dateString), valueCallback); + } + } + }, { + key: "validate", + value: function validate(_date, value) { + return value.isTwoDigitYear || value.year > 0; + } + }, { + key: "set", + value: function set(date, flags, value) { + var currentYear = date.getUTCFullYear(); + if (value.isTwoDigitYear) { + var normalizedTwoDigitYear = (0, _utils.normalizeTwoDigitYear)(value.year, currentYear); + date.setUTCFullYear(normalizedTwoDigitYear, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year; + date.setUTCFullYear(year, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }]); + return YearParser; +}(_Parser2.Parser); +exports.YearParser = YearParser; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/parsers/index.js b/node_modules/date-fns/parse/_lib/parsers/index.js new file mode 100644 index 000000000..9bd3f9064 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/parsers/index.js @@ -0,0 +1,114 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.parsers = void 0; +var _EraParser = require("./EraParser.js"); +var _YearParser = require("./YearParser.js"); +var _LocalWeekYearParser = require("./LocalWeekYearParser.js"); +var _ISOWeekYearParser = require("./ISOWeekYearParser.js"); +var _ExtendedYearParser = require("./ExtendedYearParser.js"); +var _QuarterParser = require("./QuarterParser.js"); +var _StandAloneQuarterParser = require("./StandAloneQuarterParser.js"); +var _MonthParser = require("./MonthParser.js"); +var _StandAloneMonthParser = require("./StandAloneMonthParser.js"); +var _LocalWeekParser = require("./LocalWeekParser.js"); +var _ISOWeekParser = require("./ISOWeekParser.js"); +var _DateParser = require("./DateParser.js"); +var _DayOfYearParser = require("./DayOfYearParser.js"); +var _DayParser = require("./DayParser.js"); +var _LocalDayParser = require("./LocalDayParser.js"); +var _StandAloneLocalDayParser = require("./StandAloneLocalDayParser.js"); +var _ISODayParser = require("./ISODayParser.js"); +var _AMPMParser = require("./AMPMParser.js"); +var _AMPMMidnightParser = require("./AMPMMidnightParser.js"); +var _DayPeriodParser = require("./DayPeriodParser.js"); +var _Hour1to12Parser = require("./Hour1to12Parser.js"); +var _Hour0to23Parser = require("./Hour0to23Parser.js"); +var _Hour0To11Parser = require("./Hour0To11Parser.js"); +var _Hour1To24Parser = require("./Hour1To24Parser.js"); +var _MinuteParser = require("./MinuteParser.js"); +var _SecondParser = require("./SecondParser.js"); +var _FractionOfSecondParser = require("./FractionOfSecondParser.js"); +var _ISOTimezoneWithZParser = require("./ISOTimezoneWithZParser.js"); +var _ISOTimezoneParser = require("./ISOTimezoneParser.js"); +var _TimestampSecondsParser = require("./TimestampSecondsParser.js"); +var _TimestampMillisecondsParser = require("./TimestampMillisecondsParser.js"); +/* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | Milliseconds in day | + * | b | AM, PM, noon, midnight | B | Flexible day period | + * | c | Stand-alone local day of week | C* | Localized hour w/ day period | + * | d | Day of month | D | Day of year | + * | e | Local day of week | E | Day of week | + * | f | | F* | Day of week in month | + * | g* | Modified Julian day | G | Era | + * | h | Hour [1-12] | H | Hour [0-23] | + * | i! | ISO day of week | I! | ISO week of year | + * | j* | Localized hour w/ day period | J* | Localized hour w/o day period | + * | k | Hour [1-24] | K | Hour [0-11] | + * | l* | (deprecated) | L | Stand-alone month | + * | m | Minute | M | Month | + * | n | | N | | + * | o! | Ordinal number modifier | O* | Timezone (GMT) | + * | p | | P | | + * | q | Stand-alone quarter | Q | Quarter | + * | r* | Related Gregorian year | R! | ISO week-numbering year | + * | s | Second | S | Fraction of second | + * | t! | Seconds timestamp | T! | Milliseconds timestamp | + * | u | Extended year | U* | Cyclic year | + * | v* | Timezone (generic non-locat.) | V* | Timezone (location) | + * | w | Local week of year | W* | Week of month | + * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) | + * | y | Year (abs) | Y | Local week-numbering year | + * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + * + * Letters marked by ! are non-standard, but implemented by date-fns: + * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs) + * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days, + * i.e. 7 for Sunday, 1 for Monday, etc. + * - `I` is ISO week of year, as opposed to `w` which is local week of year. + * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year. + * `R` is supposed to be used in conjunction with `I` and `i` + * for universal ISO week-numbering date, whereas + * `Y` is supposed to be used in conjunction with `w` and `e` + * for week-numbering date specific to the locale. + */ +var parsers = { + G: new _EraParser.EraParser(), + y: new _YearParser.YearParser(), + Y: new _LocalWeekYearParser.LocalWeekYearParser(), + R: new _ISOWeekYearParser.ISOWeekYearParser(), + u: new _ExtendedYearParser.ExtendedYearParser(), + Q: new _QuarterParser.QuarterParser(), + q: new _StandAloneQuarterParser.StandAloneQuarterParser(), + M: new _MonthParser.MonthParser(), + L: new _StandAloneMonthParser.StandAloneMonthParser(), + w: new _LocalWeekParser.LocalWeekParser(), + I: new _ISOWeekParser.ISOWeekParser(), + d: new _DateParser.DateParser(), + D: new _DayOfYearParser.DayOfYearParser(), + E: new _DayParser.DayParser(), + e: new _LocalDayParser.LocalDayParser(), + c: new _StandAloneLocalDayParser.StandAloneLocalDayParser(), + i: new _ISODayParser.ISODayParser(), + a: new _AMPMParser.AMPMParser(), + b: new _AMPMMidnightParser.AMPMMidnightParser(), + B: new _DayPeriodParser.DayPeriodParser(), + h: new _Hour1to12Parser.Hour1to12Parser(), + H: new _Hour0to23Parser.Hour0to23Parser(), + K: new _Hour0To11Parser.Hour0To11Parser(), + k: new _Hour1To24Parser.Hour1To24Parser(), + m: new _MinuteParser.MinuteParser(), + s: new _SecondParser.SecondParser(), + S: new _FractionOfSecondParser.FractionOfSecondParser(), + X: new _ISOTimezoneWithZParser.ISOTimezoneWithZParser(), + x: new _ISOTimezoneParser.ISOTimezoneParser(), + t: new _TimestampSecondsParser.TimestampSecondsParser(), + T: new _TimestampMillisecondsParser.TimestampMillisecondsParser() +}; +exports.parsers = parsers; \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/types.js b/node_modules/date-fns/parse/_lib/types.js new file mode 100644 index 000000000..430afc16c --- /dev/null +++ b/node_modules/date-fns/parse/_lib/types.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/node_modules/date-fns/parse/_lib/utils.js b/node_modules/date-fns/parse/_lib/utils.js new file mode 100644 index 000000000..dba676c16 --- /dev/null +++ b/node_modules/date-fns/parse/_lib/utils.js @@ -0,0 +1,126 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.dayPeriodEnumToHours = dayPeriodEnumToHours; +exports.isLeapYearIndex = isLeapYearIndex; +exports.mapValue = mapValue; +exports.normalizeTwoDigitYear = normalizeTwoDigitYear; +exports.parseAnyDigitsSigned = parseAnyDigitsSigned; +exports.parseNDigits = parseNDigits; +exports.parseNDigitsSigned = parseNDigitsSigned; +exports.parseNumericPattern = parseNumericPattern; +exports.parseTimezonePattern = parseTimezonePattern; +var _index = require("../../constants/index.js"); +var _constants = require("./constants.js"); +function mapValue(parseFnResult, mapFn) { + if (!parseFnResult) { + return parseFnResult; + } + return { + value: mapFn(parseFnResult.value), + rest: parseFnResult.rest + }; +} +function parseNumericPattern(pattern, dateString) { + var matchResult = dateString.match(pattern); + if (!matchResult) { + return null; + } + return { + value: parseInt(matchResult[0], 10), + rest: dateString.slice(matchResult[0].length) + }; +} +function parseTimezonePattern(pattern, dateString) { + var matchResult = dateString.match(pattern); + if (!matchResult) { + return null; + } + + // Input is 'Z' + if (matchResult[0] === 'Z') { + return { + value: 0, + rest: dateString.slice(1) + }; + } + var sign = matchResult[1] === '+' ? 1 : -1; + var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0; + var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0; + var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0; + return { + value: sign * (hours * _index.millisecondsInHour + minutes * _index.millisecondsInMinute + seconds * _index.millisecondsInSecond), + rest: dateString.slice(matchResult[0].length) + }; +} +function parseAnyDigitsSigned(dateString) { + return parseNumericPattern(_constants.numericPatterns.anyDigitsSigned, dateString); +} +function parseNDigits(n, dateString) { + switch (n) { + case 1: + return parseNumericPattern(_constants.numericPatterns.singleDigit, dateString); + case 2: + return parseNumericPattern(_constants.numericPatterns.twoDigits, dateString); + case 3: + return parseNumericPattern(_constants.numericPatterns.threeDigits, dateString); + case 4: + return parseNumericPattern(_constants.numericPatterns.fourDigits, dateString); + default: + return parseNumericPattern(new RegExp('^\\d{1,' + n + '}'), dateString); + } +} +function parseNDigitsSigned(n, dateString) { + switch (n) { + case 1: + return parseNumericPattern(_constants.numericPatterns.singleDigitSigned, dateString); + case 2: + return parseNumericPattern(_constants.numericPatterns.twoDigitsSigned, dateString); + case 3: + return parseNumericPattern(_constants.numericPatterns.threeDigitsSigned, dateString); + case 4: + return parseNumericPattern(_constants.numericPatterns.fourDigitsSigned, dateString); + default: + return parseNumericPattern(new RegExp('^-?\\d{1,' + n + '}'), dateString); + } +} +function dayPeriodEnumToHours(dayPeriod) { + switch (dayPeriod) { + case 'morning': + return 4; + case 'evening': + return 17; + case 'pm': + case 'noon': + case 'afternoon': + return 12; + case 'am': + case 'midnight': + case 'night': + default: + return 0; + } +} +function normalizeTwoDigitYear(twoDigitYear, currentYear) { + var isCommonEra = currentYear > 0; + // Absolute number of the current year: + // 1 -> 1 AC + // 0 -> 1 BC + // -1 -> 2 BC + var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear; + var result; + if (absCurrentYear <= 50) { + result = twoDigitYear || 100; + } else { + var rangeEnd = absCurrentYear + 50; + var rangeEndCentury = Math.floor(rangeEnd / 100) * 100; + var isPreviousCentury = twoDigitYear >= rangeEnd % 100; + result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0); + } + return isCommonEra ? result : 1 - result; +} +function isLeapYearIndex(year) { + return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; +} \ No newline at end of file diff --git a/node_modules/date-fns/parse/index.d.ts b/node_modules/date-fns/parse/index.d.ts new file mode 100644 index 000000000..2c5eb60d5 --- /dev/null +++ b/node_modules/date-fns/parse/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parse } from 'date-fns' +export default parse diff --git a/node_modules/date-fns/parse/index.js b/node_modules/date-fns/parse/index.js new file mode 100644 index 000000000..324fe25fd --- /dev/null +++ b/node_modules/date-fns/parse/index.js @@ -0,0 +1,514 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parse; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _createForOfIteratorHelper2 = _interopRequireDefault(require("@babel/runtime/helpers/createForOfIteratorHelper")); +var _index = _interopRequireDefault(require("../_lib/defaultLocale/index.js")); +var _index2 = _interopRequireDefault(require("../subMilliseconds/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/assign/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/format/longFormatters/index.js")); +var _index6 = _interopRequireDefault(require("../_lib/getTimezoneOffsetInMilliseconds/index.js")); +var _index7 = require("../_lib/protectedTokens/index.js"); +var _index8 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index9 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _Setter = require("./_lib/Setter.js"); +var _index10 = require("./_lib/parsers/index.js"); +var _index11 = require("../_lib/defaultOptions/index.js"); +// This RegExp consists of three parts separated by `|`: +// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token +// (one of the certain letters followed by `o`) +// - (\w)\1* matches any sequences of the same letter +// - '' matches two quote characters in a row +// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), +// except a single quote symbol, which ends the sequence. +// Two quote characters do not end the sequence. +// If there is no matching single quote +// then the sequence will continue until the end of the string. +// - . matches any single character unmatched by previous parts of the RegExps +var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; + +// This RegExp catches symbols escaped by quotes, and also +// sequences of symbols P, p, and the combinations like `PPPPPPPppppp` +var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g; +var escapedStringRegExp = /^'([^]*?)'?$/; +var doubleQuoteRegExp = /''/g; +var notWhitespaceRegExp = /\S/; +var unescapedLatinCharacterRegExp = /[a-zA-Z]/; + +/** + * @name parse + * @category Common Helpers + * @summary Parse the date. + * + * @description + * Return the date parsed from string using the given format string. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * parse('23 AM', 'HH a', new Date()) + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Sun | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Sun | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Sun | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `parse` will try to match both formatting and stand-alone units interchangably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `parse` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00` + * + * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00` + * + * while `uu` will just assign the year as is: + * + * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00` + * + * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear} + * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be assigned to the date in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year), + * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing. + * + * `referenceDate` must be passed for correct work of the function. + * If you're not sure which `referenceDate` to supply, create a new instance of Date: + * `parse('02/11/2014', 'MM/dd/yyyy', new Date())` + * In this case parsing will be done in the context of the current date. + * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`, + * then `Invalid Date` will be returned. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * If parsing failed, `Invalid Date` will be returned. + * Invalid Date is a Date, whose time value is NaN. + * Time value of Date: http://es5.github.io/#x15.9.1.1 + * + * @param {String} dateString - the string to parse + * @param {String} formatString - the string of tokens + * @param {Date|Number} referenceDate - defines values missing from the parsed dateString + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`; + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @returns {Date} the parsed date + * @throws {TypeError} 3 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} `options.locale` must contain `match` property + * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws {RangeError} format string contains an unescaped latin alphabet character + * + * @example + * // Parse 11 February 2014 from middle-endian format: + * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date()) + * //=> Tue Feb 11 2014 00:00:00 + * + * @example + * // Parse 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * var result = parse('28-a de februaro', "do 'de' MMMM", new Date(2010, 0, 1), { + * locale: eo + * }) + * //=> Sun Feb 28 2010 00:00:00 + */ +function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options) { + var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4; + (0, _index9.default)(3, arguments); + var dateString = String(dirtyDateString); + var formatString = String(dirtyFormatString); + var defaultOptions = (0, _index11.getDefaultOptions)(); + var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : _index.default; + if (!locale.match) { + throw new RangeError('locale must contain match property'); + } + var firstWeekContainsDate = (0, _index8.default)((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively'); + } + var weekStartsOn = (0, _index8.default)((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + if (formatString === '') { + if (dateString === '') { + return (0, _index3.default)(dirtyReferenceDate); + } else { + return new Date(NaN); + } + } + var subFnOptions = { + firstWeekContainsDate: firstWeekContainsDate, + weekStartsOn: weekStartsOn, + locale: locale + }; + + // If timezone isn't specified, it will be set to the system timezone + var setters = [new _Setter.DateToSystemTimezoneSetter()]; + var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) { + var firstCharacter = substring[0]; + if (firstCharacter in _index5.default) { + var longFormatter = _index5.default[firstCharacter]; + return longFormatter(substring, locale.formatLong); + } + return substring; + }).join('').match(formattingTokensRegExp); + var usedTokens = []; + var _iterator = (0, _createForOfIteratorHelper2.default)(tokens), + _step; + try { + var _loop = function _loop() { + var token = _step.value; + if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && (0, _index7.isProtectedWeekYearToken)(token)) { + (0, _index7.throwProtectedError)(token, formatString, dirtyDateString); + } + if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && (0, _index7.isProtectedDayOfYearToken)(token)) { + (0, _index7.throwProtectedError)(token, formatString, dirtyDateString); + } + var firstCharacter = token[0]; + var parser = _index10.parsers[firstCharacter]; + if (parser) { + var incompatibleTokens = parser.incompatibleTokens; + if (Array.isArray(incompatibleTokens)) { + var incompatibleToken = usedTokens.find(function (usedToken) { + return incompatibleTokens.includes(usedToken.token) || usedToken.token === firstCharacter; + }); + if (incompatibleToken) { + throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time")); + } + } else if (parser.incompatibleTokens === '*' && usedTokens.length > 0) { + throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time")); + } + usedTokens.push({ + token: firstCharacter, + fullToken: token + }); + var parseResult = parser.run(dateString, token, locale.match, subFnOptions); + if (!parseResult) { + return { + v: new Date(NaN) + }; + } + setters.push(parseResult.setter); + dateString = parseResult.rest; + } else { + if (firstCharacter.match(unescapedLatinCharacterRegExp)) { + throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`'); + } + + // Replace two single quote characters with one single quote character + if (token === "''") { + token = "'"; + } else if (firstCharacter === "'") { + token = cleanEscapedString(token); + } + + // Cut token from string, or, if string doesn't match the token, return Invalid Date + if (dateString.indexOf(token) === 0) { + dateString = dateString.slice(token.length); + } else { + return { + v: new Date(NaN) + }; + } + } + }; + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _ret = _loop(); + if ((0, _typeof2.default)(_ret) === "object") return _ret.v; + } + + // Check if the remaining input contains something other than whitespace + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) { + return new Date(NaN); + } + var uniquePrioritySetters = setters.map(function (setter) { + return setter.priority; + }).sort(function (a, b) { + return b - a; + }).filter(function (priority, index, array) { + return array.indexOf(priority) === index; + }).map(function (priority) { + return setters.filter(function (setter) { + return setter.priority === priority; + }).sort(function (a, b) { + return b.subPriority - a.subPriority; + }); + }).map(function (setterArray) { + return setterArray[0]; + }); + var date = (0, _index3.default)(dirtyReferenceDate); + if (isNaN(date.getTime())) { + return new Date(NaN); + } + + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + var utcDate = (0, _index2.default)(date, (0, _index6.default)(date)); + var flags = {}; + var _iterator2 = (0, _createForOfIteratorHelper2.default)(uniquePrioritySetters), + _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var setter = _step2.value; + if (!setter.validate(utcDate, subFnOptions)) { + return new Date(NaN); + } + var result = setter.set(utcDate, flags, subFnOptions); + // Result is tuple (date, flags) + if (Array.isArray(result)) { + utcDate = result[0]; + (0, _index4.default)(flags, result[1]); + // Result is date + } else { + utcDate = result; + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + return utcDate; +} +function cleanEscapedString(input) { + return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'"); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/parse/index.js.flow b/node_modules/date-fns/parse/index.js.flow new file mode 100644 index 000000000..f8e1cfe9d --- /dev/null +++ b/node_modules/date-fns/parse/index.js.flow @@ -0,0 +1,63 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + useAdditionalWeekYearTokens?: boolean, + useAdditionalDayOfYearTokens?: boolean, + } +) => Date diff --git a/node_modules/date-fns/parse/package.json b/node_modules/date-fns/parse/package.json new file mode 100644 index 000000000..8e25092a9 --- /dev/null +++ b/node_modules/date-fns/parse/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/parse/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/parseISO/index.d.ts b/node_modules/date-fns/parseISO/index.d.ts new file mode 100644 index 000000000..ee06fe62e --- /dev/null +++ b/node_modules/date-fns/parseISO/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseISO } from 'date-fns' +export default parseISO diff --git a/node_modules/date-fns/parseISO/index.js b/node_modules/date-fns/parseISO/index.js new file mode 100644 index 000000000..5a0de89fe --- /dev/null +++ b/node_modules/date-fns/parseISO/index.js @@ -0,0 +1,236 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parseISO; +var _index = require("../constants/index.js"); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name parseISO + * @category Common Helpers + * @summary Parse ISO string + * + * @description + * Parse the given string in ISO 8601 format and return an instance of Date. + * + * Function accepts complete ISO 8601 formats as well as partial implementations. + * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601 + * + * If the argument isn't a string, the function cannot parse the string or + * the values are invalid, it returns Invalid Date. + * + * @param {String} argument - the value to convert + * @param {Object} [options] - an object with options. + * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Convert string '2014-02-11T11:30:30' to date: + * const result = parseISO('2014-02-11T11:30:30') + * //=> Tue Feb 11 2014 11:30:30 + * + * @example + * // Convert string '+02014101' to date, + * // if the additional number of digits in the extended year format is 1: + * const result = parseISO('+02014101', { additionalDigits: 1 }) + * //=> Fri Apr 11 2014 00:00:00 + */ +function parseISO(argument, options) { + var _options$additionalDi; + (0, _index2.default)(1, arguments); + var additionalDigits = (0, _index3.default)((_options$additionalDi = options === null || options === void 0 ? void 0 : options.additionalDigits) !== null && _options$additionalDi !== void 0 ? _options$additionalDi : 2); + if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) { + throw new RangeError('additionalDigits must be 0, 1 or 2'); + } + if (!(typeof argument === 'string' || Object.prototype.toString.call(argument) === '[object String]')) { + return new Date(NaN); + } + var dateStrings = splitDateString(argument); + var date; + if (dateStrings.date) { + var parseYearResult = parseYear(dateStrings.date, additionalDigits); + date = parseDate(parseYearResult.restDateString, parseYearResult.year); + } + if (!date || isNaN(date.getTime())) { + return new Date(NaN); + } + var timestamp = date.getTime(); + var time = 0; + var offset; + if (dateStrings.time) { + time = parseTime(dateStrings.time); + if (isNaN(time)) { + return new Date(NaN); + } + } + if (dateStrings.timezone) { + offset = parseTimezone(dateStrings.timezone); + if (isNaN(offset)) { + return new Date(NaN); + } + } else { + var dirtyDate = new Date(timestamp + time); + // js parsed string assuming it's in UTC timezone + // but we need it to be parsed in our timezone + // so we use utc values to build date in our timezone. + // Year values from 0 to 99 map to the years 1900 to 1999 + // so set year explicitly with setFullYear. + var result = new Date(0); + result.setFullYear(dirtyDate.getUTCFullYear(), dirtyDate.getUTCMonth(), dirtyDate.getUTCDate()); + result.setHours(dirtyDate.getUTCHours(), dirtyDate.getUTCMinutes(), dirtyDate.getUTCSeconds(), dirtyDate.getUTCMilliseconds()); + return result; + } + return new Date(timestamp + time + offset); +} +var patterns = { + dateTimeDelimiter: /[T ]/, + timeZoneDelimiter: /[Z ]/i, + timezone: /([Z+-].*)$/ +}; +var dateRegex = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/; +var timeRegex = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/; +var timezoneRegex = /^([+-])(\d{2})(?::?(\d{2}))?$/; +function splitDateString(dateString) { + var dateStrings = {}; + var array = dateString.split(patterns.dateTimeDelimiter); + var timeString; + + // The regex match should only return at maximum two array elements. + // [date], [time], or [date, time]. + if (array.length > 2) { + return dateStrings; + } + if (/:/.test(array[0])) { + timeString = array[0]; + } else { + dateStrings.date = array[0]; + timeString = array[1]; + if (patterns.timeZoneDelimiter.test(dateStrings.date)) { + dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0]; + timeString = dateString.substr(dateStrings.date.length, dateString.length); + } + } + if (timeString) { + var token = patterns.timezone.exec(timeString); + if (token) { + dateStrings.time = timeString.replace(token[1], ''); + dateStrings.timezone = token[1]; + } else { + dateStrings.time = timeString; + } + } + return dateStrings; +} +function parseYear(dateString, additionalDigits) { + var regex = new RegExp('^(?:(\\d{4}|[+-]\\d{' + (4 + additionalDigits) + '})|(\\d{2}|[+-]\\d{' + (2 + additionalDigits) + '})$)'); + var captures = dateString.match(regex); + // Invalid ISO-formatted year + if (!captures) return { + year: NaN, + restDateString: '' + }; + var year = captures[1] ? parseInt(captures[1]) : null; + var century = captures[2] ? parseInt(captures[2]) : null; + + // either year or century is null, not both + return { + year: century === null ? year : century * 100, + restDateString: dateString.slice((captures[1] || captures[2]).length) + }; +} +function parseDate(dateString, year) { + // Invalid ISO-formatted year + if (year === null) return new Date(NaN); + var captures = dateString.match(dateRegex); + // Invalid ISO-formatted string + if (!captures) return new Date(NaN); + var isWeekDate = !!captures[4]; + var dayOfYear = parseDateUnit(captures[1]); + var month = parseDateUnit(captures[2]) - 1; + var day = parseDateUnit(captures[3]); + var week = parseDateUnit(captures[4]); + var dayOfWeek = parseDateUnit(captures[5]) - 1; + if (isWeekDate) { + if (!validateWeekDate(year, week, dayOfWeek)) { + return new Date(NaN); + } + return dayOfISOWeekYear(year, week, dayOfWeek); + } else { + var date = new Date(0); + if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) { + return new Date(NaN); + } + date.setUTCFullYear(year, month, Math.max(dayOfYear, day)); + return date; + } +} +function parseDateUnit(value) { + return value ? parseInt(value) : 1; +} +function parseTime(timeString) { + var captures = timeString.match(timeRegex); + if (!captures) return NaN; // Invalid ISO-formatted time + + var hours = parseTimeUnit(captures[1]); + var minutes = parseTimeUnit(captures[2]); + var seconds = parseTimeUnit(captures[3]); + if (!validateTime(hours, minutes, seconds)) { + return NaN; + } + return hours * _index.millisecondsInHour + minutes * _index.millisecondsInMinute + seconds * 1000; +} +function parseTimeUnit(value) { + return value && parseFloat(value.replace(',', '.')) || 0; +} +function parseTimezone(timezoneString) { + if (timezoneString === 'Z') return 0; + var captures = timezoneString.match(timezoneRegex); + if (!captures) return 0; + var sign = captures[1] === '+' ? -1 : 1; + var hours = parseInt(captures[2]); + var minutes = captures[3] && parseInt(captures[3]) || 0; + if (!validateTimezone(hours, minutes)) { + return NaN; + } + return sign * (hours * _index.millisecondsInHour + minutes * _index.millisecondsInMinute); +} +function dayOfISOWeekYear(isoWeekYear, week, day) { + var date = new Date(0); + date.setUTCFullYear(isoWeekYear, 0, 4); + var fourthOfJanuaryDay = date.getUTCDay() || 7; + var diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; +} + +// Validation functions + +// February is null to handle the leap year (using ||) +var daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +function isLeapYearIndex(year) { + return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0; +} +function validateDate(year, month, date) { + return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28)); +} +function validateDayOfYearDate(year, dayOfYear) { + return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365); +} +function validateWeekDate(_year, week, day) { + return week >= 1 && week <= 53 && day >= 0 && day <= 6; +} +function validateTime(hours, minutes, seconds) { + if (hours === 24) { + return minutes === 0 && seconds === 0; + } + return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25; +} +function validateTimezone(_hours, minutes) { + return minutes >= 0 && minutes <= 59; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/parseISO/index.js.flow b/node_modules/date-fns/parseISO/index.js.flow new file mode 100644 index 000000000..951a222e9 --- /dev/null +++ b/node_modules/date-fns/parseISO/index.js.flow @@ -0,0 +1,57 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2, + } +) => Date diff --git a/node_modules/date-fns/parseISO/package.json b/node_modules/date-fns/parseISO/package.json new file mode 100644 index 000000000..e19225171 --- /dev/null +++ b/node_modules/date-fns/parseISO/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/parseISO/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/parseJSON/index.d.ts b/node_modules/date-fns/parseJSON/index.d.ts new file mode 100644 index 000000000..b6b186d83 --- /dev/null +++ b/node_modules/date-fns/parseJSON/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { parseJSON } from 'date-fns' +export default parseJSON diff --git a/node_modules/date-fns/parseJSON/index.js b/node_modules/date-fns/parseJSON/index.js new file mode 100644 index 000000000..39489bda7 --- /dev/null +++ b/node_modules/date-fns/parseJSON/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parseJSON; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name parseJSON + * @category Common Helpers + * @summary Parse a JSON date string + * + * @description + * Converts a complete ISO date string in UTC time, the typical format for transmitting + * a date in JSON, to a JavaScript `Date` instance. + * + * This is a minimal implementation for converting dates retrieved from a JSON API to + * a `Date` instance which can be used with other functions in the `date-fns` library. + * The following formats are supported: + * + * - `2000-03-15T05:20:10.123Z`: The output of `.toISOString()` and `JSON.stringify(new Date())` + * - `2000-03-15T05:20:10Z`: Without milliseconds + * - `2000-03-15T05:20:10+00:00`: With a zero offset, the default JSON encoded format in some other languages + * - `2000-03-15T05:20:10+05:45`: With a positive or negative offset, the default JSON encoded format in some other languages + * - `2000-03-15T05:20:10+0000`: With a zero offset without a colon + * - `2000-03-15T05:20:10`: Without a trailing 'Z' symbol + * - `2000-03-15T05:20:10.1234567`: Up to 7 digits in milliseconds field. Only first 3 are taken into account since JS does not allow fractional milliseconds + * - `2000-03-15 05:20:10`: With a space instead of a 'T' separator for APIs returning a SQL date without reformatting + * + * For convenience and ease of use these other input types are also supported + * via [toDate]{@link https://date-fns.org/docs/toDate}: + * + * - A `Date` instance will be cloned + * - A `number` will be treated as a timestamp + * + * Any other input type or invalid date strings will return an `Invalid Date`. + * + * @param {String|Number|Date} argument A fully formed ISO8601 date string to convert + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + */ +function parseJSON(argument) { + (0, _index2.default)(1, arguments); + if (typeof argument === 'string') { + var parts = argument.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/); + if (parts) { + // Group 8 matches the sign + return new Date(Date.UTC(+parts[1], +parts[2] - 1, +parts[3], +parts[4] - (+parts[9] || 0) * (parts[8] == '-' ? -1 : 1), +parts[5] - (+parts[10] || 0) * (parts[8] == '-' ? -1 : 1), +parts[6], +((parts[7] || '0') + '00').substring(0, 3))); + } + return new Date(NaN); + } + return (0, _index.default)(argument); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/parseJSON/index.js.flow b/node_modules/date-fns/parseJSON/index.js.flow new file mode 100644 index 000000000..c4801bf39 --- /dev/null +++ b/node_modules/date-fns/parseJSON/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (argument: string | number | Date) => Date diff --git a/node_modules/date-fns/parseJSON/package.json b/node_modules/date-fns/parseJSON/package.json new file mode 100644 index 000000000..44f4b4ec8 --- /dev/null +++ b/node_modules/date-fns/parseJSON/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/parseJSON/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousDay/index.d.ts b/node_modules/date-fns/previousDay/index.d.ts new file mode 100644 index 000000000..0e6a8c997 --- /dev/null +++ b/node_modules/date-fns/previousDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousDay } from 'date-fns' +export default previousDay diff --git a/node_modules/date-fns/previousDay/index.js b/node_modules/date-fns/previousDay/index.js new file mode 100644 index 000000000..5fe62574e --- /dev/null +++ b/node_modules/date-fns/previousDay/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousDay; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../getDay/index.js")); +var _index3 = _interopRequireDefault(require("../subDays/index.js")); +/** + * @name previousDay + * @category Weekday Helpers + * @summary When is the previous day of the week? + * + * @description + * When is the previous day of the week? 0-6 the day of the week, 0 represents Sunday. + * + * @param {Date | number} date - the date to check + * @param {number} day - day of the week + * @returns {Date} - the date is the previous day of week + * @throws {TypeError} - 2 arguments required + * + * @example + * // When is the previous Monday before Mar, 20, 2020? + * const result = previousDay(new Date(2020, 2, 20), 1) + * //=> Mon Mar 16 2020 00:00:00 + * + * @example + * // When is the previous Tuesday before Mar, 21, 2020? + * const result = previousDay(new Date(2020, 2, 21), 2) + * //=> Tue Mar 17 2020 00:00:00 + */ +function previousDay(date, day) { + (0, _index.default)(2, arguments); + var delta = (0, _index2.default)(date) - day; + if (delta <= 0) delta += 7; + return (0, _index3.default)(date, delta); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousDay/index.js.flow b/node_modules/date-fns/previousDay/index.js.flow new file mode 100644 index 000000000..07b06297b --- /dev/null +++ b/node_modules/date-fns/previousDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, day: number) => Date diff --git a/node_modules/date-fns/previousDay/package.json b/node_modules/date-fns/previousDay/package.json new file mode 100644 index 000000000..618cfa067 --- /dev/null +++ b/node_modules/date-fns/previousDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousFriday/index.d.ts b/node_modules/date-fns/previousFriday/index.d.ts new file mode 100644 index 000000000..1d68bdfc0 --- /dev/null +++ b/node_modules/date-fns/previousFriday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousFriday } from 'date-fns' +export default previousFriday diff --git a/node_modules/date-fns/previousFriday/index.js b/node_modules/date-fns/previousFriday/index.js new file mode 100644 index 000000000..f9df3c010 --- /dev/null +++ b/node_modules/date-fns/previousFriday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousFriday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousFriday + * @category Weekday Helpers + * @summary When is the previous Friday? + * + * @description + * When is the previous Friday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Friday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Friday before Jun, 19, 2021? + * const result = previousFriday(new Date(2021, 5, 19)) + * //=> Fri June 18 2021 00:00:00 + */ +function previousFriday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 5); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousFriday/index.js.flow b/node_modules/date-fns/previousFriday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousFriday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousFriday/package.json b/node_modules/date-fns/previousFriday/package.json new file mode 100644 index 000000000..54fade6a9 --- /dev/null +++ b/node_modules/date-fns/previousFriday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousFriday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousMonday/index.d.ts b/node_modules/date-fns/previousMonday/index.d.ts new file mode 100644 index 000000000..2bebd14b5 --- /dev/null +++ b/node_modules/date-fns/previousMonday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousMonday } from 'date-fns' +export default previousMonday diff --git a/node_modules/date-fns/previousMonday/index.js b/node_modules/date-fns/previousMonday/index.js new file mode 100644 index 000000000..23cd519a2 --- /dev/null +++ b/node_modules/date-fns/previousMonday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousMonday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousMonday + * @category Weekday Helpers + * @summary When is the previous Monday? + * + * @description + * When is the previous Monday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Monday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Monday before Jun, 18, 2021? + * const result = previousMonday(new Date(2021, 5, 18)) + * //=> Mon June 14 2021 00:00:00 + */ +function previousMonday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 1); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousMonday/index.js.flow b/node_modules/date-fns/previousMonday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousMonday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousMonday/package.json b/node_modules/date-fns/previousMonday/package.json new file mode 100644 index 000000000..864139830 --- /dev/null +++ b/node_modules/date-fns/previousMonday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousMonday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousSaturday/index.d.ts b/node_modules/date-fns/previousSaturday/index.d.ts new file mode 100644 index 000000000..a0c928951 --- /dev/null +++ b/node_modules/date-fns/previousSaturday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSaturday } from 'date-fns' +export default previousSaturday diff --git a/node_modules/date-fns/previousSaturday/index.js b/node_modules/date-fns/previousSaturday/index.js new file mode 100644 index 000000000..afc5249e8 --- /dev/null +++ b/node_modules/date-fns/previousSaturday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousSaturday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousSaturday + * @category Weekday Helpers + * @summary When is the previous Saturday? + * + * @description + * When is the previous Saturday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Saturday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Saturday before Jun, 20, 2021? + * const result = previousSaturday(new Date(2021, 5, 20)) + * //=> Sat June 19 2021 00:00:00 + */ +function previousSaturday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 6); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousSaturday/index.js.flow b/node_modules/date-fns/previousSaturday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousSaturday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousSaturday/package.json b/node_modules/date-fns/previousSaturday/package.json new file mode 100644 index 000000000..cb15ba7cb --- /dev/null +++ b/node_modules/date-fns/previousSaturday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousSaturday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousSunday/index.d.ts b/node_modules/date-fns/previousSunday/index.d.ts new file mode 100644 index 000000000..79ba9a435 --- /dev/null +++ b/node_modules/date-fns/previousSunday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousSunday } from 'date-fns' +export default previousSunday diff --git a/node_modules/date-fns/previousSunday/index.js b/node_modules/date-fns/previousSunday/index.js new file mode 100644 index 000000000..267454ef1 --- /dev/null +++ b/node_modules/date-fns/previousSunday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousSunday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousSunday + * @category Weekday Helpers + * @summary When is the previous Sunday? + * + * @description + * When is the previous Sunday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Sunday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Sunday before Jun, 21, 2021? + * const result = previousSunday(new Date(2021, 5, 21)) + * //=> Sun June 20 2021 00:00:00 + */ +function previousSunday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 0); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousSunday/index.js.flow b/node_modules/date-fns/previousSunday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousSunday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousSunday/package.json b/node_modules/date-fns/previousSunday/package.json new file mode 100644 index 000000000..cfe6dd936 --- /dev/null +++ b/node_modules/date-fns/previousSunday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousSunday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousThursday/index.d.ts b/node_modules/date-fns/previousThursday/index.d.ts new file mode 100644 index 000000000..ba1d22ab8 --- /dev/null +++ b/node_modules/date-fns/previousThursday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousThursday } from 'date-fns' +export default previousThursday diff --git a/node_modules/date-fns/previousThursday/index.js b/node_modules/date-fns/previousThursday/index.js new file mode 100644 index 000000000..cb9fafa95 --- /dev/null +++ b/node_modules/date-fns/previousThursday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousThursday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousThursday + * @category Weekday Helpers + * @summary When is the previous Thursday? + * + * @description + * When is the previous Thursday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Thursday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Thursday before Jun, 18, 2021? + * const result = previousThursday(new Date(2021, 5, 18)) + * //=> Thu June 17 2021 00:00:00 + */ +function previousThursday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 4); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousThursday/index.js.flow b/node_modules/date-fns/previousThursday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousThursday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousThursday/package.json b/node_modules/date-fns/previousThursday/package.json new file mode 100644 index 000000000..d3b0c5832 --- /dev/null +++ b/node_modules/date-fns/previousThursday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousThursday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousTuesday/index.d.ts b/node_modules/date-fns/previousTuesday/index.d.ts new file mode 100644 index 000000000..4c7094d13 --- /dev/null +++ b/node_modules/date-fns/previousTuesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousTuesday } from 'date-fns' +export default previousTuesday diff --git a/node_modules/date-fns/previousTuesday/index.js b/node_modules/date-fns/previousTuesday/index.js new file mode 100644 index 000000000..fa74c0a72 --- /dev/null +++ b/node_modules/date-fns/previousTuesday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousTuesday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousTuesday + * @category Weekday Helpers + * @summary When is the previous Tuesday? + * + * @description + * When is the previous Tuesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Tuesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Tuesday before Jun, 18, 2021? + * const result = previousTuesday(new Date(2021, 5, 18)) + * //=> Tue June 15 2021 00:00:00 + */ +function previousTuesday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 2); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousTuesday/index.js.flow b/node_modules/date-fns/previousTuesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousTuesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousTuesday/package.json b/node_modules/date-fns/previousTuesday/package.json new file mode 100644 index 000000000..eeef5d9ae --- /dev/null +++ b/node_modules/date-fns/previousTuesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousTuesday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/previousWednesday/index.d.ts b/node_modules/date-fns/previousWednesday/index.d.ts new file mode 100644 index 000000000..28010ea3c --- /dev/null +++ b/node_modules/date-fns/previousWednesday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { previousWednesday } from 'date-fns' +export default previousWednesday diff --git a/node_modules/date-fns/previousWednesday/index.js b/node_modules/date-fns/previousWednesday/index.js new file mode 100644 index 000000000..fda6b7c6e --- /dev/null +++ b/node_modules/date-fns/previousWednesday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = previousWednesday; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = _interopRequireDefault(require("../previousDay/index.js")); +/** + * @name previousWednesday + * @category Weekday Helpers + * @summary When is the previous Wednesday? + * + * @description + * When is the previous Wednesday? + * + * @param {Date | number} date - the date to start counting from + * @returns {Date} the previous Wednesday + * @throws {TypeError} 1 argument required + * + * @example + * // When is the previous Wednesday before Jun, 18, 2021? + * const result = previousWednesday(new Date(2021, 5, 18)) + * //=> Wed June 16 2021 00:00:00 + */ +function previousWednesday(date) { + (0, _index.default)(1, arguments); + return (0, _index2.default)(date, 3); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/previousWednesday/index.js.flow b/node_modules/date-fns/previousWednesday/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/previousWednesday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/previousWednesday/package.json b/node_modules/date-fns/previousWednesday/package.json new file mode 100644 index 000000000..c3b8c4ded --- /dev/null +++ b/node_modules/date-fns/previousWednesday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/previousWednesday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/quartersToMonths/index.d.ts b/node_modules/date-fns/quartersToMonths/index.d.ts new file mode 100644 index 000000000..d2df2e17b --- /dev/null +++ b/node_modules/date-fns/quartersToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToMonths } from 'date-fns' +export default quartersToMonths diff --git a/node_modules/date-fns/quartersToMonths/index.js b/node_modules/date-fns/quartersToMonths/index.js new file mode 100644 index 000000000..fcec6d285 --- /dev/null +++ b/node_modules/date-fns/quartersToMonths/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = quartersToMonths; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name quartersToMonths + * @category Conversion Helpers + * @summary Convert number of quarters to months. + * + * @description + * Convert a number of quarters to a full number of months. + * + * @param {number} quarters - number of quarters to be converted + * + * @returns {number} the number of quarters converted in months + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 quarters to months + * const result = quartersToMonths(2) + * //=> 6 + */ +function quartersToMonths(quarters) { + (0, _index.default)(1, arguments); + return Math.floor(quarters * _index2.monthsInQuarter); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/quartersToMonths/index.js.flow b/node_modules/date-fns/quartersToMonths/index.js.flow new file mode 100644 index 000000000..822592331 --- /dev/null +++ b/node_modules/date-fns/quartersToMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (quarters: number) => number diff --git a/node_modules/date-fns/quartersToMonths/package.json b/node_modules/date-fns/quartersToMonths/package.json new file mode 100644 index 000000000..2ee0c193f --- /dev/null +++ b/node_modules/date-fns/quartersToMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/quartersToMonths/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/quartersToYears/index.d.ts b/node_modules/date-fns/quartersToYears/index.d.ts new file mode 100644 index 000000000..124903788 --- /dev/null +++ b/node_modules/date-fns/quartersToYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { quartersToYears } from 'date-fns' +export default quartersToYears diff --git a/node_modules/date-fns/quartersToYears/index.js b/node_modules/date-fns/quartersToYears/index.js new file mode 100644 index 000000000..97391bac9 --- /dev/null +++ b/node_modules/date-fns/quartersToYears/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = quartersToYears; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name quartersToYears + * @category Conversion Helpers + * @summary Convert number of quarters to years. + * + * @description + * Convert a number of quarters to a full number of years. + * + * @param {number} quarters - number of quarters to be converted + * + * @returns {number} the number of quarters converted in years + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 8 quarters to years + * const result = quartersToYears(8) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = quartersToYears(11) + * //=> 2 + */ +function quartersToYears(quarters) { + (0, _index.default)(1, arguments); + var years = quarters / _index2.quartersInYear; + return Math.floor(years); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/quartersToYears/index.js.flow b/node_modules/date-fns/quartersToYears/index.js.flow new file mode 100644 index 000000000..822592331 --- /dev/null +++ b/node_modules/date-fns/quartersToYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (quarters: number) => number diff --git a/node_modules/date-fns/quartersToYears/package.json b/node_modules/date-fns/quartersToYears/package.json new file mode 100644 index 000000000..f5286dab8 --- /dev/null +++ b/node_modules/date-fns/quartersToYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/quartersToYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/roundToNearestMinutes/index.d.ts b/node_modules/date-fns/roundToNearestMinutes/index.d.ts new file mode 100644 index 000000000..8e564916a --- /dev/null +++ b/node_modules/date-fns/roundToNearestMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { roundToNearestMinutes } from 'date-fns' +export default roundToNearestMinutes diff --git a/node_modules/date-fns/roundToNearestMinutes/index.js b/node_modules/date-fns/roundToNearestMinutes/index.js new file mode 100644 index 000000000..cf1b92bae --- /dev/null +++ b/node_modules/date-fns/roundToNearestMinutes/index.js @@ -0,0 +1,57 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = roundToNearestMinutes; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = require("../_lib/roundingMethods/index.js"); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name roundToNearestMinutes + * @category Minute Helpers + * @summary Rounds the given date to the nearest minute + * + * @description + * Rounds the given date to the nearest minute (or number of minutes). + * Rounds up when the given date is exactly between the nearest round minutes. + * + * @param {Date|Number} date - the date to round + * @param {Object} [options] - an object with options. + * @param {Number} [options.nearestTo=1] - nearest number of minutes to round to. E.g. `15` to round to quarter hours. + * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`) + * @returns {Date} the new date rounded to the closest minute + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.nearestTo` must be between 1 and 30 + * + * @example + * // Round 10 July 2014 12:12:34 to nearest minute: + * const result = roundToNearestMinutes(new Date(2014, 6, 10, 12, 12, 34)) + * //=> Thu Jul 10 2014 12:13:00 + * + * @example + * // Round 10 July 2014 12:07:30 to nearest quarter hour: + * const result = roundToNearestMinutes(new Date(2014, 6, 10, 12, 12, 34), { nearestTo: 15 }) + * // rounds up because given date is exactly between 12:00:00 and 12:15:00 + * //=> Thu Jul 10 2014 12:15:00 + */ +function roundToNearestMinutes(dirtyDate, options) { + var _options$nearestTo; + if (arguments.length < 1) { + throw new TypeError('1 argument required, but only none provided present'); + } + var nearestTo = (0, _index3.default)((_options$nearestTo = options === null || options === void 0 ? void 0 : options.nearestTo) !== null && _options$nearestTo !== void 0 ? _options$nearestTo : 1); + if (nearestTo < 1 || nearestTo > 30) { + throw new RangeError('`options.nearestTo` must be between 1 and 30'); + } + var date = (0, _index.default)(dirtyDate); + var seconds = date.getSeconds(); // relevant if nearestTo is 1, which is the default case + var minutes = date.getMinutes() + seconds / 60; + var roundingMethod = (0, _index2.getRoundingMethod)(options === null || options === void 0 ? void 0 : options.roundingMethod); + var roundedMinutes = roundingMethod(minutes / nearestTo) * nearestTo; + var remainderMinutes = minutes % nearestTo; + var addedMinutes = Math.round(remainderMinutes / nearestTo) * nearestTo; + return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), roundedMinutes + addedMinutes); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/roundToNearestMinutes/index.js.flow b/node_modules/date-fns/roundToNearestMinutes/index.js.flow new file mode 100644 index 000000000..41b3dfa3d --- /dev/null +++ b/node_modules/date-fns/roundToNearestMinutes/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + nearestTo?: number, + roundingMethod?: string, + } +) => Date diff --git a/node_modules/date-fns/roundToNearestMinutes/package.json b/node_modules/date-fns/roundToNearestMinutes/package.json new file mode 100644 index 000000000..d8efa7876 --- /dev/null +++ b/node_modules/date-fns/roundToNearestMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/roundToNearestMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/secondsToHours/index.d.ts b/node_modules/date-fns/secondsToHours/index.d.ts new file mode 100644 index 000000000..89fcc9a43 --- /dev/null +++ b/node_modules/date-fns/secondsToHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToHours } from 'date-fns' +export default secondsToHours diff --git a/node_modules/date-fns/secondsToHours/index.js b/node_modules/date-fns/secondsToHours/index.js new file mode 100644 index 000000000..b999be6db --- /dev/null +++ b/node_modules/date-fns/secondsToHours/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = secondsToHours; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name secondsToHours + * @category Conversion Helpers + * @summary Convert seconds to hours. + * + * @description + * Convert a number of seconds to a full number of hours. + * + * @param {number} seconds - number of seconds to be converted + * + * @returns {number} the number of seconds converted in hours + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 7200 seconds into hours + * const result = secondsToHours(7200) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = secondsToHours(7199) + * //=> 1 + */ +function secondsToHours(seconds) { + (0, _index.default)(1, arguments); + var hours = seconds / _index2.secondsInHour; + return Math.floor(hours); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/secondsToHours/index.js.flow b/node_modules/date-fns/secondsToHours/index.js.flow new file mode 100644 index 000000000..371c79a32 --- /dev/null +++ b/node_modules/date-fns/secondsToHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (seconds: number) => number diff --git a/node_modules/date-fns/secondsToHours/package.json b/node_modules/date-fns/secondsToHours/package.json new file mode 100644 index 000000000..312a6d259 --- /dev/null +++ b/node_modules/date-fns/secondsToHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/secondsToHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/secondsToMilliseconds/index.d.ts b/node_modules/date-fns/secondsToMilliseconds/index.d.ts new file mode 100644 index 000000000..a20803744 --- /dev/null +++ b/node_modules/date-fns/secondsToMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMilliseconds } from 'date-fns' +export default secondsToMilliseconds diff --git a/node_modules/date-fns/secondsToMilliseconds/index.js b/node_modules/date-fns/secondsToMilliseconds/index.js new file mode 100644 index 000000000..d78ef5780 --- /dev/null +++ b/node_modules/date-fns/secondsToMilliseconds/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = secondsToMilliseconds; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name secondsToMilliseconds + * @category Conversion Helpers + * @summary Convert seconds to milliseconds. + * + * @description + * Convert a number of seconds to a full number of milliseconds. + * + * @param {number} seconds - number of seconds to be converted + * + * @returns {number} the number of seconds converted in milliseconds + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 seconds into milliseconds + * const result = secondsToMilliseconds(2) + * //=> 2000 + */ +function secondsToMilliseconds(seconds) { + (0, _index.default)(1, arguments); + return seconds * _index2.millisecondsInSecond; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/secondsToMilliseconds/index.js.flow b/node_modules/date-fns/secondsToMilliseconds/index.js.flow new file mode 100644 index 000000000..371c79a32 --- /dev/null +++ b/node_modules/date-fns/secondsToMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (seconds: number) => number diff --git a/node_modules/date-fns/secondsToMilliseconds/package.json b/node_modules/date-fns/secondsToMilliseconds/package.json new file mode 100644 index 000000000..baf799c1c --- /dev/null +++ b/node_modules/date-fns/secondsToMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/secondsToMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/secondsToMinutes/index.d.ts b/node_modules/date-fns/secondsToMinutes/index.d.ts new file mode 100644 index 000000000..22846dd3e --- /dev/null +++ b/node_modules/date-fns/secondsToMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { secondsToMinutes } from 'date-fns' +export default secondsToMinutes diff --git a/node_modules/date-fns/secondsToMinutes/index.js b/node_modules/date-fns/secondsToMinutes/index.js new file mode 100644 index 000000000..0a3c77ee5 --- /dev/null +++ b/node_modules/date-fns/secondsToMinutes/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = secondsToMinutes; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name secondsToMinutes + * @category Conversion Helpers + * @summary Convert seconds to minutes. + * + * @description + * Convert a number of seconds to a full number of minutes. + * + * @param {number} seconds - number of seconds to be converted + * + * @returns {number} the number of seconds converted in minutes + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 120 seconds into minutes + * const result = secondsToMinutes(120) + * //=> 2 + * + * @example + * // It uses floor rounding: + * const result = secondsToMinutes(119) + * //=> 1 + */ +function secondsToMinutes(seconds) { + (0, _index.default)(1, arguments); + var minutes = seconds / _index2.secondsInMinute; + return Math.floor(minutes); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/secondsToMinutes/index.js.flow b/node_modules/date-fns/secondsToMinutes/index.js.flow new file mode 100644 index 000000000..371c79a32 --- /dev/null +++ b/node_modules/date-fns/secondsToMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (seconds: number) => number diff --git a/node_modules/date-fns/secondsToMinutes/package.json b/node_modules/date-fns/secondsToMinutes/package.json new file mode 100644 index 000000000..5ded90a94 --- /dev/null +++ b/node_modules/date-fns/secondsToMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/secondsToMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/set/index.d.ts b/node_modules/date-fns/set/index.d.ts new file mode 100644 index 000000000..d30347b60 --- /dev/null +++ b/node_modules/date-fns/set/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { set } from 'date-fns' +export default set diff --git a/node_modules/date-fns/set/index.js b/node_modules/date-fns/set/index.js new file mode 100644 index 000000000..306565f65 --- /dev/null +++ b/node_modules/date-fns/set/index.js @@ -0,0 +1,85 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = set; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../setMonth/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name set + * @category Common Helpers + * @summary Set date values to a given date. + * + * @description + * Set date values to a given date. + * + * Sets time values to date from object `values`. + * A value is not set if it is undefined or null or doesn't exist in `values`. + * + * Note about bundle size: `set` does not internally use `setX` functions from date-fns but instead opts + * to use native `Date#setX` methods. If you use this function, you may not want to include the + * other `setX` functions that date-fns provides if you are concerned about the bundle size. + * + * @param {Date|Number} date - the date to be changed + * @param {Object} values - an object with options + * @param {Number} [values.year] - the number of years to be set + * @param {Number} [values.month] - the number of months to be set + * @param {Number} [values.date] - the number of days to be set + * @param {Number} [values.hours] - the number of hours to be set + * @param {Number} [values.minutes] - the number of minutes to be set + * @param {Number} [values.seconds] - the number of seconds to be set + * @param {Number} [values.milliseconds] - the number of milliseconds to be set + * @returns {Date} the new date with options set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `values` must be an object + * + * @example + * // Transform 1 September 2014 into 20 October 2015 in a single line: + * const result = set(new Date(2014, 8, 20), { year: 2015, month: 9, date: 20 }) + * //=> Tue Oct 20 2015 00:00:00 + * + * @example + * // Set 12 PM to 1 September 2014 01:23:45 to 1 September 2014 12:00:00: + * const result = set(new Date(2014, 8, 1, 1, 23, 45), { hours: 12 }) + * //=> Mon Sep 01 2014 12:23:45 + */ +function set(dirtyDate, values) { + (0, _index4.default)(2, arguments); + if ((0, _typeof2.default)(values) !== 'object' || values === null) { + throw new RangeError('values parameter must be an object'); + } + var date = (0, _index.default)(dirtyDate); + + // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date + if (isNaN(date.getTime())) { + return new Date(NaN); + } + if (values.year != null) { + date.setFullYear(values.year); + } + if (values.month != null) { + date = (0, _index2.default)(date, values.month); + } + if (values.date != null) { + date.setDate((0, _index3.default)(values.date)); + } + if (values.hours != null) { + date.setHours((0, _index3.default)(values.hours)); + } + if (values.minutes != null) { + date.setMinutes((0, _index3.default)(values.minutes)); + } + if (values.seconds != null) { + date.setSeconds((0, _index3.default)(values.seconds)); + } + if (values.milliseconds != null) { + date.setMilliseconds((0, _index3.default)(values.milliseconds)); + } + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/set/index.js.flow b/node_modules/date-fns/set/index.js.flow new file mode 100644 index 000000000..384f137c4 --- /dev/null +++ b/node_modules/date-fns/set/index.js.flow @@ -0,0 +1,63 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + values: { + year?: number, + month?: number, + date?: number, + hours?: number, + minutes?: number, + seconds?: number, + milliseconds?: number, + } +) => Date diff --git a/node_modules/date-fns/set/package.json b/node_modules/date-fns/set/package.json new file mode 100644 index 000000000..f71ed567f --- /dev/null +++ b/node_modules/date-fns/set/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/set/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setDate/index.d.ts b/node_modules/date-fns/setDate/index.d.ts new file mode 100644 index 000000000..677ea3049 --- /dev/null +++ b/node_modules/date-fns/setDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDate } from 'date-fns' +export default setDate diff --git a/node_modules/date-fns/setDate/index.js b/node_modules/date-fns/setDate/index.js new file mode 100644 index 000000000..f229df3bf --- /dev/null +++ b/node_modules/date-fns/setDate/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setDate; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setDate + * @category Day Helpers + * @summary Set the day of the month to the given date. + * + * @description + * Set the day of the month to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} dayOfMonth - the day of the month of the new date + * @returns {Date} the new date with the day of the month set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 30th day of the month to 1 September 2014: + * const result = setDate(new Date(2014, 8, 1), 30) + * //=> Tue Sep 30 2014 00:00:00 + */ +function setDate(dirtyDate, dirtyDayOfMonth) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var dayOfMonth = (0, _index.default)(dirtyDayOfMonth); + date.setDate(dayOfMonth); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setDate/index.js.flow b/node_modules/date-fns/setDate/index.js.flow new file mode 100644 index 000000000..8c9b8072a --- /dev/null +++ b/node_modules/date-fns/setDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, dayOfMonth: number) => Date diff --git a/node_modules/date-fns/setDate/package.json b/node_modules/date-fns/setDate/package.json new file mode 100644 index 000000000..fd14079eb --- /dev/null +++ b/node_modules/date-fns/setDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setDate/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setDay/index.d.ts b/node_modules/date-fns/setDay/index.d.ts new file mode 100644 index 000000000..5b3d9d184 --- /dev/null +++ b/node_modules/date-fns/setDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDay } from 'date-fns' +export default setDay diff --git a/node_modules/date-fns/setDay/index.js b/node_modules/date-fns/setDay/index.js new file mode 100644 index 000000000..42bf17e53 --- /dev/null +++ b/node_modules/date-fns/setDay/index.js @@ -0,0 +1,59 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setDay; +var _index = _interopRequireDefault(require("../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index5 = require("../_lib/defaultOptions/index.js"); +/** + * @name setDay + * @category Weekday Helpers + * @summary Set the day of the week to the given date. + * + * @description + * Set the day of the week to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} day - the day of the week of the new date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the new date with the day of the week set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // Set week day to Sunday, with the default weekStartsOn of Sunday: + * const result = setDay(new Date(2014, 8, 1), 0) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // Set week day to Sunday, with a weekStartsOn of Monday: + * const result = setDay(new Date(2014, 8, 1), 0, { weekStartsOn: 1 }) + * //=> Sun Sep 07 2014 00:00:00 + */ +function setDay(dirtyDate, dirtyDay, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index4.default)(2, arguments); + var defaultOptions = (0, _index5.getDefaultOptions)(); + var weekStartsOn = (0, _index3.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = (0, _index2.default)(dirtyDate); + var day = (0, _index3.default)(dirtyDay); + var currentDay = date.getDay(); + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + var delta = 7 - weekStartsOn; + var diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7; + return (0, _index.default)(date, diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setDay/index.js.flow b/node_modules/date-fns/setDay/index.js.flow new file mode 100644 index 000000000..4a2d43d21 --- /dev/null +++ b/node_modules/date-fns/setDay/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + day: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/setDay/package.json b/node_modules/date-fns/setDay/package.json new file mode 100644 index 000000000..b9cad1aac --- /dev/null +++ b/node_modules/date-fns/setDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setDayOfYear/index.d.ts b/node_modules/date-fns/setDayOfYear/index.d.ts new file mode 100644 index 000000000..5536c5726 --- /dev/null +++ b/node_modules/date-fns/setDayOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDayOfYear } from 'date-fns' +export default setDayOfYear diff --git a/node_modules/date-fns/setDayOfYear/index.js b/node_modules/date-fns/setDayOfYear/index.js new file mode 100644 index 000000000..3bac6e9eb --- /dev/null +++ b/node_modules/date-fns/setDayOfYear/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setDayOfYear; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setDayOfYear + * @category Day Helpers + * @summary Set the day of the year to the given date. + * + * @description + * Set the day of the year to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} dayOfYear - the day of the year of the new date + * @returns {Date} the new date with the day of the year set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 2nd day of the year to 2 July 2014: + * const result = setDayOfYear(new Date(2014, 6, 2), 2) + * //=> Thu Jan 02 2014 00:00:00 + */ +function setDayOfYear(dirtyDate, dirtyDayOfYear) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var dayOfYear = (0, _index.default)(dirtyDayOfYear); + date.setMonth(0); + date.setDate(dayOfYear); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setDayOfYear/index.js.flow b/node_modules/date-fns/setDayOfYear/index.js.flow new file mode 100644 index 000000000..fc974d45d --- /dev/null +++ b/node_modules/date-fns/setDayOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, dayOfYear: number) => Date diff --git a/node_modules/date-fns/setDayOfYear/package.json b/node_modules/date-fns/setDayOfYear/package.json new file mode 100644 index 000000000..a76beef03 --- /dev/null +++ b/node_modules/date-fns/setDayOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setDayOfYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setDefaultOptions/index.d.ts b/node_modules/date-fns/setDefaultOptions/index.d.ts new file mode 100644 index 000000000..35cf7c8ca --- /dev/null +++ b/node_modules/date-fns/setDefaultOptions/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setDefaultOptions } from 'date-fns' +export default setDefaultOptions diff --git a/node_modules/date-fns/setDefaultOptions/index.js b/node_modules/date-fns/setDefaultOptions/index.js new file mode 100644 index 000000000..140c4fe9e --- /dev/null +++ b/node_modules/date-fns/setDefaultOptions/index.js @@ -0,0 +1,81 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setDefaultOptions; +var _index = require("../_lib/defaultOptions/index.js"); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setDefaultOptions + * @category Common Helpers + * @summary Set default options including locale. + * @pure false + * + * @description + * Sets the defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * @param {Object} newOptions - an object with options. + * @param {Locale} [newOptions.locale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [newOptions.weekStartsOn] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [newOptions.firstWeekContainsDate] - the day of January, which is always in the first week of the year + * @throws {TypeError} 1 argument required + * + * @example + * // Set global locale: + * import { es } from 'date-fns/locale' + * setDefaultOptions({ locale: es }) + * const result = format(new Date(2014, 8, 2), 'PPPP') + * //=> 'martes, 2 de septiembre de 2014' + * + * @example + * // Start of the week for 2 September 2014: + * const result = startOfWeek(new Date(2014, 8, 2)) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // Start of the week for 2 September 2014, + * // when we set that week starts on Monday by default: + * setDefaultOptions({ weekStartsOn: 1 }) + * const result = startOfWeek(new Date(2014, 8, 2)) + * //=> Mon Sep 01 2014 00:00:00 + * + * @example + * // Manually set options take priority over default options: + * setDefaultOptions({ weekStartsOn: 1 }) + * const result = startOfWeek(new Date(2014, 8, 2), { weekStartsOn: 0 }) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // Remove the option by setting it to `undefined`: + * setDefaultOptions({ weekStartsOn: 1 }) + * setDefaultOptions({ weekStartsOn: undefined }) + * const result = startOfWeek(new Date(2014, 8, 2)) + * //=> Sun Aug 31 2014 00:00:00 + */ +function setDefaultOptions(newOptions) { + (0, _index2.default)(1, arguments); + var result = {}; + var defaultOptions = (0, _index.getDefaultOptions)(); + for (var property in defaultOptions) { + if (Object.prototype.hasOwnProperty.call(defaultOptions, property)) { + ; + result[property] = defaultOptions[property]; + } + } + for (var _property in newOptions) { + if (Object.prototype.hasOwnProperty.call(newOptions, _property)) { + if (newOptions[_property] === undefined) { + delete result[_property]; + } else { + ; + result[_property] = newOptions[_property]; + } + } + } + (0, _index.setDefaultOptions)(result); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setDefaultOptions/index.js.flow b/node_modules/date-fns/setDefaultOptions/index.js.flow new file mode 100644 index 000000000..99f1582ae --- /dev/null +++ b/node_modules/date-fns/setDefaultOptions/index.js.flow @@ -0,0 +1,56 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (newOptions: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, +}) => void diff --git a/node_modules/date-fns/setDefaultOptions/package.json b/node_modules/date-fns/setDefaultOptions/package.json new file mode 100644 index 000000000..1bad783bf --- /dev/null +++ b/node_modules/date-fns/setDefaultOptions/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setDefaultOptions/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setHours/index.d.ts b/node_modules/date-fns/setHours/index.d.ts new file mode 100644 index 000000000..2709a3212 --- /dev/null +++ b/node_modules/date-fns/setHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setHours } from 'date-fns' +export default setHours diff --git a/node_modules/date-fns/setHours/index.js b/node_modules/date-fns/setHours/index.js new file mode 100644 index 000000000..f119486d6 --- /dev/null +++ b/node_modules/date-fns/setHours/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setHours; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setHours + * @category Hour Helpers + * @summary Set the hours to the given date. + * + * @description + * Set the hours to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} hours - the hours of the new date + * @returns {Date} the new date with the hours set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 4 hours to 1 September 2014 11:30:00: + * const result = setHours(new Date(2014, 8, 1, 11, 30), 4) + * //=> Mon Sep 01 2014 04:30:00 + */ +function setHours(dirtyDate, dirtyHours) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var hours = (0, _index.default)(dirtyHours); + date.setHours(hours); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setHours/index.js.flow b/node_modules/date-fns/setHours/index.js.flow new file mode 100644 index 000000000..c9003bcd0 --- /dev/null +++ b/node_modules/date-fns/setHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, hours: number) => Date diff --git a/node_modules/date-fns/setHours/package.json b/node_modules/date-fns/setHours/package.json new file mode 100644 index 000000000..dff9edc13 --- /dev/null +++ b/node_modules/date-fns/setHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setISODay/index.d.ts b/node_modules/date-fns/setISODay/index.d.ts new file mode 100644 index 000000000..63fb67a88 --- /dev/null +++ b/node_modules/date-fns/setISODay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISODay } from 'date-fns' +export default setISODay diff --git a/node_modules/date-fns/setISODay/index.js b/node_modules/date-fns/setISODay/index.js new file mode 100644 index 000000000..7df025f83 --- /dev/null +++ b/node_modules/date-fns/setISODay/index.js @@ -0,0 +1,41 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setISODay; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../addDays/index.js")); +var _index4 = _interopRequireDefault(require("../getISODay/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setISODay + * @category Weekday Helpers + * @summary Set the day of the ISO week to the given date. + * + * @description + * Set the day of the ISO week to the given date. + * ISO week starts with Monday. + * 7 is the index of Sunday, 1 is the index of Monday etc. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} day - the day of the ISO week of the new date + * @returns {Date} the new date with the day of the ISO week set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set Sunday to 1 September 2014: + * const result = setISODay(new Date(2014, 8, 1), 7) + * //=> Sun Sep 07 2014 00:00:00 + */ +function setISODay(dirtyDate, dirtyDay) { + (0, _index5.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var day = (0, _index.default)(dirtyDay); + var currentDay = (0, _index4.default)(date); + var diff = day - currentDay; + return (0, _index3.default)(date, diff); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setISODay/index.js.flow b/node_modules/date-fns/setISODay/index.js.flow new file mode 100644 index 000000000..07b06297b --- /dev/null +++ b/node_modules/date-fns/setISODay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, day: number) => Date diff --git a/node_modules/date-fns/setISODay/package.json b/node_modules/date-fns/setISODay/package.json new file mode 100644 index 000000000..bd30a3b23 --- /dev/null +++ b/node_modules/date-fns/setISODay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setISODay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setISOWeek/index.d.ts b/node_modules/date-fns/setISOWeek/index.d.ts new file mode 100644 index 000000000..a2e797015 --- /dev/null +++ b/node_modules/date-fns/setISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeek } from 'date-fns' +export default setISOWeek diff --git a/node_modules/date-fns/setISOWeek/index.js b/node_modules/date-fns/setISOWeek/index.js new file mode 100644 index 000000000..ec60852e5 --- /dev/null +++ b/node_modules/date-fns/setISOWeek/index.js @@ -0,0 +1,40 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setISOWeek; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../getISOWeek/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setISOWeek + * @category ISO Week Helpers + * @summary Set the ISO week to the given date. + * + * @description + * Set the ISO week to the given date, saving the weekday number. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} isoWeek - the ISO week of the new date + * @returns {Date} the new date with the ISO week set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 53rd ISO week to 7 August 2004: + * const result = setISOWeek(new Date(2004, 7, 7), 53) + * //=> Sat Jan 01 2005 00:00:00 + */ +function setISOWeek(dirtyDate, dirtyISOWeek) { + (0, _index4.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var isoWeek = (0, _index.default)(dirtyISOWeek); + var diff = (0, _index3.default)(date) - isoWeek; + date.setDate(date.getDate() - diff * 7); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setISOWeek/index.js.flow b/node_modules/date-fns/setISOWeek/index.js.flow new file mode 100644 index 000000000..cf1ccb890 --- /dev/null +++ b/node_modules/date-fns/setISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, isoWeek: number) => Date diff --git a/node_modules/date-fns/setISOWeek/package.json b/node_modules/date-fns/setISOWeek/package.json new file mode 100644 index 000000000..fcf0a41bd --- /dev/null +++ b/node_modules/date-fns/setISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setISOWeekYear/index.d.ts b/node_modules/date-fns/setISOWeekYear/index.d.ts new file mode 100644 index 000000000..ab8ea95b9 --- /dev/null +++ b/node_modules/date-fns/setISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setISOWeekYear } from 'date-fns' +export default setISOWeekYear diff --git a/node_modules/date-fns/setISOWeekYear/index.js b/node_modules/date-fns/setISOWeekYear/index.js new file mode 100644 index 000000000..db53e42ff --- /dev/null +++ b/node_modules/date-fns/setISOWeekYear/index.js @@ -0,0 +1,46 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setISOWeekYear; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../startOfISOWeekYear/index.js")); +var _index4 = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Set the ISO week-numbering year to the given date. + * + * @description + * Set the ISO week-numbering year to the given date, + * saving the week number and the weekday number. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} isoWeekYear - the ISO week-numbering year of the new date + * @returns {Date} the new date with the ISO week-numbering year set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set ISO week-numbering year 2007 to 29 December 2008: + * const result = setISOWeekYear(new Date(2008, 11, 29), 2007) + * //=> Mon Jan 01 2007 00:00:00 + */ +function setISOWeekYear(dirtyDate, dirtyISOWeekYear) { + (0, _index5.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var isoWeekYear = (0, _index.default)(dirtyISOWeekYear); + var diff = (0, _index4.default)(date, (0, _index3.default)(date)); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setFullYear(isoWeekYear, 0, 4); + fourthOfJanuary.setHours(0, 0, 0, 0); + date = (0, _index3.default)(fourthOfJanuary); + date.setDate(date.getDate() + diff); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setISOWeekYear/index.js.flow b/node_modules/date-fns/setISOWeekYear/index.js.flow new file mode 100644 index 000000000..43beb6517 --- /dev/null +++ b/node_modules/date-fns/setISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, isoWeekYear: number) => Date diff --git a/node_modules/date-fns/setISOWeekYear/package.json b/node_modules/date-fns/setISOWeekYear/package.json new file mode 100644 index 000000000..98d3ea560 --- /dev/null +++ b/node_modules/date-fns/setISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setISOWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setMilliseconds/index.d.ts b/node_modules/date-fns/setMilliseconds/index.d.ts new file mode 100644 index 000000000..04743a042 --- /dev/null +++ b/node_modules/date-fns/setMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMilliseconds } from 'date-fns' +export default setMilliseconds diff --git a/node_modules/date-fns/setMilliseconds/index.js b/node_modules/date-fns/setMilliseconds/index.js new file mode 100644 index 000000000..5ceb76e00 --- /dev/null +++ b/node_modules/date-fns/setMilliseconds/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setMilliseconds; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setMilliseconds + * @category Millisecond Helpers + * @summary Set the milliseconds to the given date. + * + * @description + * Set the milliseconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} milliseconds - the milliseconds of the new date + * @returns {Date} the new date with the milliseconds set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 300 milliseconds to 1 September 2014 11:30:40.500: + * const result = setMilliseconds(new Date(2014, 8, 1, 11, 30, 40, 500), 300) + * //=> Mon Sep 01 2014 11:30:40.300 + */ +function setMilliseconds(dirtyDate, dirtyMilliseconds) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var milliseconds = (0, _index.default)(dirtyMilliseconds); + date.setMilliseconds(milliseconds); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setMilliseconds/index.js.flow b/node_modules/date-fns/setMilliseconds/index.js.flow new file mode 100644 index 000000000..d9bc57fa7 --- /dev/null +++ b/node_modules/date-fns/setMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, milliseconds: number) => Date diff --git a/node_modules/date-fns/setMilliseconds/package.json b/node_modules/date-fns/setMilliseconds/package.json new file mode 100644 index 000000000..dd9da3365 --- /dev/null +++ b/node_modules/date-fns/setMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setMinutes/index.d.ts b/node_modules/date-fns/setMinutes/index.d.ts new file mode 100644 index 000000000..2732d479b --- /dev/null +++ b/node_modules/date-fns/setMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMinutes } from 'date-fns' +export default setMinutes diff --git a/node_modules/date-fns/setMinutes/index.js b/node_modules/date-fns/setMinutes/index.js new file mode 100644 index 000000000..7a797a0c0 --- /dev/null +++ b/node_modules/date-fns/setMinutes/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setMinutes; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setMinutes + * @category Minute Helpers + * @summary Set the minutes to the given date. + * + * @description + * Set the minutes to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} minutes - the minutes of the new date + * @returns {Date} the new date with the minutes set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 45 minutes to 1 September 2014 11:30:40: + * const result = setMinutes(new Date(2014, 8, 1, 11, 30, 40), 45) + * //=> Mon Sep 01 2014 11:45:40 + */ +function setMinutes(dirtyDate, dirtyMinutes) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var minutes = (0, _index.default)(dirtyMinutes); + date.setMinutes(minutes); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setMinutes/index.js.flow b/node_modules/date-fns/setMinutes/index.js.flow new file mode 100644 index 000000000..5231232c0 --- /dev/null +++ b/node_modules/date-fns/setMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, minutes: number) => Date diff --git a/node_modules/date-fns/setMinutes/package.json b/node_modules/date-fns/setMinutes/package.json new file mode 100644 index 000000000..aea280b63 --- /dev/null +++ b/node_modules/date-fns/setMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setMonth/index.d.ts b/node_modules/date-fns/setMonth/index.d.ts new file mode 100644 index 000000000..720d61c9c --- /dev/null +++ b/node_modules/date-fns/setMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setMonth } from 'date-fns' +export default setMonth diff --git a/node_modules/date-fns/setMonth/index.js b/node_modules/date-fns/setMonth/index.js new file mode 100644 index 000000000..37dd011f1 --- /dev/null +++ b/node_modules/date-fns/setMonth/index.js @@ -0,0 +1,45 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setMonth; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../getDaysInMonth/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setMonth + * @category Month Helpers + * @summary Set the month to the given date. + * + * @description + * Set the month to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} month - the month of the new date + * @returns {Date} the new date with the month set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set February to 1 September 2014: + * const result = setMonth(new Date(2014, 8, 1), 1) + * //=> Sat Feb 01 2014 00:00:00 + */ +function setMonth(dirtyDate, dirtyMonth) { + (0, _index4.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var month = (0, _index.default)(dirtyMonth); + var year = date.getFullYear(); + var day = date.getDate(); + var dateWithDesiredMonth = new Date(0); + dateWithDesiredMonth.setFullYear(year, month, 15); + dateWithDesiredMonth.setHours(0, 0, 0, 0); + var daysInMonth = (0, _index3.default)(dateWithDesiredMonth); + // Set the last day of the new month + // if the original date was the last day of the longer month + date.setMonth(month, Math.min(day, daysInMonth)); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setMonth/index.js.flow b/node_modules/date-fns/setMonth/index.js.flow new file mode 100644 index 000000000..29bd4de2c --- /dev/null +++ b/node_modules/date-fns/setMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, month: number) => Date diff --git a/node_modules/date-fns/setMonth/package.json b/node_modules/date-fns/setMonth/package.json new file mode 100644 index 000000000..d96c07d09 --- /dev/null +++ b/node_modules/date-fns/setMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setQuarter/index.d.ts b/node_modules/date-fns/setQuarter/index.d.ts new file mode 100644 index 000000000..7e98fc9e7 --- /dev/null +++ b/node_modules/date-fns/setQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setQuarter } from 'date-fns' +export default setQuarter diff --git a/node_modules/date-fns/setQuarter/index.js b/node_modules/date-fns/setQuarter/index.js new file mode 100644 index 000000000..bcb38dda9 --- /dev/null +++ b/node_modules/date-fns/setQuarter/index.js @@ -0,0 +1,38 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setQuarter; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../setMonth/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setQuarter + * @category Quarter Helpers + * @summary Set the year quarter to the given date. + * + * @description + * Set the year quarter to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} quarter - the quarter of the new date + * @returns {Date} the new date with the quarter set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set the 2nd quarter to 2 July 2014: + * const result = setQuarter(new Date(2014, 6, 2), 2) + * //=> Wed Apr 02 2014 00:00:00 + */ +function setQuarter(dirtyDate, dirtyQuarter) { + (0, _index4.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var quarter = (0, _index.default)(dirtyQuarter); + var oldQuarter = Math.floor(date.getMonth() / 3) + 1; + var diff = quarter - oldQuarter; + return (0, _index3.default)(date, date.getMonth() + diff * 3); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setQuarter/index.js.flow b/node_modules/date-fns/setQuarter/index.js.flow new file mode 100644 index 000000000..d0e4d51cc --- /dev/null +++ b/node_modules/date-fns/setQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, quarter: number) => Date diff --git a/node_modules/date-fns/setQuarter/package.json b/node_modules/date-fns/setQuarter/package.json new file mode 100644 index 000000000..dad601711 --- /dev/null +++ b/node_modules/date-fns/setQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setSeconds/index.d.ts b/node_modules/date-fns/setSeconds/index.d.ts new file mode 100644 index 000000000..a67a07f20 --- /dev/null +++ b/node_modules/date-fns/setSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setSeconds } from 'date-fns' +export default setSeconds diff --git a/node_modules/date-fns/setSeconds/index.js b/node_modules/date-fns/setSeconds/index.js new file mode 100644 index 000000000..89fc474df --- /dev/null +++ b/node_modules/date-fns/setSeconds/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setSeconds; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setSeconds + * @category Second Helpers + * @summary Set the seconds to the given date. + * + * @description + * Set the seconds to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} seconds - the seconds of the new date + * @returns {Date} the new date with the seconds set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set 45 seconds to 1 September 2014 11:30:40: + * const result = setSeconds(new Date(2014, 8, 1, 11, 30, 40), 45) + * //=> Mon Sep 01 2014 11:30:45 + */ +function setSeconds(dirtyDate, dirtySeconds) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var seconds = (0, _index.default)(dirtySeconds); + date.setSeconds(seconds); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setSeconds/index.js.flow b/node_modules/date-fns/setSeconds/index.js.flow new file mode 100644 index 000000000..056c06825 --- /dev/null +++ b/node_modules/date-fns/setSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, seconds: number) => Date diff --git a/node_modules/date-fns/setSeconds/package.json b/node_modules/date-fns/setSeconds/package.json new file mode 100644 index 000000000..102ff8274 --- /dev/null +++ b/node_modules/date-fns/setSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setWeek/index.d.ts b/node_modules/date-fns/setWeek/index.d.ts new file mode 100644 index 000000000..b6c90f347 --- /dev/null +++ b/node_modules/date-fns/setWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeek } from 'date-fns' +export default setWeek diff --git a/node_modules/date-fns/setWeek/index.js b/node_modules/date-fns/setWeek/index.js new file mode 100644 index 000000000..e8ca658d8 --- /dev/null +++ b/node_modules/date-fns/setWeek/index.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setWeek; +var _index = _interopRequireDefault(require("../getWeek/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name setWeek + * @category Week Helpers + * @summary Set the local week to the given date. + * + * @description + * Set the local week to the given date, saving the weekday number. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the date to be changed + * @param {Number} week - the week of the new date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Date} the new date with the local week set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Set the 1st week to 2 January 2005 with default options: + * const result = setWeek(new Date(2005, 0, 2), 1) + * //=> Sun Dec 26 2004 00:00:00 + * + * @example + * // Set the 1st week to 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January: + * const result = setWeek(new Date(2005, 0, 2), 1, { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> Sun Jan 4 2004 00:00:00 + */ +function setWeek(dirtyDate, dirtyWeek, options) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var week = (0, _index4.default)(dirtyWeek); + var diff = (0, _index.default)(date, options) - week; + date.setDate(date.getDate() - diff * 7); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setWeek/index.js.flow b/node_modules/date-fns/setWeek/index.js.flow new file mode 100644 index 000000000..59b7eb30c --- /dev/null +++ b/node_modules/date-fns/setWeek/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + week: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => Date diff --git a/node_modules/date-fns/setWeek/package.json b/node_modules/date-fns/setWeek/package.json new file mode 100644 index 000000000..348b255e5 --- /dev/null +++ b/node_modules/date-fns/setWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setWeekYear/index.d.ts b/node_modules/date-fns/setWeekYear/index.d.ts new file mode 100644 index 000000000..af02252f7 --- /dev/null +++ b/node_modules/date-fns/setWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setWeekYear } from 'date-fns' +export default setWeekYear diff --git a/node_modules/date-fns/setWeekYear/index.js b/node_modules/date-fns/setWeekYear/index.js new file mode 100644 index 000000000..44e265a19 --- /dev/null +++ b/node_modules/date-fns/setWeekYear/index.js @@ -0,0 +1,70 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setWeekYear; +var _index = _interopRequireDefault(require("../differenceInCalendarDays/index.js")); +var _index2 = _interopRequireDefault(require("../startOfWeekYear/index.js")); +var _index3 = _interopRequireDefault(require("../toDate/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index5 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index6 = require("../_lib/defaultOptions/index.js"); +/** + * @name setWeekYear + * @category Week-Numbering Year Helpers + * @summary Set the local week-numbering year to the given date. + * + * @description + * Set the local week-numbering year to the given date, + * saving the week number and the weekday number. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the date to be changed + * @param {Number} weekYear - the local week-numbering year of the new date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Date} the new date with the local week-numbering year set + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // Set the local week-numbering year 2004 to 2 January 2010 with default options: + * const result = setWeekYear(new Date(2010, 0, 2), 2004) + * //=> Sat Jan 03 2004 00:00:00 + * + * @example + * // Set the local week-numbering year 2004 to 2 January 2010, + * // if Monday is the first day of week + * // and 4 January is always in the first week of the year: + * const result = setWeekYear(new Date(2010, 0, 2), 2004, { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> Sat Jan 01 2005 00:00:00 + */ +function setWeekYear(dirtyDate, dirtyWeekYear, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index5.default)(2, arguments); + var defaultOptions = (0, _index6.getDefaultOptions)(); + var firstWeekContainsDate = (0, _index4.default)((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + var date = (0, _index3.default)(dirtyDate); + var weekYear = (0, _index4.default)(dirtyWeekYear); + var diff = (0, _index.default)(date, (0, _index2.default)(date, options)); + var firstWeek = new Date(0); + firstWeek.setFullYear(weekYear, 0, firstWeekContainsDate); + firstWeek.setHours(0, 0, 0, 0); + date = (0, _index2.default)(firstWeek, options); + date.setDate(date.getDate() + diff); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setWeekYear/index.js.flow b/node_modules/date-fns/setWeekYear/index.js.flow new file mode 100644 index 000000000..12a9d84f0 --- /dev/null +++ b/node_modules/date-fns/setWeekYear/index.js.flow @@ -0,0 +1,60 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => Date diff --git a/node_modules/date-fns/setWeekYear/package.json b/node_modules/date-fns/setWeekYear/package.json new file mode 100644 index 000000000..061eda036 --- /dev/null +++ b/node_modules/date-fns/setWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/setYear/index.d.ts b/node_modules/date-fns/setYear/index.d.ts new file mode 100644 index 000000000..e0a76fb48 --- /dev/null +++ b/node_modules/date-fns/setYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { setYear } from 'date-fns' +export default setYear diff --git a/node_modules/date-fns/setYear/index.js b/node_modules/date-fns/setYear/index.js new file mode 100644 index 000000000..704c6066e --- /dev/null +++ b/node_modules/date-fns/setYear/index.js @@ -0,0 +1,41 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = setYear; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../toDate/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name setYear + * @category Year Helpers + * @summary Set the year to the given date. + * + * @description + * Set the year to the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} year - the year of the new date + * @returns {Date} the new date with the year set + * @throws {TypeError} 2 arguments required + * + * @example + * // Set year 2013 to 1 September 2014: + * const result = setYear(new Date(2014, 8, 1), 2013) + * //=> Sun Sep 01 2013 00:00:00 + */ +function setYear(dirtyDate, dirtyYear) { + (0, _index3.default)(2, arguments); + var date = (0, _index2.default)(dirtyDate); + var year = (0, _index.default)(dirtyYear); + + // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date + if (isNaN(date.getTime())) { + return new Date(NaN); + } + date.setFullYear(year); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/setYear/index.js.flow b/node_modules/date-fns/setYear/index.js.flow new file mode 100644 index 000000000..ebdcafed8 --- /dev/null +++ b/node_modules/date-fns/setYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, year: number) => Date diff --git a/node_modules/date-fns/setYear/package.json b/node_modules/date-fns/setYear/package.json new file mode 100644 index 000000000..2cad6babf --- /dev/null +++ b/node_modules/date-fns/setYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/setYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfDay/index.d.ts b/node_modules/date-fns/startOfDay/index.d.ts new file mode 100644 index 000000000..4463069a0 --- /dev/null +++ b/node_modules/date-fns/startOfDay/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDay } from 'date-fns' +export default startOfDay diff --git a/node_modules/date-fns/startOfDay/index.js b/node_modules/date-fns/startOfDay/index.js new file mode 100644 index 000000000..6cb964914 --- /dev/null +++ b/node_modules/date-fns/startOfDay/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfDay; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfDay + * @category Day Helpers + * @summary Return the start of a day for the given date. + * + * @description + * Return the start of a day for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a day + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a day for 2 September 2014 11:55:00: + * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 02 2014 00:00:00 + */ +function startOfDay(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfDay/index.js.flow b/node_modules/date-fns/startOfDay/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfDay/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfDay/package.json b/node_modules/date-fns/startOfDay/package.json new file mode 100644 index 000000000..3ee119493 --- /dev/null +++ b/node_modules/date-fns/startOfDay/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfDay/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfDecade/index.d.ts b/node_modules/date-fns/startOfDecade/index.d.ts new file mode 100644 index 000000000..c4309c3a2 --- /dev/null +++ b/node_modules/date-fns/startOfDecade/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfDecade } from 'date-fns' +export default startOfDecade diff --git a/node_modules/date-fns/startOfDecade/index.js b/node_modules/date-fns/startOfDecade/index.js new file mode 100644 index 000000000..65da69890 --- /dev/null +++ b/node_modules/date-fns/startOfDecade/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfDecade; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfDecade + * @category Decade Helpers + * @summary Return the start of a decade for the given date. + * + * @description + * Return the start of a decade for the given date. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a decade + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a decade for 21 October 2015 00:00:00: + * const result = startOfDecade(new Date(2015, 9, 21, 00, 00, 00)) + * //=> Jan 01 2010 00:00:00 + */ +function startOfDecade(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var year = date.getFullYear(); + var decade = Math.floor(year / 10) * 10; + date.setFullYear(decade, 0, 1); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfDecade/index.js.flow b/node_modules/date-fns/startOfDecade/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfDecade/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfDecade/package.json b/node_modules/date-fns/startOfDecade/package.json new file mode 100644 index 000000000..5e1a9c00a --- /dev/null +++ b/node_modules/date-fns/startOfDecade/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfDecade/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfHour/index.d.ts b/node_modules/date-fns/startOfHour/index.d.ts new file mode 100644 index 000000000..d1cc5033b --- /dev/null +++ b/node_modules/date-fns/startOfHour/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfHour } from 'date-fns' +export default startOfHour diff --git a/node_modules/date-fns/startOfHour/index.js b/node_modules/date-fns/startOfHour/index.js new file mode 100644 index 000000000..55f403ac9 --- /dev/null +++ b/node_modules/date-fns/startOfHour/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfHour; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfHour + * @category Hour Helpers + * @summary Return the start of an hour for the given date. + * + * @description + * Return the start of an hour for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of an hour + * @throws {TypeError} 1 argument required + * + * @example + * // The start of an hour for 2 September 2014 11:55:00: + * const result = startOfHour(new Date(2014, 8, 2, 11, 55)) + * //=> Tue Sep 02 2014 11:00:00 + */ +function startOfHour(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setMinutes(0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfHour/index.js.flow b/node_modules/date-fns/startOfHour/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfHour/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfHour/package.json b/node_modules/date-fns/startOfHour/package.json new file mode 100644 index 000000000..ceda388d0 --- /dev/null +++ b/node_modules/date-fns/startOfHour/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfHour/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfISOWeek/index.d.ts b/node_modules/date-fns/startOfISOWeek/index.d.ts new file mode 100644 index 000000000..93e573a6e --- /dev/null +++ b/node_modules/date-fns/startOfISOWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeek } from 'date-fns' +export default startOfISOWeek diff --git a/node_modules/date-fns/startOfISOWeek/index.js b/node_modules/date-fns/startOfISOWeek/index.js new file mode 100644 index 000000000..1bd5283bf --- /dev/null +++ b/node_modules/date-fns/startOfISOWeek/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfISOWeek; +var _index = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfISOWeek + * @category ISO Week Helpers + * @summary Return the start of an ISO week for the given date. + * + * @description + * Return the start of an ISO week for the given date. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of an ISO week + * @throws {TypeError} 1 argument required + * + * @example + * // The start of an ISO week for 2 September 2014 11:55:00: + * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Mon Sep 01 2014 00:00:00 + */ +function startOfISOWeek(dirtyDate) { + (0, _index2.default)(1, arguments); + return (0, _index.default)(dirtyDate, { + weekStartsOn: 1 + }); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfISOWeek/index.js.flow b/node_modules/date-fns/startOfISOWeek/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfISOWeek/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfISOWeek/package.json b/node_modules/date-fns/startOfISOWeek/package.json new file mode 100644 index 000000000..d40b2a5c7 --- /dev/null +++ b/node_modules/date-fns/startOfISOWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfISOWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfISOWeekYear/index.d.ts b/node_modules/date-fns/startOfISOWeekYear/index.d.ts new file mode 100644 index 000000000..c29d7d069 --- /dev/null +++ b/node_modules/date-fns/startOfISOWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfISOWeekYear } from 'date-fns' +export default startOfISOWeekYear diff --git a/node_modules/date-fns/startOfISOWeekYear/index.js b/node_modules/date-fns/startOfISOWeekYear/index.js new file mode 100644 index 000000000..26cb62b70 --- /dev/null +++ b/node_modules/date-fns/startOfISOWeekYear/index.js @@ -0,0 +1,41 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfISOWeekYear; +var _index = _interopRequireDefault(require("../getISOWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../startOfISOWeek/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Return the start of an ISO week-numbering year for the given date. + * + * @description + * Return the start of an ISO week-numbering year, + * which always starts 3 days before the year's first Thursday. + * The result will be in the local timezone. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of an ISO week-numbering year + * @throws {TypeError} 1 argument required + * + * @example + * // The start of an ISO week-numbering year for 2 July 2005: + * const result = startOfISOWeekYear(new Date(2005, 6, 2)) + * //=> Mon Jan 03 2005 00:00:00 + */ +function startOfISOWeekYear(dirtyDate) { + (0, _index3.default)(1, arguments); + var year = (0, _index.default)(dirtyDate); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setFullYear(year, 0, 4); + fourthOfJanuary.setHours(0, 0, 0, 0); + var date = (0, _index2.default)(fourthOfJanuary); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfISOWeekYear/index.js.flow b/node_modules/date-fns/startOfISOWeekYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfISOWeekYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfISOWeekYear/package.json b/node_modules/date-fns/startOfISOWeekYear/package.json new file mode 100644 index 000000000..f3a74920b --- /dev/null +++ b/node_modules/date-fns/startOfISOWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfISOWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfMinute/index.d.ts b/node_modules/date-fns/startOfMinute/index.d.ts new file mode 100644 index 000000000..1b9668372 --- /dev/null +++ b/node_modules/date-fns/startOfMinute/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMinute } from 'date-fns' +export default startOfMinute diff --git a/node_modules/date-fns/startOfMinute/index.js b/node_modules/date-fns/startOfMinute/index.js new file mode 100644 index 000000000..15336a8ee --- /dev/null +++ b/node_modules/date-fns/startOfMinute/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfMinute; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfMinute + * @category Minute Helpers + * @summary Return the start of a minute for the given date. + * + * @description + * Return the start of a minute for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a minute + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a minute for 1 December 2014 22:15:45.400: + * const result = startOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:00 + */ +function startOfMinute(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setSeconds(0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfMinute/index.js.flow b/node_modules/date-fns/startOfMinute/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfMinute/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfMinute/package.json b/node_modules/date-fns/startOfMinute/package.json new file mode 100644 index 000000000..88722c190 --- /dev/null +++ b/node_modules/date-fns/startOfMinute/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfMinute/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfMonth/index.d.ts b/node_modules/date-fns/startOfMonth/index.d.ts new file mode 100644 index 000000000..08de436d4 --- /dev/null +++ b/node_modules/date-fns/startOfMonth/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfMonth } from 'date-fns' +export default startOfMonth diff --git a/node_modules/date-fns/startOfMonth/index.js b/node_modules/date-fns/startOfMonth/index.js new file mode 100644 index 000000000..64b4fd2e8 --- /dev/null +++ b/node_modules/date-fns/startOfMonth/index.js @@ -0,0 +1,35 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfMonth; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfMonth + * @category Month Helpers + * @summary Return the start of a month for the given date. + * + * @description + * Return the start of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a month + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a month for 2 September 2014 11:55:00: + * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Mon Sep 01 2014 00:00:00 + */ +function startOfMonth(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setDate(1); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfMonth/index.js.flow b/node_modules/date-fns/startOfMonth/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfMonth/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfMonth/package.json b/node_modules/date-fns/startOfMonth/package.json new file mode 100644 index 000000000..eafe10b65 --- /dev/null +++ b/node_modules/date-fns/startOfMonth/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfMonth/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfQuarter/index.d.ts b/node_modules/date-fns/startOfQuarter/index.d.ts new file mode 100644 index 000000000..7afa7270b --- /dev/null +++ b/node_modules/date-fns/startOfQuarter/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfQuarter } from 'date-fns' +export default startOfQuarter diff --git a/node_modules/date-fns/startOfQuarter/index.js b/node_modules/date-fns/startOfQuarter/index.js new file mode 100644 index 000000000..befb39c6d --- /dev/null +++ b/node_modules/date-fns/startOfQuarter/index.js @@ -0,0 +1,37 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfQuarter; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfQuarter + * @category Quarter Helpers + * @summary Return the start of a year quarter for the given date. + * + * @description + * Return the start of a year quarter for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a quarter + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a quarter for 2 September 2014 11:55:00: + * const result = startOfQuarter(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Jul 01 2014 00:00:00 + */ +function startOfQuarter(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + var currentMonth = date.getMonth(); + var month = currentMonth - currentMonth % 3; + date.setMonth(month, 1); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfQuarter/index.js.flow b/node_modules/date-fns/startOfQuarter/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfQuarter/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfQuarter/package.json b/node_modules/date-fns/startOfQuarter/package.json new file mode 100644 index 000000000..4a9326995 --- /dev/null +++ b/node_modules/date-fns/startOfQuarter/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfQuarter/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfSecond/index.d.ts b/node_modules/date-fns/startOfSecond/index.d.ts new file mode 100644 index 000000000..b3b401749 --- /dev/null +++ b/node_modules/date-fns/startOfSecond/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfSecond } from 'date-fns' +export default startOfSecond diff --git a/node_modules/date-fns/startOfSecond/index.js b/node_modules/date-fns/startOfSecond/index.js new file mode 100644 index 000000000..b3583f156 --- /dev/null +++ b/node_modules/date-fns/startOfSecond/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfSecond; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfSecond + * @category Second Helpers + * @summary Return the start of a second for the given date. + * + * @description + * Return the start of a second for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a second + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a second for 1 December 2014 22:15:45.400: + * const result = startOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400)) + * //=> Mon Dec 01 2014 22:15:45.000 + */ +function startOfSecond(dirtyDate) { + (0, _index2.default)(1, arguments); + var date = (0, _index.default)(dirtyDate); + date.setMilliseconds(0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfSecond/index.js.flow b/node_modules/date-fns/startOfSecond/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfSecond/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfSecond/package.json b/node_modules/date-fns/startOfSecond/package.json new file mode 100644 index 000000000..27d427cf9 --- /dev/null +++ b/node_modules/date-fns/startOfSecond/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfSecond/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfToday/index.d.ts b/node_modules/date-fns/startOfToday/index.d.ts new file mode 100644 index 000000000..8a0615e30 --- /dev/null +++ b/node_modules/date-fns/startOfToday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfToday } from 'date-fns' +export default startOfToday diff --git a/node_modules/date-fns/startOfToday/index.js b/node_modules/date-fns/startOfToday/index.js new file mode 100644 index 000000000..02221245f --- /dev/null +++ b/node_modules/date-fns/startOfToday/index.js @@ -0,0 +1,31 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfToday; +var _index = _interopRequireDefault(require("../startOfDay/index.js")); +/** + * @name startOfToday + * @category Day Helpers + * @summary Return the start of today. + * @pure false + * + * @description + * Return the start of today. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `Date.now()` internally hence impure and can't be safely curried. + * + * @returns {Date} the start of today + * + * @example + * // If today is 6 October 2014: + * const result = startOfToday() + * //=> Mon Oct 6 2014 00:00:00 + */ +function startOfToday() { + return (0, _index.default)(Date.now()); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfToday/index.js.flow b/node_modules/date-fns/startOfToday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/startOfToday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/startOfToday/package.json b/node_modules/date-fns/startOfToday/package.json new file mode 100644 index 000000000..0f83049dc --- /dev/null +++ b/node_modules/date-fns/startOfToday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfToday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfTomorrow/index.d.ts b/node_modules/date-fns/startOfTomorrow/index.d.ts new file mode 100644 index 000000000..464ad5b0d --- /dev/null +++ b/node_modules/date-fns/startOfTomorrow/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfTomorrow } from 'date-fns' +export default startOfTomorrow diff --git a/node_modules/date-fns/startOfTomorrow/index.js b/node_modules/date-fns/startOfTomorrow/index.js new file mode 100644 index 000000000..93c50dd0b --- /dev/null +++ b/node_modules/date-fns/startOfTomorrow/index.js @@ -0,0 +1,36 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfTomorrow; +/** + * @name startOfTomorrow + * @category Day Helpers + * @summary Return the start of tomorrow. + * @pure false + * + * @description + * Return the start of tomorrow. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the start of tomorrow + * + * @example + * // If today is 6 October 2014: + * const result = startOfTomorrow() + * //=> Tue Oct 7 2014 00:00:00 + */ +function startOfTomorrow() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day + 1); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfTomorrow/index.js.flow b/node_modules/date-fns/startOfTomorrow/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/startOfTomorrow/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/startOfTomorrow/package.json b/node_modules/date-fns/startOfTomorrow/package.json new file mode 100644 index 000000000..0419b9b8d --- /dev/null +++ b/node_modules/date-fns/startOfTomorrow/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfTomorrow/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfWeek/index.d.ts b/node_modules/date-fns/startOfWeek/index.d.ts new file mode 100644 index 000000000..4a45d11a8 --- /dev/null +++ b/node_modules/date-fns/startOfWeek/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeek } from 'date-fns' +export default startOfWeek diff --git a/node_modules/date-fns/startOfWeek/index.js b/node_modules/date-fns/startOfWeek/index.js new file mode 100644 index 000000000..ddf66d3ae --- /dev/null +++ b/node_modules/date-fns/startOfWeek/index.js @@ -0,0 +1,56 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfWeek; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index4 = require("../_lib/defaultOptions/index.js"); +/** + * @name startOfWeek + * @category Week Helpers + * @summary Return the start of a week for the given date. + * + * @description + * Return the start of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @returns {Date} the start of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The start of a week for 2 September 2014 11:55:00: + * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00: + * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 }) + * //=> Mon Sep 01 2014 00:00:00 + */ +function startOfWeek(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index3.default)(1, arguments); + var defaultOptions = (0, _index4.getDefaultOptions)(); + var weekStartsOn = (0, _index2.default)((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError('weekStartsOn must be between 0 and 6 inclusively'); + } + var date = (0, _index.default)(dirtyDate); + var day = date.getDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; + date.setDate(date.getDate() - diff); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfWeek/index.js.flow b/node_modules/date-fns/startOfWeek/index.js.flow new file mode 100644 index 000000000..9285b6736 --- /dev/null +++ b/node_modules/date-fns/startOfWeek/index.js.flow @@ -0,0 +1,58 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + } +) => Date diff --git a/node_modules/date-fns/startOfWeek/package.json b/node_modules/date-fns/startOfWeek/package.json new file mode 100644 index 000000000..f7e59dccf --- /dev/null +++ b/node_modules/date-fns/startOfWeek/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfWeek/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfWeekYear/index.d.ts b/node_modules/date-fns/startOfWeekYear/index.d.ts new file mode 100644 index 000000000..95b485134 --- /dev/null +++ b/node_modules/date-fns/startOfWeekYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfWeekYear } from 'date-fns' +export default startOfWeekYear diff --git a/node_modules/date-fns/startOfWeekYear/index.js b/node_modules/date-fns/startOfWeekYear/index.js new file mode 100644 index 000000000..6086cb97d --- /dev/null +++ b/node_modules/date-fns/startOfWeekYear/index.js @@ -0,0 +1,64 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfWeekYear; +var _index = _interopRequireDefault(require("../getWeekYear/index.js")); +var _index2 = _interopRequireDefault(require("../startOfWeek/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index5 = require("../_lib/defaultOptions/index.js"); +/** + * @name startOfWeekYear + * @category Week-Numbering Year Helpers + * @summary Return the start of a local week-numbering year for the given date. + * + * @description + * Return the start of a local week-numbering year. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#Week_numbering + * + * @param {Date|Number} date - the original date + * @param {Object} [options] - an object with options. + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @returns {Date} the start of a week-numbering year + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * + * @example + * // The start of an a week-numbering year for 2 July 2005 with default settings: + * const result = startOfWeekYear(new Date(2005, 6, 2)) + * //=> Sun Dec 26 2004 00:00:00 + * + * @example + * // The start of a week-numbering year for 2 July 2005 + * // if Monday is the first day of week + * // and 4 January is always in the first week of the year: + * const result = startOfWeekYear(new Date(2005, 6, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> Mon Jan 03 2005 00:00:00 + */ +function startOfWeekYear(dirtyDate, options) { + var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2; + (0, _index4.default)(1, arguments); + var defaultOptions = (0, _index5.getDefaultOptions)(); + var firstWeekContainsDate = (0, _index3.default)((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); + var year = (0, _index.default)(dirtyDate, options); + var firstWeek = new Date(0); + firstWeek.setFullYear(year, 0, firstWeekContainsDate); + firstWeek.setHours(0, 0, 0, 0); + var date = (0, _index2.default)(firstWeek, options); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfWeekYear/index.js.flow b/node_modules/date-fns/startOfWeekYear/index.js.flow new file mode 100644 index 000000000..49cecb6e1 --- /dev/null +++ b/node_modules/date-fns/startOfWeekYear/index.js.flow @@ -0,0 +1,59 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: ( + date: Date | number, + options?: { + locale?: Locale, + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + } +) => Date diff --git a/node_modules/date-fns/startOfWeekYear/package.json b/node_modules/date-fns/startOfWeekYear/package.json new file mode 100644 index 000000000..0d614cb30 --- /dev/null +++ b/node_modules/date-fns/startOfWeekYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfWeekYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfYear/index.d.ts b/node_modules/date-fns/startOfYear/index.d.ts new file mode 100644 index 000000000..669ffc9b1 --- /dev/null +++ b/node_modules/date-fns/startOfYear/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfYear } from 'date-fns' +export default startOfYear diff --git a/node_modules/date-fns/startOfYear/index.js b/node_modules/date-fns/startOfYear/index.js new file mode 100644 index 000000000..98c5c1f43 --- /dev/null +++ b/node_modules/date-fns/startOfYear/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfYear; +var _index = _interopRequireDefault(require("../toDate/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name startOfYear + * @category Year Helpers + * @summary Return the start of a year for the given date. + * + * @description + * Return the start of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|Number} date - the original date + * @returns {Date} the start of a year + * @throws {TypeError} 1 argument required + * + * @example + * // The start of a year for 2 September 2014 11:55:00: + * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Jan 01 2014 00:00:00 + */ +function startOfYear(dirtyDate) { + (0, _index2.default)(1, arguments); + var cleanDate = (0, _index.default)(dirtyDate); + var date = new Date(0); + date.setFullYear(cleanDate.getFullYear(), 0, 1); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfYear/index.js.flow b/node_modules/date-fns/startOfYear/index.js.flow new file mode 100644 index 000000000..4b7c616e3 --- /dev/null +++ b/node_modules/date-fns/startOfYear/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/startOfYear/package.json b/node_modules/date-fns/startOfYear/package.json new file mode 100644 index 000000000..b5bab3385 --- /dev/null +++ b/node_modules/date-fns/startOfYear/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfYear/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/startOfYesterday/index.d.ts b/node_modules/date-fns/startOfYesterday/index.d.ts new file mode 100644 index 000000000..0342a28e9 --- /dev/null +++ b/node_modules/date-fns/startOfYesterday/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { startOfYesterday } from 'date-fns' +export default startOfYesterday diff --git a/node_modules/date-fns/startOfYesterday/index.js b/node_modules/date-fns/startOfYesterday/index.js new file mode 100644 index 000000000..3236622c1 --- /dev/null +++ b/node_modules/date-fns/startOfYesterday/index.js @@ -0,0 +1,36 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = startOfYesterday; +/** + * @name startOfYesterday + * @category Day Helpers + * @summary Return the start of yesterday. + * @pure false + * + * @description + * Return the start of yesterday. + * + * > ⚠️ Please note that this function is not present in the FP submodule as + * > it uses `new Date()` internally hence impure and can't be safely curried. + * + * @returns {Date} the start of yesterday + * + * @example + * // If today is 6 October 2014: + * const result = startOfYesterday() + * //=> Sun Oct 5 2014 00:00:00 + */ +function startOfYesterday() { + var now = new Date(); + var year = now.getFullYear(); + var month = now.getMonth(); + var day = now.getDate(); + var date = new Date(0); + date.setFullYear(year, month, day - 1); + date.setHours(0, 0, 0, 0); + return date; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/startOfYesterday/index.js.flow b/node_modules/date-fns/startOfYesterday/index.js.flow new file mode 100644 index 000000000..26bde320c --- /dev/null +++ b/node_modules/date-fns/startOfYesterday/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: () => Date diff --git a/node_modules/date-fns/startOfYesterday/package.json b/node_modules/date-fns/startOfYesterday/package.json new file mode 100644 index 000000000..d79711c41 --- /dev/null +++ b/node_modules/date-fns/startOfYesterday/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/startOfYesterday/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/sub/index.d.ts b/node_modules/date-fns/sub/index.d.ts new file mode 100644 index 000000000..7a4f3ecc6 --- /dev/null +++ b/node_modules/date-fns/sub/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { sub } from 'date-fns' +export default sub diff --git a/node_modules/date-fns/sub/index.js b/node_modules/date-fns/sub/index.js new file mode 100644 index 000000000..1ca0759b9 --- /dev/null +++ b/node_modules/date-fns/sub/index.js @@ -0,0 +1,76 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = sub; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../subDays/index.js")); +var _index2 = _interopRequireDefault(require("../subMonths/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index4 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name sub + * @category Common Helpers + * @summary Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date. + * + * @description + * Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be subtracted + * + * | Key | Description | + * |---------|------------------------------------| + * | years | Amount of years to be subtracted | + * | months | Amount of months to be subtracted | + * | weeks | Amount of weeks to be subtracted | + * | days | Amount of days to be subtracted | + * | hours | Amount of hours to be subtracted | + * | minutes | Amount of minutes to be subtracted | + * | seconds | Amount of seconds to be subtracted | + * + * All values default to 0 + * + * @returns {Date} the new date with the seconds subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract the following duration from 15 June 2017 15:29:20 + * const result = sub(new Date(2017, 5, 15, 15, 29, 20), { + * years: 2, + * months: 9, + * weeks: 1, + * days: 7, + * hours: 5, + * minutes: 9, + * seconds: 30 + * }) + * //=> Mon Sep 1 2014 10:19:50 + */ +function sub(date, duration) { + (0, _index3.default)(2, arguments); + if (!duration || (0, _typeof2.default)(duration) !== 'object') return new Date(NaN); + var years = duration.years ? (0, _index4.default)(duration.years) : 0; + var months = duration.months ? (0, _index4.default)(duration.months) : 0; + var weeks = duration.weeks ? (0, _index4.default)(duration.weeks) : 0; + var days = duration.days ? (0, _index4.default)(duration.days) : 0; + var hours = duration.hours ? (0, _index4.default)(duration.hours) : 0; + var minutes = duration.minutes ? (0, _index4.default)(duration.minutes) : 0; + var seconds = duration.seconds ? (0, _index4.default)(duration.seconds) : 0; + + // Subtract years and months + var dateWithoutMonths = (0, _index2.default)(date, months + years * 12); + + // Subtract weeks and days + var dateWithoutDays = (0, _index.default)(dateWithoutMonths, days + weeks * 7); + + // Subtract hours, minutes and seconds + var minutestoSub = minutes + hours * 60; + var secondstoSub = seconds + minutestoSub * 60; + var mstoSub = secondstoSub * 1000; + var finalDate = new Date(dateWithoutDays.getTime() - mstoSub); + return finalDate; +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/sub/index.js.flow b/node_modules/date-fns/sub/index.js.flow new file mode 100644 index 000000000..e79df7ca1 --- /dev/null +++ b/node_modules/date-fns/sub/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, duration: Duration) => Date diff --git a/node_modules/date-fns/sub/package.json b/node_modules/date-fns/sub/package.json new file mode 100644 index 000000000..93f8c7c19 --- /dev/null +++ b/node_modules/date-fns/sub/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/sub/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subBusinessDays/index.d.ts b/node_modules/date-fns/subBusinessDays/index.d.ts new file mode 100644 index 000000000..7a0549aa6 --- /dev/null +++ b/node_modules/date-fns/subBusinessDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subBusinessDays } from 'date-fns' +export default subBusinessDays diff --git a/node_modules/date-fns/subBusinessDays/index.js b/node_modules/date-fns/subBusinessDays/index.js new file mode 100644 index 000000000..adb172685 --- /dev/null +++ b/node_modules/date-fns/subBusinessDays/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subBusinessDays; +var _index = _interopRequireDefault(require("../addBusinessDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name subBusinessDays + * @category Day Helpers + * @summary Substract the specified number of business days (mon - fri) to the given date. + * + * @description + * Substract the specified number of business days (mon - fri) to the given date, ignoring weekends. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of business days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the business days subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Substract 10 business days from 1 September 2014: + * const result = subBusinessDays(new Date(2014, 8, 1), 10) + * //=> Mon Aug 18 2014 00:00:00 (skipped weekend days) + */ +function subBusinessDays(dirtyDate, dirtyAmount) { + (0, _index2.default)(2, arguments); + var amount = (0, _index3.default)(dirtyAmount); + return (0, _index.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subBusinessDays/index.js.flow b/node_modules/date-fns/subBusinessDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subBusinessDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subBusinessDays/package.json b/node_modules/date-fns/subBusinessDays/package.json new file mode 100644 index 000000000..fe54180e9 --- /dev/null +++ b/node_modules/date-fns/subBusinessDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subBusinessDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subDays/index.d.ts b/node_modules/date-fns/subDays/index.d.ts new file mode 100644 index 000000000..0b2fe65fc --- /dev/null +++ b/node_modules/date-fns/subDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subDays } from 'date-fns' +export default subDays diff --git a/node_modules/date-fns/subDays/index.js b/node_modules/date-fns/subDays/index.js new file mode 100644 index 000000000..8e6dc0b5f --- /dev/null +++ b/node_modules/date-fns/subDays/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subDays; +var _index = _interopRequireDefault(require("../addDays/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name subDays + * @category Day Helpers + * @summary Subtract the specified number of days from the given date. + * + * @description + * Subtract the specified number of days from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the days subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 10 days from 1 September 2014: + * const result = subDays(new Date(2014, 8, 1), 10) + * //=> Fri Aug 22 2014 00:00:00 + */ +function subDays(dirtyDate, dirtyAmount) { + (0, _index2.default)(2, arguments); + var amount = (0, _index3.default)(dirtyAmount); + return (0, _index.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subDays/index.js.flow b/node_modules/date-fns/subDays/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subDays/package.json b/node_modules/date-fns/subDays/package.json new file mode 100644 index 000000000..bfe79e8f7 --- /dev/null +++ b/node_modules/date-fns/subDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subHours/index.d.ts b/node_modules/date-fns/subHours/index.d.ts new file mode 100644 index 000000000..9b9a0d24f --- /dev/null +++ b/node_modules/date-fns/subHours/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subHours } from 'date-fns' +export default subHours diff --git a/node_modules/date-fns/subHours/index.js b/node_modules/date-fns/subHours/index.js new file mode 100644 index 000000000..90373acbe --- /dev/null +++ b/node_modules/date-fns/subHours/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subHours; +var _index = _interopRequireDefault(require("../addHours/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name subHours + * @category Hour Helpers + * @summary Subtract the specified number of hours from the given date. + * + * @description + * Subtract the specified number of hours from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of hours to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the hours subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 2 hours from 11 July 2014 01:00:00: + * const result = subHours(new Date(2014, 6, 11, 1, 0), 2) + * //=> Thu Jul 10 2014 23:00:00 + */ +function subHours(dirtyDate, dirtyAmount) { + (0, _index2.default)(2, arguments); + var amount = (0, _index3.default)(dirtyAmount); + return (0, _index.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subHours/index.js.flow b/node_modules/date-fns/subHours/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subHours/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subHours/package.json b/node_modules/date-fns/subHours/package.json new file mode 100644 index 000000000..f4588058d --- /dev/null +++ b/node_modules/date-fns/subHours/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subHours/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subISOWeekYears/index.d.ts b/node_modules/date-fns/subISOWeekYears/index.d.ts new file mode 100644 index 000000000..78018ea0e --- /dev/null +++ b/node_modules/date-fns/subISOWeekYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subISOWeekYears } from 'date-fns' +export default subISOWeekYears diff --git a/node_modules/date-fns/subISOWeekYears/index.js b/node_modules/date-fns/subISOWeekYears/index.js new file mode 100644 index 000000000..0d20a8ee9 --- /dev/null +++ b/node_modules/date-fns/subISOWeekYears/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subISOWeekYears; +var _index = _interopRequireDefault(require("../addISOWeekYears/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name subISOWeekYears + * @category ISO Week-Numbering Year Helpers + * @summary Subtract the specified number of ISO week-numbering years from the given date. + * + * @description + * Subtract the specified number of ISO week-numbering years from the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of ISO week-numbering years to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the ISO week-numbering years subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 5 ISO week-numbering years from 1 September 2014: + * const result = subISOWeekYears(new Date(2014, 8, 1), 5) + * //=> Mon Aug 31 2009 00:00:00 + */ +function subISOWeekYears(dirtyDate, dirtyAmount) { + (0, _index2.default)(2, arguments); + var amount = (0, _index3.default)(dirtyAmount); + return (0, _index.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subISOWeekYears/index.js.flow b/node_modules/date-fns/subISOWeekYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subISOWeekYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subISOWeekYears/package.json b/node_modules/date-fns/subISOWeekYears/package.json new file mode 100644 index 000000000..875d5e41a --- /dev/null +++ b/node_modules/date-fns/subISOWeekYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subISOWeekYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subMilliseconds/index.d.ts b/node_modules/date-fns/subMilliseconds/index.d.ts new file mode 100644 index 000000000..ffc51f166 --- /dev/null +++ b/node_modules/date-fns/subMilliseconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMilliseconds } from 'date-fns' +export default subMilliseconds diff --git a/node_modules/date-fns/subMilliseconds/index.js b/node_modules/date-fns/subMilliseconds/index.js new file mode 100644 index 000000000..80263bb3d --- /dev/null +++ b/node_modules/date-fns/subMilliseconds/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subMilliseconds; +var _index = _interopRequireDefault(require("../addMilliseconds/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name subMilliseconds + * @category Millisecond Helpers + * @summary Subtract the specified number of milliseconds from the given date. + * + * @description + * Subtract the specified number of milliseconds from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the milliseconds subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000: + * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750) + * //=> Thu Jul 10 2014 12:45:29.250 + */ +function subMilliseconds(dirtyDate, dirtyAmount) { + (0, _index2.default)(2, arguments); + var amount = (0, _index3.default)(dirtyAmount); + return (0, _index.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subMilliseconds/index.js.flow b/node_modules/date-fns/subMilliseconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subMilliseconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subMilliseconds/package.json b/node_modules/date-fns/subMilliseconds/package.json new file mode 100644 index 000000000..bfca79325 --- /dev/null +++ b/node_modules/date-fns/subMilliseconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subMilliseconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subMinutes/index.d.ts b/node_modules/date-fns/subMinutes/index.d.ts new file mode 100644 index 000000000..43c32229d --- /dev/null +++ b/node_modules/date-fns/subMinutes/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMinutes } from 'date-fns' +export default subMinutes diff --git a/node_modules/date-fns/subMinutes/index.js b/node_modules/date-fns/subMinutes/index.js new file mode 100644 index 000000000..e6591ee31 --- /dev/null +++ b/node_modules/date-fns/subMinutes/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subMinutes; +var _index = _interopRequireDefault(require("../addMinutes/index.js")); +var _index2 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/toInteger/index.js")); +/** + * @name subMinutes + * @category Minute Helpers + * @summary Subtract the specified number of minutes from the given date. + * + * @description + * Subtract the specified number of minutes from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of minutes to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the minutes subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 30 minutes from 10 July 2014 12:00:00: + * const result = subMinutes(new Date(2014, 6, 10, 12, 0), 30) + * //=> Thu Jul 10 2014 11:30:00 + */ +function subMinutes(dirtyDate, dirtyAmount) { + (0, _index2.default)(2, arguments); + var amount = (0, _index3.default)(dirtyAmount); + return (0, _index.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subMinutes/index.js.flow b/node_modules/date-fns/subMinutes/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subMinutes/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subMinutes/package.json b/node_modules/date-fns/subMinutes/package.json new file mode 100644 index 000000000..53d443cd0 --- /dev/null +++ b/node_modules/date-fns/subMinutes/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subMinutes/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subMonths/index.d.ts b/node_modules/date-fns/subMonths/index.d.ts new file mode 100644 index 000000000..dd963a146 --- /dev/null +++ b/node_modules/date-fns/subMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subMonths } from 'date-fns' +export default subMonths diff --git a/node_modules/date-fns/subMonths/index.js b/node_modules/date-fns/subMonths/index.js new file mode 100644 index 000000000..61a79de2f --- /dev/null +++ b/node_modules/date-fns/subMonths/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subMonths; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addMonths/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name subMonths + * @category Month Helpers + * @summary Subtract the specified number of months from the given date. + * + * @description + * Subtract the specified number of months from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of months to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the months subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 5 months from 1 February 2015: + * const result = subMonths(new Date(2015, 1, 1), 5) + * //=> Mon Sep 01 2014 00:00:00 + */ +function subMonths(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subMonths/index.js.flow b/node_modules/date-fns/subMonths/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subMonths/package.json b/node_modules/date-fns/subMonths/package.json new file mode 100644 index 000000000..9e44c4837 --- /dev/null +++ b/node_modules/date-fns/subMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subMonths/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subQuarters/index.d.ts b/node_modules/date-fns/subQuarters/index.d.ts new file mode 100644 index 000000000..216a1f392 --- /dev/null +++ b/node_modules/date-fns/subQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subQuarters } from 'date-fns' +export default subQuarters diff --git a/node_modules/date-fns/subQuarters/index.js b/node_modules/date-fns/subQuarters/index.js new file mode 100644 index 000000000..0a30e76b1 --- /dev/null +++ b/node_modules/date-fns/subQuarters/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subQuarters; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addQuarters/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name subQuarters + * @category Quarter Helpers + * @summary Subtract the specified number of year quarters from the given date. + * + * @description + * Subtract the specified number of year quarters from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of quarters to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the quarters subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 3 quarters from 1 September 2014: + * const result = subQuarters(new Date(2014, 8, 1), 3) + * //=> Sun Dec 01 2013 00:00:00 + */ +function subQuarters(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subQuarters/index.js.flow b/node_modules/date-fns/subQuarters/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subQuarters/package.json b/node_modules/date-fns/subQuarters/package.json new file mode 100644 index 000000000..c5a9760f5 --- /dev/null +++ b/node_modules/date-fns/subQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subQuarters/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subSeconds/index.d.ts b/node_modules/date-fns/subSeconds/index.d.ts new file mode 100644 index 000000000..f718279ac --- /dev/null +++ b/node_modules/date-fns/subSeconds/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subSeconds } from 'date-fns' +export default subSeconds diff --git a/node_modules/date-fns/subSeconds/index.js b/node_modules/date-fns/subSeconds/index.js new file mode 100644 index 000000000..4ba83450e --- /dev/null +++ b/node_modules/date-fns/subSeconds/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subSeconds; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addSeconds/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name subSeconds + * @category Second Helpers + * @summary Subtract the specified number of seconds from the given date. + * + * @description + * Subtract the specified number of seconds from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of seconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the seconds subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 30 seconds from 10 July 2014 12:45:00: + * const result = subSeconds(new Date(2014, 6, 10, 12, 45, 0), 30) + * //=> Thu Jul 10 2014 12:44:30 + */ +function subSeconds(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subSeconds/index.js.flow b/node_modules/date-fns/subSeconds/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subSeconds/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subSeconds/package.json b/node_modules/date-fns/subSeconds/package.json new file mode 100644 index 000000000..98ac354f2 --- /dev/null +++ b/node_modules/date-fns/subSeconds/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subSeconds/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subWeeks/index.d.ts b/node_modules/date-fns/subWeeks/index.d.ts new file mode 100644 index 000000000..b6e3c8272 --- /dev/null +++ b/node_modules/date-fns/subWeeks/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subWeeks } from 'date-fns' +export default subWeeks diff --git a/node_modules/date-fns/subWeeks/index.js b/node_modules/date-fns/subWeeks/index.js new file mode 100644 index 000000000..161a736c0 --- /dev/null +++ b/node_modules/date-fns/subWeeks/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subWeeks; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addWeeks/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name subWeeks + * @category Week Helpers + * @summary Subtract the specified number of weeks from the given date. + * + * @description + * Subtract the specified number of weeks from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of weeks to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the weeks subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 4 weeks from 1 September 2014: + * const result = subWeeks(new Date(2014, 8, 1), 4) + * //=> Mon Aug 04 2014 00:00:00 + */ +function subWeeks(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subWeeks/index.js.flow b/node_modules/date-fns/subWeeks/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subWeeks/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subWeeks/package.json b/node_modules/date-fns/subWeeks/package.json new file mode 100644 index 000000000..2bd8b8f25 --- /dev/null +++ b/node_modules/date-fns/subWeeks/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subWeeks/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/subYears/index.d.ts b/node_modules/date-fns/subYears/index.d.ts new file mode 100644 index 000000000..5edf48213 --- /dev/null +++ b/node_modules/date-fns/subYears/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { subYears } from 'date-fns' +export default subYears diff --git a/node_modules/date-fns/subYears/index.js b/node_modules/date-fns/subYears/index.js new file mode 100644 index 000000000..03979e04c --- /dev/null +++ b/node_modules/date-fns/subYears/index.js @@ -0,0 +1,34 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = subYears; +var _index = _interopRequireDefault(require("../_lib/toInteger/index.js")); +var _index2 = _interopRequireDefault(require("../addYears/index.js")); +var _index3 = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name subYears + * @category Year Helpers + * @summary Subtract the specified number of years from the given date. + * + * @description + * Subtract the specified number of years from the given date. + * + * @param {Date|Number} date - the date to be changed + * @param {Number} amount - the amount of years to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`. + * @returns {Date} the new date with the years subtracted + * @throws {TypeError} 2 arguments required + * + * @example + * // Subtract 5 years from 1 September 2014: + * const result = subYears(new Date(2014, 8, 1), 5) + * //=> Tue Sep 01 2009 00:00:00 + */ +function subYears(dirtyDate, dirtyAmount) { + (0, _index3.default)(2, arguments); + var amount = (0, _index.default)(dirtyAmount); + return (0, _index2.default)(dirtyDate, -amount); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/subYears/index.js.flow b/node_modules/date-fns/subYears/index.js.flow new file mode 100644 index 000000000..f568f0d97 --- /dev/null +++ b/node_modules/date-fns/subYears/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (date: Date | number, amount: number) => Date diff --git a/node_modules/date-fns/subYears/package.json b/node_modules/date-fns/subYears/package.json new file mode 100644 index 000000000..63649c3e9 --- /dev/null +++ b/node_modules/date-fns/subYears/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/subYears/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/toDate/index.d.ts b/node_modules/date-fns/toDate/index.d.ts new file mode 100644 index 000000000..0231ae7d0 --- /dev/null +++ b/node_modules/date-fns/toDate/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { toDate } from 'date-fns' +export default toDate diff --git a/node_modules/date-fns/toDate/index.js b/node_modules/date-fns/toDate/index.js new file mode 100644 index 000000000..30b2b8c9a --- /dev/null +++ b/node_modules/date-fns/toDate/index.js @@ -0,0 +1,60 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toDate; +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +/** + * @name toDate + * @category Common Helpers + * @summary Convert the given argument to an instance of Date. + * + * @description + * Convert the given argument to an instance of Date. + * + * If the argument is an instance of Date, the function returns its clone. + * + * If the argument is a number, it is treated as a timestamp. + * + * If the argument is none of the above, the function returns Invalid Date. + * + * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`. + * + * @param {Date|Number} argument - the value to convert + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + * + * @example + * // Clone the date: + * const result = toDate(new Date(2014, 1, 11, 11, 30, 30)) + * //=> Tue Feb 11 2014 11:30:30 + * + * @example + * // Convert the timestamp to date: + * const result = toDate(1392098430000) + * //=> Tue Feb 11 2014 11:30:30 + */ +function toDate(argument) { + (0, _index.default)(1, arguments); + var argStr = Object.prototype.toString.call(argument); + + // Clone the date + if (argument instanceof Date || (0, _typeof2.default)(argument) === 'object' && argStr === '[object Date]') { + // Prevent the date to lose the milliseconds when passed to new Date() in IE10 + return new Date(argument.getTime()); + } else if (typeof argument === 'number' || argStr === '[object Number]') { + return new Date(argument); + } else { + if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') { + // eslint-disable-next-line no-console + console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"); + // eslint-disable-next-line no-console + console.warn(new Error().stack); + } + return new Date(NaN); + } +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/toDate/index.js.flow b/node_modules/date-fns/toDate/index.js.flow new file mode 100644 index 000000000..19292c700 --- /dev/null +++ b/node_modules/date-fns/toDate/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (argument: Date | number) => Date diff --git a/node_modules/date-fns/toDate/package.json b/node_modules/date-fns/toDate/package.json new file mode 100644 index 000000000..72ac665d2 --- /dev/null +++ b/node_modules/date-fns/toDate/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/toDate/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/types.js b/node_modules/date-fns/types.js new file mode 100644 index 000000000..430afc16c --- /dev/null +++ b/node_modules/date-fns/types.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/node_modules/date-fns/typings.d.ts b/node_modules/date-fns/typings.d.ts new file mode 100644 index 000000000..06a707302 --- /dev/null +++ b/node_modules/date-fns/typings.d.ts @@ -0,0 +1,23802 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +// FP Interfaces + +interface CurriedFn1 { + (a: A): R +} + +interface CurriedFn2 { + (a: A): CurriedFn1 + (a: A, b: B): R +} + +interface CurriedFn3 { + (a: A): CurriedFn2 + (a: A, b: B): CurriedFn1 + (a: A, b: B, c: C): R +} + +interface CurriedFn4 { + (a: A): CurriedFn3 + (a: A, b: B): CurriedFn2 + (a: A, b: B, c: C): CurriedFn1 + (a: A, b: B, c: C, d: D): R +} + +// Type Aliases + +type Interval = { + start: Date | number + end: Date | number +} +type IntervalAliased = Interval + +type Locale = { + code?: string + formatDistance?: (...args: Array) => any + formatRelative?: (...args: Array) => any + localize?: { + ordinalNumber: (...args: Array) => any + era: (...args: Array) => any + quarter: (...args: Array) => any + month: (...args: Array) => any + day: (...args: Array) => any + dayPeriod: (...args: Array) => any + } + formatLong?: { + date: (...args: Array) => any + time: (...args: Array) => any + dateTime: (...args: Array) => any + } + match?: { + ordinalNumber: (...args: Array) => any + era: (...args: Array) => any + quarter: (...args: Array) => any + month: (...args: Array) => any + day: (...args: Array) => any + dayPeriod: (...args: Array) => any + } + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } +} +type LocaleAliased = Locale + +type Duration = { + years?: number + months?: number + weeks?: number + days?: number + hours?: number + minutes?: number + seconds?: number +} +type DurationAliased = Duration + +type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 +type DayAliased = Day + +// Exported Type Aliases + +declare module 'date-fns' { + export type Interval = IntervalAliased + + export type Locale = LocaleAliased + + export type Duration = DurationAliased + + export type Day = DayAliased +} + +// Regular Functions + +declare module 'date-fns' { + function add(date: Date | number, duration: Duration): Date + namespace add {} + + function addBusinessDays(date: Date | number, amount: number): Date + namespace addBusinessDays {} + + function addDays(date: Date | number, amount: number): Date + namespace addDays {} + + function addHours(date: Date | number, amount: number): Date + namespace addHours {} + + function addISOWeekYears(date: Date | number, amount: number): Date + namespace addISOWeekYears {} + + function addMilliseconds(date: Date | number, amount: number): Date + namespace addMilliseconds {} + + function addMinutes(date: Date | number, amount: number): Date + namespace addMinutes {} + + function addMonths(date: Date | number, amount: number): Date + namespace addMonths {} + + function addQuarters(date: Date | number, amount: number): Date + namespace addQuarters {} + + function addSeconds(date: Date | number, amount: number): Date + namespace addSeconds {} + + function addWeeks(date: Date | number, amount: number): Date + namespace addWeeks {} + + function addYears(date: Date | number, amount: number): Date + namespace addYears {} + + function areIntervalsOverlapping( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean + } + ): boolean + namespace areIntervalsOverlapping {} + + function clamp(date: Date | number, interval: Interval): Date + namespace clamp {} + + function closestIndexTo( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ): number | undefined + namespace closestIndexTo {} + + function closestTo( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ): Date | undefined + namespace closestTo {} + + function compareAsc(dateLeft: Date | number, dateRight: Date | number): number + namespace compareAsc {} + + function compareDesc( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace compareDesc {} + + function daysToWeeks(days: number): number + namespace daysToWeeks {} + + function differenceInBusinessDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInBusinessDays {} + + function differenceInCalendarDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarDays {} + + function differenceInCalendarISOWeeks( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarISOWeeks {} + + function differenceInCalendarISOWeekYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarISOWeekYears {} + + function differenceInCalendarMonths( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarMonths {} + + function differenceInCalendarQuarters( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarQuarters {} + + function differenceInCalendarWeeks( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + namespace differenceInCalendarWeeks {} + + function differenceInCalendarYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarYears {} + + function differenceInDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInDays {} + + function differenceInHours( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInHours {} + + function differenceInISOWeekYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInISOWeekYears {} + + function differenceInMilliseconds( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInMilliseconds {} + + function differenceInMinutes( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInMinutes {} + + function differenceInMonths( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInMonths {} + + function differenceInQuarters( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInQuarters {} + + function differenceInSeconds( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInSeconds {} + + function differenceInWeeks( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInWeeks {} + + function differenceInYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInYears {} + + function eachDayOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + namespace eachDayOfInterval {} + + function eachHourOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + namespace eachHourOfInterval {} + + function eachMinuteOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + namespace eachMinuteOfInterval {} + + function eachMonthOfInterval(interval: Interval): Date[] + namespace eachMonthOfInterval {} + + function eachQuarterOfInterval(interval: Interval): Date[] + namespace eachQuarterOfInterval {} + + function eachWeekendOfInterval(interval: Interval): Date[] + namespace eachWeekendOfInterval {} + + function eachWeekendOfMonth(date: Date | number): Date[] + namespace eachWeekendOfMonth {} + + function eachWeekendOfYear(date: Date | number): Date[] + namespace eachWeekendOfYear {} + + function eachWeekOfInterval( + interval: Interval, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date[] + namespace eachWeekOfInterval {} + + function eachYearOfInterval(interval: Interval): Date[] + namespace eachYearOfInterval {} + + function endOfDay(date: Date | number): Date + namespace endOfDay {} + + function endOfDecade( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + namespace endOfDecade {} + + function endOfHour(date: Date | number): Date + namespace endOfHour {} + + function endOfISOWeek(date: Date | number): Date + namespace endOfISOWeek {} + + function endOfISOWeekYear(date: Date | number): Date + namespace endOfISOWeekYear {} + + function endOfMinute(date: Date | number): Date + namespace endOfMinute {} + + function endOfMonth(date: Date | number): Date + namespace endOfMonth {} + + function endOfQuarter(date: Date | number): Date + namespace endOfQuarter {} + + function endOfSecond(date: Date | number): Date + namespace endOfSecond {} + + function endOfToday(): Date + namespace endOfToday {} + + function endOfTomorrow(): Date + namespace endOfTomorrow {} + + function endOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace endOfWeek {} + + function endOfYear(date: Date | number): Date + namespace endOfYear {} + + function endOfYesterday(): Date + namespace endOfYesterday {} + + function format( + date: Date | number, + format: string, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: number + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): string + namespace format {} + + function formatDistance( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean + addSuffix?: boolean + locale?: Locale + } + ): string + namespace formatDistance {} + + function formatDistanceStrict( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + roundingMethod?: 'floor' | 'ceil' | 'round' + locale?: Locale + } + ): string + namespace formatDistanceStrict {} + + function formatDistanceToNow( + date: Date | number, + options?: { + includeSeconds?: boolean + addSuffix?: boolean + locale?: Locale + } + ): string + namespace formatDistanceToNow {} + + function formatDistanceToNowStrict( + date: Date | number, + options?: { + addSuffix?: boolean + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + roundingMethod?: 'floor' | 'ceil' | 'round' + locale?: Locale + } + ): string + namespace formatDistanceToNowStrict {} + + function formatDuration( + duration: Duration, + options?: { + format?: string[] + zero?: boolean + delimiter?: string + locale?: Locale + } + ): string + namespace formatDuration {} + + function formatISO( + date: Date | number, + options?: { + format?: 'extended' | 'basic' + representation?: 'complete' | 'date' | 'time' + } + ): string + namespace formatISO {} + + function formatISO9075( + date: Date | number, + options?: { + format?: 'extended' | 'basic' + representation?: 'complete' | 'date' | 'time' + } + ): string + namespace formatISO9075 {} + + function formatISODuration(duration: Duration): string + namespace formatISODuration {} + + function formatRelative( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): string + namespace formatRelative {} + + function formatRFC3339( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3 + } + ): string + namespace formatRFC3339 {} + + function formatRFC7231(date: Date | number): string + namespace formatRFC7231 {} + + function fromUnixTime(unixTime: number): Date + namespace fromUnixTime {} + + function getDate(date: Date | number): number + namespace getDate {} + + function getDay(date: Date | number): 0 | 1 | 2 | 3 | 4 | 5 | 6 + namespace getDay {} + + function getDayOfYear(date: Date | number): number + namespace getDayOfYear {} + + function getDaysInMonth(date: Date | number): number + namespace getDaysInMonth {} + + function getDaysInYear(date: Date | number): number + namespace getDaysInYear {} + + function getDecade(date: Date | number): number + namespace getDecade {} + + function getDefaultOptions(): Object + namespace getDefaultOptions {} + + function getHours(date: Date | number): number + namespace getHours {} + + function getISODay(date: Date | number): number + namespace getISODay {} + + function getISOWeek(date: Date | number): number + namespace getISOWeek {} + + function getISOWeeksInYear(date: Date | number): number + namespace getISOWeeksInYear {} + + function getISOWeekYear(date: Date | number): number + namespace getISOWeekYear {} + + function getMilliseconds(date: Date | number): number + namespace getMilliseconds {} + + function getMinutes(date: Date | number): number + namespace getMinutes {} + + function getMonth(date: Date | number): number + namespace getMonth {} + + function getOverlappingDaysInIntervals( + intervalLeft: Interval, + intervalRight: Interval + ): number + namespace getOverlappingDaysInIntervals {} + + function getQuarter(date: Date | number): number + namespace getQuarter {} + + function getSeconds(date: Date | number): number + namespace getSeconds {} + + function getTime(date: Date | number): number + namespace getTime {} + + function getUnixTime(date: Date | number): number + namespace getUnixTime {} + + function getWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): number + namespace getWeek {} + + function getWeekOfMonth( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + namespace getWeekOfMonth {} + + function getWeeksInMonth( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + namespace getWeeksInMonth {} + + function getWeekYear( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): number + namespace getWeekYear {} + + function getYear(date: Date | number): number + namespace getYear {} + + function hoursToMilliseconds(hours: number): number + namespace hoursToMilliseconds {} + + function hoursToMinutes(hours: number): number + namespace hoursToMinutes {} + + function hoursToSeconds(hours: number): number + namespace hoursToSeconds {} + + function intervalToDuration(interval: Interval): Duration + namespace intervalToDuration {} + + function intlFormat( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit' + weekday?: 'narrow' | 'short' | 'long' + era?: 'narrow' | 'short' | 'long' + year?: 'numeric' | '2-digit' + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long' + day?: 'numeric' | '2-digit' + hour?: 'numeric' | '2-digit' + minute?: 'numeric' | '2-digit' + second?: 'numeric' | '2-digit' + timeZoneName?: 'short' | 'long' + formatMatcher?: 'basic' | 'best fit' + hour12?: boolean + timeZone?: string + }, + localeOptions?: { + locale?: string | string[] + } + ): string + namespace intlFormat {} + + function intlFormatDistance( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string + locale?: string | string[] + localeMatcher?: string + numeric?: string + style?: string + } + ): string + namespace intlFormatDistance {} + + function isAfter(date: Date | number, dateToCompare: Date | number): boolean + namespace isAfter {} + + function isBefore(date: Date | number, dateToCompare: Date | number): boolean + namespace isBefore {} + + function isDate(value: any): boolean + namespace isDate {} + + function isEqual(dateLeft: Date | number, dateRight: Date | number): boolean + namespace isEqual {} + + function isExists(year: number, month: number, day: number): boolean + namespace isExists {} + + function isFirstDayOfMonth(date: Date | number): boolean + namespace isFirstDayOfMonth {} + + function isFriday(date: Date | number): boolean + namespace isFriday {} + + function isFuture(date: Date | number): boolean + namespace isFuture {} + + function isLastDayOfMonth(date: Date | number): boolean + namespace isLastDayOfMonth {} + + function isLeapYear(date: Date | number): boolean + namespace isLeapYear {} + + function isMatch( + dateString: string, + formatString: string, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): boolean + namespace isMatch {} + + function isMonday(date: Date | number): boolean + namespace isMonday {} + + function isPast(date: Date | number): boolean + namespace isPast {} + + function isSameDay(dateLeft: Date | number, dateRight: Date | number): boolean + namespace isSameDay {} + + function isSameHour( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameHour {} + + function isSameISOWeek( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameISOWeek {} + + function isSameISOWeekYear( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameISOWeekYear {} + + function isSameMinute( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameMinute {} + + function isSameMonth( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameMonth {} + + function isSameQuarter( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameQuarter {} + + function isSameSecond( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameSecond {} + + function isSameWeek( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): boolean + namespace isSameWeek {} + + function isSameYear( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameYear {} + + function isSaturday(date: Date | number): boolean + namespace isSaturday {} + + function isSunday(date: Date | number): boolean + namespace isSunday {} + + function isThisHour(date: Date | number): boolean + namespace isThisHour {} + + function isThisISOWeek(date: Date | number): boolean + namespace isThisISOWeek {} + + function isThisMinute(date: Date | number): boolean + namespace isThisMinute {} + + function isThisMonth(date: Date | number): boolean + namespace isThisMonth {} + + function isThisQuarter(date: Date | number): boolean + namespace isThisQuarter {} + + function isThisSecond(date: Date | number): boolean + namespace isThisSecond {} + + function isThisWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): boolean + namespace isThisWeek {} + + function isThisYear(date: Date | number): boolean + namespace isThisYear {} + + function isThursday(date: Date | number): boolean + namespace isThursday {} + + function isToday(date: Date | number): boolean + namespace isToday {} + + function isTomorrow(date: Date | number): boolean + namespace isTomorrow {} + + function isTuesday(date: Date | number): boolean + namespace isTuesday {} + + function isValid(date: any): boolean + namespace isValid {} + + function isWednesday(date: Date | number): boolean + namespace isWednesday {} + + function isWeekend(date: Date | number): boolean + namespace isWeekend {} + + function isWithinInterval(date: Date | number, interval: Interval): boolean + namespace isWithinInterval {} + + function isYesterday(date: Date | number): boolean + namespace isYesterday {} + + function lastDayOfDecade(date: Date | number): Date + namespace lastDayOfDecade {} + + function lastDayOfISOWeek(date: Date | number): Date + namespace lastDayOfISOWeek {} + + function lastDayOfISOWeekYear(date: Date | number): Date + namespace lastDayOfISOWeekYear {} + + function lastDayOfMonth(date: Date | number): Date + namespace lastDayOfMonth {} + + function lastDayOfQuarter( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + namespace lastDayOfQuarter {} + + function lastDayOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace lastDayOfWeek {} + + function lastDayOfYear(date: Date | number): Date + namespace lastDayOfYear {} + + function lightFormat(date: Date | number, format: string): string + namespace lightFormat {} + + function max(datesArray: (Date | number)[]): Date + namespace max {} + + function milliseconds(duration: Duration): number + namespace milliseconds {} + + function millisecondsToHours(milliseconds: number): number + namespace millisecondsToHours {} + + function millisecondsToMinutes(milliseconds: number): number + namespace millisecondsToMinutes {} + + function millisecondsToSeconds(milliseconds: number): number + namespace millisecondsToSeconds {} + + function min(datesArray: (Date | number)[]): Date + namespace min {} + + function minutesToHours(minutes: number): number + namespace minutesToHours {} + + function minutesToMilliseconds(minutes: number): number + namespace minutesToMilliseconds {} + + function minutesToSeconds(minutes: number): number + namespace minutesToSeconds {} + + function monthsToQuarters(months: number): number + namespace monthsToQuarters {} + + function monthsToYears(months: number): number + namespace monthsToYears {} + + function nextDay(date: Date | number, day: Day): Date + namespace nextDay {} + + function nextFriday(date: Date | number): Date + namespace nextFriday {} + + function nextMonday(date: Date | number): Date + namespace nextMonday {} + + function nextSaturday(date: Date | number): Date + namespace nextSaturday {} + + function nextSunday(date: Date | number): Date + namespace nextSunday {} + + function nextThursday(date: Date | number): Date + namespace nextThursday {} + + function nextTuesday(date: Date | number): Date + namespace nextTuesday {} + + function nextWednesday(date: Date | number): Date + namespace nextWednesday {} + + function parse( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): Date + namespace parse {} + + function parseISO( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + namespace parseISO {} + + function parseJSON(argument: string | number | Date): Date + namespace parseJSON {} + + function previousDay(date: Date | number, day: number): Date + namespace previousDay {} + + function previousFriday(date: Date | number): Date + namespace previousFriday {} + + function previousMonday(date: Date | number): Date + namespace previousMonday {} + + function previousSaturday(date: Date | number): Date + namespace previousSaturday {} + + function previousSunday(date: Date | number): Date + namespace previousSunday {} + + function previousThursday(date: Date | number): Date + namespace previousThursday {} + + function previousTuesday(date: Date | number): Date + namespace previousTuesday {} + + function previousWednesday(date: Date | number): Date + namespace previousWednesday {} + + function quartersToMonths(quarters: number): number + namespace quartersToMonths {} + + function quartersToYears(quarters: number): number + namespace quartersToYears {} + + function roundToNearestMinutes( + date: Date | number, + options?: { + nearestTo?: number + roundingMethod?: string + } + ): Date + namespace roundToNearestMinutes {} + + function secondsToHours(seconds: number): number + namespace secondsToHours {} + + function secondsToMilliseconds(seconds: number): number + namespace secondsToMilliseconds {} + + function secondsToMinutes(seconds: number): number + namespace secondsToMinutes {} + + function set( + date: Date | number, + values: { + year?: number + month?: number + date?: number + hours?: number + minutes?: number + seconds?: number + milliseconds?: number + } + ): Date + namespace set {} + + function setDate(date: Date | number, dayOfMonth: number): Date + namespace setDate {} + + function setDay( + date: Date | number, + day: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace setDay {} + + function setDayOfYear(date: Date | number, dayOfYear: number): Date + namespace setDayOfYear {} + + function setDefaultOptions(newOptions: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + }): void + namespace setDefaultOptions {} + + function setHours(date: Date | number, hours: number): Date + namespace setHours {} + + function setISODay(date: Date | number, day: number): Date + namespace setISODay {} + + function setISOWeek(date: Date | number, isoWeek: number): Date + namespace setISOWeek {} + + function setISOWeekYear(date: Date | number, isoWeekYear: number): Date + namespace setISOWeekYear {} + + function setMilliseconds(date: Date | number, milliseconds: number): Date + namespace setMilliseconds {} + + function setMinutes(date: Date | number, minutes: number): Date + namespace setMinutes {} + + function setMonth(date: Date | number, month: number): Date + namespace setMonth {} + + function setQuarter(date: Date | number, quarter: number): Date + namespace setQuarter {} + + function setSeconds(date: Date | number, seconds: number): Date + namespace setSeconds {} + + function setWeek( + date: Date | number, + week: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + namespace setWeek {} + + function setWeekYear( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + namespace setWeekYear {} + + function setYear(date: Date | number, year: number): Date + namespace setYear {} + + function startOfDay(date: Date | number): Date + namespace startOfDay {} + + function startOfDecade(date: Date | number): Date + namespace startOfDecade {} + + function startOfHour(date: Date | number): Date + namespace startOfHour {} + + function startOfISOWeek(date: Date | number): Date + namespace startOfISOWeek {} + + function startOfISOWeekYear(date: Date | number): Date + namespace startOfISOWeekYear {} + + function startOfMinute(date: Date | number): Date + namespace startOfMinute {} + + function startOfMonth(date: Date | number): Date + namespace startOfMonth {} + + function startOfQuarter(date: Date | number): Date + namespace startOfQuarter {} + + function startOfSecond(date: Date | number): Date + namespace startOfSecond {} + + function startOfToday(): Date + namespace startOfToday {} + + function startOfTomorrow(): Date + namespace startOfTomorrow {} + + function startOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace startOfWeek {} + + function startOfWeekYear( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + namespace startOfWeekYear {} + + function startOfYear(date: Date | number): Date + namespace startOfYear {} + + function startOfYesterday(): Date + namespace startOfYesterday {} + + function sub(date: Date | number, duration: Duration): Date + namespace sub {} + + function subBusinessDays(date: Date | number, amount: number): Date + namespace subBusinessDays {} + + function subDays(date: Date | number, amount: number): Date + namespace subDays {} + + function subHours(date: Date | number, amount: number): Date + namespace subHours {} + + function subISOWeekYears(date: Date | number, amount: number): Date + namespace subISOWeekYears {} + + function subMilliseconds(date: Date | number, amount: number): Date + namespace subMilliseconds {} + + function subMinutes(date: Date | number, amount: number): Date + namespace subMinutes {} + + function subMonths(date: Date | number, amount: number): Date + namespace subMonths {} + + function subQuarters(date: Date | number, amount: number): Date + namespace subQuarters {} + + function subSeconds(date: Date | number, amount: number): Date + namespace subSeconds {} + + function subWeeks(date: Date | number, amount: number): Date + namespace subWeeks {} + + function subYears(date: Date | number, amount: number): Date + namespace subYears {} + + function toDate(argument: Date | number): Date + namespace toDate {} + + function weeksToDays(weeks: number): number + namespace weeksToDays {} + + function yearsToMonths(years: number): number + namespace yearsToMonths {} + + function yearsToQuarters(years: number): number + namespace yearsToQuarters {} + + const daysInWeek: number + + const daysInYear: number + + const maxTime: number + + const millisecondsInMinute: number + + const millisecondsInHour: number + + const millisecondsInSecond: number + + const minTime: number + + const minutesInHour: number + + const monthsInQuarter: number + + const monthsInYear: number + + const quartersInYear: number + + const secondsInHour: number + + const secondsInMinute: number + + const secondsInDay: number + + const secondsInWeek: number + + const secondsInYear: number + + const secondsInMonth: number + + const secondsInQuarter: number +} + +declare module 'date-fns/constants' { + export const daysInWeek: number + export const daysInYear: number + export const maxTime: number + export const millisecondsInMinute: number + export const millisecondsInHour: number + export const millisecondsInSecond: number + export const minTime: number + export const minutesInHour: number + export const monthsInQuarter: number + export const monthsInYear: number + export const quartersInYear: number + export const secondsInHour: number + export const secondsInMinute: number + export const secondsInDay: number + export const secondsInWeek: number + export const secondsInYear: number + export const secondsInMonth: number + export const secondsInQuarter: number +} + +declare module 'date-fns/constants/index' { + export const daysInWeek: number + export const daysInYear: number + export const maxTime: number + export const millisecondsInMinute: number + export const millisecondsInHour: number + export const millisecondsInSecond: number + export const minTime: number + export const minutesInHour: number + export const monthsInQuarter: number + export const monthsInYear: number + export const quartersInYear: number + export const secondsInHour: number + export const secondsInMinute: number + export const secondsInDay: number + export const secondsInWeek: number + export const secondsInYear: number + export const secondsInMonth: number + export const secondsInQuarter: number +} + +declare module 'date-fns/constants/index.js' { + export const daysInWeek: number + export const daysInYear: number + export const maxTime: number + export const millisecondsInMinute: number + export const millisecondsInHour: number + export const millisecondsInSecond: number + export const minTime: number + export const minutesInHour: number + export const monthsInQuarter: number + export const monthsInYear: number + export const quartersInYear: number + export const secondsInHour: number + export const secondsInMinute: number + export const secondsInDay: number + export const secondsInWeek: number + export const secondsInYear: number + export const secondsInMonth: number + export const secondsInQuarter: number +} + +declare module 'date-fns/add' { + import { add } from 'date-fns' + export default add +} + +declare module 'date-fns/addBusinessDays' { + import { addBusinessDays } from 'date-fns' + export default addBusinessDays +} + +declare module 'date-fns/addDays' { + import { addDays } from 'date-fns' + export default addDays +} + +declare module 'date-fns/addHours' { + import { addHours } from 'date-fns' + export default addHours +} + +declare module 'date-fns/addISOWeekYears' { + import { addISOWeekYears } from 'date-fns' + export default addISOWeekYears +} + +declare module 'date-fns/addMilliseconds' { + import { addMilliseconds } from 'date-fns' + export default addMilliseconds +} + +declare module 'date-fns/addMinutes' { + import { addMinutes } from 'date-fns' + export default addMinutes +} + +declare module 'date-fns/addMonths' { + import { addMonths } from 'date-fns' + export default addMonths +} + +declare module 'date-fns/addQuarters' { + import { addQuarters } from 'date-fns' + export default addQuarters +} + +declare module 'date-fns/addSeconds' { + import { addSeconds } from 'date-fns' + export default addSeconds +} + +declare module 'date-fns/addWeeks' { + import { addWeeks } from 'date-fns' + export default addWeeks +} + +declare module 'date-fns/addYears' { + import { addYears } from 'date-fns' + export default addYears +} + +declare module 'date-fns/areIntervalsOverlapping' { + import { areIntervalsOverlapping } from 'date-fns' + export default areIntervalsOverlapping +} + +declare module 'date-fns/clamp' { + import { clamp } from 'date-fns' + export default clamp +} + +declare module 'date-fns/closestIndexTo' { + import { closestIndexTo } from 'date-fns' + export default closestIndexTo +} + +declare module 'date-fns/closestTo' { + import { closestTo } from 'date-fns' + export default closestTo +} + +declare module 'date-fns/compareAsc' { + import { compareAsc } from 'date-fns' + export default compareAsc +} + +declare module 'date-fns/compareDesc' { + import { compareDesc } from 'date-fns' + export default compareDesc +} + +declare module 'date-fns/daysToWeeks' { + import { daysToWeeks } from 'date-fns' + export default daysToWeeks +} + +declare module 'date-fns/differenceInBusinessDays' { + import { differenceInBusinessDays } from 'date-fns' + export default differenceInBusinessDays +} + +declare module 'date-fns/differenceInCalendarDays' { + import { differenceInCalendarDays } from 'date-fns' + export default differenceInCalendarDays +} + +declare module 'date-fns/differenceInCalendarISOWeeks' { + import { differenceInCalendarISOWeeks } from 'date-fns' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/differenceInCalendarISOWeekYears' { + import { differenceInCalendarISOWeekYears } from 'date-fns' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/differenceInCalendarMonths' { + import { differenceInCalendarMonths } from 'date-fns' + export default differenceInCalendarMonths +} + +declare module 'date-fns/differenceInCalendarQuarters' { + import { differenceInCalendarQuarters } from 'date-fns' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/differenceInCalendarWeeks' { + import { differenceInCalendarWeeks } from 'date-fns' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/differenceInCalendarYears' { + import { differenceInCalendarYears } from 'date-fns' + export default differenceInCalendarYears +} + +declare module 'date-fns/differenceInDays' { + import { differenceInDays } from 'date-fns' + export default differenceInDays +} + +declare module 'date-fns/differenceInHours' { + import { differenceInHours } from 'date-fns' + export default differenceInHours +} + +declare module 'date-fns/differenceInISOWeekYears' { + import { differenceInISOWeekYears } from 'date-fns' + export default differenceInISOWeekYears +} + +declare module 'date-fns/differenceInMilliseconds' { + import { differenceInMilliseconds } from 'date-fns' + export default differenceInMilliseconds +} + +declare module 'date-fns/differenceInMinutes' { + import { differenceInMinutes } from 'date-fns' + export default differenceInMinutes +} + +declare module 'date-fns/differenceInMonths' { + import { differenceInMonths } from 'date-fns' + export default differenceInMonths +} + +declare module 'date-fns/differenceInQuarters' { + import { differenceInQuarters } from 'date-fns' + export default differenceInQuarters +} + +declare module 'date-fns/differenceInSeconds' { + import { differenceInSeconds } from 'date-fns' + export default differenceInSeconds +} + +declare module 'date-fns/differenceInWeeks' { + import { differenceInWeeks } from 'date-fns' + export default differenceInWeeks +} + +declare module 'date-fns/differenceInYears' { + import { differenceInYears } from 'date-fns' + export default differenceInYears +} + +declare module 'date-fns/eachDayOfInterval' { + import { eachDayOfInterval } from 'date-fns' + export default eachDayOfInterval +} + +declare module 'date-fns/eachHourOfInterval' { + import { eachHourOfInterval } from 'date-fns' + export default eachHourOfInterval +} + +declare module 'date-fns/eachMinuteOfInterval' { + import { eachMinuteOfInterval } from 'date-fns' + export default eachMinuteOfInterval +} + +declare module 'date-fns/eachMonthOfInterval' { + import { eachMonthOfInterval } from 'date-fns' + export default eachMonthOfInterval +} + +declare module 'date-fns/eachQuarterOfInterval' { + import { eachQuarterOfInterval } from 'date-fns' + export default eachQuarterOfInterval +} + +declare module 'date-fns/eachWeekendOfInterval' { + import { eachWeekendOfInterval } from 'date-fns' + export default eachWeekendOfInterval +} + +declare module 'date-fns/eachWeekendOfMonth' { + import { eachWeekendOfMonth } from 'date-fns' + export default eachWeekendOfMonth +} + +declare module 'date-fns/eachWeekendOfYear' { + import { eachWeekendOfYear } from 'date-fns' + export default eachWeekendOfYear +} + +declare module 'date-fns/eachWeekOfInterval' { + import { eachWeekOfInterval } from 'date-fns' + export default eachWeekOfInterval +} + +declare module 'date-fns/eachYearOfInterval' { + import { eachYearOfInterval } from 'date-fns' + export default eachYearOfInterval +} + +declare module 'date-fns/endOfDay' { + import { endOfDay } from 'date-fns' + export default endOfDay +} + +declare module 'date-fns/endOfDecade' { + import { endOfDecade } from 'date-fns' + export default endOfDecade +} + +declare module 'date-fns/endOfHour' { + import { endOfHour } from 'date-fns' + export default endOfHour +} + +declare module 'date-fns/endOfISOWeek' { + import { endOfISOWeek } from 'date-fns' + export default endOfISOWeek +} + +declare module 'date-fns/endOfISOWeekYear' { + import { endOfISOWeekYear } from 'date-fns' + export default endOfISOWeekYear +} + +declare module 'date-fns/endOfMinute' { + import { endOfMinute } from 'date-fns' + export default endOfMinute +} + +declare module 'date-fns/endOfMonth' { + import { endOfMonth } from 'date-fns' + export default endOfMonth +} + +declare module 'date-fns/endOfQuarter' { + import { endOfQuarter } from 'date-fns' + export default endOfQuarter +} + +declare module 'date-fns/endOfSecond' { + import { endOfSecond } from 'date-fns' + export default endOfSecond +} + +declare module 'date-fns/endOfToday' { + import { endOfToday } from 'date-fns' + export default endOfToday +} + +declare module 'date-fns/endOfTomorrow' { + import { endOfTomorrow } from 'date-fns' + export default endOfTomorrow +} + +declare module 'date-fns/endOfWeek' { + import { endOfWeek } from 'date-fns' + export default endOfWeek +} + +declare module 'date-fns/endOfYear' { + import { endOfYear } from 'date-fns' + export default endOfYear +} + +declare module 'date-fns/endOfYesterday' { + import { endOfYesterday } from 'date-fns' + export default endOfYesterday +} + +declare module 'date-fns/format' { + import { format } from 'date-fns' + export default format +} + +declare module 'date-fns/formatDistance' { + import { formatDistance } from 'date-fns' + export default formatDistance +} + +declare module 'date-fns/formatDistanceStrict' { + import { formatDistanceStrict } from 'date-fns' + export default formatDistanceStrict +} + +declare module 'date-fns/formatDistanceToNow' { + import { formatDistanceToNow } from 'date-fns' + export default formatDistanceToNow +} + +declare module 'date-fns/formatDistanceToNowStrict' { + import { formatDistanceToNowStrict } from 'date-fns' + export default formatDistanceToNowStrict +} + +declare module 'date-fns/formatDuration' { + import { formatDuration } from 'date-fns' + export default formatDuration +} + +declare module 'date-fns/formatISO' { + import { formatISO } from 'date-fns' + export default formatISO +} + +declare module 'date-fns/formatISO9075' { + import { formatISO9075 } from 'date-fns' + export default formatISO9075 +} + +declare module 'date-fns/formatISODuration' { + import { formatISODuration } from 'date-fns' + export default formatISODuration +} + +declare module 'date-fns/formatRelative' { + import { formatRelative } from 'date-fns' + export default formatRelative +} + +declare module 'date-fns/formatRFC3339' { + import { formatRFC3339 } from 'date-fns' + export default formatRFC3339 +} + +declare module 'date-fns/formatRFC7231' { + import { formatRFC7231 } from 'date-fns' + export default formatRFC7231 +} + +declare module 'date-fns/fromUnixTime' { + import { fromUnixTime } from 'date-fns' + export default fromUnixTime +} + +declare module 'date-fns/getDate' { + import { getDate } from 'date-fns' + export default getDate +} + +declare module 'date-fns/getDay' { + import { getDay } from 'date-fns' + export default getDay +} + +declare module 'date-fns/getDayOfYear' { + import { getDayOfYear } from 'date-fns' + export default getDayOfYear +} + +declare module 'date-fns/getDaysInMonth' { + import { getDaysInMonth } from 'date-fns' + export default getDaysInMonth +} + +declare module 'date-fns/getDaysInYear' { + import { getDaysInYear } from 'date-fns' + export default getDaysInYear +} + +declare module 'date-fns/getDecade' { + import { getDecade } from 'date-fns' + export default getDecade +} + +declare module 'date-fns/getDefaultOptions' { + import { getDefaultOptions } from 'date-fns' + export default getDefaultOptions +} + +declare module 'date-fns/getHours' { + import { getHours } from 'date-fns' + export default getHours +} + +declare module 'date-fns/getISODay' { + import { getISODay } from 'date-fns' + export default getISODay +} + +declare module 'date-fns/getISOWeek' { + import { getISOWeek } from 'date-fns' + export default getISOWeek +} + +declare module 'date-fns/getISOWeeksInYear' { + import { getISOWeeksInYear } from 'date-fns' + export default getISOWeeksInYear +} + +declare module 'date-fns/getISOWeekYear' { + import { getISOWeekYear } from 'date-fns' + export default getISOWeekYear +} + +declare module 'date-fns/getMilliseconds' { + import { getMilliseconds } from 'date-fns' + export default getMilliseconds +} + +declare module 'date-fns/getMinutes' { + import { getMinutes } from 'date-fns' + export default getMinutes +} + +declare module 'date-fns/getMonth' { + import { getMonth } from 'date-fns' + export default getMonth +} + +declare module 'date-fns/getOverlappingDaysInIntervals' { + import { getOverlappingDaysInIntervals } from 'date-fns' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/getQuarter' { + import { getQuarter } from 'date-fns' + export default getQuarter +} + +declare module 'date-fns/getSeconds' { + import { getSeconds } from 'date-fns' + export default getSeconds +} + +declare module 'date-fns/getTime' { + import { getTime } from 'date-fns' + export default getTime +} + +declare module 'date-fns/getUnixTime' { + import { getUnixTime } from 'date-fns' + export default getUnixTime +} + +declare module 'date-fns/getWeek' { + import { getWeek } from 'date-fns' + export default getWeek +} + +declare module 'date-fns/getWeekOfMonth' { + import { getWeekOfMonth } from 'date-fns' + export default getWeekOfMonth +} + +declare module 'date-fns/getWeeksInMonth' { + import { getWeeksInMonth } from 'date-fns' + export default getWeeksInMonth +} + +declare module 'date-fns/getWeekYear' { + import { getWeekYear } from 'date-fns' + export default getWeekYear +} + +declare module 'date-fns/getYear' { + import { getYear } from 'date-fns' + export default getYear +} + +declare module 'date-fns/hoursToMilliseconds' { + import { hoursToMilliseconds } from 'date-fns' + export default hoursToMilliseconds +} + +declare module 'date-fns/hoursToMinutes' { + import { hoursToMinutes } from 'date-fns' + export default hoursToMinutes +} + +declare module 'date-fns/hoursToSeconds' { + import { hoursToSeconds } from 'date-fns' + export default hoursToSeconds +} + +declare module 'date-fns/intervalToDuration' { + import { intervalToDuration } from 'date-fns' + export default intervalToDuration +} + +declare module 'date-fns/intlFormat' { + import { intlFormat } from 'date-fns' + export default intlFormat +} + +declare module 'date-fns/intlFormatDistance' { + import { intlFormatDistance } from 'date-fns' + export default intlFormatDistance +} + +declare module 'date-fns/isAfter' { + import { isAfter } from 'date-fns' + export default isAfter +} + +declare module 'date-fns/isBefore' { + import { isBefore } from 'date-fns' + export default isBefore +} + +declare module 'date-fns/isDate' { + import { isDate } from 'date-fns' + export default isDate +} + +declare module 'date-fns/isEqual' { + import { isEqual } from 'date-fns' + export default isEqual +} + +declare module 'date-fns/isExists' { + import { isExists } from 'date-fns' + export default isExists +} + +declare module 'date-fns/isFirstDayOfMonth' { + import { isFirstDayOfMonth } from 'date-fns' + export default isFirstDayOfMonth +} + +declare module 'date-fns/isFriday' { + import { isFriday } from 'date-fns' + export default isFriday +} + +declare module 'date-fns/isFuture' { + import { isFuture } from 'date-fns' + export default isFuture +} + +declare module 'date-fns/isLastDayOfMonth' { + import { isLastDayOfMonth } from 'date-fns' + export default isLastDayOfMonth +} + +declare module 'date-fns/isLeapYear' { + import { isLeapYear } from 'date-fns' + export default isLeapYear +} + +declare module 'date-fns/isMatch' { + import { isMatch } from 'date-fns' + export default isMatch +} + +declare module 'date-fns/isMonday' { + import { isMonday } from 'date-fns' + export default isMonday +} + +declare module 'date-fns/isPast' { + import { isPast } from 'date-fns' + export default isPast +} + +declare module 'date-fns/isSameDay' { + import { isSameDay } from 'date-fns' + export default isSameDay +} + +declare module 'date-fns/isSameHour' { + import { isSameHour } from 'date-fns' + export default isSameHour +} + +declare module 'date-fns/isSameISOWeek' { + import { isSameISOWeek } from 'date-fns' + export default isSameISOWeek +} + +declare module 'date-fns/isSameISOWeekYear' { + import { isSameISOWeekYear } from 'date-fns' + export default isSameISOWeekYear +} + +declare module 'date-fns/isSameMinute' { + import { isSameMinute } from 'date-fns' + export default isSameMinute +} + +declare module 'date-fns/isSameMonth' { + import { isSameMonth } from 'date-fns' + export default isSameMonth +} + +declare module 'date-fns/isSameQuarter' { + import { isSameQuarter } from 'date-fns' + export default isSameQuarter +} + +declare module 'date-fns/isSameSecond' { + import { isSameSecond } from 'date-fns' + export default isSameSecond +} + +declare module 'date-fns/isSameWeek' { + import { isSameWeek } from 'date-fns' + export default isSameWeek +} + +declare module 'date-fns/isSameYear' { + import { isSameYear } from 'date-fns' + export default isSameYear +} + +declare module 'date-fns/isSaturday' { + import { isSaturday } from 'date-fns' + export default isSaturday +} + +declare module 'date-fns/isSunday' { + import { isSunday } from 'date-fns' + export default isSunday +} + +declare module 'date-fns/isThisHour' { + import { isThisHour } from 'date-fns' + export default isThisHour +} + +declare module 'date-fns/isThisISOWeek' { + import { isThisISOWeek } from 'date-fns' + export default isThisISOWeek +} + +declare module 'date-fns/isThisMinute' { + import { isThisMinute } from 'date-fns' + export default isThisMinute +} + +declare module 'date-fns/isThisMonth' { + import { isThisMonth } from 'date-fns' + export default isThisMonth +} + +declare module 'date-fns/isThisQuarter' { + import { isThisQuarter } from 'date-fns' + export default isThisQuarter +} + +declare module 'date-fns/isThisSecond' { + import { isThisSecond } from 'date-fns' + export default isThisSecond +} + +declare module 'date-fns/isThisWeek' { + import { isThisWeek } from 'date-fns' + export default isThisWeek +} + +declare module 'date-fns/isThisYear' { + import { isThisYear } from 'date-fns' + export default isThisYear +} + +declare module 'date-fns/isThursday' { + import { isThursday } from 'date-fns' + export default isThursday +} + +declare module 'date-fns/isToday' { + import { isToday } from 'date-fns' + export default isToday +} + +declare module 'date-fns/isTomorrow' { + import { isTomorrow } from 'date-fns' + export default isTomorrow +} + +declare module 'date-fns/isTuesday' { + import { isTuesday } from 'date-fns' + export default isTuesday +} + +declare module 'date-fns/isValid' { + import { isValid } from 'date-fns' + export default isValid +} + +declare module 'date-fns/isWednesday' { + import { isWednesday } from 'date-fns' + export default isWednesday +} + +declare module 'date-fns/isWeekend' { + import { isWeekend } from 'date-fns' + export default isWeekend +} + +declare module 'date-fns/isWithinInterval' { + import { isWithinInterval } from 'date-fns' + export default isWithinInterval +} + +declare module 'date-fns/isYesterday' { + import { isYesterday } from 'date-fns' + export default isYesterday +} + +declare module 'date-fns/lastDayOfDecade' { + import { lastDayOfDecade } from 'date-fns' + export default lastDayOfDecade +} + +declare module 'date-fns/lastDayOfISOWeek' { + import { lastDayOfISOWeek } from 'date-fns' + export default lastDayOfISOWeek +} + +declare module 'date-fns/lastDayOfISOWeekYear' { + import { lastDayOfISOWeekYear } from 'date-fns' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/lastDayOfMonth' { + import { lastDayOfMonth } from 'date-fns' + export default lastDayOfMonth +} + +declare module 'date-fns/lastDayOfQuarter' { + import { lastDayOfQuarter } from 'date-fns' + export default lastDayOfQuarter +} + +declare module 'date-fns/lastDayOfWeek' { + import { lastDayOfWeek } from 'date-fns' + export default lastDayOfWeek +} + +declare module 'date-fns/lastDayOfYear' { + import { lastDayOfYear } from 'date-fns' + export default lastDayOfYear +} + +declare module 'date-fns/lightFormat' { + import { lightFormat } from 'date-fns' + export default lightFormat +} + +declare module 'date-fns/max' { + import { max } from 'date-fns' + export default max +} + +declare module 'date-fns/milliseconds' { + import { milliseconds } from 'date-fns' + export default milliseconds +} + +declare module 'date-fns/millisecondsToHours' { + import { millisecondsToHours } from 'date-fns' + export default millisecondsToHours +} + +declare module 'date-fns/millisecondsToMinutes' { + import { millisecondsToMinutes } from 'date-fns' + export default millisecondsToMinutes +} + +declare module 'date-fns/millisecondsToSeconds' { + import { millisecondsToSeconds } from 'date-fns' + export default millisecondsToSeconds +} + +declare module 'date-fns/min' { + import { min } from 'date-fns' + export default min +} + +declare module 'date-fns/minutesToHours' { + import { minutesToHours } from 'date-fns' + export default minutesToHours +} + +declare module 'date-fns/minutesToMilliseconds' { + import { minutesToMilliseconds } from 'date-fns' + export default minutesToMilliseconds +} + +declare module 'date-fns/minutesToSeconds' { + import { minutesToSeconds } from 'date-fns' + export default minutesToSeconds +} + +declare module 'date-fns/monthsToQuarters' { + import { monthsToQuarters } from 'date-fns' + export default monthsToQuarters +} + +declare module 'date-fns/monthsToYears' { + import { monthsToYears } from 'date-fns' + export default monthsToYears +} + +declare module 'date-fns/nextDay' { + import { nextDay } from 'date-fns' + export default nextDay +} + +declare module 'date-fns/nextFriday' { + import { nextFriday } from 'date-fns' + export default nextFriday +} + +declare module 'date-fns/nextMonday' { + import { nextMonday } from 'date-fns' + export default nextMonday +} + +declare module 'date-fns/nextSaturday' { + import { nextSaturday } from 'date-fns' + export default nextSaturday +} + +declare module 'date-fns/nextSunday' { + import { nextSunday } from 'date-fns' + export default nextSunday +} + +declare module 'date-fns/nextThursday' { + import { nextThursday } from 'date-fns' + export default nextThursday +} + +declare module 'date-fns/nextTuesday' { + import { nextTuesday } from 'date-fns' + export default nextTuesday +} + +declare module 'date-fns/nextWednesday' { + import { nextWednesday } from 'date-fns' + export default nextWednesday +} + +declare module 'date-fns/parse' { + import { parse } from 'date-fns' + export default parse +} + +declare module 'date-fns/parseISO' { + import { parseISO } from 'date-fns' + export default parseISO +} + +declare module 'date-fns/parseJSON' { + import { parseJSON } from 'date-fns' + export default parseJSON +} + +declare module 'date-fns/previousDay' { + import { previousDay } from 'date-fns' + export default previousDay +} + +declare module 'date-fns/previousFriday' { + import { previousFriday } from 'date-fns' + export default previousFriday +} + +declare module 'date-fns/previousMonday' { + import { previousMonday } from 'date-fns' + export default previousMonday +} + +declare module 'date-fns/previousSaturday' { + import { previousSaturday } from 'date-fns' + export default previousSaturday +} + +declare module 'date-fns/previousSunday' { + import { previousSunday } from 'date-fns' + export default previousSunday +} + +declare module 'date-fns/previousThursday' { + import { previousThursday } from 'date-fns' + export default previousThursday +} + +declare module 'date-fns/previousTuesday' { + import { previousTuesday } from 'date-fns' + export default previousTuesday +} + +declare module 'date-fns/previousWednesday' { + import { previousWednesday } from 'date-fns' + export default previousWednesday +} + +declare module 'date-fns/quartersToMonths' { + import { quartersToMonths } from 'date-fns' + export default quartersToMonths +} + +declare module 'date-fns/quartersToYears' { + import { quartersToYears } from 'date-fns' + export default quartersToYears +} + +declare module 'date-fns/roundToNearestMinutes' { + import { roundToNearestMinutes } from 'date-fns' + export default roundToNearestMinutes +} + +declare module 'date-fns/secondsToHours' { + import { secondsToHours } from 'date-fns' + export default secondsToHours +} + +declare module 'date-fns/secondsToMilliseconds' { + import { secondsToMilliseconds } from 'date-fns' + export default secondsToMilliseconds +} + +declare module 'date-fns/secondsToMinutes' { + import { secondsToMinutes } from 'date-fns' + export default secondsToMinutes +} + +declare module 'date-fns/set' { + import { set } from 'date-fns' + export default set +} + +declare module 'date-fns/setDate' { + import { setDate } from 'date-fns' + export default setDate +} + +declare module 'date-fns/setDay' { + import { setDay } from 'date-fns' + export default setDay +} + +declare module 'date-fns/setDayOfYear' { + import { setDayOfYear } from 'date-fns' + export default setDayOfYear +} + +declare module 'date-fns/setDefaultOptions' { + import { setDefaultOptions } from 'date-fns' + export default setDefaultOptions +} + +declare module 'date-fns/setHours' { + import { setHours } from 'date-fns' + export default setHours +} + +declare module 'date-fns/setISODay' { + import { setISODay } from 'date-fns' + export default setISODay +} + +declare module 'date-fns/setISOWeek' { + import { setISOWeek } from 'date-fns' + export default setISOWeek +} + +declare module 'date-fns/setISOWeekYear' { + import { setISOWeekYear } from 'date-fns' + export default setISOWeekYear +} + +declare module 'date-fns/setMilliseconds' { + import { setMilliseconds } from 'date-fns' + export default setMilliseconds +} + +declare module 'date-fns/setMinutes' { + import { setMinutes } from 'date-fns' + export default setMinutes +} + +declare module 'date-fns/setMonth' { + import { setMonth } from 'date-fns' + export default setMonth +} + +declare module 'date-fns/setQuarter' { + import { setQuarter } from 'date-fns' + export default setQuarter +} + +declare module 'date-fns/setSeconds' { + import { setSeconds } from 'date-fns' + export default setSeconds +} + +declare module 'date-fns/setWeek' { + import { setWeek } from 'date-fns' + export default setWeek +} + +declare module 'date-fns/setWeekYear' { + import { setWeekYear } from 'date-fns' + export default setWeekYear +} + +declare module 'date-fns/setYear' { + import { setYear } from 'date-fns' + export default setYear +} + +declare module 'date-fns/startOfDay' { + import { startOfDay } from 'date-fns' + export default startOfDay +} + +declare module 'date-fns/startOfDecade' { + import { startOfDecade } from 'date-fns' + export default startOfDecade +} + +declare module 'date-fns/startOfHour' { + import { startOfHour } from 'date-fns' + export default startOfHour +} + +declare module 'date-fns/startOfISOWeek' { + import { startOfISOWeek } from 'date-fns' + export default startOfISOWeek +} + +declare module 'date-fns/startOfISOWeekYear' { + import { startOfISOWeekYear } from 'date-fns' + export default startOfISOWeekYear +} + +declare module 'date-fns/startOfMinute' { + import { startOfMinute } from 'date-fns' + export default startOfMinute +} + +declare module 'date-fns/startOfMonth' { + import { startOfMonth } from 'date-fns' + export default startOfMonth +} + +declare module 'date-fns/startOfQuarter' { + import { startOfQuarter } from 'date-fns' + export default startOfQuarter +} + +declare module 'date-fns/startOfSecond' { + import { startOfSecond } from 'date-fns' + export default startOfSecond +} + +declare module 'date-fns/startOfToday' { + import { startOfToday } from 'date-fns' + export default startOfToday +} + +declare module 'date-fns/startOfTomorrow' { + import { startOfTomorrow } from 'date-fns' + export default startOfTomorrow +} + +declare module 'date-fns/startOfWeek' { + import { startOfWeek } from 'date-fns' + export default startOfWeek +} + +declare module 'date-fns/startOfWeekYear' { + import { startOfWeekYear } from 'date-fns' + export default startOfWeekYear +} + +declare module 'date-fns/startOfYear' { + import { startOfYear } from 'date-fns' + export default startOfYear +} + +declare module 'date-fns/startOfYesterday' { + import { startOfYesterday } from 'date-fns' + export default startOfYesterday +} + +declare module 'date-fns/sub' { + import { sub } from 'date-fns' + export default sub +} + +declare module 'date-fns/subBusinessDays' { + import { subBusinessDays } from 'date-fns' + export default subBusinessDays +} + +declare module 'date-fns/subDays' { + import { subDays } from 'date-fns' + export default subDays +} + +declare module 'date-fns/subHours' { + import { subHours } from 'date-fns' + export default subHours +} + +declare module 'date-fns/subISOWeekYears' { + import { subISOWeekYears } from 'date-fns' + export default subISOWeekYears +} + +declare module 'date-fns/subMilliseconds' { + import { subMilliseconds } from 'date-fns' + export default subMilliseconds +} + +declare module 'date-fns/subMinutes' { + import { subMinutes } from 'date-fns' + export default subMinutes +} + +declare module 'date-fns/subMonths' { + import { subMonths } from 'date-fns' + export default subMonths +} + +declare module 'date-fns/subQuarters' { + import { subQuarters } from 'date-fns' + export default subQuarters +} + +declare module 'date-fns/subSeconds' { + import { subSeconds } from 'date-fns' + export default subSeconds +} + +declare module 'date-fns/subWeeks' { + import { subWeeks } from 'date-fns' + export default subWeeks +} + +declare module 'date-fns/subYears' { + import { subYears } from 'date-fns' + export default subYears +} + +declare module 'date-fns/toDate' { + import { toDate } from 'date-fns' + export default toDate +} + +declare module 'date-fns/weeksToDays' { + import { weeksToDays } from 'date-fns' + export default weeksToDays +} + +declare module 'date-fns/yearsToMonths' { + import { yearsToMonths } from 'date-fns' + export default yearsToMonths +} + +declare module 'date-fns/yearsToQuarters' { + import { yearsToQuarters } from 'date-fns' + export default yearsToQuarters +} + +declare module 'date-fns/add/index' { + import { add } from 'date-fns' + export default add +} + +declare module 'date-fns/addBusinessDays/index' { + import { addBusinessDays } from 'date-fns' + export default addBusinessDays +} + +declare module 'date-fns/addDays/index' { + import { addDays } from 'date-fns' + export default addDays +} + +declare module 'date-fns/addHours/index' { + import { addHours } from 'date-fns' + export default addHours +} + +declare module 'date-fns/addISOWeekYears/index' { + import { addISOWeekYears } from 'date-fns' + export default addISOWeekYears +} + +declare module 'date-fns/addMilliseconds/index' { + import { addMilliseconds } from 'date-fns' + export default addMilliseconds +} + +declare module 'date-fns/addMinutes/index' { + import { addMinutes } from 'date-fns' + export default addMinutes +} + +declare module 'date-fns/addMonths/index' { + import { addMonths } from 'date-fns' + export default addMonths +} + +declare module 'date-fns/addQuarters/index' { + import { addQuarters } from 'date-fns' + export default addQuarters +} + +declare module 'date-fns/addSeconds/index' { + import { addSeconds } from 'date-fns' + export default addSeconds +} + +declare module 'date-fns/addWeeks/index' { + import { addWeeks } from 'date-fns' + export default addWeeks +} + +declare module 'date-fns/addYears/index' { + import { addYears } from 'date-fns' + export default addYears +} + +declare module 'date-fns/areIntervalsOverlapping/index' { + import { areIntervalsOverlapping } from 'date-fns' + export default areIntervalsOverlapping +} + +declare module 'date-fns/clamp/index' { + import { clamp } from 'date-fns' + export default clamp +} + +declare module 'date-fns/closestIndexTo/index' { + import { closestIndexTo } from 'date-fns' + export default closestIndexTo +} + +declare module 'date-fns/closestTo/index' { + import { closestTo } from 'date-fns' + export default closestTo +} + +declare module 'date-fns/compareAsc/index' { + import { compareAsc } from 'date-fns' + export default compareAsc +} + +declare module 'date-fns/compareDesc/index' { + import { compareDesc } from 'date-fns' + export default compareDesc +} + +declare module 'date-fns/daysToWeeks/index' { + import { daysToWeeks } from 'date-fns' + export default daysToWeeks +} + +declare module 'date-fns/differenceInBusinessDays/index' { + import { differenceInBusinessDays } from 'date-fns' + export default differenceInBusinessDays +} + +declare module 'date-fns/differenceInCalendarDays/index' { + import { differenceInCalendarDays } from 'date-fns' + export default differenceInCalendarDays +} + +declare module 'date-fns/differenceInCalendarISOWeeks/index' { + import { differenceInCalendarISOWeeks } from 'date-fns' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/differenceInCalendarISOWeekYears/index' { + import { differenceInCalendarISOWeekYears } from 'date-fns' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/differenceInCalendarMonths/index' { + import { differenceInCalendarMonths } from 'date-fns' + export default differenceInCalendarMonths +} + +declare module 'date-fns/differenceInCalendarQuarters/index' { + import { differenceInCalendarQuarters } from 'date-fns' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/differenceInCalendarWeeks/index' { + import { differenceInCalendarWeeks } from 'date-fns' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/differenceInCalendarYears/index' { + import { differenceInCalendarYears } from 'date-fns' + export default differenceInCalendarYears +} + +declare module 'date-fns/differenceInDays/index' { + import { differenceInDays } from 'date-fns' + export default differenceInDays +} + +declare module 'date-fns/differenceInHours/index' { + import { differenceInHours } from 'date-fns' + export default differenceInHours +} + +declare module 'date-fns/differenceInISOWeekYears/index' { + import { differenceInISOWeekYears } from 'date-fns' + export default differenceInISOWeekYears +} + +declare module 'date-fns/differenceInMilliseconds/index' { + import { differenceInMilliseconds } from 'date-fns' + export default differenceInMilliseconds +} + +declare module 'date-fns/differenceInMinutes/index' { + import { differenceInMinutes } from 'date-fns' + export default differenceInMinutes +} + +declare module 'date-fns/differenceInMonths/index' { + import { differenceInMonths } from 'date-fns' + export default differenceInMonths +} + +declare module 'date-fns/differenceInQuarters/index' { + import { differenceInQuarters } from 'date-fns' + export default differenceInQuarters +} + +declare module 'date-fns/differenceInSeconds/index' { + import { differenceInSeconds } from 'date-fns' + export default differenceInSeconds +} + +declare module 'date-fns/differenceInWeeks/index' { + import { differenceInWeeks } from 'date-fns' + export default differenceInWeeks +} + +declare module 'date-fns/differenceInYears/index' { + import { differenceInYears } from 'date-fns' + export default differenceInYears +} + +declare module 'date-fns/eachDayOfInterval/index' { + import { eachDayOfInterval } from 'date-fns' + export default eachDayOfInterval +} + +declare module 'date-fns/eachHourOfInterval/index' { + import { eachHourOfInterval } from 'date-fns' + export default eachHourOfInterval +} + +declare module 'date-fns/eachMinuteOfInterval/index' { + import { eachMinuteOfInterval } from 'date-fns' + export default eachMinuteOfInterval +} + +declare module 'date-fns/eachMonthOfInterval/index' { + import { eachMonthOfInterval } from 'date-fns' + export default eachMonthOfInterval +} + +declare module 'date-fns/eachQuarterOfInterval/index' { + import { eachQuarterOfInterval } from 'date-fns' + export default eachQuarterOfInterval +} + +declare module 'date-fns/eachWeekendOfInterval/index' { + import { eachWeekendOfInterval } from 'date-fns' + export default eachWeekendOfInterval +} + +declare module 'date-fns/eachWeekendOfMonth/index' { + import { eachWeekendOfMonth } from 'date-fns' + export default eachWeekendOfMonth +} + +declare module 'date-fns/eachWeekendOfYear/index' { + import { eachWeekendOfYear } from 'date-fns' + export default eachWeekendOfYear +} + +declare module 'date-fns/eachWeekOfInterval/index' { + import { eachWeekOfInterval } from 'date-fns' + export default eachWeekOfInterval +} + +declare module 'date-fns/eachYearOfInterval/index' { + import { eachYearOfInterval } from 'date-fns' + export default eachYearOfInterval +} + +declare module 'date-fns/endOfDay/index' { + import { endOfDay } from 'date-fns' + export default endOfDay +} + +declare module 'date-fns/endOfDecade/index' { + import { endOfDecade } from 'date-fns' + export default endOfDecade +} + +declare module 'date-fns/endOfHour/index' { + import { endOfHour } from 'date-fns' + export default endOfHour +} + +declare module 'date-fns/endOfISOWeek/index' { + import { endOfISOWeek } from 'date-fns' + export default endOfISOWeek +} + +declare module 'date-fns/endOfISOWeekYear/index' { + import { endOfISOWeekYear } from 'date-fns' + export default endOfISOWeekYear +} + +declare module 'date-fns/endOfMinute/index' { + import { endOfMinute } from 'date-fns' + export default endOfMinute +} + +declare module 'date-fns/endOfMonth/index' { + import { endOfMonth } from 'date-fns' + export default endOfMonth +} + +declare module 'date-fns/endOfQuarter/index' { + import { endOfQuarter } from 'date-fns' + export default endOfQuarter +} + +declare module 'date-fns/endOfSecond/index' { + import { endOfSecond } from 'date-fns' + export default endOfSecond +} + +declare module 'date-fns/endOfToday/index' { + import { endOfToday } from 'date-fns' + export default endOfToday +} + +declare module 'date-fns/endOfTomorrow/index' { + import { endOfTomorrow } from 'date-fns' + export default endOfTomorrow +} + +declare module 'date-fns/endOfWeek/index' { + import { endOfWeek } from 'date-fns' + export default endOfWeek +} + +declare module 'date-fns/endOfYear/index' { + import { endOfYear } from 'date-fns' + export default endOfYear +} + +declare module 'date-fns/endOfYesterday/index' { + import { endOfYesterday } from 'date-fns' + export default endOfYesterday +} + +declare module 'date-fns/format/index' { + import { format } from 'date-fns' + export default format +} + +declare module 'date-fns/formatDistance/index' { + import { formatDistance } from 'date-fns' + export default formatDistance +} + +declare module 'date-fns/formatDistanceStrict/index' { + import { formatDistanceStrict } from 'date-fns' + export default formatDistanceStrict +} + +declare module 'date-fns/formatDistanceToNow/index' { + import { formatDistanceToNow } from 'date-fns' + export default formatDistanceToNow +} + +declare module 'date-fns/formatDistanceToNowStrict/index' { + import { formatDistanceToNowStrict } from 'date-fns' + export default formatDistanceToNowStrict +} + +declare module 'date-fns/formatDuration/index' { + import { formatDuration } from 'date-fns' + export default formatDuration +} + +declare module 'date-fns/formatISO/index' { + import { formatISO } from 'date-fns' + export default formatISO +} + +declare module 'date-fns/formatISO9075/index' { + import { formatISO9075 } from 'date-fns' + export default formatISO9075 +} + +declare module 'date-fns/formatISODuration/index' { + import { formatISODuration } from 'date-fns' + export default formatISODuration +} + +declare module 'date-fns/formatRelative/index' { + import { formatRelative } from 'date-fns' + export default formatRelative +} + +declare module 'date-fns/formatRFC3339/index' { + import { formatRFC3339 } from 'date-fns' + export default formatRFC3339 +} + +declare module 'date-fns/formatRFC7231/index' { + import { formatRFC7231 } from 'date-fns' + export default formatRFC7231 +} + +declare module 'date-fns/fromUnixTime/index' { + import { fromUnixTime } from 'date-fns' + export default fromUnixTime +} + +declare module 'date-fns/getDate/index' { + import { getDate } from 'date-fns' + export default getDate +} + +declare module 'date-fns/getDay/index' { + import { getDay } from 'date-fns' + export default getDay +} + +declare module 'date-fns/getDayOfYear/index' { + import { getDayOfYear } from 'date-fns' + export default getDayOfYear +} + +declare module 'date-fns/getDaysInMonth/index' { + import { getDaysInMonth } from 'date-fns' + export default getDaysInMonth +} + +declare module 'date-fns/getDaysInYear/index' { + import { getDaysInYear } from 'date-fns' + export default getDaysInYear +} + +declare module 'date-fns/getDecade/index' { + import { getDecade } from 'date-fns' + export default getDecade +} + +declare module 'date-fns/getDefaultOptions/index' { + import { getDefaultOptions } from 'date-fns' + export default getDefaultOptions +} + +declare module 'date-fns/getHours/index' { + import { getHours } from 'date-fns' + export default getHours +} + +declare module 'date-fns/getISODay/index' { + import { getISODay } from 'date-fns' + export default getISODay +} + +declare module 'date-fns/getISOWeek/index' { + import { getISOWeek } from 'date-fns' + export default getISOWeek +} + +declare module 'date-fns/getISOWeeksInYear/index' { + import { getISOWeeksInYear } from 'date-fns' + export default getISOWeeksInYear +} + +declare module 'date-fns/getISOWeekYear/index' { + import { getISOWeekYear } from 'date-fns' + export default getISOWeekYear +} + +declare module 'date-fns/getMilliseconds/index' { + import { getMilliseconds } from 'date-fns' + export default getMilliseconds +} + +declare module 'date-fns/getMinutes/index' { + import { getMinutes } from 'date-fns' + export default getMinutes +} + +declare module 'date-fns/getMonth/index' { + import { getMonth } from 'date-fns' + export default getMonth +} + +declare module 'date-fns/getOverlappingDaysInIntervals/index' { + import { getOverlappingDaysInIntervals } from 'date-fns' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/getQuarter/index' { + import { getQuarter } from 'date-fns' + export default getQuarter +} + +declare module 'date-fns/getSeconds/index' { + import { getSeconds } from 'date-fns' + export default getSeconds +} + +declare module 'date-fns/getTime/index' { + import { getTime } from 'date-fns' + export default getTime +} + +declare module 'date-fns/getUnixTime/index' { + import { getUnixTime } from 'date-fns' + export default getUnixTime +} + +declare module 'date-fns/getWeek/index' { + import { getWeek } from 'date-fns' + export default getWeek +} + +declare module 'date-fns/getWeekOfMonth/index' { + import { getWeekOfMonth } from 'date-fns' + export default getWeekOfMonth +} + +declare module 'date-fns/getWeeksInMonth/index' { + import { getWeeksInMonth } from 'date-fns' + export default getWeeksInMonth +} + +declare module 'date-fns/getWeekYear/index' { + import { getWeekYear } from 'date-fns' + export default getWeekYear +} + +declare module 'date-fns/getYear/index' { + import { getYear } from 'date-fns' + export default getYear +} + +declare module 'date-fns/hoursToMilliseconds/index' { + import { hoursToMilliseconds } from 'date-fns' + export default hoursToMilliseconds +} + +declare module 'date-fns/hoursToMinutes/index' { + import { hoursToMinutes } from 'date-fns' + export default hoursToMinutes +} + +declare module 'date-fns/hoursToSeconds/index' { + import { hoursToSeconds } from 'date-fns' + export default hoursToSeconds +} + +declare module 'date-fns/intervalToDuration/index' { + import { intervalToDuration } from 'date-fns' + export default intervalToDuration +} + +declare module 'date-fns/intlFormat/index' { + import { intlFormat } from 'date-fns' + export default intlFormat +} + +declare module 'date-fns/intlFormatDistance/index' { + import { intlFormatDistance } from 'date-fns' + export default intlFormatDistance +} + +declare module 'date-fns/isAfter/index' { + import { isAfter } from 'date-fns' + export default isAfter +} + +declare module 'date-fns/isBefore/index' { + import { isBefore } from 'date-fns' + export default isBefore +} + +declare module 'date-fns/isDate/index' { + import { isDate } from 'date-fns' + export default isDate +} + +declare module 'date-fns/isEqual/index' { + import { isEqual } from 'date-fns' + export default isEqual +} + +declare module 'date-fns/isExists/index' { + import { isExists } from 'date-fns' + export default isExists +} + +declare module 'date-fns/isFirstDayOfMonth/index' { + import { isFirstDayOfMonth } from 'date-fns' + export default isFirstDayOfMonth +} + +declare module 'date-fns/isFriday/index' { + import { isFriday } from 'date-fns' + export default isFriday +} + +declare module 'date-fns/isFuture/index' { + import { isFuture } from 'date-fns' + export default isFuture +} + +declare module 'date-fns/isLastDayOfMonth/index' { + import { isLastDayOfMonth } from 'date-fns' + export default isLastDayOfMonth +} + +declare module 'date-fns/isLeapYear/index' { + import { isLeapYear } from 'date-fns' + export default isLeapYear +} + +declare module 'date-fns/isMatch/index' { + import { isMatch } from 'date-fns' + export default isMatch +} + +declare module 'date-fns/isMonday/index' { + import { isMonday } from 'date-fns' + export default isMonday +} + +declare module 'date-fns/isPast/index' { + import { isPast } from 'date-fns' + export default isPast +} + +declare module 'date-fns/isSameDay/index' { + import { isSameDay } from 'date-fns' + export default isSameDay +} + +declare module 'date-fns/isSameHour/index' { + import { isSameHour } from 'date-fns' + export default isSameHour +} + +declare module 'date-fns/isSameISOWeek/index' { + import { isSameISOWeek } from 'date-fns' + export default isSameISOWeek +} + +declare module 'date-fns/isSameISOWeekYear/index' { + import { isSameISOWeekYear } from 'date-fns' + export default isSameISOWeekYear +} + +declare module 'date-fns/isSameMinute/index' { + import { isSameMinute } from 'date-fns' + export default isSameMinute +} + +declare module 'date-fns/isSameMonth/index' { + import { isSameMonth } from 'date-fns' + export default isSameMonth +} + +declare module 'date-fns/isSameQuarter/index' { + import { isSameQuarter } from 'date-fns' + export default isSameQuarter +} + +declare module 'date-fns/isSameSecond/index' { + import { isSameSecond } from 'date-fns' + export default isSameSecond +} + +declare module 'date-fns/isSameWeek/index' { + import { isSameWeek } from 'date-fns' + export default isSameWeek +} + +declare module 'date-fns/isSameYear/index' { + import { isSameYear } from 'date-fns' + export default isSameYear +} + +declare module 'date-fns/isSaturday/index' { + import { isSaturday } from 'date-fns' + export default isSaturday +} + +declare module 'date-fns/isSunday/index' { + import { isSunday } from 'date-fns' + export default isSunday +} + +declare module 'date-fns/isThisHour/index' { + import { isThisHour } from 'date-fns' + export default isThisHour +} + +declare module 'date-fns/isThisISOWeek/index' { + import { isThisISOWeek } from 'date-fns' + export default isThisISOWeek +} + +declare module 'date-fns/isThisMinute/index' { + import { isThisMinute } from 'date-fns' + export default isThisMinute +} + +declare module 'date-fns/isThisMonth/index' { + import { isThisMonth } from 'date-fns' + export default isThisMonth +} + +declare module 'date-fns/isThisQuarter/index' { + import { isThisQuarter } from 'date-fns' + export default isThisQuarter +} + +declare module 'date-fns/isThisSecond/index' { + import { isThisSecond } from 'date-fns' + export default isThisSecond +} + +declare module 'date-fns/isThisWeek/index' { + import { isThisWeek } from 'date-fns' + export default isThisWeek +} + +declare module 'date-fns/isThisYear/index' { + import { isThisYear } from 'date-fns' + export default isThisYear +} + +declare module 'date-fns/isThursday/index' { + import { isThursday } from 'date-fns' + export default isThursday +} + +declare module 'date-fns/isToday/index' { + import { isToday } from 'date-fns' + export default isToday +} + +declare module 'date-fns/isTomorrow/index' { + import { isTomorrow } from 'date-fns' + export default isTomorrow +} + +declare module 'date-fns/isTuesday/index' { + import { isTuesday } from 'date-fns' + export default isTuesday +} + +declare module 'date-fns/isValid/index' { + import { isValid } from 'date-fns' + export default isValid +} + +declare module 'date-fns/isWednesday/index' { + import { isWednesday } from 'date-fns' + export default isWednesday +} + +declare module 'date-fns/isWeekend/index' { + import { isWeekend } from 'date-fns' + export default isWeekend +} + +declare module 'date-fns/isWithinInterval/index' { + import { isWithinInterval } from 'date-fns' + export default isWithinInterval +} + +declare module 'date-fns/isYesterday/index' { + import { isYesterday } from 'date-fns' + export default isYesterday +} + +declare module 'date-fns/lastDayOfDecade/index' { + import { lastDayOfDecade } from 'date-fns' + export default lastDayOfDecade +} + +declare module 'date-fns/lastDayOfISOWeek/index' { + import { lastDayOfISOWeek } from 'date-fns' + export default lastDayOfISOWeek +} + +declare module 'date-fns/lastDayOfISOWeekYear/index' { + import { lastDayOfISOWeekYear } from 'date-fns' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/lastDayOfMonth/index' { + import { lastDayOfMonth } from 'date-fns' + export default lastDayOfMonth +} + +declare module 'date-fns/lastDayOfQuarter/index' { + import { lastDayOfQuarter } from 'date-fns' + export default lastDayOfQuarter +} + +declare module 'date-fns/lastDayOfWeek/index' { + import { lastDayOfWeek } from 'date-fns' + export default lastDayOfWeek +} + +declare module 'date-fns/lastDayOfYear/index' { + import { lastDayOfYear } from 'date-fns' + export default lastDayOfYear +} + +declare module 'date-fns/lightFormat/index' { + import { lightFormat } from 'date-fns' + export default lightFormat +} + +declare module 'date-fns/max/index' { + import { max } from 'date-fns' + export default max +} + +declare module 'date-fns/milliseconds/index' { + import { milliseconds } from 'date-fns' + export default milliseconds +} + +declare module 'date-fns/millisecondsToHours/index' { + import { millisecondsToHours } from 'date-fns' + export default millisecondsToHours +} + +declare module 'date-fns/millisecondsToMinutes/index' { + import { millisecondsToMinutes } from 'date-fns' + export default millisecondsToMinutes +} + +declare module 'date-fns/millisecondsToSeconds/index' { + import { millisecondsToSeconds } from 'date-fns' + export default millisecondsToSeconds +} + +declare module 'date-fns/min/index' { + import { min } from 'date-fns' + export default min +} + +declare module 'date-fns/minutesToHours/index' { + import { minutesToHours } from 'date-fns' + export default minutesToHours +} + +declare module 'date-fns/minutesToMilliseconds/index' { + import { minutesToMilliseconds } from 'date-fns' + export default minutesToMilliseconds +} + +declare module 'date-fns/minutesToSeconds/index' { + import { minutesToSeconds } from 'date-fns' + export default minutesToSeconds +} + +declare module 'date-fns/monthsToQuarters/index' { + import { monthsToQuarters } from 'date-fns' + export default monthsToQuarters +} + +declare module 'date-fns/monthsToYears/index' { + import { monthsToYears } from 'date-fns' + export default monthsToYears +} + +declare module 'date-fns/nextDay/index' { + import { nextDay } from 'date-fns' + export default nextDay +} + +declare module 'date-fns/nextFriday/index' { + import { nextFriday } from 'date-fns' + export default nextFriday +} + +declare module 'date-fns/nextMonday/index' { + import { nextMonday } from 'date-fns' + export default nextMonday +} + +declare module 'date-fns/nextSaturday/index' { + import { nextSaturday } from 'date-fns' + export default nextSaturday +} + +declare module 'date-fns/nextSunday/index' { + import { nextSunday } from 'date-fns' + export default nextSunday +} + +declare module 'date-fns/nextThursday/index' { + import { nextThursday } from 'date-fns' + export default nextThursday +} + +declare module 'date-fns/nextTuesday/index' { + import { nextTuesday } from 'date-fns' + export default nextTuesday +} + +declare module 'date-fns/nextWednesday/index' { + import { nextWednesday } from 'date-fns' + export default nextWednesday +} + +declare module 'date-fns/parse/index' { + import { parse } from 'date-fns' + export default parse +} + +declare module 'date-fns/parseISO/index' { + import { parseISO } from 'date-fns' + export default parseISO +} + +declare module 'date-fns/parseJSON/index' { + import { parseJSON } from 'date-fns' + export default parseJSON +} + +declare module 'date-fns/previousDay/index' { + import { previousDay } from 'date-fns' + export default previousDay +} + +declare module 'date-fns/previousFriday/index' { + import { previousFriday } from 'date-fns' + export default previousFriday +} + +declare module 'date-fns/previousMonday/index' { + import { previousMonday } from 'date-fns' + export default previousMonday +} + +declare module 'date-fns/previousSaturday/index' { + import { previousSaturday } from 'date-fns' + export default previousSaturday +} + +declare module 'date-fns/previousSunday/index' { + import { previousSunday } from 'date-fns' + export default previousSunday +} + +declare module 'date-fns/previousThursday/index' { + import { previousThursday } from 'date-fns' + export default previousThursday +} + +declare module 'date-fns/previousTuesday/index' { + import { previousTuesday } from 'date-fns' + export default previousTuesday +} + +declare module 'date-fns/previousWednesday/index' { + import { previousWednesday } from 'date-fns' + export default previousWednesday +} + +declare module 'date-fns/quartersToMonths/index' { + import { quartersToMonths } from 'date-fns' + export default quartersToMonths +} + +declare module 'date-fns/quartersToYears/index' { + import { quartersToYears } from 'date-fns' + export default quartersToYears +} + +declare module 'date-fns/roundToNearestMinutes/index' { + import { roundToNearestMinutes } from 'date-fns' + export default roundToNearestMinutes +} + +declare module 'date-fns/secondsToHours/index' { + import { secondsToHours } from 'date-fns' + export default secondsToHours +} + +declare module 'date-fns/secondsToMilliseconds/index' { + import { secondsToMilliseconds } from 'date-fns' + export default secondsToMilliseconds +} + +declare module 'date-fns/secondsToMinutes/index' { + import { secondsToMinutes } from 'date-fns' + export default secondsToMinutes +} + +declare module 'date-fns/set/index' { + import { set } from 'date-fns' + export default set +} + +declare module 'date-fns/setDate/index' { + import { setDate } from 'date-fns' + export default setDate +} + +declare module 'date-fns/setDay/index' { + import { setDay } from 'date-fns' + export default setDay +} + +declare module 'date-fns/setDayOfYear/index' { + import { setDayOfYear } from 'date-fns' + export default setDayOfYear +} + +declare module 'date-fns/setDefaultOptions/index' { + import { setDefaultOptions } from 'date-fns' + export default setDefaultOptions +} + +declare module 'date-fns/setHours/index' { + import { setHours } from 'date-fns' + export default setHours +} + +declare module 'date-fns/setISODay/index' { + import { setISODay } from 'date-fns' + export default setISODay +} + +declare module 'date-fns/setISOWeek/index' { + import { setISOWeek } from 'date-fns' + export default setISOWeek +} + +declare module 'date-fns/setISOWeekYear/index' { + import { setISOWeekYear } from 'date-fns' + export default setISOWeekYear +} + +declare module 'date-fns/setMilliseconds/index' { + import { setMilliseconds } from 'date-fns' + export default setMilliseconds +} + +declare module 'date-fns/setMinutes/index' { + import { setMinutes } from 'date-fns' + export default setMinutes +} + +declare module 'date-fns/setMonth/index' { + import { setMonth } from 'date-fns' + export default setMonth +} + +declare module 'date-fns/setQuarter/index' { + import { setQuarter } from 'date-fns' + export default setQuarter +} + +declare module 'date-fns/setSeconds/index' { + import { setSeconds } from 'date-fns' + export default setSeconds +} + +declare module 'date-fns/setWeek/index' { + import { setWeek } from 'date-fns' + export default setWeek +} + +declare module 'date-fns/setWeekYear/index' { + import { setWeekYear } from 'date-fns' + export default setWeekYear +} + +declare module 'date-fns/setYear/index' { + import { setYear } from 'date-fns' + export default setYear +} + +declare module 'date-fns/startOfDay/index' { + import { startOfDay } from 'date-fns' + export default startOfDay +} + +declare module 'date-fns/startOfDecade/index' { + import { startOfDecade } from 'date-fns' + export default startOfDecade +} + +declare module 'date-fns/startOfHour/index' { + import { startOfHour } from 'date-fns' + export default startOfHour +} + +declare module 'date-fns/startOfISOWeek/index' { + import { startOfISOWeek } from 'date-fns' + export default startOfISOWeek +} + +declare module 'date-fns/startOfISOWeekYear/index' { + import { startOfISOWeekYear } from 'date-fns' + export default startOfISOWeekYear +} + +declare module 'date-fns/startOfMinute/index' { + import { startOfMinute } from 'date-fns' + export default startOfMinute +} + +declare module 'date-fns/startOfMonth/index' { + import { startOfMonth } from 'date-fns' + export default startOfMonth +} + +declare module 'date-fns/startOfQuarter/index' { + import { startOfQuarter } from 'date-fns' + export default startOfQuarter +} + +declare module 'date-fns/startOfSecond/index' { + import { startOfSecond } from 'date-fns' + export default startOfSecond +} + +declare module 'date-fns/startOfToday/index' { + import { startOfToday } from 'date-fns' + export default startOfToday +} + +declare module 'date-fns/startOfTomorrow/index' { + import { startOfTomorrow } from 'date-fns' + export default startOfTomorrow +} + +declare module 'date-fns/startOfWeek/index' { + import { startOfWeek } from 'date-fns' + export default startOfWeek +} + +declare module 'date-fns/startOfWeekYear/index' { + import { startOfWeekYear } from 'date-fns' + export default startOfWeekYear +} + +declare module 'date-fns/startOfYear/index' { + import { startOfYear } from 'date-fns' + export default startOfYear +} + +declare module 'date-fns/startOfYesterday/index' { + import { startOfYesterday } from 'date-fns' + export default startOfYesterday +} + +declare module 'date-fns/sub/index' { + import { sub } from 'date-fns' + export default sub +} + +declare module 'date-fns/subBusinessDays/index' { + import { subBusinessDays } from 'date-fns' + export default subBusinessDays +} + +declare module 'date-fns/subDays/index' { + import { subDays } from 'date-fns' + export default subDays +} + +declare module 'date-fns/subHours/index' { + import { subHours } from 'date-fns' + export default subHours +} + +declare module 'date-fns/subISOWeekYears/index' { + import { subISOWeekYears } from 'date-fns' + export default subISOWeekYears +} + +declare module 'date-fns/subMilliseconds/index' { + import { subMilliseconds } from 'date-fns' + export default subMilliseconds +} + +declare module 'date-fns/subMinutes/index' { + import { subMinutes } from 'date-fns' + export default subMinutes +} + +declare module 'date-fns/subMonths/index' { + import { subMonths } from 'date-fns' + export default subMonths +} + +declare module 'date-fns/subQuarters/index' { + import { subQuarters } from 'date-fns' + export default subQuarters +} + +declare module 'date-fns/subSeconds/index' { + import { subSeconds } from 'date-fns' + export default subSeconds +} + +declare module 'date-fns/subWeeks/index' { + import { subWeeks } from 'date-fns' + export default subWeeks +} + +declare module 'date-fns/subYears/index' { + import { subYears } from 'date-fns' + export default subYears +} + +declare module 'date-fns/toDate/index' { + import { toDate } from 'date-fns' + export default toDate +} + +declare module 'date-fns/weeksToDays/index' { + import { weeksToDays } from 'date-fns' + export default weeksToDays +} + +declare module 'date-fns/yearsToMonths/index' { + import { yearsToMonths } from 'date-fns' + export default yearsToMonths +} + +declare module 'date-fns/yearsToQuarters/index' { + import { yearsToQuarters } from 'date-fns' + export default yearsToQuarters +} + +declare module 'date-fns/add/index.js' { + import { add } from 'date-fns' + export default add +} + +declare module 'date-fns/addBusinessDays/index.js' { + import { addBusinessDays } from 'date-fns' + export default addBusinessDays +} + +declare module 'date-fns/addDays/index.js' { + import { addDays } from 'date-fns' + export default addDays +} + +declare module 'date-fns/addHours/index.js' { + import { addHours } from 'date-fns' + export default addHours +} + +declare module 'date-fns/addISOWeekYears/index.js' { + import { addISOWeekYears } from 'date-fns' + export default addISOWeekYears +} + +declare module 'date-fns/addMilliseconds/index.js' { + import { addMilliseconds } from 'date-fns' + export default addMilliseconds +} + +declare module 'date-fns/addMinutes/index.js' { + import { addMinutes } from 'date-fns' + export default addMinutes +} + +declare module 'date-fns/addMonths/index.js' { + import { addMonths } from 'date-fns' + export default addMonths +} + +declare module 'date-fns/addQuarters/index.js' { + import { addQuarters } from 'date-fns' + export default addQuarters +} + +declare module 'date-fns/addSeconds/index.js' { + import { addSeconds } from 'date-fns' + export default addSeconds +} + +declare module 'date-fns/addWeeks/index.js' { + import { addWeeks } from 'date-fns' + export default addWeeks +} + +declare module 'date-fns/addYears/index.js' { + import { addYears } from 'date-fns' + export default addYears +} + +declare module 'date-fns/areIntervalsOverlapping/index.js' { + import { areIntervalsOverlapping } from 'date-fns' + export default areIntervalsOverlapping +} + +declare module 'date-fns/clamp/index.js' { + import { clamp } from 'date-fns' + export default clamp +} + +declare module 'date-fns/closestIndexTo/index.js' { + import { closestIndexTo } from 'date-fns' + export default closestIndexTo +} + +declare module 'date-fns/closestTo/index.js' { + import { closestTo } from 'date-fns' + export default closestTo +} + +declare module 'date-fns/compareAsc/index.js' { + import { compareAsc } from 'date-fns' + export default compareAsc +} + +declare module 'date-fns/compareDesc/index.js' { + import { compareDesc } from 'date-fns' + export default compareDesc +} + +declare module 'date-fns/daysToWeeks/index.js' { + import { daysToWeeks } from 'date-fns' + export default daysToWeeks +} + +declare module 'date-fns/differenceInBusinessDays/index.js' { + import { differenceInBusinessDays } from 'date-fns' + export default differenceInBusinessDays +} + +declare module 'date-fns/differenceInCalendarDays/index.js' { + import { differenceInCalendarDays } from 'date-fns' + export default differenceInCalendarDays +} + +declare module 'date-fns/differenceInCalendarISOWeeks/index.js' { + import { differenceInCalendarISOWeeks } from 'date-fns' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/differenceInCalendarISOWeekYears/index.js' { + import { differenceInCalendarISOWeekYears } from 'date-fns' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/differenceInCalendarMonths/index.js' { + import { differenceInCalendarMonths } from 'date-fns' + export default differenceInCalendarMonths +} + +declare module 'date-fns/differenceInCalendarQuarters/index.js' { + import { differenceInCalendarQuarters } from 'date-fns' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/differenceInCalendarWeeks/index.js' { + import { differenceInCalendarWeeks } from 'date-fns' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/differenceInCalendarYears/index.js' { + import { differenceInCalendarYears } from 'date-fns' + export default differenceInCalendarYears +} + +declare module 'date-fns/differenceInDays/index.js' { + import { differenceInDays } from 'date-fns' + export default differenceInDays +} + +declare module 'date-fns/differenceInHours/index.js' { + import { differenceInHours } from 'date-fns' + export default differenceInHours +} + +declare module 'date-fns/differenceInISOWeekYears/index.js' { + import { differenceInISOWeekYears } from 'date-fns' + export default differenceInISOWeekYears +} + +declare module 'date-fns/differenceInMilliseconds/index.js' { + import { differenceInMilliseconds } from 'date-fns' + export default differenceInMilliseconds +} + +declare module 'date-fns/differenceInMinutes/index.js' { + import { differenceInMinutes } from 'date-fns' + export default differenceInMinutes +} + +declare module 'date-fns/differenceInMonths/index.js' { + import { differenceInMonths } from 'date-fns' + export default differenceInMonths +} + +declare module 'date-fns/differenceInQuarters/index.js' { + import { differenceInQuarters } from 'date-fns' + export default differenceInQuarters +} + +declare module 'date-fns/differenceInSeconds/index.js' { + import { differenceInSeconds } from 'date-fns' + export default differenceInSeconds +} + +declare module 'date-fns/differenceInWeeks/index.js' { + import { differenceInWeeks } from 'date-fns' + export default differenceInWeeks +} + +declare module 'date-fns/differenceInYears/index.js' { + import { differenceInYears } from 'date-fns' + export default differenceInYears +} + +declare module 'date-fns/eachDayOfInterval/index.js' { + import { eachDayOfInterval } from 'date-fns' + export default eachDayOfInterval +} + +declare module 'date-fns/eachHourOfInterval/index.js' { + import { eachHourOfInterval } from 'date-fns' + export default eachHourOfInterval +} + +declare module 'date-fns/eachMinuteOfInterval/index.js' { + import { eachMinuteOfInterval } from 'date-fns' + export default eachMinuteOfInterval +} + +declare module 'date-fns/eachMonthOfInterval/index.js' { + import { eachMonthOfInterval } from 'date-fns' + export default eachMonthOfInterval +} + +declare module 'date-fns/eachQuarterOfInterval/index.js' { + import { eachQuarterOfInterval } from 'date-fns' + export default eachQuarterOfInterval +} + +declare module 'date-fns/eachWeekendOfInterval/index.js' { + import { eachWeekendOfInterval } from 'date-fns' + export default eachWeekendOfInterval +} + +declare module 'date-fns/eachWeekendOfMonth/index.js' { + import { eachWeekendOfMonth } from 'date-fns' + export default eachWeekendOfMonth +} + +declare module 'date-fns/eachWeekendOfYear/index.js' { + import { eachWeekendOfYear } from 'date-fns' + export default eachWeekendOfYear +} + +declare module 'date-fns/eachWeekOfInterval/index.js' { + import { eachWeekOfInterval } from 'date-fns' + export default eachWeekOfInterval +} + +declare module 'date-fns/eachYearOfInterval/index.js' { + import { eachYearOfInterval } from 'date-fns' + export default eachYearOfInterval +} + +declare module 'date-fns/endOfDay/index.js' { + import { endOfDay } from 'date-fns' + export default endOfDay +} + +declare module 'date-fns/endOfDecade/index.js' { + import { endOfDecade } from 'date-fns' + export default endOfDecade +} + +declare module 'date-fns/endOfHour/index.js' { + import { endOfHour } from 'date-fns' + export default endOfHour +} + +declare module 'date-fns/endOfISOWeek/index.js' { + import { endOfISOWeek } from 'date-fns' + export default endOfISOWeek +} + +declare module 'date-fns/endOfISOWeekYear/index.js' { + import { endOfISOWeekYear } from 'date-fns' + export default endOfISOWeekYear +} + +declare module 'date-fns/endOfMinute/index.js' { + import { endOfMinute } from 'date-fns' + export default endOfMinute +} + +declare module 'date-fns/endOfMonth/index.js' { + import { endOfMonth } from 'date-fns' + export default endOfMonth +} + +declare module 'date-fns/endOfQuarter/index.js' { + import { endOfQuarter } from 'date-fns' + export default endOfQuarter +} + +declare module 'date-fns/endOfSecond/index.js' { + import { endOfSecond } from 'date-fns' + export default endOfSecond +} + +declare module 'date-fns/endOfToday/index.js' { + import { endOfToday } from 'date-fns' + export default endOfToday +} + +declare module 'date-fns/endOfTomorrow/index.js' { + import { endOfTomorrow } from 'date-fns' + export default endOfTomorrow +} + +declare module 'date-fns/endOfWeek/index.js' { + import { endOfWeek } from 'date-fns' + export default endOfWeek +} + +declare module 'date-fns/endOfYear/index.js' { + import { endOfYear } from 'date-fns' + export default endOfYear +} + +declare module 'date-fns/endOfYesterday/index.js' { + import { endOfYesterday } from 'date-fns' + export default endOfYesterday +} + +declare module 'date-fns/format/index.js' { + import { format } from 'date-fns' + export default format +} + +declare module 'date-fns/formatDistance/index.js' { + import { formatDistance } from 'date-fns' + export default formatDistance +} + +declare module 'date-fns/formatDistanceStrict/index.js' { + import { formatDistanceStrict } from 'date-fns' + export default formatDistanceStrict +} + +declare module 'date-fns/formatDistanceToNow/index.js' { + import { formatDistanceToNow } from 'date-fns' + export default formatDistanceToNow +} + +declare module 'date-fns/formatDistanceToNowStrict/index.js' { + import { formatDistanceToNowStrict } from 'date-fns' + export default formatDistanceToNowStrict +} + +declare module 'date-fns/formatDuration/index.js' { + import { formatDuration } from 'date-fns' + export default formatDuration +} + +declare module 'date-fns/formatISO/index.js' { + import { formatISO } from 'date-fns' + export default formatISO +} + +declare module 'date-fns/formatISO9075/index.js' { + import { formatISO9075 } from 'date-fns' + export default formatISO9075 +} + +declare module 'date-fns/formatISODuration/index.js' { + import { formatISODuration } from 'date-fns' + export default formatISODuration +} + +declare module 'date-fns/formatRelative/index.js' { + import { formatRelative } from 'date-fns' + export default formatRelative +} + +declare module 'date-fns/formatRFC3339/index.js' { + import { formatRFC3339 } from 'date-fns' + export default formatRFC3339 +} + +declare module 'date-fns/formatRFC7231/index.js' { + import { formatRFC7231 } from 'date-fns' + export default formatRFC7231 +} + +declare module 'date-fns/fromUnixTime/index.js' { + import { fromUnixTime } from 'date-fns' + export default fromUnixTime +} + +declare module 'date-fns/getDate/index.js' { + import { getDate } from 'date-fns' + export default getDate +} + +declare module 'date-fns/getDay/index.js' { + import { getDay } from 'date-fns' + export default getDay +} + +declare module 'date-fns/getDayOfYear/index.js' { + import { getDayOfYear } from 'date-fns' + export default getDayOfYear +} + +declare module 'date-fns/getDaysInMonth/index.js' { + import { getDaysInMonth } from 'date-fns' + export default getDaysInMonth +} + +declare module 'date-fns/getDaysInYear/index.js' { + import { getDaysInYear } from 'date-fns' + export default getDaysInYear +} + +declare module 'date-fns/getDecade/index.js' { + import { getDecade } from 'date-fns' + export default getDecade +} + +declare module 'date-fns/getDefaultOptions/index.js' { + import { getDefaultOptions } from 'date-fns' + export default getDefaultOptions +} + +declare module 'date-fns/getHours/index.js' { + import { getHours } from 'date-fns' + export default getHours +} + +declare module 'date-fns/getISODay/index.js' { + import { getISODay } from 'date-fns' + export default getISODay +} + +declare module 'date-fns/getISOWeek/index.js' { + import { getISOWeek } from 'date-fns' + export default getISOWeek +} + +declare module 'date-fns/getISOWeeksInYear/index.js' { + import { getISOWeeksInYear } from 'date-fns' + export default getISOWeeksInYear +} + +declare module 'date-fns/getISOWeekYear/index.js' { + import { getISOWeekYear } from 'date-fns' + export default getISOWeekYear +} + +declare module 'date-fns/getMilliseconds/index.js' { + import { getMilliseconds } from 'date-fns' + export default getMilliseconds +} + +declare module 'date-fns/getMinutes/index.js' { + import { getMinutes } from 'date-fns' + export default getMinutes +} + +declare module 'date-fns/getMonth/index.js' { + import { getMonth } from 'date-fns' + export default getMonth +} + +declare module 'date-fns/getOverlappingDaysInIntervals/index.js' { + import { getOverlappingDaysInIntervals } from 'date-fns' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/getQuarter/index.js' { + import { getQuarter } from 'date-fns' + export default getQuarter +} + +declare module 'date-fns/getSeconds/index.js' { + import { getSeconds } from 'date-fns' + export default getSeconds +} + +declare module 'date-fns/getTime/index.js' { + import { getTime } from 'date-fns' + export default getTime +} + +declare module 'date-fns/getUnixTime/index.js' { + import { getUnixTime } from 'date-fns' + export default getUnixTime +} + +declare module 'date-fns/getWeek/index.js' { + import { getWeek } from 'date-fns' + export default getWeek +} + +declare module 'date-fns/getWeekOfMonth/index.js' { + import { getWeekOfMonth } from 'date-fns' + export default getWeekOfMonth +} + +declare module 'date-fns/getWeeksInMonth/index.js' { + import { getWeeksInMonth } from 'date-fns' + export default getWeeksInMonth +} + +declare module 'date-fns/getWeekYear/index.js' { + import { getWeekYear } from 'date-fns' + export default getWeekYear +} + +declare module 'date-fns/getYear/index.js' { + import { getYear } from 'date-fns' + export default getYear +} + +declare module 'date-fns/hoursToMilliseconds/index.js' { + import { hoursToMilliseconds } from 'date-fns' + export default hoursToMilliseconds +} + +declare module 'date-fns/hoursToMinutes/index.js' { + import { hoursToMinutes } from 'date-fns' + export default hoursToMinutes +} + +declare module 'date-fns/hoursToSeconds/index.js' { + import { hoursToSeconds } from 'date-fns' + export default hoursToSeconds +} + +declare module 'date-fns/intervalToDuration/index.js' { + import { intervalToDuration } from 'date-fns' + export default intervalToDuration +} + +declare module 'date-fns/intlFormat/index.js' { + import { intlFormat } from 'date-fns' + export default intlFormat +} + +declare module 'date-fns/intlFormatDistance/index.js' { + import { intlFormatDistance } from 'date-fns' + export default intlFormatDistance +} + +declare module 'date-fns/isAfter/index.js' { + import { isAfter } from 'date-fns' + export default isAfter +} + +declare module 'date-fns/isBefore/index.js' { + import { isBefore } from 'date-fns' + export default isBefore +} + +declare module 'date-fns/isDate/index.js' { + import { isDate } from 'date-fns' + export default isDate +} + +declare module 'date-fns/isEqual/index.js' { + import { isEqual } from 'date-fns' + export default isEqual +} + +declare module 'date-fns/isExists/index.js' { + import { isExists } from 'date-fns' + export default isExists +} + +declare module 'date-fns/isFirstDayOfMonth/index.js' { + import { isFirstDayOfMonth } from 'date-fns' + export default isFirstDayOfMonth +} + +declare module 'date-fns/isFriday/index.js' { + import { isFriday } from 'date-fns' + export default isFriday +} + +declare module 'date-fns/isFuture/index.js' { + import { isFuture } from 'date-fns' + export default isFuture +} + +declare module 'date-fns/isLastDayOfMonth/index.js' { + import { isLastDayOfMonth } from 'date-fns' + export default isLastDayOfMonth +} + +declare module 'date-fns/isLeapYear/index.js' { + import { isLeapYear } from 'date-fns' + export default isLeapYear +} + +declare module 'date-fns/isMatch/index.js' { + import { isMatch } from 'date-fns' + export default isMatch +} + +declare module 'date-fns/isMonday/index.js' { + import { isMonday } from 'date-fns' + export default isMonday +} + +declare module 'date-fns/isPast/index.js' { + import { isPast } from 'date-fns' + export default isPast +} + +declare module 'date-fns/isSameDay/index.js' { + import { isSameDay } from 'date-fns' + export default isSameDay +} + +declare module 'date-fns/isSameHour/index.js' { + import { isSameHour } from 'date-fns' + export default isSameHour +} + +declare module 'date-fns/isSameISOWeek/index.js' { + import { isSameISOWeek } from 'date-fns' + export default isSameISOWeek +} + +declare module 'date-fns/isSameISOWeekYear/index.js' { + import { isSameISOWeekYear } from 'date-fns' + export default isSameISOWeekYear +} + +declare module 'date-fns/isSameMinute/index.js' { + import { isSameMinute } from 'date-fns' + export default isSameMinute +} + +declare module 'date-fns/isSameMonth/index.js' { + import { isSameMonth } from 'date-fns' + export default isSameMonth +} + +declare module 'date-fns/isSameQuarter/index.js' { + import { isSameQuarter } from 'date-fns' + export default isSameQuarter +} + +declare module 'date-fns/isSameSecond/index.js' { + import { isSameSecond } from 'date-fns' + export default isSameSecond +} + +declare module 'date-fns/isSameWeek/index.js' { + import { isSameWeek } from 'date-fns' + export default isSameWeek +} + +declare module 'date-fns/isSameYear/index.js' { + import { isSameYear } from 'date-fns' + export default isSameYear +} + +declare module 'date-fns/isSaturday/index.js' { + import { isSaturday } from 'date-fns' + export default isSaturday +} + +declare module 'date-fns/isSunday/index.js' { + import { isSunday } from 'date-fns' + export default isSunday +} + +declare module 'date-fns/isThisHour/index.js' { + import { isThisHour } from 'date-fns' + export default isThisHour +} + +declare module 'date-fns/isThisISOWeek/index.js' { + import { isThisISOWeek } from 'date-fns' + export default isThisISOWeek +} + +declare module 'date-fns/isThisMinute/index.js' { + import { isThisMinute } from 'date-fns' + export default isThisMinute +} + +declare module 'date-fns/isThisMonth/index.js' { + import { isThisMonth } from 'date-fns' + export default isThisMonth +} + +declare module 'date-fns/isThisQuarter/index.js' { + import { isThisQuarter } from 'date-fns' + export default isThisQuarter +} + +declare module 'date-fns/isThisSecond/index.js' { + import { isThisSecond } from 'date-fns' + export default isThisSecond +} + +declare module 'date-fns/isThisWeek/index.js' { + import { isThisWeek } from 'date-fns' + export default isThisWeek +} + +declare module 'date-fns/isThisYear/index.js' { + import { isThisYear } from 'date-fns' + export default isThisYear +} + +declare module 'date-fns/isThursday/index.js' { + import { isThursday } from 'date-fns' + export default isThursday +} + +declare module 'date-fns/isToday/index.js' { + import { isToday } from 'date-fns' + export default isToday +} + +declare module 'date-fns/isTomorrow/index.js' { + import { isTomorrow } from 'date-fns' + export default isTomorrow +} + +declare module 'date-fns/isTuesday/index.js' { + import { isTuesday } from 'date-fns' + export default isTuesday +} + +declare module 'date-fns/isValid/index.js' { + import { isValid } from 'date-fns' + export default isValid +} + +declare module 'date-fns/isWednesday/index.js' { + import { isWednesday } from 'date-fns' + export default isWednesday +} + +declare module 'date-fns/isWeekend/index.js' { + import { isWeekend } from 'date-fns' + export default isWeekend +} + +declare module 'date-fns/isWithinInterval/index.js' { + import { isWithinInterval } from 'date-fns' + export default isWithinInterval +} + +declare module 'date-fns/isYesterday/index.js' { + import { isYesterday } from 'date-fns' + export default isYesterday +} + +declare module 'date-fns/lastDayOfDecade/index.js' { + import { lastDayOfDecade } from 'date-fns' + export default lastDayOfDecade +} + +declare module 'date-fns/lastDayOfISOWeek/index.js' { + import { lastDayOfISOWeek } from 'date-fns' + export default lastDayOfISOWeek +} + +declare module 'date-fns/lastDayOfISOWeekYear/index.js' { + import { lastDayOfISOWeekYear } from 'date-fns' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/lastDayOfMonth/index.js' { + import { lastDayOfMonth } from 'date-fns' + export default lastDayOfMonth +} + +declare module 'date-fns/lastDayOfQuarter/index.js' { + import { lastDayOfQuarter } from 'date-fns' + export default lastDayOfQuarter +} + +declare module 'date-fns/lastDayOfWeek/index.js' { + import { lastDayOfWeek } from 'date-fns' + export default lastDayOfWeek +} + +declare module 'date-fns/lastDayOfYear/index.js' { + import { lastDayOfYear } from 'date-fns' + export default lastDayOfYear +} + +declare module 'date-fns/lightFormat/index.js' { + import { lightFormat } from 'date-fns' + export default lightFormat +} + +declare module 'date-fns/max/index.js' { + import { max } from 'date-fns' + export default max +} + +declare module 'date-fns/milliseconds/index.js' { + import { milliseconds } from 'date-fns' + export default milliseconds +} + +declare module 'date-fns/millisecondsToHours/index.js' { + import { millisecondsToHours } from 'date-fns' + export default millisecondsToHours +} + +declare module 'date-fns/millisecondsToMinutes/index.js' { + import { millisecondsToMinutes } from 'date-fns' + export default millisecondsToMinutes +} + +declare module 'date-fns/millisecondsToSeconds/index.js' { + import { millisecondsToSeconds } from 'date-fns' + export default millisecondsToSeconds +} + +declare module 'date-fns/min/index.js' { + import { min } from 'date-fns' + export default min +} + +declare module 'date-fns/minutesToHours/index.js' { + import { minutesToHours } from 'date-fns' + export default minutesToHours +} + +declare module 'date-fns/minutesToMilliseconds/index.js' { + import { minutesToMilliseconds } from 'date-fns' + export default minutesToMilliseconds +} + +declare module 'date-fns/minutesToSeconds/index.js' { + import { minutesToSeconds } from 'date-fns' + export default minutesToSeconds +} + +declare module 'date-fns/monthsToQuarters/index.js' { + import { monthsToQuarters } from 'date-fns' + export default monthsToQuarters +} + +declare module 'date-fns/monthsToYears/index.js' { + import { monthsToYears } from 'date-fns' + export default monthsToYears +} + +declare module 'date-fns/nextDay/index.js' { + import { nextDay } from 'date-fns' + export default nextDay +} + +declare module 'date-fns/nextFriday/index.js' { + import { nextFriday } from 'date-fns' + export default nextFriday +} + +declare module 'date-fns/nextMonday/index.js' { + import { nextMonday } from 'date-fns' + export default nextMonday +} + +declare module 'date-fns/nextSaturday/index.js' { + import { nextSaturday } from 'date-fns' + export default nextSaturday +} + +declare module 'date-fns/nextSunday/index.js' { + import { nextSunday } from 'date-fns' + export default nextSunday +} + +declare module 'date-fns/nextThursday/index.js' { + import { nextThursday } from 'date-fns' + export default nextThursday +} + +declare module 'date-fns/nextTuesday/index.js' { + import { nextTuesday } from 'date-fns' + export default nextTuesday +} + +declare module 'date-fns/nextWednesday/index.js' { + import { nextWednesday } from 'date-fns' + export default nextWednesday +} + +declare module 'date-fns/parse/index.js' { + import { parse } from 'date-fns' + export default parse +} + +declare module 'date-fns/parseISO/index.js' { + import { parseISO } from 'date-fns' + export default parseISO +} + +declare module 'date-fns/parseJSON/index.js' { + import { parseJSON } from 'date-fns' + export default parseJSON +} + +declare module 'date-fns/previousDay/index.js' { + import { previousDay } from 'date-fns' + export default previousDay +} + +declare module 'date-fns/previousFriday/index.js' { + import { previousFriday } from 'date-fns' + export default previousFriday +} + +declare module 'date-fns/previousMonday/index.js' { + import { previousMonday } from 'date-fns' + export default previousMonday +} + +declare module 'date-fns/previousSaturday/index.js' { + import { previousSaturday } from 'date-fns' + export default previousSaturday +} + +declare module 'date-fns/previousSunday/index.js' { + import { previousSunday } from 'date-fns' + export default previousSunday +} + +declare module 'date-fns/previousThursday/index.js' { + import { previousThursday } from 'date-fns' + export default previousThursday +} + +declare module 'date-fns/previousTuesday/index.js' { + import { previousTuesday } from 'date-fns' + export default previousTuesday +} + +declare module 'date-fns/previousWednesday/index.js' { + import { previousWednesday } from 'date-fns' + export default previousWednesday +} + +declare module 'date-fns/quartersToMonths/index.js' { + import { quartersToMonths } from 'date-fns' + export default quartersToMonths +} + +declare module 'date-fns/quartersToYears/index.js' { + import { quartersToYears } from 'date-fns' + export default quartersToYears +} + +declare module 'date-fns/roundToNearestMinutes/index.js' { + import { roundToNearestMinutes } from 'date-fns' + export default roundToNearestMinutes +} + +declare module 'date-fns/secondsToHours/index.js' { + import { secondsToHours } from 'date-fns' + export default secondsToHours +} + +declare module 'date-fns/secondsToMilliseconds/index.js' { + import { secondsToMilliseconds } from 'date-fns' + export default secondsToMilliseconds +} + +declare module 'date-fns/secondsToMinutes/index.js' { + import { secondsToMinutes } from 'date-fns' + export default secondsToMinutes +} + +declare module 'date-fns/set/index.js' { + import { set } from 'date-fns' + export default set +} + +declare module 'date-fns/setDate/index.js' { + import { setDate } from 'date-fns' + export default setDate +} + +declare module 'date-fns/setDay/index.js' { + import { setDay } from 'date-fns' + export default setDay +} + +declare module 'date-fns/setDayOfYear/index.js' { + import { setDayOfYear } from 'date-fns' + export default setDayOfYear +} + +declare module 'date-fns/setDefaultOptions/index.js' { + import { setDefaultOptions } from 'date-fns' + export default setDefaultOptions +} + +declare module 'date-fns/setHours/index.js' { + import { setHours } from 'date-fns' + export default setHours +} + +declare module 'date-fns/setISODay/index.js' { + import { setISODay } from 'date-fns' + export default setISODay +} + +declare module 'date-fns/setISOWeek/index.js' { + import { setISOWeek } from 'date-fns' + export default setISOWeek +} + +declare module 'date-fns/setISOWeekYear/index.js' { + import { setISOWeekYear } from 'date-fns' + export default setISOWeekYear +} + +declare module 'date-fns/setMilliseconds/index.js' { + import { setMilliseconds } from 'date-fns' + export default setMilliseconds +} + +declare module 'date-fns/setMinutes/index.js' { + import { setMinutes } from 'date-fns' + export default setMinutes +} + +declare module 'date-fns/setMonth/index.js' { + import { setMonth } from 'date-fns' + export default setMonth +} + +declare module 'date-fns/setQuarter/index.js' { + import { setQuarter } from 'date-fns' + export default setQuarter +} + +declare module 'date-fns/setSeconds/index.js' { + import { setSeconds } from 'date-fns' + export default setSeconds +} + +declare module 'date-fns/setWeek/index.js' { + import { setWeek } from 'date-fns' + export default setWeek +} + +declare module 'date-fns/setWeekYear/index.js' { + import { setWeekYear } from 'date-fns' + export default setWeekYear +} + +declare module 'date-fns/setYear/index.js' { + import { setYear } from 'date-fns' + export default setYear +} + +declare module 'date-fns/startOfDay/index.js' { + import { startOfDay } from 'date-fns' + export default startOfDay +} + +declare module 'date-fns/startOfDecade/index.js' { + import { startOfDecade } from 'date-fns' + export default startOfDecade +} + +declare module 'date-fns/startOfHour/index.js' { + import { startOfHour } from 'date-fns' + export default startOfHour +} + +declare module 'date-fns/startOfISOWeek/index.js' { + import { startOfISOWeek } from 'date-fns' + export default startOfISOWeek +} + +declare module 'date-fns/startOfISOWeekYear/index.js' { + import { startOfISOWeekYear } from 'date-fns' + export default startOfISOWeekYear +} + +declare module 'date-fns/startOfMinute/index.js' { + import { startOfMinute } from 'date-fns' + export default startOfMinute +} + +declare module 'date-fns/startOfMonth/index.js' { + import { startOfMonth } from 'date-fns' + export default startOfMonth +} + +declare module 'date-fns/startOfQuarter/index.js' { + import { startOfQuarter } from 'date-fns' + export default startOfQuarter +} + +declare module 'date-fns/startOfSecond/index.js' { + import { startOfSecond } from 'date-fns' + export default startOfSecond +} + +declare module 'date-fns/startOfToday/index.js' { + import { startOfToday } from 'date-fns' + export default startOfToday +} + +declare module 'date-fns/startOfTomorrow/index.js' { + import { startOfTomorrow } from 'date-fns' + export default startOfTomorrow +} + +declare module 'date-fns/startOfWeek/index.js' { + import { startOfWeek } from 'date-fns' + export default startOfWeek +} + +declare module 'date-fns/startOfWeekYear/index.js' { + import { startOfWeekYear } from 'date-fns' + export default startOfWeekYear +} + +declare module 'date-fns/startOfYear/index.js' { + import { startOfYear } from 'date-fns' + export default startOfYear +} + +declare module 'date-fns/startOfYesterday/index.js' { + import { startOfYesterday } from 'date-fns' + export default startOfYesterday +} + +declare module 'date-fns/sub/index.js' { + import { sub } from 'date-fns' + export default sub +} + +declare module 'date-fns/subBusinessDays/index.js' { + import { subBusinessDays } from 'date-fns' + export default subBusinessDays +} + +declare module 'date-fns/subDays/index.js' { + import { subDays } from 'date-fns' + export default subDays +} + +declare module 'date-fns/subHours/index.js' { + import { subHours } from 'date-fns' + export default subHours +} + +declare module 'date-fns/subISOWeekYears/index.js' { + import { subISOWeekYears } from 'date-fns' + export default subISOWeekYears +} + +declare module 'date-fns/subMilliseconds/index.js' { + import { subMilliseconds } from 'date-fns' + export default subMilliseconds +} + +declare module 'date-fns/subMinutes/index.js' { + import { subMinutes } from 'date-fns' + export default subMinutes +} + +declare module 'date-fns/subMonths/index.js' { + import { subMonths } from 'date-fns' + export default subMonths +} + +declare module 'date-fns/subQuarters/index.js' { + import { subQuarters } from 'date-fns' + export default subQuarters +} + +declare module 'date-fns/subSeconds/index.js' { + import { subSeconds } from 'date-fns' + export default subSeconds +} + +declare module 'date-fns/subWeeks/index.js' { + import { subWeeks } from 'date-fns' + export default subWeeks +} + +declare module 'date-fns/subYears/index.js' { + import { subYears } from 'date-fns' + export default subYears +} + +declare module 'date-fns/toDate/index.js' { + import { toDate } from 'date-fns' + export default toDate +} + +declare module 'date-fns/weeksToDays/index.js' { + import { weeksToDays } from 'date-fns' + export default weeksToDays +} + +declare module 'date-fns/yearsToMonths/index.js' { + import { yearsToMonths } from 'date-fns' + export default yearsToMonths +} + +declare module 'date-fns/yearsToQuarters/index.js' { + import { yearsToQuarters } from 'date-fns' + export default yearsToQuarters +} + +// FP Functions + +declare module 'date-fns/fp' { + const add: CurriedFn2 + namespace add {} + + const addBusinessDays: CurriedFn2 + namespace addBusinessDays {} + + const addDays: CurriedFn2 + namespace addDays {} + + const addHours: CurriedFn2 + namespace addHours {} + + const addISOWeekYears: CurriedFn2 + namespace addISOWeekYears {} + + const addMilliseconds: CurriedFn2 + namespace addMilliseconds {} + + const addMinutes: CurriedFn2 + namespace addMinutes {} + + const addMonths: CurriedFn2 + namespace addMonths {} + + const addQuarters: CurriedFn2 + namespace addQuarters {} + + const addSeconds: CurriedFn2 + namespace addSeconds {} + + const addWeeks: CurriedFn2 + namespace addWeeks {} + + const addYears: CurriedFn2 + namespace addYears {} + + const areIntervalsOverlapping: CurriedFn2 + namespace areIntervalsOverlapping {} + + const areIntervalsOverlappingWithOptions: CurriedFn3< + { + inclusive?: boolean + }, + Interval, + Interval, + boolean + > + namespace areIntervalsOverlappingWithOptions {} + + const clamp: CurriedFn2 + namespace clamp {} + + const closestIndexTo: CurriedFn2< + (Date | number)[], + Date | number, + number | undefined + > + namespace closestIndexTo {} + + const closestTo: CurriedFn2< + (Date | number)[], + Date | number, + Date | undefined + > + namespace closestTo {} + + const compareAsc: CurriedFn2 + namespace compareAsc {} + + const compareDesc: CurriedFn2 + namespace compareDesc {} + + const daysToWeeks: CurriedFn1 + namespace daysToWeeks {} + + const differenceInBusinessDays: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInBusinessDays {} + + const differenceInCalendarDays: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarDays {} + + const differenceInCalendarISOWeeks: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarISOWeeks {} + + const differenceInCalendarISOWeekYears: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarISOWeekYears {} + + const differenceInCalendarMonths: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarMonths {} + + const differenceInCalendarQuarters: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarQuarters {} + + const differenceInCalendarWeeks: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarWeeks {} + + const differenceInCalendarWeeksWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date | number, + number + > + namespace differenceInCalendarWeeksWithOptions {} + + const differenceInCalendarYears: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarYears {} + + const differenceInDays: CurriedFn2 + namespace differenceInDays {} + + const differenceInHours: CurriedFn2 + namespace differenceInHours {} + + const differenceInHoursWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInHoursWithOptions {} + + const differenceInISOWeekYears: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInISOWeekYears {} + + const differenceInMilliseconds: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInMilliseconds {} + + const differenceInMinutes: CurriedFn2 + namespace differenceInMinutes {} + + const differenceInMinutesWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInMinutesWithOptions {} + + const differenceInMonths: CurriedFn2 + namespace differenceInMonths {} + + const differenceInQuarters: CurriedFn2 + namespace differenceInQuarters {} + + const differenceInQuartersWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInQuartersWithOptions {} + + const differenceInSeconds: CurriedFn2 + namespace differenceInSeconds {} + + const differenceInSecondsWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInSecondsWithOptions {} + + const differenceInWeeks: CurriedFn2 + namespace differenceInWeeks {} + + const differenceInWeeksWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInWeeksWithOptions {} + + const differenceInYears: CurriedFn2 + namespace differenceInYears {} + + const eachDayOfInterval: CurriedFn1 + namespace eachDayOfInterval {} + + const eachDayOfIntervalWithOptions: CurriedFn2< + { + step?: number + }, + Interval, + Date[] + > + namespace eachDayOfIntervalWithOptions {} + + const eachHourOfInterval: CurriedFn1 + namespace eachHourOfInterval {} + + const eachHourOfIntervalWithOptions: CurriedFn2< + { + step?: number + }, + Interval, + Date[] + > + namespace eachHourOfIntervalWithOptions {} + + const eachMinuteOfInterval: CurriedFn1 + namespace eachMinuteOfInterval {} + + const eachMinuteOfIntervalWithOptions: CurriedFn2< + { + step?: number + }, + Interval, + Date[] + > + namespace eachMinuteOfIntervalWithOptions {} + + const eachMonthOfInterval: CurriedFn1 + namespace eachMonthOfInterval {} + + const eachQuarterOfInterval: CurriedFn1 + namespace eachQuarterOfInterval {} + + const eachWeekendOfInterval: CurriedFn1 + namespace eachWeekendOfInterval {} + + const eachWeekendOfMonth: CurriedFn1 + namespace eachWeekendOfMonth {} + + const eachWeekendOfYear: CurriedFn1 + namespace eachWeekendOfYear {} + + const eachWeekOfInterval: CurriedFn1 + namespace eachWeekOfInterval {} + + const eachWeekOfIntervalWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Interval, + Date[] + > + namespace eachWeekOfIntervalWithOptions {} + + const eachYearOfInterval: CurriedFn1 + namespace eachYearOfInterval {} + + const endOfDay: CurriedFn1 + namespace endOfDay {} + + const endOfDecade: CurriedFn1 + namespace endOfDecade {} + + const endOfDecadeWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2 + }, + Date | number, + Date + > + namespace endOfDecadeWithOptions {} + + const endOfHour: CurriedFn1 + namespace endOfHour {} + + const endOfISOWeek: CurriedFn1 + namespace endOfISOWeek {} + + const endOfISOWeekYear: CurriedFn1 + namespace endOfISOWeekYear {} + + const endOfMinute: CurriedFn1 + namespace endOfMinute {} + + const endOfMonth: CurriedFn1 + namespace endOfMonth {} + + const endOfQuarter: CurriedFn1 + namespace endOfQuarter {} + + const endOfSecond: CurriedFn1 + namespace endOfSecond {} + + const endOfWeek: CurriedFn1 + namespace endOfWeek {} + + const endOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace endOfWeekWithOptions {} + + const endOfYear: CurriedFn1 + namespace endOfYear {} + + const format: CurriedFn2 + namespace format {} + + const formatDistance: CurriedFn2 + namespace formatDistance {} + + const formatDistanceStrict: CurriedFn2 + namespace formatDistanceStrict {} + + const formatDistanceStrictWithOptions: CurriedFn3< + { + locale?: Locale + roundingMethod?: 'floor' | 'ceil' | 'round' + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + addSuffix?: boolean + }, + Date | number, + Date | number, + string + > + namespace formatDistanceStrictWithOptions {} + + const formatDistanceWithOptions: CurriedFn3< + { + locale?: Locale + addSuffix?: boolean + includeSeconds?: boolean + }, + Date | number, + Date | number, + string + > + namespace formatDistanceWithOptions {} + + const formatDuration: CurriedFn1 + namespace formatDuration {} + + const formatDurationWithOptions: CurriedFn2< + { + locale?: Locale + delimiter?: string + zero?: boolean + format?: string[] + }, + Duration, + string + > + namespace formatDurationWithOptions {} + + const formatISO: CurriedFn1 + namespace formatISO {} + + const formatISO9075: CurriedFn1 + namespace formatISO9075 {} + + const formatISO9075WithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time' + format?: 'extended' | 'basic' + }, + Date | number, + string + > + namespace formatISO9075WithOptions {} + + const formatISODuration: CurriedFn1 + namespace formatISODuration {} + + const formatISOWithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time' + format?: 'extended' | 'basic' + }, + Date | number, + string + > + namespace formatISOWithOptions {} + + const formatRelative: CurriedFn2 + namespace formatRelative {} + + const formatRelativeWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date | number, + string + > + namespace formatRelativeWithOptions {} + + const formatRFC3339: CurriedFn1 + namespace formatRFC3339 {} + + const formatRFC3339WithOptions: CurriedFn2< + { + fractionDigits?: 0 | 1 | 2 | 3 + }, + Date | number, + string + > + namespace formatRFC3339WithOptions {} + + const formatRFC7231: CurriedFn1 + namespace formatRFC7231 {} + + const formatWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean + useAdditionalWeekYearTokens?: boolean + firstWeekContainsDate?: number + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + string, + Date | number, + string + > + namespace formatWithOptions {} + + const fromUnixTime: CurriedFn1 + namespace fromUnixTime {} + + const getDate: CurriedFn1 + namespace getDate {} + + const getDay: CurriedFn1 + namespace getDay {} + + const getDayOfYear: CurriedFn1 + namespace getDayOfYear {} + + const getDaysInMonth: CurriedFn1 + namespace getDaysInMonth {} + + const getDaysInYear: CurriedFn1 + namespace getDaysInYear {} + + const getDecade: CurriedFn1 + namespace getDecade {} + + const getHours: CurriedFn1 + namespace getHours {} + + const getISODay: CurriedFn1 + namespace getISODay {} + + const getISOWeek: CurriedFn1 + namespace getISOWeek {} + + const getISOWeeksInYear: CurriedFn1 + namespace getISOWeeksInYear {} + + const getISOWeekYear: CurriedFn1 + namespace getISOWeekYear {} + + const getMilliseconds: CurriedFn1 + namespace getMilliseconds {} + + const getMinutes: CurriedFn1 + namespace getMinutes {} + + const getMonth: CurriedFn1 + namespace getMonth {} + + const getOverlappingDaysInIntervals: CurriedFn2 + namespace getOverlappingDaysInIntervals {} + + const getQuarter: CurriedFn1 + namespace getQuarter {} + + const getSeconds: CurriedFn1 + namespace getSeconds {} + + const getTime: CurriedFn1 + namespace getTime {} + + const getUnixTime: CurriedFn1 + namespace getUnixTime {} + + const getWeek: CurriedFn1 + namespace getWeek {} + + const getWeekOfMonth: CurriedFn1 + namespace getWeekOfMonth {} + + const getWeekOfMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeekOfMonthWithOptions {} + + const getWeeksInMonth: CurriedFn1 + namespace getWeeksInMonth {} + + const getWeeksInMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeeksInMonthWithOptions {} + + const getWeekWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeekWithOptions {} + + const getWeekYear: CurriedFn1 + namespace getWeekYear {} + + const getWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeekYearWithOptions {} + + const getYear: CurriedFn1 + namespace getYear {} + + const hoursToMilliseconds: CurriedFn1 + namespace hoursToMilliseconds {} + + const hoursToMinutes: CurriedFn1 + namespace hoursToMinutes {} + + const hoursToSeconds: CurriedFn1 + namespace hoursToSeconds {} + + const intervalToDuration: CurriedFn1 + namespace intervalToDuration {} + + const intlFormat: CurriedFn3< + { + locale?: string | string[] + }, + { + timeZone?: string + hour12?: boolean + formatMatcher?: 'basic' | 'best fit' + timeZoneName?: 'short' | 'long' + second?: 'numeric' | '2-digit' + minute?: 'numeric' | '2-digit' + hour?: 'numeric' | '2-digit' + day?: 'numeric' | '2-digit' + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long' + year?: 'numeric' | '2-digit' + era?: 'narrow' | 'short' | 'long' + weekday?: 'narrow' | 'short' | 'long' + localeMatcher?: 'lookup' | 'best fit' + }, + Date | number, + string + > + namespace intlFormat {} + + const intlFormatDistance: CurriedFn2 + namespace intlFormatDistance {} + + const intlFormatDistanceWithOptions: CurriedFn3< + { + style?: string + numeric?: string + localeMatcher?: string + locale?: string | string[] + unit?: string + }, + Date | number, + Date | number, + string + > + namespace intlFormatDistanceWithOptions {} + + const isAfter: CurriedFn2 + namespace isAfter {} + + const isBefore: CurriedFn2 + namespace isBefore {} + + const isDate: CurriedFn1 + namespace isDate {} + + const isEqual: CurriedFn2 + namespace isEqual {} + + const isExists: CurriedFn3 + namespace isExists {} + + const isFirstDayOfMonth: CurriedFn1 + namespace isFirstDayOfMonth {} + + const isFriday: CurriedFn1 + namespace isFriday {} + + const isLastDayOfMonth: CurriedFn1 + namespace isLastDayOfMonth {} + + const isLeapYear: CurriedFn1 + namespace isLeapYear {} + + const isMatch: CurriedFn2 + namespace isMatch {} + + const isMatchWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean + useAdditionalWeekYearTokens?: boolean + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + string, + string, + boolean + > + namespace isMatchWithOptions {} + + const isMonday: CurriedFn1 + namespace isMonday {} + + const isSameDay: CurriedFn2 + namespace isSameDay {} + + const isSameHour: CurriedFn2 + namespace isSameHour {} + + const isSameISOWeek: CurriedFn2 + namespace isSameISOWeek {} + + const isSameISOWeekYear: CurriedFn2 + namespace isSameISOWeekYear {} + + const isSameMinute: CurriedFn2 + namespace isSameMinute {} + + const isSameMonth: CurriedFn2 + namespace isSameMonth {} + + const isSameQuarter: CurriedFn2 + namespace isSameQuarter {} + + const isSameSecond: CurriedFn2 + namespace isSameSecond {} + + const isSameWeek: CurriedFn2 + namespace isSameWeek {} + + const isSameWeekWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date | number, + boolean + > + namespace isSameWeekWithOptions {} + + const isSameYear: CurriedFn2 + namespace isSameYear {} + + const isSaturday: CurriedFn1 + namespace isSaturday {} + + const isSunday: CurriedFn1 + namespace isSunday {} + + const isThursday: CurriedFn1 + namespace isThursday {} + + const isTuesday: CurriedFn1 + namespace isTuesday {} + + const isValid: CurriedFn1 + namespace isValid {} + + const isWednesday: CurriedFn1 + namespace isWednesday {} + + const isWeekend: CurriedFn1 + namespace isWeekend {} + + const isWithinInterval: CurriedFn2 + namespace isWithinInterval {} + + const lastDayOfDecade: CurriedFn1 + namespace lastDayOfDecade {} + + const lastDayOfISOWeek: CurriedFn1 + namespace lastDayOfISOWeek {} + + const lastDayOfISOWeekYear: CurriedFn1 + namespace lastDayOfISOWeekYear {} + + const lastDayOfMonth: CurriedFn1 + namespace lastDayOfMonth {} + + const lastDayOfQuarter: CurriedFn1 + namespace lastDayOfQuarter {} + + const lastDayOfQuarterWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2 + }, + Date | number, + Date + > + namespace lastDayOfQuarterWithOptions {} + + const lastDayOfWeek: CurriedFn1 + namespace lastDayOfWeek {} + + const lastDayOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace lastDayOfWeekWithOptions {} + + const lastDayOfYear: CurriedFn1 + namespace lastDayOfYear {} + + const lightFormat: CurriedFn2 + namespace lightFormat {} + + const max: CurriedFn1<(Date | number)[], Date> + namespace max {} + + const milliseconds: CurriedFn1 + namespace milliseconds {} + + const millisecondsToHours: CurriedFn1 + namespace millisecondsToHours {} + + const millisecondsToMinutes: CurriedFn1 + namespace millisecondsToMinutes {} + + const millisecondsToSeconds: CurriedFn1 + namespace millisecondsToSeconds {} + + const min: CurriedFn1<(Date | number)[], Date> + namespace min {} + + const minutesToHours: CurriedFn1 + namespace minutesToHours {} + + const minutesToMilliseconds: CurriedFn1 + namespace minutesToMilliseconds {} + + const minutesToSeconds: CurriedFn1 + namespace minutesToSeconds {} + + const monthsToQuarters: CurriedFn1 + namespace monthsToQuarters {} + + const monthsToYears: CurriedFn1 + namespace monthsToYears {} + + const nextDay: CurriedFn2 + namespace nextDay {} + + const nextFriday: CurriedFn1 + namespace nextFriday {} + + const nextMonday: CurriedFn1 + namespace nextMonday {} + + const nextSaturday: CurriedFn1 + namespace nextSaturday {} + + const nextSunday: CurriedFn1 + namespace nextSunday {} + + const nextThursday: CurriedFn1 + namespace nextThursday {} + + const nextTuesday: CurriedFn1 + namespace nextTuesday {} + + const nextWednesday: CurriedFn1 + namespace nextWednesday {} + + const parse: CurriedFn3 + namespace parse {} + + const parseISO: CurriedFn1 + namespace parseISO {} + + const parseISOWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2 + }, + string, + Date + > + namespace parseISOWithOptions {} + + const parseJSON: CurriedFn1 + namespace parseJSON {} + + const parseWithOptions: CurriedFn4< + { + useAdditionalDayOfYearTokens?: boolean + useAdditionalWeekYearTokens?: boolean + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + string, + string, + Date + > + namespace parseWithOptions {} + + const previousDay: CurriedFn2 + namespace previousDay {} + + const previousFriday: CurriedFn1 + namespace previousFriday {} + + const previousMonday: CurriedFn1 + namespace previousMonday {} + + const previousSaturday: CurriedFn1 + namespace previousSaturday {} + + const previousSunday: CurriedFn1 + namespace previousSunday {} + + const previousThursday: CurriedFn1 + namespace previousThursday {} + + const previousTuesday: CurriedFn1 + namespace previousTuesday {} + + const previousWednesday: CurriedFn1 + namespace previousWednesday {} + + const quartersToMonths: CurriedFn1 + namespace quartersToMonths {} + + const quartersToYears: CurriedFn1 + namespace quartersToYears {} + + const roundToNearestMinutes: CurriedFn1 + namespace roundToNearestMinutes {} + + const roundToNearestMinutesWithOptions: CurriedFn2< + { + roundingMethod?: string + nearestTo?: number + }, + Date | number, + Date + > + namespace roundToNearestMinutesWithOptions {} + + const secondsToHours: CurriedFn1 + namespace secondsToHours {} + + const secondsToMilliseconds: CurriedFn1 + namespace secondsToMilliseconds {} + + const secondsToMinutes: CurriedFn1 + namespace secondsToMinutes {} + + const set: CurriedFn2< + { + milliseconds?: number + seconds?: number + minutes?: number + hours?: number + date?: number + month?: number + year?: number + }, + Date | number, + Date + > + namespace set {} + + const setDate: CurriedFn2 + namespace setDate {} + + const setDay: CurriedFn2 + namespace setDay {} + + const setDayOfYear: CurriedFn2 + namespace setDayOfYear {} + + const setDayWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + number, + Date | number, + Date + > + namespace setDayWithOptions {} + + const setHours: CurriedFn2 + namespace setHours {} + + const setISODay: CurriedFn2 + namespace setISODay {} + + const setISOWeek: CurriedFn2 + namespace setISOWeek {} + + const setISOWeekYear: CurriedFn2 + namespace setISOWeekYear {} + + const setMilliseconds: CurriedFn2 + namespace setMilliseconds {} + + const setMinutes: CurriedFn2 + namespace setMinutes {} + + const setMonth: CurriedFn2 + namespace setMonth {} + + const setQuarter: CurriedFn2 + namespace setQuarter {} + + const setSeconds: CurriedFn2 + namespace setSeconds {} + + const setWeek: CurriedFn2 + namespace setWeek {} + + const setWeekWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + number, + Date | number, + Date + > + namespace setWeekWithOptions {} + + const setWeekYear: CurriedFn2 + namespace setWeekYear {} + + const setWeekYearWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + number, + Date | number, + Date + > + namespace setWeekYearWithOptions {} + + const setYear: CurriedFn2 + namespace setYear {} + + const startOfDay: CurriedFn1 + namespace startOfDay {} + + const startOfDecade: CurriedFn1 + namespace startOfDecade {} + + const startOfHour: CurriedFn1 + namespace startOfHour {} + + const startOfISOWeek: CurriedFn1 + namespace startOfISOWeek {} + + const startOfISOWeekYear: CurriedFn1 + namespace startOfISOWeekYear {} + + const startOfMinute: CurriedFn1 + namespace startOfMinute {} + + const startOfMonth: CurriedFn1 + namespace startOfMonth {} + + const startOfQuarter: CurriedFn1 + namespace startOfQuarter {} + + const startOfSecond: CurriedFn1 + namespace startOfSecond {} + + const startOfWeek: CurriedFn1 + namespace startOfWeek {} + + const startOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace startOfWeekWithOptions {} + + const startOfWeekYear: CurriedFn1 + namespace startOfWeekYear {} + + const startOfWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace startOfWeekYearWithOptions {} + + const startOfYear: CurriedFn1 + namespace startOfYear {} + + const sub: CurriedFn2 + namespace sub {} + + const subBusinessDays: CurriedFn2 + namespace subBusinessDays {} + + const subDays: CurriedFn2 + namespace subDays {} + + const subHours: CurriedFn2 + namespace subHours {} + + const subISOWeekYears: CurriedFn2 + namespace subISOWeekYears {} + + const subMilliseconds: CurriedFn2 + namespace subMilliseconds {} + + const subMinutes: CurriedFn2 + namespace subMinutes {} + + const subMonths: CurriedFn2 + namespace subMonths {} + + const subQuarters: CurriedFn2 + namespace subQuarters {} + + const subSeconds: CurriedFn2 + namespace subSeconds {} + + const subWeeks: CurriedFn2 + namespace subWeeks {} + + const subYears: CurriedFn2 + namespace subYears {} + + const toDate: CurriedFn1 + namespace toDate {} + + const weeksToDays: CurriedFn1 + namespace weeksToDays {} + + const yearsToMonths: CurriedFn1 + namespace yearsToMonths {} + + const yearsToQuarters: CurriedFn1 + namespace yearsToQuarters {} + + const daysInWeek: number + + const daysInYear: number + + const maxTime: number + + const millisecondsInMinute: number + + const millisecondsInHour: number + + const millisecondsInSecond: number + + const minTime: number + + const minutesInHour: number + + const monthsInQuarter: number + + const monthsInYear: number + + const quartersInYear: number + + const secondsInHour: number + + const secondsInMinute: number + + const secondsInDay: number + + const secondsInWeek: number + + const secondsInYear: number + + const secondsInMonth: number + + const secondsInQuarter: number +} + +declare module 'date-fns/fp/add' { + import { add } from 'date-fns/fp' + export default add +} + +declare module 'date-fns/fp/addBusinessDays' { + import { addBusinessDays } from 'date-fns/fp' + export default addBusinessDays +} + +declare module 'date-fns/fp/addDays' { + import { addDays } from 'date-fns/fp' + export default addDays +} + +declare module 'date-fns/fp/addHours' { + import { addHours } from 'date-fns/fp' + export default addHours +} + +declare module 'date-fns/fp/addISOWeekYears' { + import { addISOWeekYears } from 'date-fns/fp' + export default addISOWeekYears +} + +declare module 'date-fns/fp/addMilliseconds' { + import { addMilliseconds } from 'date-fns/fp' + export default addMilliseconds +} + +declare module 'date-fns/fp/addMinutes' { + import { addMinutes } from 'date-fns/fp' + export default addMinutes +} + +declare module 'date-fns/fp/addMonths' { + import { addMonths } from 'date-fns/fp' + export default addMonths +} + +declare module 'date-fns/fp/addQuarters' { + import { addQuarters } from 'date-fns/fp' + export default addQuarters +} + +declare module 'date-fns/fp/addSeconds' { + import { addSeconds } from 'date-fns/fp' + export default addSeconds +} + +declare module 'date-fns/fp/addWeeks' { + import { addWeeks } from 'date-fns/fp' + export default addWeeks +} + +declare module 'date-fns/fp/addYears' { + import { addYears } from 'date-fns/fp' + export default addYears +} + +declare module 'date-fns/fp/areIntervalsOverlapping' { + import { areIntervalsOverlapping } from 'date-fns/fp' + export default areIntervalsOverlapping +} + +declare module 'date-fns/fp/areIntervalsOverlappingWithOptions' { + import { areIntervalsOverlappingWithOptions } from 'date-fns/fp' + export default areIntervalsOverlappingWithOptions +} + +declare module 'date-fns/fp/clamp' { + import { clamp } from 'date-fns/fp' + export default clamp +} + +declare module 'date-fns/fp/closestIndexTo' { + import { closestIndexTo } from 'date-fns/fp' + export default closestIndexTo +} + +declare module 'date-fns/fp/closestTo' { + import { closestTo } from 'date-fns/fp' + export default closestTo +} + +declare module 'date-fns/fp/compareAsc' { + import { compareAsc } from 'date-fns/fp' + export default compareAsc +} + +declare module 'date-fns/fp/compareDesc' { + import { compareDesc } from 'date-fns/fp' + export default compareDesc +} + +declare module 'date-fns/fp/daysToWeeks' { + import { daysToWeeks } from 'date-fns/fp' + export default daysToWeeks +} + +declare module 'date-fns/fp/differenceInBusinessDays' { + import { differenceInBusinessDays } from 'date-fns/fp' + export default differenceInBusinessDays +} + +declare module 'date-fns/fp/differenceInCalendarDays' { + import { differenceInCalendarDays } from 'date-fns/fp' + export default differenceInCalendarDays +} + +declare module 'date-fns/fp/differenceInCalendarISOWeeks' { + import { differenceInCalendarISOWeeks } from 'date-fns/fp' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/fp/differenceInCalendarISOWeekYears' { + import { differenceInCalendarISOWeekYears } from 'date-fns/fp' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/fp/differenceInCalendarMonths' { + import { differenceInCalendarMonths } from 'date-fns/fp' + export default differenceInCalendarMonths +} + +declare module 'date-fns/fp/differenceInCalendarQuarters' { + import { differenceInCalendarQuarters } from 'date-fns/fp' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/fp/differenceInCalendarWeeks' { + import { differenceInCalendarWeeks } from 'date-fns/fp' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/fp/differenceInCalendarWeeksWithOptions' { + import { differenceInCalendarWeeksWithOptions } from 'date-fns/fp' + export default differenceInCalendarWeeksWithOptions +} + +declare module 'date-fns/fp/differenceInCalendarYears' { + import { differenceInCalendarYears } from 'date-fns/fp' + export default differenceInCalendarYears +} + +declare module 'date-fns/fp/differenceInDays' { + import { differenceInDays } from 'date-fns/fp' + export default differenceInDays +} + +declare module 'date-fns/fp/differenceInHours' { + import { differenceInHours } from 'date-fns/fp' + export default differenceInHours +} + +declare module 'date-fns/fp/differenceInHoursWithOptions' { + import { differenceInHoursWithOptions } from 'date-fns/fp' + export default differenceInHoursWithOptions +} + +declare module 'date-fns/fp/differenceInISOWeekYears' { + import { differenceInISOWeekYears } from 'date-fns/fp' + export default differenceInISOWeekYears +} + +declare module 'date-fns/fp/differenceInMilliseconds' { + import { differenceInMilliseconds } from 'date-fns/fp' + export default differenceInMilliseconds +} + +declare module 'date-fns/fp/differenceInMinutes' { + import { differenceInMinutes } from 'date-fns/fp' + export default differenceInMinutes +} + +declare module 'date-fns/fp/differenceInMinutesWithOptions' { + import { differenceInMinutesWithOptions } from 'date-fns/fp' + export default differenceInMinutesWithOptions +} + +declare module 'date-fns/fp/differenceInMonths' { + import { differenceInMonths } from 'date-fns/fp' + export default differenceInMonths +} + +declare module 'date-fns/fp/differenceInQuarters' { + import { differenceInQuarters } from 'date-fns/fp' + export default differenceInQuarters +} + +declare module 'date-fns/fp/differenceInQuartersWithOptions' { + import { differenceInQuartersWithOptions } from 'date-fns/fp' + export default differenceInQuartersWithOptions +} + +declare module 'date-fns/fp/differenceInSeconds' { + import { differenceInSeconds } from 'date-fns/fp' + export default differenceInSeconds +} + +declare module 'date-fns/fp/differenceInSecondsWithOptions' { + import { differenceInSecondsWithOptions } from 'date-fns/fp' + export default differenceInSecondsWithOptions +} + +declare module 'date-fns/fp/differenceInWeeks' { + import { differenceInWeeks } from 'date-fns/fp' + export default differenceInWeeks +} + +declare module 'date-fns/fp/differenceInWeeksWithOptions' { + import { differenceInWeeksWithOptions } from 'date-fns/fp' + export default differenceInWeeksWithOptions +} + +declare module 'date-fns/fp/differenceInYears' { + import { differenceInYears } from 'date-fns/fp' + export default differenceInYears +} + +declare module 'date-fns/fp/eachDayOfInterval' { + import { eachDayOfInterval } from 'date-fns/fp' + export default eachDayOfInterval +} + +declare module 'date-fns/fp/eachDayOfIntervalWithOptions' { + import { eachDayOfIntervalWithOptions } from 'date-fns/fp' + export default eachDayOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachHourOfInterval' { + import { eachHourOfInterval } from 'date-fns/fp' + export default eachHourOfInterval +} + +declare module 'date-fns/fp/eachHourOfIntervalWithOptions' { + import { eachHourOfIntervalWithOptions } from 'date-fns/fp' + export default eachHourOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachMinuteOfInterval' { + import { eachMinuteOfInterval } from 'date-fns/fp' + export default eachMinuteOfInterval +} + +declare module 'date-fns/fp/eachMinuteOfIntervalWithOptions' { + import { eachMinuteOfIntervalWithOptions } from 'date-fns/fp' + export default eachMinuteOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachMonthOfInterval' { + import { eachMonthOfInterval } from 'date-fns/fp' + export default eachMonthOfInterval +} + +declare module 'date-fns/fp/eachQuarterOfInterval' { + import { eachQuarterOfInterval } from 'date-fns/fp' + export default eachQuarterOfInterval +} + +declare module 'date-fns/fp/eachWeekendOfInterval' { + import { eachWeekendOfInterval } from 'date-fns/fp' + export default eachWeekendOfInterval +} + +declare module 'date-fns/fp/eachWeekendOfMonth' { + import { eachWeekendOfMonth } from 'date-fns/fp' + export default eachWeekendOfMonth +} + +declare module 'date-fns/fp/eachWeekendOfYear' { + import { eachWeekendOfYear } from 'date-fns/fp' + export default eachWeekendOfYear +} + +declare module 'date-fns/fp/eachWeekOfInterval' { + import { eachWeekOfInterval } from 'date-fns/fp' + export default eachWeekOfInterval +} + +declare module 'date-fns/fp/eachWeekOfIntervalWithOptions' { + import { eachWeekOfIntervalWithOptions } from 'date-fns/fp' + export default eachWeekOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachYearOfInterval' { + import { eachYearOfInterval } from 'date-fns/fp' + export default eachYearOfInterval +} + +declare module 'date-fns/fp/endOfDay' { + import { endOfDay } from 'date-fns/fp' + export default endOfDay +} + +declare module 'date-fns/fp/endOfDecade' { + import { endOfDecade } from 'date-fns/fp' + export default endOfDecade +} + +declare module 'date-fns/fp/endOfDecadeWithOptions' { + import { endOfDecadeWithOptions } from 'date-fns/fp' + export default endOfDecadeWithOptions +} + +declare module 'date-fns/fp/endOfHour' { + import { endOfHour } from 'date-fns/fp' + export default endOfHour +} + +declare module 'date-fns/fp/endOfISOWeek' { + import { endOfISOWeek } from 'date-fns/fp' + export default endOfISOWeek +} + +declare module 'date-fns/fp/endOfISOWeekYear' { + import { endOfISOWeekYear } from 'date-fns/fp' + export default endOfISOWeekYear +} + +declare module 'date-fns/fp/endOfMinute' { + import { endOfMinute } from 'date-fns/fp' + export default endOfMinute +} + +declare module 'date-fns/fp/endOfMonth' { + import { endOfMonth } from 'date-fns/fp' + export default endOfMonth +} + +declare module 'date-fns/fp/endOfQuarter' { + import { endOfQuarter } from 'date-fns/fp' + export default endOfQuarter +} + +declare module 'date-fns/fp/endOfSecond' { + import { endOfSecond } from 'date-fns/fp' + export default endOfSecond +} + +declare module 'date-fns/fp/endOfWeek' { + import { endOfWeek } from 'date-fns/fp' + export default endOfWeek +} + +declare module 'date-fns/fp/endOfWeekWithOptions' { + import { endOfWeekWithOptions } from 'date-fns/fp' + export default endOfWeekWithOptions +} + +declare module 'date-fns/fp/endOfYear' { + import { endOfYear } from 'date-fns/fp' + export default endOfYear +} + +declare module 'date-fns/fp/format' { + import { format } from 'date-fns/fp' + export default format +} + +declare module 'date-fns/fp/formatDistance' { + import { formatDistance } from 'date-fns/fp' + export default formatDistance +} + +declare module 'date-fns/fp/formatDistanceStrict' { + import { formatDistanceStrict } from 'date-fns/fp' + export default formatDistanceStrict +} + +declare module 'date-fns/fp/formatDistanceStrictWithOptions' { + import { formatDistanceStrictWithOptions } from 'date-fns/fp' + export default formatDistanceStrictWithOptions +} + +declare module 'date-fns/fp/formatDistanceWithOptions' { + import { formatDistanceWithOptions } from 'date-fns/fp' + export default formatDistanceWithOptions +} + +declare module 'date-fns/fp/formatDuration' { + import { formatDuration } from 'date-fns/fp' + export default formatDuration +} + +declare module 'date-fns/fp/formatDurationWithOptions' { + import { formatDurationWithOptions } from 'date-fns/fp' + export default formatDurationWithOptions +} + +declare module 'date-fns/fp/formatISO' { + import { formatISO } from 'date-fns/fp' + export default formatISO +} + +declare module 'date-fns/fp/formatISO9075' { + import { formatISO9075 } from 'date-fns/fp' + export default formatISO9075 +} + +declare module 'date-fns/fp/formatISO9075WithOptions' { + import { formatISO9075WithOptions } from 'date-fns/fp' + export default formatISO9075WithOptions +} + +declare module 'date-fns/fp/formatISODuration' { + import { formatISODuration } from 'date-fns/fp' + export default formatISODuration +} + +declare module 'date-fns/fp/formatISOWithOptions' { + import { formatISOWithOptions } from 'date-fns/fp' + export default formatISOWithOptions +} + +declare module 'date-fns/fp/formatRelative' { + import { formatRelative } from 'date-fns/fp' + export default formatRelative +} + +declare module 'date-fns/fp/formatRelativeWithOptions' { + import { formatRelativeWithOptions } from 'date-fns/fp' + export default formatRelativeWithOptions +} + +declare module 'date-fns/fp/formatRFC3339' { + import { formatRFC3339 } from 'date-fns/fp' + export default formatRFC3339 +} + +declare module 'date-fns/fp/formatRFC3339WithOptions' { + import { formatRFC3339WithOptions } from 'date-fns/fp' + export default formatRFC3339WithOptions +} + +declare module 'date-fns/fp/formatRFC7231' { + import { formatRFC7231 } from 'date-fns/fp' + export default formatRFC7231 +} + +declare module 'date-fns/fp/formatWithOptions' { + import { formatWithOptions } from 'date-fns/fp' + export default formatWithOptions +} + +declare module 'date-fns/fp/fromUnixTime' { + import { fromUnixTime } from 'date-fns/fp' + export default fromUnixTime +} + +declare module 'date-fns/fp/getDate' { + import { getDate } from 'date-fns/fp' + export default getDate +} + +declare module 'date-fns/fp/getDay' { + import { getDay } from 'date-fns/fp' + export default getDay +} + +declare module 'date-fns/fp/getDayOfYear' { + import { getDayOfYear } from 'date-fns/fp' + export default getDayOfYear +} + +declare module 'date-fns/fp/getDaysInMonth' { + import { getDaysInMonth } from 'date-fns/fp' + export default getDaysInMonth +} + +declare module 'date-fns/fp/getDaysInYear' { + import { getDaysInYear } from 'date-fns/fp' + export default getDaysInYear +} + +declare module 'date-fns/fp/getDecade' { + import { getDecade } from 'date-fns/fp' + export default getDecade +} + +declare module 'date-fns/fp/getHours' { + import { getHours } from 'date-fns/fp' + export default getHours +} + +declare module 'date-fns/fp/getISODay' { + import { getISODay } from 'date-fns/fp' + export default getISODay +} + +declare module 'date-fns/fp/getISOWeek' { + import { getISOWeek } from 'date-fns/fp' + export default getISOWeek +} + +declare module 'date-fns/fp/getISOWeeksInYear' { + import { getISOWeeksInYear } from 'date-fns/fp' + export default getISOWeeksInYear +} + +declare module 'date-fns/fp/getISOWeekYear' { + import { getISOWeekYear } from 'date-fns/fp' + export default getISOWeekYear +} + +declare module 'date-fns/fp/getMilliseconds' { + import { getMilliseconds } from 'date-fns/fp' + export default getMilliseconds +} + +declare module 'date-fns/fp/getMinutes' { + import { getMinutes } from 'date-fns/fp' + export default getMinutes +} + +declare module 'date-fns/fp/getMonth' { + import { getMonth } from 'date-fns/fp' + export default getMonth +} + +declare module 'date-fns/fp/getOverlappingDaysInIntervals' { + import { getOverlappingDaysInIntervals } from 'date-fns/fp' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/fp/getQuarter' { + import { getQuarter } from 'date-fns/fp' + export default getQuarter +} + +declare module 'date-fns/fp/getSeconds' { + import { getSeconds } from 'date-fns/fp' + export default getSeconds +} + +declare module 'date-fns/fp/getTime' { + import { getTime } from 'date-fns/fp' + export default getTime +} + +declare module 'date-fns/fp/getUnixTime' { + import { getUnixTime } from 'date-fns/fp' + export default getUnixTime +} + +declare module 'date-fns/fp/getWeek' { + import { getWeek } from 'date-fns/fp' + export default getWeek +} + +declare module 'date-fns/fp/getWeekOfMonth' { + import { getWeekOfMonth } from 'date-fns/fp' + export default getWeekOfMonth +} + +declare module 'date-fns/fp/getWeekOfMonthWithOptions' { + import { getWeekOfMonthWithOptions } from 'date-fns/fp' + export default getWeekOfMonthWithOptions +} + +declare module 'date-fns/fp/getWeeksInMonth' { + import { getWeeksInMonth } from 'date-fns/fp' + export default getWeeksInMonth +} + +declare module 'date-fns/fp/getWeeksInMonthWithOptions' { + import { getWeeksInMonthWithOptions } from 'date-fns/fp' + export default getWeeksInMonthWithOptions +} + +declare module 'date-fns/fp/getWeekWithOptions' { + import { getWeekWithOptions } from 'date-fns/fp' + export default getWeekWithOptions +} + +declare module 'date-fns/fp/getWeekYear' { + import { getWeekYear } from 'date-fns/fp' + export default getWeekYear +} + +declare module 'date-fns/fp/getWeekYearWithOptions' { + import { getWeekYearWithOptions } from 'date-fns/fp' + export default getWeekYearWithOptions +} + +declare module 'date-fns/fp/getYear' { + import { getYear } from 'date-fns/fp' + export default getYear +} + +declare module 'date-fns/fp/hoursToMilliseconds' { + import { hoursToMilliseconds } from 'date-fns/fp' + export default hoursToMilliseconds +} + +declare module 'date-fns/fp/hoursToMinutes' { + import { hoursToMinutes } from 'date-fns/fp' + export default hoursToMinutes +} + +declare module 'date-fns/fp/hoursToSeconds' { + import { hoursToSeconds } from 'date-fns/fp' + export default hoursToSeconds +} + +declare module 'date-fns/fp/intervalToDuration' { + import { intervalToDuration } from 'date-fns/fp' + export default intervalToDuration +} + +declare module 'date-fns/fp/intlFormat' { + import { intlFormat } from 'date-fns/fp' + export default intlFormat +} + +declare module 'date-fns/fp/intlFormatDistance' { + import { intlFormatDistance } from 'date-fns/fp' + export default intlFormatDistance +} + +declare module 'date-fns/fp/intlFormatDistanceWithOptions' { + import { intlFormatDistanceWithOptions } from 'date-fns/fp' + export default intlFormatDistanceWithOptions +} + +declare module 'date-fns/fp/isAfter' { + import { isAfter } from 'date-fns/fp' + export default isAfter +} + +declare module 'date-fns/fp/isBefore' { + import { isBefore } from 'date-fns/fp' + export default isBefore +} + +declare module 'date-fns/fp/isDate' { + import { isDate } from 'date-fns/fp' + export default isDate +} + +declare module 'date-fns/fp/isEqual' { + import { isEqual } from 'date-fns/fp' + export default isEqual +} + +declare module 'date-fns/fp/isExists' { + import { isExists } from 'date-fns/fp' + export default isExists +} + +declare module 'date-fns/fp/isFirstDayOfMonth' { + import { isFirstDayOfMonth } from 'date-fns/fp' + export default isFirstDayOfMonth +} + +declare module 'date-fns/fp/isFriday' { + import { isFriday } from 'date-fns/fp' + export default isFriday +} + +declare module 'date-fns/fp/isLastDayOfMonth' { + import { isLastDayOfMonth } from 'date-fns/fp' + export default isLastDayOfMonth +} + +declare module 'date-fns/fp/isLeapYear' { + import { isLeapYear } from 'date-fns/fp' + export default isLeapYear +} + +declare module 'date-fns/fp/isMatch' { + import { isMatch } from 'date-fns/fp' + export default isMatch +} + +declare module 'date-fns/fp/isMatchWithOptions' { + import { isMatchWithOptions } from 'date-fns/fp' + export default isMatchWithOptions +} + +declare module 'date-fns/fp/isMonday' { + import { isMonday } from 'date-fns/fp' + export default isMonday +} + +declare module 'date-fns/fp/isSameDay' { + import { isSameDay } from 'date-fns/fp' + export default isSameDay +} + +declare module 'date-fns/fp/isSameHour' { + import { isSameHour } from 'date-fns/fp' + export default isSameHour +} + +declare module 'date-fns/fp/isSameISOWeek' { + import { isSameISOWeek } from 'date-fns/fp' + export default isSameISOWeek +} + +declare module 'date-fns/fp/isSameISOWeekYear' { + import { isSameISOWeekYear } from 'date-fns/fp' + export default isSameISOWeekYear +} + +declare module 'date-fns/fp/isSameMinute' { + import { isSameMinute } from 'date-fns/fp' + export default isSameMinute +} + +declare module 'date-fns/fp/isSameMonth' { + import { isSameMonth } from 'date-fns/fp' + export default isSameMonth +} + +declare module 'date-fns/fp/isSameQuarter' { + import { isSameQuarter } from 'date-fns/fp' + export default isSameQuarter +} + +declare module 'date-fns/fp/isSameSecond' { + import { isSameSecond } from 'date-fns/fp' + export default isSameSecond +} + +declare module 'date-fns/fp/isSameWeek' { + import { isSameWeek } from 'date-fns/fp' + export default isSameWeek +} + +declare module 'date-fns/fp/isSameWeekWithOptions' { + import { isSameWeekWithOptions } from 'date-fns/fp' + export default isSameWeekWithOptions +} + +declare module 'date-fns/fp/isSameYear' { + import { isSameYear } from 'date-fns/fp' + export default isSameYear +} + +declare module 'date-fns/fp/isSaturday' { + import { isSaturday } from 'date-fns/fp' + export default isSaturday +} + +declare module 'date-fns/fp/isSunday' { + import { isSunday } from 'date-fns/fp' + export default isSunday +} + +declare module 'date-fns/fp/isThursday' { + import { isThursday } from 'date-fns/fp' + export default isThursday +} + +declare module 'date-fns/fp/isTuesday' { + import { isTuesday } from 'date-fns/fp' + export default isTuesday +} + +declare module 'date-fns/fp/isValid' { + import { isValid } from 'date-fns/fp' + export default isValid +} + +declare module 'date-fns/fp/isWednesday' { + import { isWednesday } from 'date-fns/fp' + export default isWednesday +} + +declare module 'date-fns/fp/isWeekend' { + import { isWeekend } from 'date-fns/fp' + export default isWeekend +} + +declare module 'date-fns/fp/isWithinInterval' { + import { isWithinInterval } from 'date-fns/fp' + export default isWithinInterval +} + +declare module 'date-fns/fp/lastDayOfDecade' { + import { lastDayOfDecade } from 'date-fns/fp' + export default lastDayOfDecade +} + +declare module 'date-fns/fp/lastDayOfISOWeek' { + import { lastDayOfISOWeek } from 'date-fns/fp' + export default lastDayOfISOWeek +} + +declare module 'date-fns/fp/lastDayOfISOWeekYear' { + import { lastDayOfISOWeekYear } from 'date-fns/fp' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/fp/lastDayOfMonth' { + import { lastDayOfMonth } from 'date-fns/fp' + export default lastDayOfMonth +} + +declare module 'date-fns/fp/lastDayOfQuarter' { + import { lastDayOfQuarter } from 'date-fns/fp' + export default lastDayOfQuarter +} + +declare module 'date-fns/fp/lastDayOfQuarterWithOptions' { + import { lastDayOfQuarterWithOptions } from 'date-fns/fp' + export default lastDayOfQuarterWithOptions +} + +declare module 'date-fns/fp/lastDayOfWeek' { + import { lastDayOfWeek } from 'date-fns/fp' + export default lastDayOfWeek +} + +declare module 'date-fns/fp/lastDayOfWeekWithOptions' { + import { lastDayOfWeekWithOptions } from 'date-fns/fp' + export default lastDayOfWeekWithOptions +} + +declare module 'date-fns/fp/lastDayOfYear' { + import { lastDayOfYear } from 'date-fns/fp' + export default lastDayOfYear +} + +declare module 'date-fns/fp/lightFormat' { + import { lightFormat } from 'date-fns/fp' + export default lightFormat +} + +declare module 'date-fns/fp/max' { + import { max } from 'date-fns/fp' + export default max +} + +declare module 'date-fns/fp/milliseconds' { + import { milliseconds } from 'date-fns/fp' + export default milliseconds +} + +declare module 'date-fns/fp/millisecondsToHours' { + import { millisecondsToHours } from 'date-fns/fp' + export default millisecondsToHours +} + +declare module 'date-fns/fp/millisecondsToMinutes' { + import { millisecondsToMinutes } from 'date-fns/fp' + export default millisecondsToMinutes +} + +declare module 'date-fns/fp/millisecondsToSeconds' { + import { millisecondsToSeconds } from 'date-fns/fp' + export default millisecondsToSeconds +} + +declare module 'date-fns/fp/min' { + import { min } from 'date-fns/fp' + export default min +} + +declare module 'date-fns/fp/minutesToHours' { + import { minutesToHours } from 'date-fns/fp' + export default minutesToHours +} + +declare module 'date-fns/fp/minutesToMilliseconds' { + import { minutesToMilliseconds } from 'date-fns/fp' + export default minutesToMilliseconds +} + +declare module 'date-fns/fp/minutesToSeconds' { + import { minutesToSeconds } from 'date-fns/fp' + export default minutesToSeconds +} + +declare module 'date-fns/fp/monthsToQuarters' { + import { monthsToQuarters } from 'date-fns/fp' + export default monthsToQuarters +} + +declare module 'date-fns/fp/monthsToYears' { + import { monthsToYears } from 'date-fns/fp' + export default monthsToYears +} + +declare module 'date-fns/fp/nextDay' { + import { nextDay } from 'date-fns/fp' + export default nextDay +} + +declare module 'date-fns/fp/nextFriday' { + import { nextFriday } from 'date-fns/fp' + export default nextFriday +} + +declare module 'date-fns/fp/nextMonday' { + import { nextMonday } from 'date-fns/fp' + export default nextMonday +} + +declare module 'date-fns/fp/nextSaturday' { + import { nextSaturday } from 'date-fns/fp' + export default nextSaturday +} + +declare module 'date-fns/fp/nextSunday' { + import { nextSunday } from 'date-fns/fp' + export default nextSunday +} + +declare module 'date-fns/fp/nextThursday' { + import { nextThursday } from 'date-fns/fp' + export default nextThursday +} + +declare module 'date-fns/fp/nextTuesday' { + import { nextTuesday } from 'date-fns/fp' + export default nextTuesday +} + +declare module 'date-fns/fp/nextWednesday' { + import { nextWednesday } from 'date-fns/fp' + export default nextWednesday +} + +declare module 'date-fns/fp/parse' { + import { parse } from 'date-fns/fp' + export default parse +} + +declare module 'date-fns/fp/parseISO' { + import { parseISO } from 'date-fns/fp' + export default parseISO +} + +declare module 'date-fns/fp/parseISOWithOptions' { + import { parseISOWithOptions } from 'date-fns/fp' + export default parseISOWithOptions +} + +declare module 'date-fns/fp/parseJSON' { + import { parseJSON } from 'date-fns/fp' + export default parseJSON +} + +declare module 'date-fns/fp/parseWithOptions' { + import { parseWithOptions } from 'date-fns/fp' + export default parseWithOptions +} + +declare module 'date-fns/fp/previousDay' { + import { previousDay } from 'date-fns/fp' + export default previousDay +} + +declare module 'date-fns/fp/previousFriday' { + import { previousFriday } from 'date-fns/fp' + export default previousFriday +} + +declare module 'date-fns/fp/previousMonday' { + import { previousMonday } from 'date-fns/fp' + export default previousMonday +} + +declare module 'date-fns/fp/previousSaturday' { + import { previousSaturday } from 'date-fns/fp' + export default previousSaturday +} + +declare module 'date-fns/fp/previousSunday' { + import { previousSunday } from 'date-fns/fp' + export default previousSunday +} + +declare module 'date-fns/fp/previousThursday' { + import { previousThursday } from 'date-fns/fp' + export default previousThursday +} + +declare module 'date-fns/fp/previousTuesday' { + import { previousTuesday } from 'date-fns/fp' + export default previousTuesday +} + +declare module 'date-fns/fp/previousWednesday' { + import { previousWednesday } from 'date-fns/fp' + export default previousWednesday +} + +declare module 'date-fns/fp/quartersToMonths' { + import { quartersToMonths } from 'date-fns/fp' + export default quartersToMonths +} + +declare module 'date-fns/fp/quartersToYears' { + import { quartersToYears } from 'date-fns/fp' + export default quartersToYears +} + +declare module 'date-fns/fp/roundToNearestMinutes' { + import { roundToNearestMinutes } from 'date-fns/fp' + export default roundToNearestMinutes +} + +declare module 'date-fns/fp/roundToNearestMinutesWithOptions' { + import { roundToNearestMinutesWithOptions } from 'date-fns/fp' + export default roundToNearestMinutesWithOptions +} + +declare module 'date-fns/fp/secondsToHours' { + import { secondsToHours } from 'date-fns/fp' + export default secondsToHours +} + +declare module 'date-fns/fp/secondsToMilliseconds' { + import { secondsToMilliseconds } from 'date-fns/fp' + export default secondsToMilliseconds +} + +declare module 'date-fns/fp/secondsToMinutes' { + import { secondsToMinutes } from 'date-fns/fp' + export default secondsToMinutes +} + +declare module 'date-fns/fp/set' { + import { set } from 'date-fns/fp' + export default set +} + +declare module 'date-fns/fp/setDate' { + import { setDate } from 'date-fns/fp' + export default setDate +} + +declare module 'date-fns/fp/setDay' { + import { setDay } from 'date-fns/fp' + export default setDay +} + +declare module 'date-fns/fp/setDayOfYear' { + import { setDayOfYear } from 'date-fns/fp' + export default setDayOfYear +} + +declare module 'date-fns/fp/setDayWithOptions' { + import { setDayWithOptions } from 'date-fns/fp' + export default setDayWithOptions +} + +declare module 'date-fns/fp/setHours' { + import { setHours } from 'date-fns/fp' + export default setHours +} + +declare module 'date-fns/fp/setISODay' { + import { setISODay } from 'date-fns/fp' + export default setISODay +} + +declare module 'date-fns/fp/setISOWeek' { + import { setISOWeek } from 'date-fns/fp' + export default setISOWeek +} + +declare module 'date-fns/fp/setISOWeekYear' { + import { setISOWeekYear } from 'date-fns/fp' + export default setISOWeekYear +} + +declare module 'date-fns/fp/setMilliseconds' { + import { setMilliseconds } from 'date-fns/fp' + export default setMilliseconds +} + +declare module 'date-fns/fp/setMinutes' { + import { setMinutes } from 'date-fns/fp' + export default setMinutes +} + +declare module 'date-fns/fp/setMonth' { + import { setMonth } from 'date-fns/fp' + export default setMonth +} + +declare module 'date-fns/fp/setQuarter' { + import { setQuarter } from 'date-fns/fp' + export default setQuarter +} + +declare module 'date-fns/fp/setSeconds' { + import { setSeconds } from 'date-fns/fp' + export default setSeconds +} + +declare module 'date-fns/fp/setWeek' { + import { setWeek } from 'date-fns/fp' + export default setWeek +} + +declare module 'date-fns/fp/setWeekWithOptions' { + import { setWeekWithOptions } from 'date-fns/fp' + export default setWeekWithOptions +} + +declare module 'date-fns/fp/setWeekYear' { + import { setWeekYear } from 'date-fns/fp' + export default setWeekYear +} + +declare module 'date-fns/fp/setWeekYearWithOptions' { + import { setWeekYearWithOptions } from 'date-fns/fp' + export default setWeekYearWithOptions +} + +declare module 'date-fns/fp/setYear' { + import { setYear } from 'date-fns/fp' + export default setYear +} + +declare module 'date-fns/fp/startOfDay' { + import { startOfDay } from 'date-fns/fp' + export default startOfDay +} + +declare module 'date-fns/fp/startOfDecade' { + import { startOfDecade } from 'date-fns/fp' + export default startOfDecade +} + +declare module 'date-fns/fp/startOfHour' { + import { startOfHour } from 'date-fns/fp' + export default startOfHour +} + +declare module 'date-fns/fp/startOfISOWeek' { + import { startOfISOWeek } from 'date-fns/fp' + export default startOfISOWeek +} + +declare module 'date-fns/fp/startOfISOWeekYear' { + import { startOfISOWeekYear } from 'date-fns/fp' + export default startOfISOWeekYear +} + +declare module 'date-fns/fp/startOfMinute' { + import { startOfMinute } from 'date-fns/fp' + export default startOfMinute +} + +declare module 'date-fns/fp/startOfMonth' { + import { startOfMonth } from 'date-fns/fp' + export default startOfMonth +} + +declare module 'date-fns/fp/startOfQuarter' { + import { startOfQuarter } from 'date-fns/fp' + export default startOfQuarter +} + +declare module 'date-fns/fp/startOfSecond' { + import { startOfSecond } from 'date-fns/fp' + export default startOfSecond +} + +declare module 'date-fns/fp/startOfWeek' { + import { startOfWeek } from 'date-fns/fp' + export default startOfWeek +} + +declare module 'date-fns/fp/startOfWeekWithOptions' { + import { startOfWeekWithOptions } from 'date-fns/fp' + export default startOfWeekWithOptions +} + +declare module 'date-fns/fp/startOfWeekYear' { + import { startOfWeekYear } from 'date-fns/fp' + export default startOfWeekYear +} + +declare module 'date-fns/fp/startOfWeekYearWithOptions' { + import { startOfWeekYearWithOptions } from 'date-fns/fp' + export default startOfWeekYearWithOptions +} + +declare module 'date-fns/fp/startOfYear' { + import { startOfYear } from 'date-fns/fp' + export default startOfYear +} + +declare module 'date-fns/fp/sub' { + import { sub } from 'date-fns/fp' + export default sub +} + +declare module 'date-fns/fp/subBusinessDays' { + import { subBusinessDays } from 'date-fns/fp' + export default subBusinessDays +} + +declare module 'date-fns/fp/subDays' { + import { subDays } from 'date-fns/fp' + export default subDays +} + +declare module 'date-fns/fp/subHours' { + import { subHours } from 'date-fns/fp' + export default subHours +} + +declare module 'date-fns/fp/subISOWeekYears' { + import { subISOWeekYears } from 'date-fns/fp' + export default subISOWeekYears +} + +declare module 'date-fns/fp/subMilliseconds' { + import { subMilliseconds } from 'date-fns/fp' + export default subMilliseconds +} + +declare module 'date-fns/fp/subMinutes' { + import { subMinutes } from 'date-fns/fp' + export default subMinutes +} + +declare module 'date-fns/fp/subMonths' { + import { subMonths } from 'date-fns/fp' + export default subMonths +} + +declare module 'date-fns/fp/subQuarters' { + import { subQuarters } from 'date-fns/fp' + export default subQuarters +} + +declare module 'date-fns/fp/subSeconds' { + import { subSeconds } from 'date-fns/fp' + export default subSeconds +} + +declare module 'date-fns/fp/subWeeks' { + import { subWeeks } from 'date-fns/fp' + export default subWeeks +} + +declare module 'date-fns/fp/subYears' { + import { subYears } from 'date-fns/fp' + export default subYears +} + +declare module 'date-fns/fp/toDate' { + import { toDate } from 'date-fns/fp' + export default toDate +} + +declare module 'date-fns/fp/weeksToDays' { + import { weeksToDays } from 'date-fns/fp' + export default weeksToDays +} + +declare module 'date-fns/fp/yearsToMonths' { + import { yearsToMonths } from 'date-fns/fp' + export default yearsToMonths +} + +declare module 'date-fns/fp/yearsToQuarters' { + import { yearsToQuarters } from 'date-fns/fp' + export default yearsToQuarters +} + +declare module 'date-fns/fp/add/index' { + import { add } from 'date-fns/fp' + export default add +} + +declare module 'date-fns/fp/addBusinessDays/index' { + import { addBusinessDays } from 'date-fns/fp' + export default addBusinessDays +} + +declare module 'date-fns/fp/addDays/index' { + import { addDays } from 'date-fns/fp' + export default addDays +} + +declare module 'date-fns/fp/addHours/index' { + import { addHours } from 'date-fns/fp' + export default addHours +} + +declare module 'date-fns/fp/addISOWeekYears/index' { + import { addISOWeekYears } from 'date-fns/fp' + export default addISOWeekYears +} + +declare module 'date-fns/fp/addMilliseconds/index' { + import { addMilliseconds } from 'date-fns/fp' + export default addMilliseconds +} + +declare module 'date-fns/fp/addMinutes/index' { + import { addMinutes } from 'date-fns/fp' + export default addMinutes +} + +declare module 'date-fns/fp/addMonths/index' { + import { addMonths } from 'date-fns/fp' + export default addMonths +} + +declare module 'date-fns/fp/addQuarters/index' { + import { addQuarters } from 'date-fns/fp' + export default addQuarters +} + +declare module 'date-fns/fp/addSeconds/index' { + import { addSeconds } from 'date-fns/fp' + export default addSeconds +} + +declare module 'date-fns/fp/addWeeks/index' { + import { addWeeks } from 'date-fns/fp' + export default addWeeks +} + +declare module 'date-fns/fp/addYears/index' { + import { addYears } from 'date-fns/fp' + export default addYears +} + +declare module 'date-fns/fp/areIntervalsOverlapping/index' { + import { areIntervalsOverlapping } from 'date-fns/fp' + export default areIntervalsOverlapping +} + +declare module 'date-fns/fp/areIntervalsOverlappingWithOptions/index' { + import { areIntervalsOverlappingWithOptions } from 'date-fns/fp' + export default areIntervalsOverlappingWithOptions +} + +declare module 'date-fns/fp/clamp/index' { + import { clamp } from 'date-fns/fp' + export default clamp +} + +declare module 'date-fns/fp/closestIndexTo/index' { + import { closestIndexTo } from 'date-fns/fp' + export default closestIndexTo +} + +declare module 'date-fns/fp/closestTo/index' { + import { closestTo } from 'date-fns/fp' + export default closestTo +} + +declare module 'date-fns/fp/compareAsc/index' { + import { compareAsc } from 'date-fns/fp' + export default compareAsc +} + +declare module 'date-fns/fp/compareDesc/index' { + import { compareDesc } from 'date-fns/fp' + export default compareDesc +} + +declare module 'date-fns/fp/daysToWeeks/index' { + import { daysToWeeks } from 'date-fns/fp' + export default daysToWeeks +} + +declare module 'date-fns/fp/differenceInBusinessDays/index' { + import { differenceInBusinessDays } from 'date-fns/fp' + export default differenceInBusinessDays +} + +declare module 'date-fns/fp/differenceInCalendarDays/index' { + import { differenceInCalendarDays } from 'date-fns/fp' + export default differenceInCalendarDays +} + +declare module 'date-fns/fp/differenceInCalendarISOWeeks/index' { + import { differenceInCalendarISOWeeks } from 'date-fns/fp' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/fp/differenceInCalendarISOWeekYears/index' { + import { differenceInCalendarISOWeekYears } from 'date-fns/fp' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/fp/differenceInCalendarMonths/index' { + import { differenceInCalendarMonths } from 'date-fns/fp' + export default differenceInCalendarMonths +} + +declare module 'date-fns/fp/differenceInCalendarQuarters/index' { + import { differenceInCalendarQuarters } from 'date-fns/fp' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/fp/differenceInCalendarWeeks/index' { + import { differenceInCalendarWeeks } from 'date-fns/fp' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/fp/differenceInCalendarWeeksWithOptions/index' { + import { differenceInCalendarWeeksWithOptions } from 'date-fns/fp' + export default differenceInCalendarWeeksWithOptions +} + +declare module 'date-fns/fp/differenceInCalendarYears/index' { + import { differenceInCalendarYears } from 'date-fns/fp' + export default differenceInCalendarYears +} + +declare module 'date-fns/fp/differenceInDays/index' { + import { differenceInDays } from 'date-fns/fp' + export default differenceInDays +} + +declare module 'date-fns/fp/differenceInHours/index' { + import { differenceInHours } from 'date-fns/fp' + export default differenceInHours +} + +declare module 'date-fns/fp/differenceInHoursWithOptions/index' { + import { differenceInHoursWithOptions } from 'date-fns/fp' + export default differenceInHoursWithOptions +} + +declare module 'date-fns/fp/differenceInISOWeekYears/index' { + import { differenceInISOWeekYears } from 'date-fns/fp' + export default differenceInISOWeekYears +} + +declare module 'date-fns/fp/differenceInMilliseconds/index' { + import { differenceInMilliseconds } from 'date-fns/fp' + export default differenceInMilliseconds +} + +declare module 'date-fns/fp/differenceInMinutes/index' { + import { differenceInMinutes } from 'date-fns/fp' + export default differenceInMinutes +} + +declare module 'date-fns/fp/differenceInMinutesWithOptions/index' { + import { differenceInMinutesWithOptions } from 'date-fns/fp' + export default differenceInMinutesWithOptions +} + +declare module 'date-fns/fp/differenceInMonths/index' { + import { differenceInMonths } from 'date-fns/fp' + export default differenceInMonths +} + +declare module 'date-fns/fp/differenceInQuarters/index' { + import { differenceInQuarters } from 'date-fns/fp' + export default differenceInQuarters +} + +declare module 'date-fns/fp/differenceInQuartersWithOptions/index' { + import { differenceInQuartersWithOptions } from 'date-fns/fp' + export default differenceInQuartersWithOptions +} + +declare module 'date-fns/fp/differenceInSeconds/index' { + import { differenceInSeconds } from 'date-fns/fp' + export default differenceInSeconds +} + +declare module 'date-fns/fp/differenceInSecondsWithOptions/index' { + import { differenceInSecondsWithOptions } from 'date-fns/fp' + export default differenceInSecondsWithOptions +} + +declare module 'date-fns/fp/differenceInWeeks/index' { + import { differenceInWeeks } from 'date-fns/fp' + export default differenceInWeeks +} + +declare module 'date-fns/fp/differenceInWeeksWithOptions/index' { + import { differenceInWeeksWithOptions } from 'date-fns/fp' + export default differenceInWeeksWithOptions +} + +declare module 'date-fns/fp/differenceInYears/index' { + import { differenceInYears } from 'date-fns/fp' + export default differenceInYears +} + +declare module 'date-fns/fp/eachDayOfInterval/index' { + import { eachDayOfInterval } from 'date-fns/fp' + export default eachDayOfInterval +} + +declare module 'date-fns/fp/eachDayOfIntervalWithOptions/index' { + import { eachDayOfIntervalWithOptions } from 'date-fns/fp' + export default eachDayOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachHourOfInterval/index' { + import { eachHourOfInterval } from 'date-fns/fp' + export default eachHourOfInterval +} + +declare module 'date-fns/fp/eachHourOfIntervalWithOptions/index' { + import { eachHourOfIntervalWithOptions } from 'date-fns/fp' + export default eachHourOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachMinuteOfInterval/index' { + import { eachMinuteOfInterval } from 'date-fns/fp' + export default eachMinuteOfInterval +} + +declare module 'date-fns/fp/eachMinuteOfIntervalWithOptions/index' { + import { eachMinuteOfIntervalWithOptions } from 'date-fns/fp' + export default eachMinuteOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachMonthOfInterval/index' { + import { eachMonthOfInterval } from 'date-fns/fp' + export default eachMonthOfInterval +} + +declare module 'date-fns/fp/eachQuarterOfInterval/index' { + import { eachQuarterOfInterval } from 'date-fns/fp' + export default eachQuarterOfInterval +} + +declare module 'date-fns/fp/eachWeekendOfInterval/index' { + import { eachWeekendOfInterval } from 'date-fns/fp' + export default eachWeekendOfInterval +} + +declare module 'date-fns/fp/eachWeekendOfMonth/index' { + import { eachWeekendOfMonth } from 'date-fns/fp' + export default eachWeekendOfMonth +} + +declare module 'date-fns/fp/eachWeekendOfYear/index' { + import { eachWeekendOfYear } from 'date-fns/fp' + export default eachWeekendOfYear +} + +declare module 'date-fns/fp/eachWeekOfInterval/index' { + import { eachWeekOfInterval } from 'date-fns/fp' + export default eachWeekOfInterval +} + +declare module 'date-fns/fp/eachWeekOfIntervalWithOptions/index' { + import { eachWeekOfIntervalWithOptions } from 'date-fns/fp' + export default eachWeekOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachYearOfInterval/index' { + import { eachYearOfInterval } from 'date-fns/fp' + export default eachYearOfInterval +} + +declare module 'date-fns/fp/endOfDay/index' { + import { endOfDay } from 'date-fns/fp' + export default endOfDay +} + +declare module 'date-fns/fp/endOfDecade/index' { + import { endOfDecade } from 'date-fns/fp' + export default endOfDecade +} + +declare module 'date-fns/fp/endOfDecadeWithOptions/index' { + import { endOfDecadeWithOptions } from 'date-fns/fp' + export default endOfDecadeWithOptions +} + +declare module 'date-fns/fp/endOfHour/index' { + import { endOfHour } from 'date-fns/fp' + export default endOfHour +} + +declare module 'date-fns/fp/endOfISOWeek/index' { + import { endOfISOWeek } from 'date-fns/fp' + export default endOfISOWeek +} + +declare module 'date-fns/fp/endOfISOWeekYear/index' { + import { endOfISOWeekYear } from 'date-fns/fp' + export default endOfISOWeekYear +} + +declare module 'date-fns/fp/endOfMinute/index' { + import { endOfMinute } from 'date-fns/fp' + export default endOfMinute +} + +declare module 'date-fns/fp/endOfMonth/index' { + import { endOfMonth } from 'date-fns/fp' + export default endOfMonth +} + +declare module 'date-fns/fp/endOfQuarter/index' { + import { endOfQuarter } from 'date-fns/fp' + export default endOfQuarter +} + +declare module 'date-fns/fp/endOfSecond/index' { + import { endOfSecond } from 'date-fns/fp' + export default endOfSecond +} + +declare module 'date-fns/fp/endOfWeek/index' { + import { endOfWeek } from 'date-fns/fp' + export default endOfWeek +} + +declare module 'date-fns/fp/endOfWeekWithOptions/index' { + import { endOfWeekWithOptions } from 'date-fns/fp' + export default endOfWeekWithOptions +} + +declare module 'date-fns/fp/endOfYear/index' { + import { endOfYear } from 'date-fns/fp' + export default endOfYear +} + +declare module 'date-fns/fp/format/index' { + import { format } from 'date-fns/fp' + export default format +} + +declare module 'date-fns/fp/formatDistance/index' { + import { formatDistance } from 'date-fns/fp' + export default formatDistance +} + +declare module 'date-fns/fp/formatDistanceStrict/index' { + import { formatDistanceStrict } from 'date-fns/fp' + export default formatDistanceStrict +} + +declare module 'date-fns/fp/formatDistanceStrictWithOptions/index' { + import { formatDistanceStrictWithOptions } from 'date-fns/fp' + export default formatDistanceStrictWithOptions +} + +declare module 'date-fns/fp/formatDistanceWithOptions/index' { + import { formatDistanceWithOptions } from 'date-fns/fp' + export default formatDistanceWithOptions +} + +declare module 'date-fns/fp/formatDuration/index' { + import { formatDuration } from 'date-fns/fp' + export default formatDuration +} + +declare module 'date-fns/fp/formatDurationWithOptions/index' { + import { formatDurationWithOptions } from 'date-fns/fp' + export default formatDurationWithOptions +} + +declare module 'date-fns/fp/formatISO/index' { + import { formatISO } from 'date-fns/fp' + export default formatISO +} + +declare module 'date-fns/fp/formatISO9075/index' { + import { formatISO9075 } from 'date-fns/fp' + export default formatISO9075 +} + +declare module 'date-fns/fp/formatISO9075WithOptions/index' { + import { formatISO9075WithOptions } from 'date-fns/fp' + export default formatISO9075WithOptions +} + +declare module 'date-fns/fp/formatISODuration/index' { + import { formatISODuration } from 'date-fns/fp' + export default formatISODuration +} + +declare module 'date-fns/fp/formatISOWithOptions/index' { + import { formatISOWithOptions } from 'date-fns/fp' + export default formatISOWithOptions +} + +declare module 'date-fns/fp/formatRelative/index' { + import { formatRelative } from 'date-fns/fp' + export default formatRelative +} + +declare module 'date-fns/fp/formatRelativeWithOptions/index' { + import { formatRelativeWithOptions } from 'date-fns/fp' + export default formatRelativeWithOptions +} + +declare module 'date-fns/fp/formatRFC3339/index' { + import { formatRFC3339 } from 'date-fns/fp' + export default formatRFC3339 +} + +declare module 'date-fns/fp/formatRFC3339WithOptions/index' { + import { formatRFC3339WithOptions } from 'date-fns/fp' + export default formatRFC3339WithOptions +} + +declare module 'date-fns/fp/formatRFC7231/index' { + import { formatRFC7231 } from 'date-fns/fp' + export default formatRFC7231 +} + +declare module 'date-fns/fp/formatWithOptions/index' { + import { formatWithOptions } from 'date-fns/fp' + export default formatWithOptions +} + +declare module 'date-fns/fp/fromUnixTime/index' { + import { fromUnixTime } from 'date-fns/fp' + export default fromUnixTime +} + +declare module 'date-fns/fp/getDate/index' { + import { getDate } from 'date-fns/fp' + export default getDate +} + +declare module 'date-fns/fp/getDay/index' { + import { getDay } from 'date-fns/fp' + export default getDay +} + +declare module 'date-fns/fp/getDayOfYear/index' { + import { getDayOfYear } from 'date-fns/fp' + export default getDayOfYear +} + +declare module 'date-fns/fp/getDaysInMonth/index' { + import { getDaysInMonth } from 'date-fns/fp' + export default getDaysInMonth +} + +declare module 'date-fns/fp/getDaysInYear/index' { + import { getDaysInYear } from 'date-fns/fp' + export default getDaysInYear +} + +declare module 'date-fns/fp/getDecade/index' { + import { getDecade } from 'date-fns/fp' + export default getDecade +} + +declare module 'date-fns/fp/getHours/index' { + import { getHours } from 'date-fns/fp' + export default getHours +} + +declare module 'date-fns/fp/getISODay/index' { + import { getISODay } from 'date-fns/fp' + export default getISODay +} + +declare module 'date-fns/fp/getISOWeek/index' { + import { getISOWeek } from 'date-fns/fp' + export default getISOWeek +} + +declare module 'date-fns/fp/getISOWeeksInYear/index' { + import { getISOWeeksInYear } from 'date-fns/fp' + export default getISOWeeksInYear +} + +declare module 'date-fns/fp/getISOWeekYear/index' { + import { getISOWeekYear } from 'date-fns/fp' + export default getISOWeekYear +} + +declare module 'date-fns/fp/getMilliseconds/index' { + import { getMilliseconds } from 'date-fns/fp' + export default getMilliseconds +} + +declare module 'date-fns/fp/getMinutes/index' { + import { getMinutes } from 'date-fns/fp' + export default getMinutes +} + +declare module 'date-fns/fp/getMonth/index' { + import { getMonth } from 'date-fns/fp' + export default getMonth +} + +declare module 'date-fns/fp/getOverlappingDaysInIntervals/index' { + import { getOverlappingDaysInIntervals } from 'date-fns/fp' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/fp/getQuarter/index' { + import { getQuarter } from 'date-fns/fp' + export default getQuarter +} + +declare module 'date-fns/fp/getSeconds/index' { + import { getSeconds } from 'date-fns/fp' + export default getSeconds +} + +declare module 'date-fns/fp/getTime/index' { + import { getTime } from 'date-fns/fp' + export default getTime +} + +declare module 'date-fns/fp/getUnixTime/index' { + import { getUnixTime } from 'date-fns/fp' + export default getUnixTime +} + +declare module 'date-fns/fp/getWeek/index' { + import { getWeek } from 'date-fns/fp' + export default getWeek +} + +declare module 'date-fns/fp/getWeekOfMonth/index' { + import { getWeekOfMonth } from 'date-fns/fp' + export default getWeekOfMonth +} + +declare module 'date-fns/fp/getWeekOfMonthWithOptions/index' { + import { getWeekOfMonthWithOptions } from 'date-fns/fp' + export default getWeekOfMonthWithOptions +} + +declare module 'date-fns/fp/getWeeksInMonth/index' { + import { getWeeksInMonth } from 'date-fns/fp' + export default getWeeksInMonth +} + +declare module 'date-fns/fp/getWeeksInMonthWithOptions/index' { + import { getWeeksInMonthWithOptions } from 'date-fns/fp' + export default getWeeksInMonthWithOptions +} + +declare module 'date-fns/fp/getWeekWithOptions/index' { + import { getWeekWithOptions } from 'date-fns/fp' + export default getWeekWithOptions +} + +declare module 'date-fns/fp/getWeekYear/index' { + import { getWeekYear } from 'date-fns/fp' + export default getWeekYear +} + +declare module 'date-fns/fp/getWeekYearWithOptions/index' { + import { getWeekYearWithOptions } from 'date-fns/fp' + export default getWeekYearWithOptions +} + +declare module 'date-fns/fp/getYear/index' { + import { getYear } from 'date-fns/fp' + export default getYear +} + +declare module 'date-fns/fp/hoursToMilliseconds/index' { + import { hoursToMilliseconds } from 'date-fns/fp' + export default hoursToMilliseconds +} + +declare module 'date-fns/fp/hoursToMinutes/index' { + import { hoursToMinutes } from 'date-fns/fp' + export default hoursToMinutes +} + +declare module 'date-fns/fp/hoursToSeconds/index' { + import { hoursToSeconds } from 'date-fns/fp' + export default hoursToSeconds +} + +declare module 'date-fns/fp/intervalToDuration/index' { + import { intervalToDuration } from 'date-fns/fp' + export default intervalToDuration +} + +declare module 'date-fns/fp/intlFormat/index' { + import { intlFormat } from 'date-fns/fp' + export default intlFormat +} + +declare module 'date-fns/fp/intlFormatDistance/index' { + import { intlFormatDistance } from 'date-fns/fp' + export default intlFormatDistance +} + +declare module 'date-fns/fp/intlFormatDistanceWithOptions/index' { + import { intlFormatDistanceWithOptions } from 'date-fns/fp' + export default intlFormatDistanceWithOptions +} + +declare module 'date-fns/fp/isAfter/index' { + import { isAfter } from 'date-fns/fp' + export default isAfter +} + +declare module 'date-fns/fp/isBefore/index' { + import { isBefore } from 'date-fns/fp' + export default isBefore +} + +declare module 'date-fns/fp/isDate/index' { + import { isDate } from 'date-fns/fp' + export default isDate +} + +declare module 'date-fns/fp/isEqual/index' { + import { isEqual } from 'date-fns/fp' + export default isEqual +} + +declare module 'date-fns/fp/isExists/index' { + import { isExists } from 'date-fns/fp' + export default isExists +} + +declare module 'date-fns/fp/isFirstDayOfMonth/index' { + import { isFirstDayOfMonth } from 'date-fns/fp' + export default isFirstDayOfMonth +} + +declare module 'date-fns/fp/isFriday/index' { + import { isFriday } from 'date-fns/fp' + export default isFriday +} + +declare module 'date-fns/fp/isLastDayOfMonth/index' { + import { isLastDayOfMonth } from 'date-fns/fp' + export default isLastDayOfMonth +} + +declare module 'date-fns/fp/isLeapYear/index' { + import { isLeapYear } from 'date-fns/fp' + export default isLeapYear +} + +declare module 'date-fns/fp/isMatch/index' { + import { isMatch } from 'date-fns/fp' + export default isMatch +} + +declare module 'date-fns/fp/isMatchWithOptions/index' { + import { isMatchWithOptions } from 'date-fns/fp' + export default isMatchWithOptions +} + +declare module 'date-fns/fp/isMonday/index' { + import { isMonday } from 'date-fns/fp' + export default isMonday +} + +declare module 'date-fns/fp/isSameDay/index' { + import { isSameDay } from 'date-fns/fp' + export default isSameDay +} + +declare module 'date-fns/fp/isSameHour/index' { + import { isSameHour } from 'date-fns/fp' + export default isSameHour +} + +declare module 'date-fns/fp/isSameISOWeek/index' { + import { isSameISOWeek } from 'date-fns/fp' + export default isSameISOWeek +} + +declare module 'date-fns/fp/isSameISOWeekYear/index' { + import { isSameISOWeekYear } from 'date-fns/fp' + export default isSameISOWeekYear +} + +declare module 'date-fns/fp/isSameMinute/index' { + import { isSameMinute } from 'date-fns/fp' + export default isSameMinute +} + +declare module 'date-fns/fp/isSameMonth/index' { + import { isSameMonth } from 'date-fns/fp' + export default isSameMonth +} + +declare module 'date-fns/fp/isSameQuarter/index' { + import { isSameQuarter } from 'date-fns/fp' + export default isSameQuarter +} + +declare module 'date-fns/fp/isSameSecond/index' { + import { isSameSecond } from 'date-fns/fp' + export default isSameSecond +} + +declare module 'date-fns/fp/isSameWeek/index' { + import { isSameWeek } from 'date-fns/fp' + export default isSameWeek +} + +declare module 'date-fns/fp/isSameWeekWithOptions/index' { + import { isSameWeekWithOptions } from 'date-fns/fp' + export default isSameWeekWithOptions +} + +declare module 'date-fns/fp/isSameYear/index' { + import { isSameYear } from 'date-fns/fp' + export default isSameYear +} + +declare module 'date-fns/fp/isSaturday/index' { + import { isSaturday } from 'date-fns/fp' + export default isSaturday +} + +declare module 'date-fns/fp/isSunday/index' { + import { isSunday } from 'date-fns/fp' + export default isSunday +} + +declare module 'date-fns/fp/isThursday/index' { + import { isThursday } from 'date-fns/fp' + export default isThursday +} + +declare module 'date-fns/fp/isTuesday/index' { + import { isTuesday } from 'date-fns/fp' + export default isTuesday +} + +declare module 'date-fns/fp/isValid/index' { + import { isValid } from 'date-fns/fp' + export default isValid +} + +declare module 'date-fns/fp/isWednesday/index' { + import { isWednesday } from 'date-fns/fp' + export default isWednesday +} + +declare module 'date-fns/fp/isWeekend/index' { + import { isWeekend } from 'date-fns/fp' + export default isWeekend +} + +declare module 'date-fns/fp/isWithinInterval/index' { + import { isWithinInterval } from 'date-fns/fp' + export default isWithinInterval +} + +declare module 'date-fns/fp/lastDayOfDecade/index' { + import { lastDayOfDecade } from 'date-fns/fp' + export default lastDayOfDecade +} + +declare module 'date-fns/fp/lastDayOfISOWeek/index' { + import { lastDayOfISOWeek } from 'date-fns/fp' + export default lastDayOfISOWeek +} + +declare module 'date-fns/fp/lastDayOfISOWeekYear/index' { + import { lastDayOfISOWeekYear } from 'date-fns/fp' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/fp/lastDayOfMonth/index' { + import { lastDayOfMonth } from 'date-fns/fp' + export default lastDayOfMonth +} + +declare module 'date-fns/fp/lastDayOfQuarter/index' { + import { lastDayOfQuarter } from 'date-fns/fp' + export default lastDayOfQuarter +} + +declare module 'date-fns/fp/lastDayOfQuarterWithOptions/index' { + import { lastDayOfQuarterWithOptions } from 'date-fns/fp' + export default lastDayOfQuarterWithOptions +} + +declare module 'date-fns/fp/lastDayOfWeek/index' { + import { lastDayOfWeek } from 'date-fns/fp' + export default lastDayOfWeek +} + +declare module 'date-fns/fp/lastDayOfWeekWithOptions/index' { + import { lastDayOfWeekWithOptions } from 'date-fns/fp' + export default lastDayOfWeekWithOptions +} + +declare module 'date-fns/fp/lastDayOfYear/index' { + import { lastDayOfYear } from 'date-fns/fp' + export default lastDayOfYear +} + +declare module 'date-fns/fp/lightFormat/index' { + import { lightFormat } from 'date-fns/fp' + export default lightFormat +} + +declare module 'date-fns/fp/max/index' { + import { max } from 'date-fns/fp' + export default max +} + +declare module 'date-fns/fp/milliseconds/index' { + import { milliseconds } from 'date-fns/fp' + export default milliseconds +} + +declare module 'date-fns/fp/millisecondsToHours/index' { + import { millisecondsToHours } from 'date-fns/fp' + export default millisecondsToHours +} + +declare module 'date-fns/fp/millisecondsToMinutes/index' { + import { millisecondsToMinutes } from 'date-fns/fp' + export default millisecondsToMinutes +} + +declare module 'date-fns/fp/millisecondsToSeconds/index' { + import { millisecondsToSeconds } from 'date-fns/fp' + export default millisecondsToSeconds +} + +declare module 'date-fns/fp/min/index' { + import { min } from 'date-fns/fp' + export default min +} + +declare module 'date-fns/fp/minutesToHours/index' { + import { minutesToHours } from 'date-fns/fp' + export default minutesToHours +} + +declare module 'date-fns/fp/minutesToMilliseconds/index' { + import { minutesToMilliseconds } from 'date-fns/fp' + export default minutesToMilliseconds +} + +declare module 'date-fns/fp/minutesToSeconds/index' { + import { minutesToSeconds } from 'date-fns/fp' + export default minutesToSeconds +} + +declare module 'date-fns/fp/monthsToQuarters/index' { + import { monthsToQuarters } from 'date-fns/fp' + export default monthsToQuarters +} + +declare module 'date-fns/fp/monthsToYears/index' { + import { monthsToYears } from 'date-fns/fp' + export default monthsToYears +} + +declare module 'date-fns/fp/nextDay/index' { + import { nextDay } from 'date-fns/fp' + export default nextDay +} + +declare module 'date-fns/fp/nextFriday/index' { + import { nextFriday } from 'date-fns/fp' + export default nextFriday +} + +declare module 'date-fns/fp/nextMonday/index' { + import { nextMonday } from 'date-fns/fp' + export default nextMonday +} + +declare module 'date-fns/fp/nextSaturday/index' { + import { nextSaturday } from 'date-fns/fp' + export default nextSaturday +} + +declare module 'date-fns/fp/nextSunday/index' { + import { nextSunday } from 'date-fns/fp' + export default nextSunday +} + +declare module 'date-fns/fp/nextThursday/index' { + import { nextThursday } from 'date-fns/fp' + export default nextThursday +} + +declare module 'date-fns/fp/nextTuesday/index' { + import { nextTuesday } from 'date-fns/fp' + export default nextTuesday +} + +declare module 'date-fns/fp/nextWednesday/index' { + import { nextWednesday } from 'date-fns/fp' + export default nextWednesday +} + +declare module 'date-fns/fp/parse/index' { + import { parse } from 'date-fns/fp' + export default parse +} + +declare module 'date-fns/fp/parseISO/index' { + import { parseISO } from 'date-fns/fp' + export default parseISO +} + +declare module 'date-fns/fp/parseISOWithOptions/index' { + import { parseISOWithOptions } from 'date-fns/fp' + export default parseISOWithOptions +} + +declare module 'date-fns/fp/parseJSON/index' { + import { parseJSON } from 'date-fns/fp' + export default parseJSON +} + +declare module 'date-fns/fp/parseWithOptions/index' { + import { parseWithOptions } from 'date-fns/fp' + export default parseWithOptions +} + +declare module 'date-fns/fp/previousDay/index' { + import { previousDay } from 'date-fns/fp' + export default previousDay +} + +declare module 'date-fns/fp/previousFriday/index' { + import { previousFriday } from 'date-fns/fp' + export default previousFriday +} + +declare module 'date-fns/fp/previousMonday/index' { + import { previousMonday } from 'date-fns/fp' + export default previousMonday +} + +declare module 'date-fns/fp/previousSaturday/index' { + import { previousSaturday } from 'date-fns/fp' + export default previousSaturday +} + +declare module 'date-fns/fp/previousSunday/index' { + import { previousSunday } from 'date-fns/fp' + export default previousSunday +} + +declare module 'date-fns/fp/previousThursday/index' { + import { previousThursday } from 'date-fns/fp' + export default previousThursday +} + +declare module 'date-fns/fp/previousTuesday/index' { + import { previousTuesday } from 'date-fns/fp' + export default previousTuesday +} + +declare module 'date-fns/fp/previousWednesday/index' { + import { previousWednesday } from 'date-fns/fp' + export default previousWednesday +} + +declare module 'date-fns/fp/quartersToMonths/index' { + import { quartersToMonths } from 'date-fns/fp' + export default quartersToMonths +} + +declare module 'date-fns/fp/quartersToYears/index' { + import { quartersToYears } from 'date-fns/fp' + export default quartersToYears +} + +declare module 'date-fns/fp/roundToNearestMinutes/index' { + import { roundToNearestMinutes } from 'date-fns/fp' + export default roundToNearestMinutes +} + +declare module 'date-fns/fp/roundToNearestMinutesWithOptions/index' { + import { roundToNearestMinutesWithOptions } from 'date-fns/fp' + export default roundToNearestMinutesWithOptions +} + +declare module 'date-fns/fp/secondsToHours/index' { + import { secondsToHours } from 'date-fns/fp' + export default secondsToHours +} + +declare module 'date-fns/fp/secondsToMilliseconds/index' { + import { secondsToMilliseconds } from 'date-fns/fp' + export default secondsToMilliseconds +} + +declare module 'date-fns/fp/secondsToMinutes/index' { + import { secondsToMinutes } from 'date-fns/fp' + export default secondsToMinutes +} + +declare module 'date-fns/fp/set/index' { + import { set } from 'date-fns/fp' + export default set +} + +declare module 'date-fns/fp/setDate/index' { + import { setDate } from 'date-fns/fp' + export default setDate +} + +declare module 'date-fns/fp/setDay/index' { + import { setDay } from 'date-fns/fp' + export default setDay +} + +declare module 'date-fns/fp/setDayOfYear/index' { + import { setDayOfYear } from 'date-fns/fp' + export default setDayOfYear +} + +declare module 'date-fns/fp/setDayWithOptions/index' { + import { setDayWithOptions } from 'date-fns/fp' + export default setDayWithOptions +} + +declare module 'date-fns/fp/setHours/index' { + import { setHours } from 'date-fns/fp' + export default setHours +} + +declare module 'date-fns/fp/setISODay/index' { + import { setISODay } from 'date-fns/fp' + export default setISODay +} + +declare module 'date-fns/fp/setISOWeek/index' { + import { setISOWeek } from 'date-fns/fp' + export default setISOWeek +} + +declare module 'date-fns/fp/setISOWeekYear/index' { + import { setISOWeekYear } from 'date-fns/fp' + export default setISOWeekYear +} + +declare module 'date-fns/fp/setMilliseconds/index' { + import { setMilliseconds } from 'date-fns/fp' + export default setMilliseconds +} + +declare module 'date-fns/fp/setMinutes/index' { + import { setMinutes } from 'date-fns/fp' + export default setMinutes +} + +declare module 'date-fns/fp/setMonth/index' { + import { setMonth } from 'date-fns/fp' + export default setMonth +} + +declare module 'date-fns/fp/setQuarter/index' { + import { setQuarter } from 'date-fns/fp' + export default setQuarter +} + +declare module 'date-fns/fp/setSeconds/index' { + import { setSeconds } from 'date-fns/fp' + export default setSeconds +} + +declare module 'date-fns/fp/setWeek/index' { + import { setWeek } from 'date-fns/fp' + export default setWeek +} + +declare module 'date-fns/fp/setWeekWithOptions/index' { + import { setWeekWithOptions } from 'date-fns/fp' + export default setWeekWithOptions +} + +declare module 'date-fns/fp/setWeekYear/index' { + import { setWeekYear } from 'date-fns/fp' + export default setWeekYear +} + +declare module 'date-fns/fp/setWeekYearWithOptions/index' { + import { setWeekYearWithOptions } from 'date-fns/fp' + export default setWeekYearWithOptions +} + +declare module 'date-fns/fp/setYear/index' { + import { setYear } from 'date-fns/fp' + export default setYear +} + +declare module 'date-fns/fp/startOfDay/index' { + import { startOfDay } from 'date-fns/fp' + export default startOfDay +} + +declare module 'date-fns/fp/startOfDecade/index' { + import { startOfDecade } from 'date-fns/fp' + export default startOfDecade +} + +declare module 'date-fns/fp/startOfHour/index' { + import { startOfHour } from 'date-fns/fp' + export default startOfHour +} + +declare module 'date-fns/fp/startOfISOWeek/index' { + import { startOfISOWeek } from 'date-fns/fp' + export default startOfISOWeek +} + +declare module 'date-fns/fp/startOfISOWeekYear/index' { + import { startOfISOWeekYear } from 'date-fns/fp' + export default startOfISOWeekYear +} + +declare module 'date-fns/fp/startOfMinute/index' { + import { startOfMinute } from 'date-fns/fp' + export default startOfMinute +} + +declare module 'date-fns/fp/startOfMonth/index' { + import { startOfMonth } from 'date-fns/fp' + export default startOfMonth +} + +declare module 'date-fns/fp/startOfQuarter/index' { + import { startOfQuarter } from 'date-fns/fp' + export default startOfQuarter +} + +declare module 'date-fns/fp/startOfSecond/index' { + import { startOfSecond } from 'date-fns/fp' + export default startOfSecond +} + +declare module 'date-fns/fp/startOfWeek/index' { + import { startOfWeek } from 'date-fns/fp' + export default startOfWeek +} + +declare module 'date-fns/fp/startOfWeekWithOptions/index' { + import { startOfWeekWithOptions } from 'date-fns/fp' + export default startOfWeekWithOptions +} + +declare module 'date-fns/fp/startOfWeekYear/index' { + import { startOfWeekYear } from 'date-fns/fp' + export default startOfWeekYear +} + +declare module 'date-fns/fp/startOfWeekYearWithOptions/index' { + import { startOfWeekYearWithOptions } from 'date-fns/fp' + export default startOfWeekYearWithOptions +} + +declare module 'date-fns/fp/startOfYear/index' { + import { startOfYear } from 'date-fns/fp' + export default startOfYear +} + +declare module 'date-fns/fp/sub/index' { + import { sub } from 'date-fns/fp' + export default sub +} + +declare module 'date-fns/fp/subBusinessDays/index' { + import { subBusinessDays } from 'date-fns/fp' + export default subBusinessDays +} + +declare module 'date-fns/fp/subDays/index' { + import { subDays } from 'date-fns/fp' + export default subDays +} + +declare module 'date-fns/fp/subHours/index' { + import { subHours } from 'date-fns/fp' + export default subHours +} + +declare module 'date-fns/fp/subISOWeekYears/index' { + import { subISOWeekYears } from 'date-fns/fp' + export default subISOWeekYears +} + +declare module 'date-fns/fp/subMilliseconds/index' { + import { subMilliseconds } from 'date-fns/fp' + export default subMilliseconds +} + +declare module 'date-fns/fp/subMinutes/index' { + import { subMinutes } from 'date-fns/fp' + export default subMinutes +} + +declare module 'date-fns/fp/subMonths/index' { + import { subMonths } from 'date-fns/fp' + export default subMonths +} + +declare module 'date-fns/fp/subQuarters/index' { + import { subQuarters } from 'date-fns/fp' + export default subQuarters +} + +declare module 'date-fns/fp/subSeconds/index' { + import { subSeconds } from 'date-fns/fp' + export default subSeconds +} + +declare module 'date-fns/fp/subWeeks/index' { + import { subWeeks } from 'date-fns/fp' + export default subWeeks +} + +declare module 'date-fns/fp/subYears/index' { + import { subYears } from 'date-fns/fp' + export default subYears +} + +declare module 'date-fns/fp/toDate/index' { + import { toDate } from 'date-fns/fp' + export default toDate +} + +declare module 'date-fns/fp/weeksToDays/index' { + import { weeksToDays } from 'date-fns/fp' + export default weeksToDays +} + +declare module 'date-fns/fp/yearsToMonths/index' { + import { yearsToMonths } from 'date-fns/fp' + export default yearsToMonths +} + +declare module 'date-fns/fp/yearsToQuarters/index' { + import { yearsToQuarters } from 'date-fns/fp' + export default yearsToQuarters +} + +declare module 'date-fns/fp/add/index.js' { + import { add } from 'date-fns/fp' + export default add +} + +declare module 'date-fns/fp/addBusinessDays/index.js' { + import { addBusinessDays } from 'date-fns/fp' + export default addBusinessDays +} + +declare module 'date-fns/fp/addDays/index.js' { + import { addDays } from 'date-fns/fp' + export default addDays +} + +declare module 'date-fns/fp/addHours/index.js' { + import { addHours } from 'date-fns/fp' + export default addHours +} + +declare module 'date-fns/fp/addISOWeekYears/index.js' { + import { addISOWeekYears } from 'date-fns/fp' + export default addISOWeekYears +} + +declare module 'date-fns/fp/addMilliseconds/index.js' { + import { addMilliseconds } from 'date-fns/fp' + export default addMilliseconds +} + +declare module 'date-fns/fp/addMinutes/index.js' { + import { addMinutes } from 'date-fns/fp' + export default addMinutes +} + +declare module 'date-fns/fp/addMonths/index.js' { + import { addMonths } from 'date-fns/fp' + export default addMonths +} + +declare module 'date-fns/fp/addQuarters/index.js' { + import { addQuarters } from 'date-fns/fp' + export default addQuarters +} + +declare module 'date-fns/fp/addSeconds/index.js' { + import { addSeconds } from 'date-fns/fp' + export default addSeconds +} + +declare module 'date-fns/fp/addWeeks/index.js' { + import { addWeeks } from 'date-fns/fp' + export default addWeeks +} + +declare module 'date-fns/fp/addYears/index.js' { + import { addYears } from 'date-fns/fp' + export default addYears +} + +declare module 'date-fns/fp/areIntervalsOverlapping/index.js' { + import { areIntervalsOverlapping } from 'date-fns/fp' + export default areIntervalsOverlapping +} + +declare module 'date-fns/fp/areIntervalsOverlappingWithOptions/index.js' { + import { areIntervalsOverlappingWithOptions } from 'date-fns/fp' + export default areIntervalsOverlappingWithOptions +} + +declare module 'date-fns/fp/clamp/index.js' { + import { clamp } from 'date-fns/fp' + export default clamp +} + +declare module 'date-fns/fp/closestIndexTo/index.js' { + import { closestIndexTo } from 'date-fns/fp' + export default closestIndexTo +} + +declare module 'date-fns/fp/closestTo/index.js' { + import { closestTo } from 'date-fns/fp' + export default closestTo +} + +declare module 'date-fns/fp/compareAsc/index.js' { + import { compareAsc } from 'date-fns/fp' + export default compareAsc +} + +declare module 'date-fns/fp/compareDesc/index.js' { + import { compareDesc } from 'date-fns/fp' + export default compareDesc +} + +declare module 'date-fns/fp/daysToWeeks/index.js' { + import { daysToWeeks } from 'date-fns/fp' + export default daysToWeeks +} + +declare module 'date-fns/fp/differenceInBusinessDays/index.js' { + import { differenceInBusinessDays } from 'date-fns/fp' + export default differenceInBusinessDays +} + +declare module 'date-fns/fp/differenceInCalendarDays/index.js' { + import { differenceInCalendarDays } from 'date-fns/fp' + export default differenceInCalendarDays +} + +declare module 'date-fns/fp/differenceInCalendarISOWeeks/index.js' { + import { differenceInCalendarISOWeeks } from 'date-fns/fp' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/fp/differenceInCalendarISOWeekYears/index.js' { + import { differenceInCalendarISOWeekYears } from 'date-fns/fp' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/fp/differenceInCalendarMonths/index.js' { + import { differenceInCalendarMonths } from 'date-fns/fp' + export default differenceInCalendarMonths +} + +declare module 'date-fns/fp/differenceInCalendarQuarters/index.js' { + import { differenceInCalendarQuarters } from 'date-fns/fp' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/fp/differenceInCalendarWeeks/index.js' { + import { differenceInCalendarWeeks } from 'date-fns/fp' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/fp/differenceInCalendarWeeksWithOptions/index.js' { + import { differenceInCalendarWeeksWithOptions } from 'date-fns/fp' + export default differenceInCalendarWeeksWithOptions +} + +declare module 'date-fns/fp/differenceInCalendarYears/index.js' { + import { differenceInCalendarYears } from 'date-fns/fp' + export default differenceInCalendarYears +} + +declare module 'date-fns/fp/differenceInDays/index.js' { + import { differenceInDays } from 'date-fns/fp' + export default differenceInDays +} + +declare module 'date-fns/fp/differenceInHours/index.js' { + import { differenceInHours } from 'date-fns/fp' + export default differenceInHours +} + +declare module 'date-fns/fp/differenceInHoursWithOptions/index.js' { + import { differenceInHoursWithOptions } from 'date-fns/fp' + export default differenceInHoursWithOptions +} + +declare module 'date-fns/fp/differenceInISOWeekYears/index.js' { + import { differenceInISOWeekYears } from 'date-fns/fp' + export default differenceInISOWeekYears +} + +declare module 'date-fns/fp/differenceInMilliseconds/index.js' { + import { differenceInMilliseconds } from 'date-fns/fp' + export default differenceInMilliseconds +} + +declare module 'date-fns/fp/differenceInMinutes/index.js' { + import { differenceInMinutes } from 'date-fns/fp' + export default differenceInMinutes +} + +declare module 'date-fns/fp/differenceInMinutesWithOptions/index.js' { + import { differenceInMinutesWithOptions } from 'date-fns/fp' + export default differenceInMinutesWithOptions +} + +declare module 'date-fns/fp/differenceInMonths/index.js' { + import { differenceInMonths } from 'date-fns/fp' + export default differenceInMonths +} + +declare module 'date-fns/fp/differenceInQuarters/index.js' { + import { differenceInQuarters } from 'date-fns/fp' + export default differenceInQuarters +} + +declare module 'date-fns/fp/differenceInQuartersWithOptions/index.js' { + import { differenceInQuartersWithOptions } from 'date-fns/fp' + export default differenceInQuartersWithOptions +} + +declare module 'date-fns/fp/differenceInSeconds/index.js' { + import { differenceInSeconds } from 'date-fns/fp' + export default differenceInSeconds +} + +declare module 'date-fns/fp/differenceInSecondsWithOptions/index.js' { + import { differenceInSecondsWithOptions } from 'date-fns/fp' + export default differenceInSecondsWithOptions +} + +declare module 'date-fns/fp/differenceInWeeks/index.js' { + import { differenceInWeeks } from 'date-fns/fp' + export default differenceInWeeks +} + +declare module 'date-fns/fp/differenceInWeeksWithOptions/index.js' { + import { differenceInWeeksWithOptions } from 'date-fns/fp' + export default differenceInWeeksWithOptions +} + +declare module 'date-fns/fp/differenceInYears/index.js' { + import { differenceInYears } from 'date-fns/fp' + export default differenceInYears +} + +declare module 'date-fns/fp/eachDayOfInterval/index.js' { + import { eachDayOfInterval } from 'date-fns/fp' + export default eachDayOfInterval +} + +declare module 'date-fns/fp/eachDayOfIntervalWithOptions/index.js' { + import { eachDayOfIntervalWithOptions } from 'date-fns/fp' + export default eachDayOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachHourOfInterval/index.js' { + import { eachHourOfInterval } from 'date-fns/fp' + export default eachHourOfInterval +} + +declare module 'date-fns/fp/eachHourOfIntervalWithOptions/index.js' { + import { eachHourOfIntervalWithOptions } from 'date-fns/fp' + export default eachHourOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachMinuteOfInterval/index.js' { + import { eachMinuteOfInterval } from 'date-fns/fp' + export default eachMinuteOfInterval +} + +declare module 'date-fns/fp/eachMinuteOfIntervalWithOptions/index.js' { + import { eachMinuteOfIntervalWithOptions } from 'date-fns/fp' + export default eachMinuteOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachMonthOfInterval/index.js' { + import { eachMonthOfInterval } from 'date-fns/fp' + export default eachMonthOfInterval +} + +declare module 'date-fns/fp/eachQuarterOfInterval/index.js' { + import { eachQuarterOfInterval } from 'date-fns/fp' + export default eachQuarterOfInterval +} + +declare module 'date-fns/fp/eachWeekendOfInterval/index.js' { + import { eachWeekendOfInterval } from 'date-fns/fp' + export default eachWeekendOfInterval +} + +declare module 'date-fns/fp/eachWeekendOfMonth/index.js' { + import { eachWeekendOfMonth } from 'date-fns/fp' + export default eachWeekendOfMonth +} + +declare module 'date-fns/fp/eachWeekendOfYear/index.js' { + import { eachWeekendOfYear } from 'date-fns/fp' + export default eachWeekendOfYear +} + +declare module 'date-fns/fp/eachWeekOfInterval/index.js' { + import { eachWeekOfInterval } from 'date-fns/fp' + export default eachWeekOfInterval +} + +declare module 'date-fns/fp/eachWeekOfIntervalWithOptions/index.js' { + import { eachWeekOfIntervalWithOptions } from 'date-fns/fp' + export default eachWeekOfIntervalWithOptions +} + +declare module 'date-fns/fp/eachYearOfInterval/index.js' { + import { eachYearOfInterval } from 'date-fns/fp' + export default eachYearOfInterval +} + +declare module 'date-fns/fp/endOfDay/index.js' { + import { endOfDay } from 'date-fns/fp' + export default endOfDay +} + +declare module 'date-fns/fp/endOfDecade/index.js' { + import { endOfDecade } from 'date-fns/fp' + export default endOfDecade +} + +declare module 'date-fns/fp/endOfDecadeWithOptions/index.js' { + import { endOfDecadeWithOptions } from 'date-fns/fp' + export default endOfDecadeWithOptions +} + +declare module 'date-fns/fp/endOfHour/index.js' { + import { endOfHour } from 'date-fns/fp' + export default endOfHour +} + +declare module 'date-fns/fp/endOfISOWeek/index.js' { + import { endOfISOWeek } from 'date-fns/fp' + export default endOfISOWeek +} + +declare module 'date-fns/fp/endOfISOWeekYear/index.js' { + import { endOfISOWeekYear } from 'date-fns/fp' + export default endOfISOWeekYear +} + +declare module 'date-fns/fp/endOfMinute/index.js' { + import { endOfMinute } from 'date-fns/fp' + export default endOfMinute +} + +declare module 'date-fns/fp/endOfMonth/index.js' { + import { endOfMonth } from 'date-fns/fp' + export default endOfMonth +} + +declare module 'date-fns/fp/endOfQuarter/index.js' { + import { endOfQuarter } from 'date-fns/fp' + export default endOfQuarter +} + +declare module 'date-fns/fp/endOfSecond/index.js' { + import { endOfSecond } from 'date-fns/fp' + export default endOfSecond +} + +declare module 'date-fns/fp/endOfWeek/index.js' { + import { endOfWeek } from 'date-fns/fp' + export default endOfWeek +} + +declare module 'date-fns/fp/endOfWeekWithOptions/index.js' { + import { endOfWeekWithOptions } from 'date-fns/fp' + export default endOfWeekWithOptions +} + +declare module 'date-fns/fp/endOfYear/index.js' { + import { endOfYear } from 'date-fns/fp' + export default endOfYear +} + +declare module 'date-fns/fp/format/index.js' { + import { format } from 'date-fns/fp' + export default format +} + +declare module 'date-fns/fp/formatDistance/index.js' { + import { formatDistance } from 'date-fns/fp' + export default formatDistance +} + +declare module 'date-fns/fp/formatDistanceStrict/index.js' { + import { formatDistanceStrict } from 'date-fns/fp' + export default formatDistanceStrict +} + +declare module 'date-fns/fp/formatDistanceStrictWithOptions/index.js' { + import { formatDistanceStrictWithOptions } from 'date-fns/fp' + export default formatDistanceStrictWithOptions +} + +declare module 'date-fns/fp/formatDistanceWithOptions/index.js' { + import { formatDistanceWithOptions } from 'date-fns/fp' + export default formatDistanceWithOptions +} + +declare module 'date-fns/fp/formatDuration/index.js' { + import { formatDuration } from 'date-fns/fp' + export default formatDuration +} + +declare module 'date-fns/fp/formatDurationWithOptions/index.js' { + import { formatDurationWithOptions } from 'date-fns/fp' + export default formatDurationWithOptions +} + +declare module 'date-fns/fp/formatISO/index.js' { + import { formatISO } from 'date-fns/fp' + export default formatISO +} + +declare module 'date-fns/fp/formatISO9075/index.js' { + import { formatISO9075 } from 'date-fns/fp' + export default formatISO9075 +} + +declare module 'date-fns/fp/formatISO9075WithOptions/index.js' { + import { formatISO9075WithOptions } from 'date-fns/fp' + export default formatISO9075WithOptions +} + +declare module 'date-fns/fp/formatISODuration/index.js' { + import { formatISODuration } from 'date-fns/fp' + export default formatISODuration +} + +declare module 'date-fns/fp/formatISOWithOptions/index.js' { + import { formatISOWithOptions } from 'date-fns/fp' + export default formatISOWithOptions +} + +declare module 'date-fns/fp/formatRelative/index.js' { + import { formatRelative } from 'date-fns/fp' + export default formatRelative +} + +declare module 'date-fns/fp/formatRelativeWithOptions/index.js' { + import { formatRelativeWithOptions } from 'date-fns/fp' + export default formatRelativeWithOptions +} + +declare module 'date-fns/fp/formatRFC3339/index.js' { + import { formatRFC3339 } from 'date-fns/fp' + export default formatRFC3339 +} + +declare module 'date-fns/fp/formatRFC3339WithOptions/index.js' { + import { formatRFC3339WithOptions } from 'date-fns/fp' + export default formatRFC3339WithOptions +} + +declare module 'date-fns/fp/formatRFC7231/index.js' { + import { formatRFC7231 } from 'date-fns/fp' + export default formatRFC7231 +} + +declare module 'date-fns/fp/formatWithOptions/index.js' { + import { formatWithOptions } from 'date-fns/fp' + export default formatWithOptions +} + +declare module 'date-fns/fp/fromUnixTime/index.js' { + import { fromUnixTime } from 'date-fns/fp' + export default fromUnixTime +} + +declare module 'date-fns/fp/getDate/index.js' { + import { getDate } from 'date-fns/fp' + export default getDate +} + +declare module 'date-fns/fp/getDay/index.js' { + import { getDay } from 'date-fns/fp' + export default getDay +} + +declare module 'date-fns/fp/getDayOfYear/index.js' { + import { getDayOfYear } from 'date-fns/fp' + export default getDayOfYear +} + +declare module 'date-fns/fp/getDaysInMonth/index.js' { + import { getDaysInMonth } from 'date-fns/fp' + export default getDaysInMonth +} + +declare module 'date-fns/fp/getDaysInYear/index.js' { + import { getDaysInYear } from 'date-fns/fp' + export default getDaysInYear +} + +declare module 'date-fns/fp/getDecade/index.js' { + import { getDecade } from 'date-fns/fp' + export default getDecade +} + +declare module 'date-fns/fp/getHours/index.js' { + import { getHours } from 'date-fns/fp' + export default getHours +} + +declare module 'date-fns/fp/getISODay/index.js' { + import { getISODay } from 'date-fns/fp' + export default getISODay +} + +declare module 'date-fns/fp/getISOWeek/index.js' { + import { getISOWeek } from 'date-fns/fp' + export default getISOWeek +} + +declare module 'date-fns/fp/getISOWeeksInYear/index.js' { + import { getISOWeeksInYear } from 'date-fns/fp' + export default getISOWeeksInYear +} + +declare module 'date-fns/fp/getISOWeekYear/index.js' { + import { getISOWeekYear } from 'date-fns/fp' + export default getISOWeekYear +} + +declare module 'date-fns/fp/getMilliseconds/index.js' { + import { getMilliseconds } from 'date-fns/fp' + export default getMilliseconds +} + +declare module 'date-fns/fp/getMinutes/index.js' { + import { getMinutes } from 'date-fns/fp' + export default getMinutes +} + +declare module 'date-fns/fp/getMonth/index.js' { + import { getMonth } from 'date-fns/fp' + export default getMonth +} + +declare module 'date-fns/fp/getOverlappingDaysInIntervals/index.js' { + import { getOverlappingDaysInIntervals } from 'date-fns/fp' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/fp/getQuarter/index.js' { + import { getQuarter } from 'date-fns/fp' + export default getQuarter +} + +declare module 'date-fns/fp/getSeconds/index.js' { + import { getSeconds } from 'date-fns/fp' + export default getSeconds +} + +declare module 'date-fns/fp/getTime/index.js' { + import { getTime } from 'date-fns/fp' + export default getTime +} + +declare module 'date-fns/fp/getUnixTime/index.js' { + import { getUnixTime } from 'date-fns/fp' + export default getUnixTime +} + +declare module 'date-fns/fp/getWeek/index.js' { + import { getWeek } from 'date-fns/fp' + export default getWeek +} + +declare module 'date-fns/fp/getWeekOfMonth/index.js' { + import { getWeekOfMonth } from 'date-fns/fp' + export default getWeekOfMonth +} + +declare module 'date-fns/fp/getWeekOfMonthWithOptions/index.js' { + import { getWeekOfMonthWithOptions } from 'date-fns/fp' + export default getWeekOfMonthWithOptions +} + +declare module 'date-fns/fp/getWeeksInMonth/index.js' { + import { getWeeksInMonth } from 'date-fns/fp' + export default getWeeksInMonth +} + +declare module 'date-fns/fp/getWeeksInMonthWithOptions/index.js' { + import { getWeeksInMonthWithOptions } from 'date-fns/fp' + export default getWeeksInMonthWithOptions +} + +declare module 'date-fns/fp/getWeekWithOptions/index.js' { + import { getWeekWithOptions } from 'date-fns/fp' + export default getWeekWithOptions +} + +declare module 'date-fns/fp/getWeekYear/index.js' { + import { getWeekYear } from 'date-fns/fp' + export default getWeekYear +} + +declare module 'date-fns/fp/getWeekYearWithOptions/index.js' { + import { getWeekYearWithOptions } from 'date-fns/fp' + export default getWeekYearWithOptions +} + +declare module 'date-fns/fp/getYear/index.js' { + import { getYear } from 'date-fns/fp' + export default getYear +} + +declare module 'date-fns/fp/hoursToMilliseconds/index.js' { + import { hoursToMilliseconds } from 'date-fns/fp' + export default hoursToMilliseconds +} + +declare module 'date-fns/fp/hoursToMinutes/index.js' { + import { hoursToMinutes } from 'date-fns/fp' + export default hoursToMinutes +} + +declare module 'date-fns/fp/hoursToSeconds/index.js' { + import { hoursToSeconds } from 'date-fns/fp' + export default hoursToSeconds +} + +declare module 'date-fns/fp/intervalToDuration/index.js' { + import { intervalToDuration } from 'date-fns/fp' + export default intervalToDuration +} + +declare module 'date-fns/fp/intlFormat/index.js' { + import { intlFormat } from 'date-fns/fp' + export default intlFormat +} + +declare module 'date-fns/fp/intlFormatDistance/index.js' { + import { intlFormatDistance } from 'date-fns/fp' + export default intlFormatDistance +} + +declare module 'date-fns/fp/intlFormatDistanceWithOptions/index.js' { + import { intlFormatDistanceWithOptions } from 'date-fns/fp' + export default intlFormatDistanceWithOptions +} + +declare module 'date-fns/fp/isAfter/index.js' { + import { isAfter } from 'date-fns/fp' + export default isAfter +} + +declare module 'date-fns/fp/isBefore/index.js' { + import { isBefore } from 'date-fns/fp' + export default isBefore +} + +declare module 'date-fns/fp/isDate/index.js' { + import { isDate } from 'date-fns/fp' + export default isDate +} + +declare module 'date-fns/fp/isEqual/index.js' { + import { isEqual } from 'date-fns/fp' + export default isEqual +} + +declare module 'date-fns/fp/isExists/index.js' { + import { isExists } from 'date-fns/fp' + export default isExists +} + +declare module 'date-fns/fp/isFirstDayOfMonth/index.js' { + import { isFirstDayOfMonth } from 'date-fns/fp' + export default isFirstDayOfMonth +} + +declare module 'date-fns/fp/isFriday/index.js' { + import { isFriday } from 'date-fns/fp' + export default isFriday +} + +declare module 'date-fns/fp/isLastDayOfMonth/index.js' { + import { isLastDayOfMonth } from 'date-fns/fp' + export default isLastDayOfMonth +} + +declare module 'date-fns/fp/isLeapYear/index.js' { + import { isLeapYear } from 'date-fns/fp' + export default isLeapYear +} + +declare module 'date-fns/fp/isMatch/index.js' { + import { isMatch } from 'date-fns/fp' + export default isMatch +} + +declare module 'date-fns/fp/isMatchWithOptions/index.js' { + import { isMatchWithOptions } from 'date-fns/fp' + export default isMatchWithOptions +} + +declare module 'date-fns/fp/isMonday/index.js' { + import { isMonday } from 'date-fns/fp' + export default isMonday +} + +declare module 'date-fns/fp/isSameDay/index.js' { + import { isSameDay } from 'date-fns/fp' + export default isSameDay +} + +declare module 'date-fns/fp/isSameHour/index.js' { + import { isSameHour } from 'date-fns/fp' + export default isSameHour +} + +declare module 'date-fns/fp/isSameISOWeek/index.js' { + import { isSameISOWeek } from 'date-fns/fp' + export default isSameISOWeek +} + +declare module 'date-fns/fp/isSameISOWeekYear/index.js' { + import { isSameISOWeekYear } from 'date-fns/fp' + export default isSameISOWeekYear +} + +declare module 'date-fns/fp/isSameMinute/index.js' { + import { isSameMinute } from 'date-fns/fp' + export default isSameMinute +} + +declare module 'date-fns/fp/isSameMonth/index.js' { + import { isSameMonth } from 'date-fns/fp' + export default isSameMonth +} + +declare module 'date-fns/fp/isSameQuarter/index.js' { + import { isSameQuarter } from 'date-fns/fp' + export default isSameQuarter +} + +declare module 'date-fns/fp/isSameSecond/index.js' { + import { isSameSecond } from 'date-fns/fp' + export default isSameSecond +} + +declare module 'date-fns/fp/isSameWeek/index.js' { + import { isSameWeek } from 'date-fns/fp' + export default isSameWeek +} + +declare module 'date-fns/fp/isSameWeekWithOptions/index.js' { + import { isSameWeekWithOptions } from 'date-fns/fp' + export default isSameWeekWithOptions +} + +declare module 'date-fns/fp/isSameYear/index.js' { + import { isSameYear } from 'date-fns/fp' + export default isSameYear +} + +declare module 'date-fns/fp/isSaturday/index.js' { + import { isSaturday } from 'date-fns/fp' + export default isSaturday +} + +declare module 'date-fns/fp/isSunday/index.js' { + import { isSunday } from 'date-fns/fp' + export default isSunday +} + +declare module 'date-fns/fp/isThursday/index.js' { + import { isThursday } from 'date-fns/fp' + export default isThursday +} + +declare module 'date-fns/fp/isTuesday/index.js' { + import { isTuesday } from 'date-fns/fp' + export default isTuesday +} + +declare module 'date-fns/fp/isValid/index.js' { + import { isValid } from 'date-fns/fp' + export default isValid +} + +declare module 'date-fns/fp/isWednesday/index.js' { + import { isWednesday } from 'date-fns/fp' + export default isWednesday +} + +declare module 'date-fns/fp/isWeekend/index.js' { + import { isWeekend } from 'date-fns/fp' + export default isWeekend +} + +declare module 'date-fns/fp/isWithinInterval/index.js' { + import { isWithinInterval } from 'date-fns/fp' + export default isWithinInterval +} + +declare module 'date-fns/fp/lastDayOfDecade/index.js' { + import { lastDayOfDecade } from 'date-fns/fp' + export default lastDayOfDecade +} + +declare module 'date-fns/fp/lastDayOfISOWeek/index.js' { + import { lastDayOfISOWeek } from 'date-fns/fp' + export default lastDayOfISOWeek +} + +declare module 'date-fns/fp/lastDayOfISOWeekYear/index.js' { + import { lastDayOfISOWeekYear } from 'date-fns/fp' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/fp/lastDayOfMonth/index.js' { + import { lastDayOfMonth } from 'date-fns/fp' + export default lastDayOfMonth +} + +declare module 'date-fns/fp/lastDayOfQuarter/index.js' { + import { lastDayOfQuarter } from 'date-fns/fp' + export default lastDayOfQuarter +} + +declare module 'date-fns/fp/lastDayOfQuarterWithOptions/index.js' { + import { lastDayOfQuarterWithOptions } from 'date-fns/fp' + export default lastDayOfQuarterWithOptions +} + +declare module 'date-fns/fp/lastDayOfWeek/index.js' { + import { lastDayOfWeek } from 'date-fns/fp' + export default lastDayOfWeek +} + +declare module 'date-fns/fp/lastDayOfWeekWithOptions/index.js' { + import { lastDayOfWeekWithOptions } from 'date-fns/fp' + export default lastDayOfWeekWithOptions +} + +declare module 'date-fns/fp/lastDayOfYear/index.js' { + import { lastDayOfYear } from 'date-fns/fp' + export default lastDayOfYear +} + +declare module 'date-fns/fp/lightFormat/index.js' { + import { lightFormat } from 'date-fns/fp' + export default lightFormat +} + +declare module 'date-fns/fp/max/index.js' { + import { max } from 'date-fns/fp' + export default max +} + +declare module 'date-fns/fp/milliseconds/index.js' { + import { milliseconds } from 'date-fns/fp' + export default milliseconds +} + +declare module 'date-fns/fp/millisecondsToHours/index.js' { + import { millisecondsToHours } from 'date-fns/fp' + export default millisecondsToHours +} + +declare module 'date-fns/fp/millisecondsToMinutes/index.js' { + import { millisecondsToMinutes } from 'date-fns/fp' + export default millisecondsToMinutes +} + +declare module 'date-fns/fp/millisecondsToSeconds/index.js' { + import { millisecondsToSeconds } from 'date-fns/fp' + export default millisecondsToSeconds +} + +declare module 'date-fns/fp/min/index.js' { + import { min } from 'date-fns/fp' + export default min +} + +declare module 'date-fns/fp/minutesToHours/index.js' { + import { minutesToHours } from 'date-fns/fp' + export default minutesToHours +} + +declare module 'date-fns/fp/minutesToMilliseconds/index.js' { + import { minutesToMilliseconds } from 'date-fns/fp' + export default minutesToMilliseconds +} + +declare module 'date-fns/fp/minutesToSeconds/index.js' { + import { minutesToSeconds } from 'date-fns/fp' + export default minutesToSeconds +} + +declare module 'date-fns/fp/monthsToQuarters/index.js' { + import { monthsToQuarters } from 'date-fns/fp' + export default monthsToQuarters +} + +declare module 'date-fns/fp/monthsToYears/index.js' { + import { monthsToYears } from 'date-fns/fp' + export default monthsToYears +} + +declare module 'date-fns/fp/nextDay/index.js' { + import { nextDay } from 'date-fns/fp' + export default nextDay +} + +declare module 'date-fns/fp/nextFriday/index.js' { + import { nextFriday } from 'date-fns/fp' + export default nextFriday +} + +declare module 'date-fns/fp/nextMonday/index.js' { + import { nextMonday } from 'date-fns/fp' + export default nextMonday +} + +declare module 'date-fns/fp/nextSaturday/index.js' { + import { nextSaturday } from 'date-fns/fp' + export default nextSaturday +} + +declare module 'date-fns/fp/nextSunday/index.js' { + import { nextSunday } from 'date-fns/fp' + export default nextSunday +} + +declare module 'date-fns/fp/nextThursday/index.js' { + import { nextThursday } from 'date-fns/fp' + export default nextThursday +} + +declare module 'date-fns/fp/nextTuesday/index.js' { + import { nextTuesday } from 'date-fns/fp' + export default nextTuesday +} + +declare module 'date-fns/fp/nextWednesday/index.js' { + import { nextWednesday } from 'date-fns/fp' + export default nextWednesday +} + +declare module 'date-fns/fp/parse/index.js' { + import { parse } from 'date-fns/fp' + export default parse +} + +declare module 'date-fns/fp/parseISO/index.js' { + import { parseISO } from 'date-fns/fp' + export default parseISO +} + +declare module 'date-fns/fp/parseISOWithOptions/index.js' { + import { parseISOWithOptions } from 'date-fns/fp' + export default parseISOWithOptions +} + +declare module 'date-fns/fp/parseJSON/index.js' { + import { parseJSON } from 'date-fns/fp' + export default parseJSON +} + +declare module 'date-fns/fp/parseWithOptions/index.js' { + import { parseWithOptions } from 'date-fns/fp' + export default parseWithOptions +} + +declare module 'date-fns/fp/previousDay/index.js' { + import { previousDay } from 'date-fns/fp' + export default previousDay +} + +declare module 'date-fns/fp/previousFriday/index.js' { + import { previousFriday } from 'date-fns/fp' + export default previousFriday +} + +declare module 'date-fns/fp/previousMonday/index.js' { + import { previousMonday } from 'date-fns/fp' + export default previousMonday +} + +declare module 'date-fns/fp/previousSaturday/index.js' { + import { previousSaturday } from 'date-fns/fp' + export default previousSaturday +} + +declare module 'date-fns/fp/previousSunday/index.js' { + import { previousSunday } from 'date-fns/fp' + export default previousSunday +} + +declare module 'date-fns/fp/previousThursday/index.js' { + import { previousThursday } from 'date-fns/fp' + export default previousThursday +} + +declare module 'date-fns/fp/previousTuesday/index.js' { + import { previousTuesday } from 'date-fns/fp' + export default previousTuesday +} + +declare module 'date-fns/fp/previousWednesday/index.js' { + import { previousWednesday } from 'date-fns/fp' + export default previousWednesday +} + +declare module 'date-fns/fp/quartersToMonths/index.js' { + import { quartersToMonths } from 'date-fns/fp' + export default quartersToMonths +} + +declare module 'date-fns/fp/quartersToYears/index.js' { + import { quartersToYears } from 'date-fns/fp' + export default quartersToYears +} + +declare module 'date-fns/fp/roundToNearestMinutes/index.js' { + import { roundToNearestMinutes } from 'date-fns/fp' + export default roundToNearestMinutes +} + +declare module 'date-fns/fp/roundToNearestMinutesWithOptions/index.js' { + import { roundToNearestMinutesWithOptions } from 'date-fns/fp' + export default roundToNearestMinutesWithOptions +} + +declare module 'date-fns/fp/secondsToHours/index.js' { + import { secondsToHours } from 'date-fns/fp' + export default secondsToHours +} + +declare module 'date-fns/fp/secondsToMilliseconds/index.js' { + import { secondsToMilliseconds } from 'date-fns/fp' + export default secondsToMilliseconds +} + +declare module 'date-fns/fp/secondsToMinutes/index.js' { + import { secondsToMinutes } from 'date-fns/fp' + export default secondsToMinutes +} + +declare module 'date-fns/fp/set/index.js' { + import { set } from 'date-fns/fp' + export default set +} + +declare module 'date-fns/fp/setDate/index.js' { + import { setDate } from 'date-fns/fp' + export default setDate +} + +declare module 'date-fns/fp/setDay/index.js' { + import { setDay } from 'date-fns/fp' + export default setDay +} + +declare module 'date-fns/fp/setDayOfYear/index.js' { + import { setDayOfYear } from 'date-fns/fp' + export default setDayOfYear +} + +declare module 'date-fns/fp/setDayWithOptions/index.js' { + import { setDayWithOptions } from 'date-fns/fp' + export default setDayWithOptions +} + +declare module 'date-fns/fp/setHours/index.js' { + import { setHours } from 'date-fns/fp' + export default setHours +} + +declare module 'date-fns/fp/setISODay/index.js' { + import { setISODay } from 'date-fns/fp' + export default setISODay +} + +declare module 'date-fns/fp/setISOWeek/index.js' { + import { setISOWeek } from 'date-fns/fp' + export default setISOWeek +} + +declare module 'date-fns/fp/setISOWeekYear/index.js' { + import { setISOWeekYear } from 'date-fns/fp' + export default setISOWeekYear +} + +declare module 'date-fns/fp/setMilliseconds/index.js' { + import { setMilliseconds } from 'date-fns/fp' + export default setMilliseconds +} + +declare module 'date-fns/fp/setMinutes/index.js' { + import { setMinutes } from 'date-fns/fp' + export default setMinutes +} + +declare module 'date-fns/fp/setMonth/index.js' { + import { setMonth } from 'date-fns/fp' + export default setMonth +} + +declare module 'date-fns/fp/setQuarter/index.js' { + import { setQuarter } from 'date-fns/fp' + export default setQuarter +} + +declare module 'date-fns/fp/setSeconds/index.js' { + import { setSeconds } from 'date-fns/fp' + export default setSeconds +} + +declare module 'date-fns/fp/setWeek/index.js' { + import { setWeek } from 'date-fns/fp' + export default setWeek +} + +declare module 'date-fns/fp/setWeekWithOptions/index.js' { + import { setWeekWithOptions } from 'date-fns/fp' + export default setWeekWithOptions +} + +declare module 'date-fns/fp/setWeekYear/index.js' { + import { setWeekYear } from 'date-fns/fp' + export default setWeekYear +} + +declare module 'date-fns/fp/setWeekYearWithOptions/index.js' { + import { setWeekYearWithOptions } from 'date-fns/fp' + export default setWeekYearWithOptions +} + +declare module 'date-fns/fp/setYear/index.js' { + import { setYear } from 'date-fns/fp' + export default setYear +} + +declare module 'date-fns/fp/startOfDay/index.js' { + import { startOfDay } from 'date-fns/fp' + export default startOfDay +} + +declare module 'date-fns/fp/startOfDecade/index.js' { + import { startOfDecade } from 'date-fns/fp' + export default startOfDecade +} + +declare module 'date-fns/fp/startOfHour/index.js' { + import { startOfHour } from 'date-fns/fp' + export default startOfHour +} + +declare module 'date-fns/fp/startOfISOWeek/index.js' { + import { startOfISOWeek } from 'date-fns/fp' + export default startOfISOWeek +} + +declare module 'date-fns/fp/startOfISOWeekYear/index.js' { + import { startOfISOWeekYear } from 'date-fns/fp' + export default startOfISOWeekYear +} + +declare module 'date-fns/fp/startOfMinute/index.js' { + import { startOfMinute } from 'date-fns/fp' + export default startOfMinute +} + +declare module 'date-fns/fp/startOfMonth/index.js' { + import { startOfMonth } from 'date-fns/fp' + export default startOfMonth +} + +declare module 'date-fns/fp/startOfQuarter/index.js' { + import { startOfQuarter } from 'date-fns/fp' + export default startOfQuarter +} + +declare module 'date-fns/fp/startOfSecond/index.js' { + import { startOfSecond } from 'date-fns/fp' + export default startOfSecond +} + +declare module 'date-fns/fp/startOfWeek/index.js' { + import { startOfWeek } from 'date-fns/fp' + export default startOfWeek +} + +declare module 'date-fns/fp/startOfWeekWithOptions/index.js' { + import { startOfWeekWithOptions } from 'date-fns/fp' + export default startOfWeekWithOptions +} + +declare module 'date-fns/fp/startOfWeekYear/index.js' { + import { startOfWeekYear } from 'date-fns/fp' + export default startOfWeekYear +} + +declare module 'date-fns/fp/startOfWeekYearWithOptions/index.js' { + import { startOfWeekYearWithOptions } from 'date-fns/fp' + export default startOfWeekYearWithOptions +} + +declare module 'date-fns/fp/startOfYear/index.js' { + import { startOfYear } from 'date-fns/fp' + export default startOfYear +} + +declare module 'date-fns/fp/sub/index.js' { + import { sub } from 'date-fns/fp' + export default sub +} + +declare module 'date-fns/fp/subBusinessDays/index.js' { + import { subBusinessDays } from 'date-fns/fp' + export default subBusinessDays +} + +declare module 'date-fns/fp/subDays/index.js' { + import { subDays } from 'date-fns/fp' + export default subDays +} + +declare module 'date-fns/fp/subHours/index.js' { + import { subHours } from 'date-fns/fp' + export default subHours +} + +declare module 'date-fns/fp/subISOWeekYears/index.js' { + import { subISOWeekYears } from 'date-fns/fp' + export default subISOWeekYears +} + +declare module 'date-fns/fp/subMilliseconds/index.js' { + import { subMilliseconds } from 'date-fns/fp' + export default subMilliseconds +} + +declare module 'date-fns/fp/subMinutes/index.js' { + import { subMinutes } from 'date-fns/fp' + export default subMinutes +} + +declare module 'date-fns/fp/subMonths/index.js' { + import { subMonths } from 'date-fns/fp' + export default subMonths +} + +declare module 'date-fns/fp/subQuarters/index.js' { + import { subQuarters } from 'date-fns/fp' + export default subQuarters +} + +declare module 'date-fns/fp/subSeconds/index.js' { + import { subSeconds } from 'date-fns/fp' + export default subSeconds +} + +declare module 'date-fns/fp/subWeeks/index.js' { + import { subWeeks } from 'date-fns/fp' + export default subWeeks +} + +declare module 'date-fns/fp/subYears/index.js' { + import { subYears } from 'date-fns/fp' + export default subYears +} + +declare module 'date-fns/fp/toDate/index.js' { + import { toDate } from 'date-fns/fp' + export default toDate +} + +declare module 'date-fns/fp/weeksToDays/index.js' { + import { weeksToDays } from 'date-fns/fp' + export default weeksToDays +} + +declare module 'date-fns/fp/yearsToMonths/index.js' { + import { yearsToMonths } from 'date-fns/fp' + export default yearsToMonths +} + +declare module 'date-fns/fp/yearsToQuarters/index.js' { + import { yearsToQuarters } from 'date-fns/fp' + export default yearsToQuarters +} + +// ECMAScript Module Functions + +declare module 'date-fns/esm' { + function add(date: Date | number, duration: Duration): Date + namespace add {} + + function addBusinessDays(date: Date | number, amount: number): Date + namespace addBusinessDays {} + + function addDays(date: Date | number, amount: number): Date + namespace addDays {} + + function addHours(date: Date | number, amount: number): Date + namespace addHours {} + + function addISOWeekYears(date: Date | number, amount: number): Date + namespace addISOWeekYears {} + + function addMilliseconds(date: Date | number, amount: number): Date + namespace addMilliseconds {} + + function addMinutes(date: Date | number, amount: number): Date + namespace addMinutes {} + + function addMonths(date: Date | number, amount: number): Date + namespace addMonths {} + + function addQuarters(date: Date | number, amount: number): Date + namespace addQuarters {} + + function addSeconds(date: Date | number, amount: number): Date + namespace addSeconds {} + + function addWeeks(date: Date | number, amount: number): Date + namespace addWeeks {} + + function addYears(date: Date | number, amount: number): Date + namespace addYears {} + + function areIntervalsOverlapping( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean + } + ): boolean + namespace areIntervalsOverlapping {} + + function clamp(date: Date | number, interval: Interval): Date + namespace clamp {} + + function closestIndexTo( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ): number | undefined + namespace closestIndexTo {} + + function closestTo( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ): Date | undefined + namespace closestTo {} + + function compareAsc(dateLeft: Date | number, dateRight: Date | number): number + namespace compareAsc {} + + function compareDesc( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace compareDesc {} + + function daysToWeeks(days: number): number + namespace daysToWeeks {} + + function differenceInBusinessDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInBusinessDays {} + + function differenceInCalendarDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarDays {} + + function differenceInCalendarISOWeeks( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarISOWeeks {} + + function differenceInCalendarISOWeekYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarISOWeekYears {} + + function differenceInCalendarMonths( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarMonths {} + + function differenceInCalendarQuarters( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarQuarters {} + + function differenceInCalendarWeeks( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + namespace differenceInCalendarWeeks {} + + function differenceInCalendarYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInCalendarYears {} + + function differenceInDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInDays {} + + function differenceInHours( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInHours {} + + function differenceInISOWeekYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInISOWeekYears {} + + function differenceInMilliseconds( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInMilliseconds {} + + function differenceInMinutes( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInMinutes {} + + function differenceInMonths( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInMonths {} + + function differenceInQuarters( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInQuarters {} + + function differenceInSeconds( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInSeconds {} + + function differenceInWeeks( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + namespace differenceInWeeks {} + + function differenceInYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + namespace differenceInYears {} + + function eachDayOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + namespace eachDayOfInterval {} + + function eachHourOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + namespace eachHourOfInterval {} + + function eachMinuteOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + namespace eachMinuteOfInterval {} + + function eachMonthOfInterval(interval: Interval): Date[] + namespace eachMonthOfInterval {} + + function eachQuarterOfInterval(interval: Interval): Date[] + namespace eachQuarterOfInterval {} + + function eachWeekendOfInterval(interval: Interval): Date[] + namespace eachWeekendOfInterval {} + + function eachWeekendOfMonth(date: Date | number): Date[] + namespace eachWeekendOfMonth {} + + function eachWeekendOfYear(date: Date | number): Date[] + namespace eachWeekendOfYear {} + + function eachWeekOfInterval( + interval: Interval, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date[] + namespace eachWeekOfInterval {} + + function eachYearOfInterval(interval: Interval): Date[] + namespace eachYearOfInterval {} + + function endOfDay(date: Date | number): Date + namespace endOfDay {} + + function endOfDecade( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + namespace endOfDecade {} + + function endOfHour(date: Date | number): Date + namespace endOfHour {} + + function endOfISOWeek(date: Date | number): Date + namespace endOfISOWeek {} + + function endOfISOWeekYear(date: Date | number): Date + namespace endOfISOWeekYear {} + + function endOfMinute(date: Date | number): Date + namespace endOfMinute {} + + function endOfMonth(date: Date | number): Date + namespace endOfMonth {} + + function endOfQuarter(date: Date | number): Date + namespace endOfQuarter {} + + function endOfSecond(date: Date | number): Date + namespace endOfSecond {} + + function endOfToday(): Date + namespace endOfToday {} + + function endOfTomorrow(): Date + namespace endOfTomorrow {} + + function endOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace endOfWeek {} + + function endOfYear(date: Date | number): Date + namespace endOfYear {} + + function endOfYesterday(): Date + namespace endOfYesterday {} + + function format( + date: Date | number, + format: string, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: number + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): string + namespace format {} + + function formatDistance( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean + addSuffix?: boolean + locale?: Locale + } + ): string + namespace formatDistance {} + + function formatDistanceStrict( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + roundingMethod?: 'floor' | 'ceil' | 'round' + locale?: Locale + } + ): string + namespace formatDistanceStrict {} + + function formatDistanceToNow( + date: Date | number, + options?: { + includeSeconds?: boolean + addSuffix?: boolean + locale?: Locale + } + ): string + namespace formatDistanceToNow {} + + function formatDistanceToNowStrict( + date: Date | number, + options?: { + addSuffix?: boolean + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + roundingMethod?: 'floor' | 'ceil' | 'round' + locale?: Locale + } + ): string + namespace formatDistanceToNowStrict {} + + function formatDuration( + duration: Duration, + options?: { + format?: string[] + zero?: boolean + delimiter?: string + locale?: Locale + } + ): string + namespace formatDuration {} + + function formatISO( + date: Date | number, + options?: { + format?: 'extended' | 'basic' + representation?: 'complete' | 'date' | 'time' + } + ): string + namespace formatISO {} + + function formatISO9075( + date: Date | number, + options?: { + format?: 'extended' | 'basic' + representation?: 'complete' | 'date' | 'time' + } + ): string + namespace formatISO9075 {} + + function formatISODuration(duration: Duration): string + namespace formatISODuration {} + + function formatRelative( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): string + namespace formatRelative {} + + function formatRFC3339( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3 + } + ): string + namespace formatRFC3339 {} + + function formatRFC7231(date: Date | number): string + namespace formatRFC7231 {} + + function fromUnixTime(unixTime: number): Date + namespace fromUnixTime {} + + function getDate(date: Date | number): number + namespace getDate {} + + function getDay(date: Date | number): 0 | 1 | 2 | 3 | 4 | 5 | 6 + namespace getDay {} + + function getDayOfYear(date: Date | number): number + namespace getDayOfYear {} + + function getDaysInMonth(date: Date | number): number + namespace getDaysInMonth {} + + function getDaysInYear(date: Date | number): number + namespace getDaysInYear {} + + function getDecade(date: Date | number): number + namespace getDecade {} + + function getDefaultOptions(): Object + namespace getDefaultOptions {} + + function getHours(date: Date | number): number + namespace getHours {} + + function getISODay(date: Date | number): number + namespace getISODay {} + + function getISOWeek(date: Date | number): number + namespace getISOWeek {} + + function getISOWeeksInYear(date: Date | number): number + namespace getISOWeeksInYear {} + + function getISOWeekYear(date: Date | number): number + namespace getISOWeekYear {} + + function getMilliseconds(date: Date | number): number + namespace getMilliseconds {} + + function getMinutes(date: Date | number): number + namespace getMinutes {} + + function getMonth(date: Date | number): number + namespace getMonth {} + + function getOverlappingDaysInIntervals( + intervalLeft: Interval, + intervalRight: Interval + ): number + namespace getOverlappingDaysInIntervals {} + + function getQuarter(date: Date | number): number + namespace getQuarter {} + + function getSeconds(date: Date | number): number + namespace getSeconds {} + + function getTime(date: Date | number): number + namespace getTime {} + + function getUnixTime(date: Date | number): number + namespace getUnixTime {} + + function getWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): number + namespace getWeek {} + + function getWeekOfMonth( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + namespace getWeekOfMonth {} + + function getWeeksInMonth( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + namespace getWeeksInMonth {} + + function getWeekYear( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): number + namespace getWeekYear {} + + function getYear(date: Date | number): number + namespace getYear {} + + function hoursToMilliseconds(hours: number): number + namespace hoursToMilliseconds {} + + function hoursToMinutes(hours: number): number + namespace hoursToMinutes {} + + function hoursToSeconds(hours: number): number + namespace hoursToSeconds {} + + function intervalToDuration(interval: Interval): Duration + namespace intervalToDuration {} + + function intlFormat( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit' + weekday?: 'narrow' | 'short' | 'long' + era?: 'narrow' | 'short' | 'long' + year?: 'numeric' | '2-digit' + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long' + day?: 'numeric' | '2-digit' + hour?: 'numeric' | '2-digit' + minute?: 'numeric' | '2-digit' + second?: 'numeric' | '2-digit' + timeZoneName?: 'short' | 'long' + formatMatcher?: 'basic' | 'best fit' + hour12?: boolean + timeZone?: string + }, + localeOptions?: { + locale?: string | string[] + } + ): string + namespace intlFormat {} + + function intlFormatDistance( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string + locale?: string | string[] + localeMatcher?: string + numeric?: string + style?: string + } + ): string + namespace intlFormatDistance {} + + function isAfter(date: Date | number, dateToCompare: Date | number): boolean + namespace isAfter {} + + function isBefore(date: Date | number, dateToCompare: Date | number): boolean + namespace isBefore {} + + function isDate(value: any): boolean + namespace isDate {} + + function isEqual(dateLeft: Date | number, dateRight: Date | number): boolean + namespace isEqual {} + + function isExists(year: number, month: number, day: number): boolean + namespace isExists {} + + function isFirstDayOfMonth(date: Date | number): boolean + namespace isFirstDayOfMonth {} + + function isFriday(date: Date | number): boolean + namespace isFriday {} + + function isFuture(date: Date | number): boolean + namespace isFuture {} + + function isLastDayOfMonth(date: Date | number): boolean + namespace isLastDayOfMonth {} + + function isLeapYear(date: Date | number): boolean + namespace isLeapYear {} + + function isMatch( + dateString: string, + formatString: string, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): boolean + namespace isMatch {} + + function isMonday(date: Date | number): boolean + namespace isMonday {} + + function isPast(date: Date | number): boolean + namespace isPast {} + + function isSameDay(dateLeft: Date | number, dateRight: Date | number): boolean + namespace isSameDay {} + + function isSameHour( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameHour {} + + function isSameISOWeek( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameISOWeek {} + + function isSameISOWeekYear( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameISOWeekYear {} + + function isSameMinute( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameMinute {} + + function isSameMonth( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameMonth {} + + function isSameQuarter( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameQuarter {} + + function isSameSecond( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameSecond {} + + function isSameWeek( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): boolean + namespace isSameWeek {} + + function isSameYear( + dateLeft: Date | number, + dateRight: Date | number + ): boolean + namespace isSameYear {} + + function isSaturday(date: Date | number): boolean + namespace isSaturday {} + + function isSunday(date: Date | number): boolean + namespace isSunday {} + + function isThisHour(date: Date | number): boolean + namespace isThisHour {} + + function isThisISOWeek(date: Date | number): boolean + namespace isThisISOWeek {} + + function isThisMinute(date: Date | number): boolean + namespace isThisMinute {} + + function isThisMonth(date: Date | number): boolean + namespace isThisMonth {} + + function isThisQuarter(date: Date | number): boolean + namespace isThisQuarter {} + + function isThisSecond(date: Date | number): boolean + namespace isThisSecond {} + + function isThisWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): boolean + namespace isThisWeek {} + + function isThisYear(date: Date | number): boolean + namespace isThisYear {} + + function isThursday(date: Date | number): boolean + namespace isThursday {} + + function isToday(date: Date | number): boolean + namespace isToday {} + + function isTomorrow(date: Date | number): boolean + namespace isTomorrow {} + + function isTuesday(date: Date | number): boolean + namespace isTuesday {} + + function isValid(date: any): boolean + namespace isValid {} + + function isWednesday(date: Date | number): boolean + namespace isWednesday {} + + function isWeekend(date: Date | number): boolean + namespace isWeekend {} + + function isWithinInterval(date: Date | number, interval: Interval): boolean + namespace isWithinInterval {} + + function isYesterday(date: Date | number): boolean + namespace isYesterday {} + + function lastDayOfDecade(date: Date | number): Date + namespace lastDayOfDecade {} + + function lastDayOfISOWeek(date: Date | number): Date + namespace lastDayOfISOWeek {} + + function lastDayOfISOWeekYear(date: Date | number): Date + namespace lastDayOfISOWeekYear {} + + function lastDayOfMonth(date: Date | number): Date + namespace lastDayOfMonth {} + + function lastDayOfQuarter( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + namespace lastDayOfQuarter {} + + function lastDayOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace lastDayOfWeek {} + + function lastDayOfYear(date: Date | number): Date + namespace lastDayOfYear {} + + function lightFormat(date: Date | number, format: string): string + namespace lightFormat {} + + function max(datesArray: (Date | number)[]): Date + namespace max {} + + function milliseconds(duration: Duration): number + namespace milliseconds {} + + function millisecondsToHours(milliseconds: number): number + namespace millisecondsToHours {} + + function millisecondsToMinutes(milliseconds: number): number + namespace millisecondsToMinutes {} + + function millisecondsToSeconds(milliseconds: number): number + namespace millisecondsToSeconds {} + + function min(datesArray: (Date | number)[]): Date + namespace min {} + + function minutesToHours(minutes: number): number + namespace minutesToHours {} + + function minutesToMilliseconds(minutes: number): number + namespace minutesToMilliseconds {} + + function minutesToSeconds(minutes: number): number + namespace minutesToSeconds {} + + function monthsToQuarters(months: number): number + namespace monthsToQuarters {} + + function monthsToYears(months: number): number + namespace monthsToYears {} + + function nextDay(date: Date | number, day: Day): Date + namespace nextDay {} + + function nextFriday(date: Date | number): Date + namespace nextFriday {} + + function nextMonday(date: Date | number): Date + namespace nextMonday {} + + function nextSaturday(date: Date | number): Date + namespace nextSaturday {} + + function nextSunday(date: Date | number): Date + namespace nextSunday {} + + function nextThursday(date: Date | number): Date + namespace nextThursday {} + + function nextTuesday(date: Date | number): Date + namespace nextTuesday {} + + function nextWednesday(date: Date | number): Date + namespace nextWednesday {} + + function parse( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): Date + namespace parse {} + + function parseISO( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + namespace parseISO {} + + function parseJSON(argument: string | number | Date): Date + namespace parseJSON {} + + function previousDay(date: Date | number, day: number): Date + namespace previousDay {} + + function previousFriday(date: Date | number): Date + namespace previousFriday {} + + function previousMonday(date: Date | number): Date + namespace previousMonday {} + + function previousSaturday(date: Date | number): Date + namespace previousSaturday {} + + function previousSunday(date: Date | number): Date + namespace previousSunday {} + + function previousThursday(date: Date | number): Date + namespace previousThursday {} + + function previousTuesday(date: Date | number): Date + namespace previousTuesday {} + + function previousWednesday(date: Date | number): Date + namespace previousWednesday {} + + function quartersToMonths(quarters: number): number + namespace quartersToMonths {} + + function quartersToYears(quarters: number): number + namespace quartersToYears {} + + function roundToNearestMinutes( + date: Date | number, + options?: { + nearestTo?: number + roundingMethod?: string + } + ): Date + namespace roundToNearestMinutes {} + + function secondsToHours(seconds: number): number + namespace secondsToHours {} + + function secondsToMilliseconds(seconds: number): number + namespace secondsToMilliseconds {} + + function secondsToMinutes(seconds: number): number + namespace secondsToMinutes {} + + function set( + date: Date | number, + values: { + year?: number + month?: number + date?: number + hours?: number + minutes?: number + seconds?: number + milliseconds?: number + } + ): Date + namespace set {} + + function setDate(date: Date | number, dayOfMonth: number): Date + namespace setDate {} + + function setDay( + date: Date | number, + day: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace setDay {} + + function setDayOfYear(date: Date | number, dayOfYear: number): Date + namespace setDayOfYear {} + + function setDefaultOptions(newOptions: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + }): void + namespace setDefaultOptions {} + + function setHours(date: Date | number, hours: number): Date + namespace setHours {} + + function setISODay(date: Date | number, day: number): Date + namespace setISODay {} + + function setISOWeek(date: Date | number, isoWeek: number): Date + namespace setISOWeek {} + + function setISOWeekYear(date: Date | number, isoWeekYear: number): Date + namespace setISOWeekYear {} + + function setMilliseconds(date: Date | number, milliseconds: number): Date + namespace setMilliseconds {} + + function setMinutes(date: Date | number, minutes: number): Date + namespace setMinutes {} + + function setMonth(date: Date | number, month: number): Date + namespace setMonth {} + + function setQuarter(date: Date | number, quarter: number): Date + namespace setQuarter {} + + function setSeconds(date: Date | number, seconds: number): Date + namespace setSeconds {} + + function setWeek( + date: Date | number, + week: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + namespace setWeek {} + + function setWeekYear( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + namespace setWeekYear {} + + function setYear(date: Date | number, year: number): Date + namespace setYear {} + + function startOfDay(date: Date | number): Date + namespace startOfDay {} + + function startOfDecade(date: Date | number): Date + namespace startOfDecade {} + + function startOfHour(date: Date | number): Date + namespace startOfHour {} + + function startOfISOWeek(date: Date | number): Date + namespace startOfISOWeek {} + + function startOfISOWeekYear(date: Date | number): Date + namespace startOfISOWeekYear {} + + function startOfMinute(date: Date | number): Date + namespace startOfMinute {} + + function startOfMonth(date: Date | number): Date + namespace startOfMonth {} + + function startOfQuarter(date: Date | number): Date + namespace startOfQuarter {} + + function startOfSecond(date: Date | number): Date + namespace startOfSecond {} + + function startOfToday(): Date + namespace startOfToday {} + + function startOfTomorrow(): Date + namespace startOfTomorrow {} + + function startOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + namespace startOfWeek {} + + function startOfWeekYear( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + namespace startOfWeekYear {} + + function startOfYear(date: Date | number): Date + namespace startOfYear {} + + function startOfYesterday(): Date + namespace startOfYesterday {} + + function sub(date: Date | number, duration: Duration): Date + namespace sub {} + + function subBusinessDays(date: Date | number, amount: number): Date + namespace subBusinessDays {} + + function subDays(date: Date | number, amount: number): Date + namespace subDays {} + + function subHours(date: Date | number, amount: number): Date + namespace subHours {} + + function subISOWeekYears(date: Date | number, amount: number): Date + namespace subISOWeekYears {} + + function subMilliseconds(date: Date | number, amount: number): Date + namespace subMilliseconds {} + + function subMinutes(date: Date | number, amount: number): Date + namespace subMinutes {} + + function subMonths(date: Date | number, amount: number): Date + namespace subMonths {} + + function subQuarters(date: Date | number, amount: number): Date + namespace subQuarters {} + + function subSeconds(date: Date | number, amount: number): Date + namespace subSeconds {} + + function subWeeks(date: Date | number, amount: number): Date + namespace subWeeks {} + + function subYears(date: Date | number, amount: number): Date + namespace subYears {} + + function toDate(argument: Date | number): Date + namespace toDate {} + + function weeksToDays(weeks: number): number + namespace weeksToDays {} + + function yearsToMonths(years: number): number + namespace yearsToMonths {} + + function yearsToQuarters(years: number): number + namespace yearsToQuarters {} + + const daysInWeek: number + + const daysInYear: number + + const maxTime: number + + const millisecondsInMinute: number + + const millisecondsInHour: number + + const millisecondsInSecond: number + + const minTime: number + + const minutesInHour: number + + const monthsInQuarter: number + + const monthsInYear: number + + const quartersInYear: number + + const secondsInHour: number + + const secondsInMinute: number + + const secondsInDay: number + + const secondsInWeek: number + + const secondsInYear: number + + const secondsInMonth: number + + const secondsInQuarter: number +} + +declare module 'date-fns/esm/add' { + import { add } from 'date-fns/esm' + export default add +} + +declare module 'date-fns/esm/addBusinessDays' { + import { addBusinessDays } from 'date-fns/esm' + export default addBusinessDays +} + +declare module 'date-fns/esm/addDays' { + import { addDays } from 'date-fns/esm' + export default addDays +} + +declare module 'date-fns/esm/addHours' { + import { addHours } from 'date-fns/esm' + export default addHours +} + +declare module 'date-fns/esm/addISOWeekYears' { + import { addISOWeekYears } from 'date-fns/esm' + export default addISOWeekYears +} + +declare module 'date-fns/esm/addMilliseconds' { + import { addMilliseconds } from 'date-fns/esm' + export default addMilliseconds +} + +declare module 'date-fns/esm/addMinutes' { + import { addMinutes } from 'date-fns/esm' + export default addMinutes +} + +declare module 'date-fns/esm/addMonths' { + import { addMonths } from 'date-fns/esm' + export default addMonths +} + +declare module 'date-fns/esm/addQuarters' { + import { addQuarters } from 'date-fns/esm' + export default addQuarters +} + +declare module 'date-fns/esm/addSeconds' { + import { addSeconds } from 'date-fns/esm' + export default addSeconds +} + +declare module 'date-fns/esm/addWeeks' { + import { addWeeks } from 'date-fns/esm' + export default addWeeks +} + +declare module 'date-fns/esm/addYears' { + import { addYears } from 'date-fns/esm' + export default addYears +} + +declare module 'date-fns/esm/areIntervalsOverlapping' { + import { areIntervalsOverlapping } from 'date-fns/esm' + export default areIntervalsOverlapping +} + +declare module 'date-fns/esm/clamp' { + import { clamp } from 'date-fns/esm' + export default clamp +} + +declare module 'date-fns/esm/closestIndexTo' { + import { closestIndexTo } from 'date-fns/esm' + export default closestIndexTo +} + +declare module 'date-fns/esm/closestTo' { + import { closestTo } from 'date-fns/esm' + export default closestTo +} + +declare module 'date-fns/esm/compareAsc' { + import { compareAsc } from 'date-fns/esm' + export default compareAsc +} + +declare module 'date-fns/esm/compareDesc' { + import { compareDesc } from 'date-fns/esm' + export default compareDesc +} + +declare module 'date-fns/esm/daysToWeeks' { + import { daysToWeeks } from 'date-fns/esm' + export default daysToWeeks +} + +declare module 'date-fns/esm/differenceInBusinessDays' { + import { differenceInBusinessDays } from 'date-fns/esm' + export default differenceInBusinessDays +} + +declare module 'date-fns/esm/differenceInCalendarDays' { + import { differenceInCalendarDays } from 'date-fns/esm' + export default differenceInCalendarDays +} + +declare module 'date-fns/esm/differenceInCalendarISOWeeks' { + import { differenceInCalendarISOWeeks } from 'date-fns/esm' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/esm/differenceInCalendarISOWeekYears' { + import { differenceInCalendarISOWeekYears } from 'date-fns/esm' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/esm/differenceInCalendarMonths' { + import { differenceInCalendarMonths } from 'date-fns/esm' + export default differenceInCalendarMonths +} + +declare module 'date-fns/esm/differenceInCalendarQuarters' { + import { differenceInCalendarQuarters } from 'date-fns/esm' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/esm/differenceInCalendarWeeks' { + import { differenceInCalendarWeeks } from 'date-fns/esm' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/esm/differenceInCalendarYears' { + import { differenceInCalendarYears } from 'date-fns/esm' + export default differenceInCalendarYears +} + +declare module 'date-fns/esm/differenceInDays' { + import { differenceInDays } from 'date-fns/esm' + export default differenceInDays +} + +declare module 'date-fns/esm/differenceInHours' { + import { differenceInHours } from 'date-fns/esm' + export default differenceInHours +} + +declare module 'date-fns/esm/differenceInISOWeekYears' { + import { differenceInISOWeekYears } from 'date-fns/esm' + export default differenceInISOWeekYears +} + +declare module 'date-fns/esm/differenceInMilliseconds' { + import { differenceInMilliseconds } from 'date-fns/esm' + export default differenceInMilliseconds +} + +declare module 'date-fns/esm/differenceInMinutes' { + import { differenceInMinutes } from 'date-fns/esm' + export default differenceInMinutes +} + +declare module 'date-fns/esm/differenceInMonths' { + import { differenceInMonths } from 'date-fns/esm' + export default differenceInMonths +} + +declare module 'date-fns/esm/differenceInQuarters' { + import { differenceInQuarters } from 'date-fns/esm' + export default differenceInQuarters +} + +declare module 'date-fns/esm/differenceInSeconds' { + import { differenceInSeconds } from 'date-fns/esm' + export default differenceInSeconds +} + +declare module 'date-fns/esm/differenceInWeeks' { + import { differenceInWeeks } from 'date-fns/esm' + export default differenceInWeeks +} + +declare module 'date-fns/esm/differenceInYears' { + import { differenceInYears } from 'date-fns/esm' + export default differenceInYears +} + +declare module 'date-fns/esm/eachDayOfInterval' { + import { eachDayOfInterval } from 'date-fns/esm' + export default eachDayOfInterval +} + +declare module 'date-fns/esm/eachHourOfInterval' { + import { eachHourOfInterval } from 'date-fns/esm' + export default eachHourOfInterval +} + +declare module 'date-fns/esm/eachMinuteOfInterval' { + import { eachMinuteOfInterval } from 'date-fns/esm' + export default eachMinuteOfInterval +} + +declare module 'date-fns/esm/eachMonthOfInterval' { + import { eachMonthOfInterval } from 'date-fns/esm' + export default eachMonthOfInterval +} + +declare module 'date-fns/esm/eachQuarterOfInterval' { + import { eachQuarterOfInterval } from 'date-fns/esm' + export default eachQuarterOfInterval +} + +declare module 'date-fns/esm/eachWeekendOfInterval' { + import { eachWeekendOfInterval } from 'date-fns/esm' + export default eachWeekendOfInterval +} + +declare module 'date-fns/esm/eachWeekendOfMonth' { + import { eachWeekendOfMonth } from 'date-fns/esm' + export default eachWeekendOfMonth +} + +declare module 'date-fns/esm/eachWeekendOfYear' { + import { eachWeekendOfYear } from 'date-fns/esm' + export default eachWeekendOfYear +} + +declare module 'date-fns/esm/eachWeekOfInterval' { + import { eachWeekOfInterval } from 'date-fns/esm' + export default eachWeekOfInterval +} + +declare module 'date-fns/esm/eachYearOfInterval' { + import { eachYearOfInterval } from 'date-fns/esm' + export default eachYearOfInterval +} + +declare module 'date-fns/esm/endOfDay' { + import { endOfDay } from 'date-fns/esm' + export default endOfDay +} + +declare module 'date-fns/esm/endOfDecade' { + import { endOfDecade } from 'date-fns/esm' + export default endOfDecade +} + +declare module 'date-fns/esm/endOfHour' { + import { endOfHour } from 'date-fns/esm' + export default endOfHour +} + +declare module 'date-fns/esm/endOfISOWeek' { + import { endOfISOWeek } from 'date-fns/esm' + export default endOfISOWeek +} + +declare module 'date-fns/esm/endOfISOWeekYear' { + import { endOfISOWeekYear } from 'date-fns/esm' + export default endOfISOWeekYear +} + +declare module 'date-fns/esm/endOfMinute' { + import { endOfMinute } from 'date-fns/esm' + export default endOfMinute +} + +declare module 'date-fns/esm/endOfMonth' { + import { endOfMonth } from 'date-fns/esm' + export default endOfMonth +} + +declare module 'date-fns/esm/endOfQuarter' { + import { endOfQuarter } from 'date-fns/esm' + export default endOfQuarter +} + +declare module 'date-fns/esm/endOfSecond' { + import { endOfSecond } from 'date-fns/esm' + export default endOfSecond +} + +declare module 'date-fns/esm/endOfToday' { + import { endOfToday } from 'date-fns/esm' + export default endOfToday +} + +declare module 'date-fns/esm/endOfTomorrow' { + import { endOfTomorrow } from 'date-fns/esm' + export default endOfTomorrow +} + +declare module 'date-fns/esm/endOfWeek' { + import { endOfWeek } from 'date-fns/esm' + export default endOfWeek +} + +declare module 'date-fns/esm/endOfYear' { + import { endOfYear } from 'date-fns/esm' + export default endOfYear +} + +declare module 'date-fns/esm/endOfYesterday' { + import { endOfYesterday } from 'date-fns/esm' + export default endOfYesterday +} + +declare module 'date-fns/esm/format' { + import { format } from 'date-fns/esm' + export default format +} + +declare module 'date-fns/esm/formatDistance' { + import { formatDistance } from 'date-fns/esm' + export default formatDistance +} + +declare module 'date-fns/esm/formatDistanceStrict' { + import { formatDistanceStrict } from 'date-fns/esm' + export default formatDistanceStrict +} + +declare module 'date-fns/esm/formatDistanceToNow' { + import { formatDistanceToNow } from 'date-fns/esm' + export default formatDistanceToNow +} + +declare module 'date-fns/esm/formatDistanceToNowStrict' { + import { formatDistanceToNowStrict } from 'date-fns/esm' + export default formatDistanceToNowStrict +} + +declare module 'date-fns/esm/formatDuration' { + import { formatDuration } from 'date-fns/esm' + export default formatDuration +} + +declare module 'date-fns/esm/formatISO' { + import { formatISO } from 'date-fns/esm' + export default formatISO +} + +declare module 'date-fns/esm/formatISO9075' { + import { formatISO9075 } from 'date-fns/esm' + export default formatISO9075 +} + +declare module 'date-fns/esm/formatISODuration' { + import { formatISODuration } from 'date-fns/esm' + export default formatISODuration +} + +declare module 'date-fns/esm/formatRelative' { + import { formatRelative } from 'date-fns/esm' + export default formatRelative +} + +declare module 'date-fns/esm/formatRFC3339' { + import { formatRFC3339 } from 'date-fns/esm' + export default formatRFC3339 +} + +declare module 'date-fns/esm/formatRFC7231' { + import { formatRFC7231 } from 'date-fns/esm' + export default formatRFC7231 +} + +declare module 'date-fns/esm/fromUnixTime' { + import { fromUnixTime } from 'date-fns/esm' + export default fromUnixTime +} + +declare module 'date-fns/esm/getDate' { + import { getDate } from 'date-fns/esm' + export default getDate +} + +declare module 'date-fns/esm/getDay' { + import { getDay } from 'date-fns/esm' + export default getDay +} + +declare module 'date-fns/esm/getDayOfYear' { + import { getDayOfYear } from 'date-fns/esm' + export default getDayOfYear +} + +declare module 'date-fns/esm/getDaysInMonth' { + import { getDaysInMonth } from 'date-fns/esm' + export default getDaysInMonth +} + +declare module 'date-fns/esm/getDaysInYear' { + import { getDaysInYear } from 'date-fns/esm' + export default getDaysInYear +} + +declare module 'date-fns/esm/getDecade' { + import { getDecade } from 'date-fns/esm' + export default getDecade +} + +declare module 'date-fns/esm/getDefaultOptions' { + import { getDefaultOptions } from 'date-fns/esm' + export default getDefaultOptions +} + +declare module 'date-fns/esm/getHours' { + import { getHours } from 'date-fns/esm' + export default getHours +} + +declare module 'date-fns/esm/getISODay' { + import { getISODay } from 'date-fns/esm' + export default getISODay +} + +declare module 'date-fns/esm/getISOWeek' { + import { getISOWeek } from 'date-fns/esm' + export default getISOWeek +} + +declare module 'date-fns/esm/getISOWeeksInYear' { + import { getISOWeeksInYear } from 'date-fns/esm' + export default getISOWeeksInYear +} + +declare module 'date-fns/esm/getISOWeekYear' { + import { getISOWeekYear } from 'date-fns/esm' + export default getISOWeekYear +} + +declare module 'date-fns/esm/getMilliseconds' { + import { getMilliseconds } from 'date-fns/esm' + export default getMilliseconds +} + +declare module 'date-fns/esm/getMinutes' { + import { getMinutes } from 'date-fns/esm' + export default getMinutes +} + +declare module 'date-fns/esm/getMonth' { + import { getMonth } from 'date-fns/esm' + export default getMonth +} + +declare module 'date-fns/esm/getOverlappingDaysInIntervals' { + import { getOverlappingDaysInIntervals } from 'date-fns/esm' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/esm/getQuarter' { + import { getQuarter } from 'date-fns/esm' + export default getQuarter +} + +declare module 'date-fns/esm/getSeconds' { + import { getSeconds } from 'date-fns/esm' + export default getSeconds +} + +declare module 'date-fns/esm/getTime' { + import { getTime } from 'date-fns/esm' + export default getTime +} + +declare module 'date-fns/esm/getUnixTime' { + import { getUnixTime } from 'date-fns/esm' + export default getUnixTime +} + +declare module 'date-fns/esm/getWeek' { + import { getWeek } from 'date-fns/esm' + export default getWeek +} + +declare module 'date-fns/esm/getWeekOfMonth' { + import { getWeekOfMonth } from 'date-fns/esm' + export default getWeekOfMonth +} + +declare module 'date-fns/esm/getWeeksInMonth' { + import { getWeeksInMonth } from 'date-fns/esm' + export default getWeeksInMonth +} + +declare module 'date-fns/esm/getWeekYear' { + import { getWeekYear } from 'date-fns/esm' + export default getWeekYear +} + +declare module 'date-fns/esm/getYear' { + import { getYear } from 'date-fns/esm' + export default getYear +} + +declare module 'date-fns/esm/hoursToMilliseconds' { + import { hoursToMilliseconds } from 'date-fns/esm' + export default hoursToMilliseconds +} + +declare module 'date-fns/esm/hoursToMinutes' { + import { hoursToMinutes } from 'date-fns/esm' + export default hoursToMinutes +} + +declare module 'date-fns/esm/hoursToSeconds' { + import { hoursToSeconds } from 'date-fns/esm' + export default hoursToSeconds +} + +declare module 'date-fns/esm/intervalToDuration' { + import { intervalToDuration } from 'date-fns/esm' + export default intervalToDuration +} + +declare module 'date-fns/esm/intlFormat' { + import { intlFormat } from 'date-fns/esm' + export default intlFormat +} + +declare module 'date-fns/esm/intlFormatDistance' { + import { intlFormatDistance } from 'date-fns/esm' + export default intlFormatDistance +} + +declare module 'date-fns/esm/isAfter' { + import { isAfter } from 'date-fns/esm' + export default isAfter +} + +declare module 'date-fns/esm/isBefore' { + import { isBefore } from 'date-fns/esm' + export default isBefore +} + +declare module 'date-fns/esm/isDate' { + import { isDate } from 'date-fns/esm' + export default isDate +} + +declare module 'date-fns/esm/isEqual' { + import { isEqual } from 'date-fns/esm' + export default isEqual +} + +declare module 'date-fns/esm/isExists' { + import { isExists } from 'date-fns/esm' + export default isExists +} + +declare module 'date-fns/esm/isFirstDayOfMonth' { + import { isFirstDayOfMonth } from 'date-fns/esm' + export default isFirstDayOfMonth +} + +declare module 'date-fns/esm/isFriday' { + import { isFriday } from 'date-fns/esm' + export default isFriday +} + +declare module 'date-fns/esm/isFuture' { + import { isFuture } from 'date-fns/esm' + export default isFuture +} + +declare module 'date-fns/esm/isLastDayOfMonth' { + import { isLastDayOfMonth } from 'date-fns/esm' + export default isLastDayOfMonth +} + +declare module 'date-fns/esm/isLeapYear' { + import { isLeapYear } from 'date-fns/esm' + export default isLeapYear +} + +declare module 'date-fns/esm/isMatch' { + import { isMatch } from 'date-fns/esm' + export default isMatch +} + +declare module 'date-fns/esm/isMonday' { + import { isMonday } from 'date-fns/esm' + export default isMonday +} + +declare module 'date-fns/esm/isPast' { + import { isPast } from 'date-fns/esm' + export default isPast +} + +declare module 'date-fns/esm/isSameDay' { + import { isSameDay } from 'date-fns/esm' + export default isSameDay +} + +declare module 'date-fns/esm/isSameHour' { + import { isSameHour } from 'date-fns/esm' + export default isSameHour +} + +declare module 'date-fns/esm/isSameISOWeek' { + import { isSameISOWeek } from 'date-fns/esm' + export default isSameISOWeek +} + +declare module 'date-fns/esm/isSameISOWeekYear' { + import { isSameISOWeekYear } from 'date-fns/esm' + export default isSameISOWeekYear +} + +declare module 'date-fns/esm/isSameMinute' { + import { isSameMinute } from 'date-fns/esm' + export default isSameMinute +} + +declare module 'date-fns/esm/isSameMonth' { + import { isSameMonth } from 'date-fns/esm' + export default isSameMonth +} + +declare module 'date-fns/esm/isSameQuarter' { + import { isSameQuarter } from 'date-fns/esm' + export default isSameQuarter +} + +declare module 'date-fns/esm/isSameSecond' { + import { isSameSecond } from 'date-fns/esm' + export default isSameSecond +} + +declare module 'date-fns/esm/isSameWeek' { + import { isSameWeek } from 'date-fns/esm' + export default isSameWeek +} + +declare module 'date-fns/esm/isSameYear' { + import { isSameYear } from 'date-fns/esm' + export default isSameYear +} + +declare module 'date-fns/esm/isSaturday' { + import { isSaturday } from 'date-fns/esm' + export default isSaturday +} + +declare module 'date-fns/esm/isSunday' { + import { isSunday } from 'date-fns/esm' + export default isSunday +} + +declare module 'date-fns/esm/isThisHour' { + import { isThisHour } from 'date-fns/esm' + export default isThisHour +} + +declare module 'date-fns/esm/isThisISOWeek' { + import { isThisISOWeek } from 'date-fns/esm' + export default isThisISOWeek +} + +declare module 'date-fns/esm/isThisMinute' { + import { isThisMinute } from 'date-fns/esm' + export default isThisMinute +} + +declare module 'date-fns/esm/isThisMonth' { + import { isThisMonth } from 'date-fns/esm' + export default isThisMonth +} + +declare module 'date-fns/esm/isThisQuarter' { + import { isThisQuarter } from 'date-fns/esm' + export default isThisQuarter +} + +declare module 'date-fns/esm/isThisSecond' { + import { isThisSecond } from 'date-fns/esm' + export default isThisSecond +} + +declare module 'date-fns/esm/isThisWeek' { + import { isThisWeek } from 'date-fns/esm' + export default isThisWeek +} + +declare module 'date-fns/esm/isThisYear' { + import { isThisYear } from 'date-fns/esm' + export default isThisYear +} + +declare module 'date-fns/esm/isThursday' { + import { isThursday } from 'date-fns/esm' + export default isThursday +} + +declare module 'date-fns/esm/isToday' { + import { isToday } from 'date-fns/esm' + export default isToday +} + +declare module 'date-fns/esm/isTomorrow' { + import { isTomorrow } from 'date-fns/esm' + export default isTomorrow +} + +declare module 'date-fns/esm/isTuesday' { + import { isTuesday } from 'date-fns/esm' + export default isTuesday +} + +declare module 'date-fns/esm/isValid' { + import { isValid } from 'date-fns/esm' + export default isValid +} + +declare module 'date-fns/esm/isWednesday' { + import { isWednesday } from 'date-fns/esm' + export default isWednesday +} + +declare module 'date-fns/esm/isWeekend' { + import { isWeekend } from 'date-fns/esm' + export default isWeekend +} + +declare module 'date-fns/esm/isWithinInterval' { + import { isWithinInterval } from 'date-fns/esm' + export default isWithinInterval +} + +declare module 'date-fns/esm/isYesterday' { + import { isYesterday } from 'date-fns/esm' + export default isYesterday +} + +declare module 'date-fns/esm/lastDayOfDecade' { + import { lastDayOfDecade } from 'date-fns/esm' + export default lastDayOfDecade +} + +declare module 'date-fns/esm/lastDayOfISOWeek' { + import { lastDayOfISOWeek } from 'date-fns/esm' + export default lastDayOfISOWeek +} + +declare module 'date-fns/esm/lastDayOfISOWeekYear' { + import { lastDayOfISOWeekYear } from 'date-fns/esm' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/esm/lastDayOfMonth' { + import { lastDayOfMonth } from 'date-fns/esm' + export default lastDayOfMonth +} + +declare module 'date-fns/esm/lastDayOfQuarter' { + import { lastDayOfQuarter } from 'date-fns/esm' + export default lastDayOfQuarter +} + +declare module 'date-fns/esm/lastDayOfWeek' { + import { lastDayOfWeek } from 'date-fns/esm' + export default lastDayOfWeek +} + +declare module 'date-fns/esm/lastDayOfYear' { + import { lastDayOfYear } from 'date-fns/esm' + export default lastDayOfYear +} + +declare module 'date-fns/esm/lightFormat' { + import { lightFormat } from 'date-fns/esm' + export default lightFormat +} + +declare module 'date-fns/esm/max' { + import { max } from 'date-fns/esm' + export default max +} + +declare module 'date-fns/esm/milliseconds' { + import { milliseconds } from 'date-fns/esm' + export default milliseconds +} + +declare module 'date-fns/esm/millisecondsToHours' { + import { millisecondsToHours } from 'date-fns/esm' + export default millisecondsToHours +} + +declare module 'date-fns/esm/millisecondsToMinutes' { + import { millisecondsToMinutes } from 'date-fns/esm' + export default millisecondsToMinutes +} + +declare module 'date-fns/esm/millisecondsToSeconds' { + import { millisecondsToSeconds } from 'date-fns/esm' + export default millisecondsToSeconds +} + +declare module 'date-fns/esm/min' { + import { min } from 'date-fns/esm' + export default min +} + +declare module 'date-fns/esm/minutesToHours' { + import { minutesToHours } from 'date-fns/esm' + export default minutesToHours +} + +declare module 'date-fns/esm/minutesToMilliseconds' { + import { minutesToMilliseconds } from 'date-fns/esm' + export default minutesToMilliseconds +} + +declare module 'date-fns/esm/minutesToSeconds' { + import { minutesToSeconds } from 'date-fns/esm' + export default minutesToSeconds +} + +declare module 'date-fns/esm/monthsToQuarters' { + import { monthsToQuarters } from 'date-fns/esm' + export default monthsToQuarters +} + +declare module 'date-fns/esm/monthsToYears' { + import { monthsToYears } from 'date-fns/esm' + export default monthsToYears +} + +declare module 'date-fns/esm/nextDay' { + import { nextDay } from 'date-fns/esm' + export default nextDay +} + +declare module 'date-fns/esm/nextFriday' { + import { nextFriday } from 'date-fns/esm' + export default nextFriday +} + +declare module 'date-fns/esm/nextMonday' { + import { nextMonday } from 'date-fns/esm' + export default nextMonday +} + +declare module 'date-fns/esm/nextSaturday' { + import { nextSaturday } from 'date-fns/esm' + export default nextSaturday +} + +declare module 'date-fns/esm/nextSunday' { + import { nextSunday } from 'date-fns/esm' + export default nextSunday +} + +declare module 'date-fns/esm/nextThursday' { + import { nextThursday } from 'date-fns/esm' + export default nextThursday +} + +declare module 'date-fns/esm/nextTuesday' { + import { nextTuesday } from 'date-fns/esm' + export default nextTuesday +} + +declare module 'date-fns/esm/nextWednesday' { + import { nextWednesday } from 'date-fns/esm' + export default nextWednesday +} + +declare module 'date-fns/esm/parse' { + import { parse } from 'date-fns/esm' + export default parse +} + +declare module 'date-fns/esm/parseISO' { + import { parseISO } from 'date-fns/esm' + export default parseISO +} + +declare module 'date-fns/esm/parseJSON' { + import { parseJSON } from 'date-fns/esm' + export default parseJSON +} + +declare module 'date-fns/esm/previousDay' { + import { previousDay } from 'date-fns/esm' + export default previousDay +} + +declare module 'date-fns/esm/previousFriday' { + import { previousFriday } from 'date-fns/esm' + export default previousFriday +} + +declare module 'date-fns/esm/previousMonday' { + import { previousMonday } from 'date-fns/esm' + export default previousMonday +} + +declare module 'date-fns/esm/previousSaturday' { + import { previousSaturday } from 'date-fns/esm' + export default previousSaturday +} + +declare module 'date-fns/esm/previousSunday' { + import { previousSunday } from 'date-fns/esm' + export default previousSunday +} + +declare module 'date-fns/esm/previousThursday' { + import { previousThursday } from 'date-fns/esm' + export default previousThursday +} + +declare module 'date-fns/esm/previousTuesday' { + import { previousTuesday } from 'date-fns/esm' + export default previousTuesday +} + +declare module 'date-fns/esm/previousWednesday' { + import { previousWednesday } from 'date-fns/esm' + export default previousWednesday +} + +declare module 'date-fns/esm/quartersToMonths' { + import { quartersToMonths } from 'date-fns/esm' + export default quartersToMonths +} + +declare module 'date-fns/esm/quartersToYears' { + import { quartersToYears } from 'date-fns/esm' + export default quartersToYears +} + +declare module 'date-fns/esm/roundToNearestMinutes' { + import { roundToNearestMinutes } from 'date-fns/esm' + export default roundToNearestMinutes +} + +declare module 'date-fns/esm/secondsToHours' { + import { secondsToHours } from 'date-fns/esm' + export default secondsToHours +} + +declare module 'date-fns/esm/secondsToMilliseconds' { + import { secondsToMilliseconds } from 'date-fns/esm' + export default secondsToMilliseconds +} + +declare module 'date-fns/esm/secondsToMinutes' { + import { secondsToMinutes } from 'date-fns/esm' + export default secondsToMinutes +} + +declare module 'date-fns/esm/set' { + import { set } from 'date-fns/esm' + export default set +} + +declare module 'date-fns/esm/setDate' { + import { setDate } from 'date-fns/esm' + export default setDate +} + +declare module 'date-fns/esm/setDay' { + import { setDay } from 'date-fns/esm' + export default setDay +} + +declare module 'date-fns/esm/setDayOfYear' { + import { setDayOfYear } from 'date-fns/esm' + export default setDayOfYear +} + +declare module 'date-fns/esm/setDefaultOptions' { + import { setDefaultOptions } from 'date-fns/esm' + export default setDefaultOptions +} + +declare module 'date-fns/esm/setHours' { + import { setHours } from 'date-fns/esm' + export default setHours +} + +declare module 'date-fns/esm/setISODay' { + import { setISODay } from 'date-fns/esm' + export default setISODay +} + +declare module 'date-fns/esm/setISOWeek' { + import { setISOWeek } from 'date-fns/esm' + export default setISOWeek +} + +declare module 'date-fns/esm/setISOWeekYear' { + import { setISOWeekYear } from 'date-fns/esm' + export default setISOWeekYear +} + +declare module 'date-fns/esm/setMilliseconds' { + import { setMilliseconds } from 'date-fns/esm' + export default setMilliseconds +} + +declare module 'date-fns/esm/setMinutes' { + import { setMinutes } from 'date-fns/esm' + export default setMinutes +} + +declare module 'date-fns/esm/setMonth' { + import { setMonth } from 'date-fns/esm' + export default setMonth +} + +declare module 'date-fns/esm/setQuarter' { + import { setQuarter } from 'date-fns/esm' + export default setQuarter +} + +declare module 'date-fns/esm/setSeconds' { + import { setSeconds } from 'date-fns/esm' + export default setSeconds +} + +declare module 'date-fns/esm/setWeek' { + import { setWeek } from 'date-fns/esm' + export default setWeek +} + +declare module 'date-fns/esm/setWeekYear' { + import { setWeekYear } from 'date-fns/esm' + export default setWeekYear +} + +declare module 'date-fns/esm/setYear' { + import { setYear } from 'date-fns/esm' + export default setYear +} + +declare module 'date-fns/esm/startOfDay' { + import { startOfDay } from 'date-fns/esm' + export default startOfDay +} + +declare module 'date-fns/esm/startOfDecade' { + import { startOfDecade } from 'date-fns/esm' + export default startOfDecade +} + +declare module 'date-fns/esm/startOfHour' { + import { startOfHour } from 'date-fns/esm' + export default startOfHour +} + +declare module 'date-fns/esm/startOfISOWeek' { + import { startOfISOWeek } from 'date-fns/esm' + export default startOfISOWeek +} + +declare module 'date-fns/esm/startOfISOWeekYear' { + import { startOfISOWeekYear } from 'date-fns/esm' + export default startOfISOWeekYear +} + +declare module 'date-fns/esm/startOfMinute' { + import { startOfMinute } from 'date-fns/esm' + export default startOfMinute +} + +declare module 'date-fns/esm/startOfMonth' { + import { startOfMonth } from 'date-fns/esm' + export default startOfMonth +} + +declare module 'date-fns/esm/startOfQuarter' { + import { startOfQuarter } from 'date-fns/esm' + export default startOfQuarter +} + +declare module 'date-fns/esm/startOfSecond' { + import { startOfSecond } from 'date-fns/esm' + export default startOfSecond +} + +declare module 'date-fns/esm/startOfToday' { + import { startOfToday } from 'date-fns/esm' + export default startOfToday +} + +declare module 'date-fns/esm/startOfTomorrow' { + import { startOfTomorrow } from 'date-fns/esm' + export default startOfTomorrow +} + +declare module 'date-fns/esm/startOfWeek' { + import { startOfWeek } from 'date-fns/esm' + export default startOfWeek +} + +declare module 'date-fns/esm/startOfWeekYear' { + import { startOfWeekYear } from 'date-fns/esm' + export default startOfWeekYear +} + +declare module 'date-fns/esm/startOfYear' { + import { startOfYear } from 'date-fns/esm' + export default startOfYear +} + +declare module 'date-fns/esm/startOfYesterday' { + import { startOfYesterday } from 'date-fns/esm' + export default startOfYesterday +} + +declare module 'date-fns/esm/sub' { + import { sub } from 'date-fns/esm' + export default sub +} + +declare module 'date-fns/esm/subBusinessDays' { + import { subBusinessDays } from 'date-fns/esm' + export default subBusinessDays +} + +declare module 'date-fns/esm/subDays' { + import { subDays } from 'date-fns/esm' + export default subDays +} + +declare module 'date-fns/esm/subHours' { + import { subHours } from 'date-fns/esm' + export default subHours +} + +declare module 'date-fns/esm/subISOWeekYears' { + import { subISOWeekYears } from 'date-fns/esm' + export default subISOWeekYears +} + +declare module 'date-fns/esm/subMilliseconds' { + import { subMilliseconds } from 'date-fns/esm' + export default subMilliseconds +} + +declare module 'date-fns/esm/subMinutes' { + import { subMinutes } from 'date-fns/esm' + export default subMinutes +} + +declare module 'date-fns/esm/subMonths' { + import { subMonths } from 'date-fns/esm' + export default subMonths +} + +declare module 'date-fns/esm/subQuarters' { + import { subQuarters } from 'date-fns/esm' + export default subQuarters +} + +declare module 'date-fns/esm/subSeconds' { + import { subSeconds } from 'date-fns/esm' + export default subSeconds +} + +declare module 'date-fns/esm/subWeeks' { + import { subWeeks } from 'date-fns/esm' + export default subWeeks +} + +declare module 'date-fns/esm/subYears' { + import { subYears } from 'date-fns/esm' + export default subYears +} + +declare module 'date-fns/esm/toDate' { + import { toDate } from 'date-fns/esm' + export default toDate +} + +declare module 'date-fns/esm/weeksToDays' { + import { weeksToDays } from 'date-fns/esm' + export default weeksToDays +} + +declare module 'date-fns/esm/yearsToMonths' { + import { yearsToMonths } from 'date-fns/esm' + export default yearsToMonths +} + +declare module 'date-fns/esm/yearsToQuarters' { + import { yearsToQuarters } from 'date-fns/esm' + export default yearsToQuarters +} + +declare module 'date-fns/esm/add/index' { + import { add } from 'date-fns/esm' + export default add +} + +declare module 'date-fns/esm/addBusinessDays/index' { + import { addBusinessDays } from 'date-fns/esm' + export default addBusinessDays +} + +declare module 'date-fns/esm/addDays/index' { + import { addDays } from 'date-fns/esm' + export default addDays +} + +declare module 'date-fns/esm/addHours/index' { + import { addHours } from 'date-fns/esm' + export default addHours +} + +declare module 'date-fns/esm/addISOWeekYears/index' { + import { addISOWeekYears } from 'date-fns/esm' + export default addISOWeekYears +} + +declare module 'date-fns/esm/addMilliseconds/index' { + import { addMilliseconds } from 'date-fns/esm' + export default addMilliseconds +} + +declare module 'date-fns/esm/addMinutes/index' { + import { addMinutes } from 'date-fns/esm' + export default addMinutes +} + +declare module 'date-fns/esm/addMonths/index' { + import { addMonths } from 'date-fns/esm' + export default addMonths +} + +declare module 'date-fns/esm/addQuarters/index' { + import { addQuarters } from 'date-fns/esm' + export default addQuarters +} + +declare module 'date-fns/esm/addSeconds/index' { + import { addSeconds } from 'date-fns/esm' + export default addSeconds +} + +declare module 'date-fns/esm/addWeeks/index' { + import { addWeeks } from 'date-fns/esm' + export default addWeeks +} + +declare module 'date-fns/esm/addYears/index' { + import { addYears } from 'date-fns/esm' + export default addYears +} + +declare module 'date-fns/esm/areIntervalsOverlapping/index' { + import { areIntervalsOverlapping } from 'date-fns/esm' + export default areIntervalsOverlapping +} + +declare module 'date-fns/esm/clamp/index' { + import { clamp } from 'date-fns/esm' + export default clamp +} + +declare module 'date-fns/esm/closestIndexTo/index' { + import { closestIndexTo } from 'date-fns/esm' + export default closestIndexTo +} + +declare module 'date-fns/esm/closestTo/index' { + import { closestTo } from 'date-fns/esm' + export default closestTo +} + +declare module 'date-fns/esm/compareAsc/index' { + import { compareAsc } from 'date-fns/esm' + export default compareAsc +} + +declare module 'date-fns/esm/compareDesc/index' { + import { compareDesc } from 'date-fns/esm' + export default compareDesc +} + +declare module 'date-fns/esm/daysToWeeks/index' { + import { daysToWeeks } from 'date-fns/esm' + export default daysToWeeks +} + +declare module 'date-fns/esm/differenceInBusinessDays/index' { + import { differenceInBusinessDays } from 'date-fns/esm' + export default differenceInBusinessDays +} + +declare module 'date-fns/esm/differenceInCalendarDays/index' { + import { differenceInCalendarDays } from 'date-fns/esm' + export default differenceInCalendarDays +} + +declare module 'date-fns/esm/differenceInCalendarISOWeeks/index' { + import { differenceInCalendarISOWeeks } from 'date-fns/esm' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/esm/differenceInCalendarISOWeekYears/index' { + import { differenceInCalendarISOWeekYears } from 'date-fns/esm' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/esm/differenceInCalendarMonths/index' { + import { differenceInCalendarMonths } from 'date-fns/esm' + export default differenceInCalendarMonths +} + +declare module 'date-fns/esm/differenceInCalendarQuarters/index' { + import { differenceInCalendarQuarters } from 'date-fns/esm' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/esm/differenceInCalendarWeeks/index' { + import { differenceInCalendarWeeks } from 'date-fns/esm' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/esm/differenceInCalendarYears/index' { + import { differenceInCalendarYears } from 'date-fns/esm' + export default differenceInCalendarYears +} + +declare module 'date-fns/esm/differenceInDays/index' { + import { differenceInDays } from 'date-fns/esm' + export default differenceInDays +} + +declare module 'date-fns/esm/differenceInHours/index' { + import { differenceInHours } from 'date-fns/esm' + export default differenceInHours +} + +declare module 'date-fns/esm/differenceInISOWeekYears/index' { + import { differenceInISOWeekYears } from 'date-fns/esm' + export default differenceInISOWeekYears +} + +declare module 'date-fns/esm/differenceInMilliseconds/index' { + import { differenceInMilliseconds } from 'date-fns/esm' + export default differenceInMilliseconds +} + +declare module 'date-fns/esm/differenceInMinutes/index' { + import { differenceInMinutes } from 'date-fns/esm' + export default differenceInMinutes +} + +declare module 'date-fns/esm/differenceInMonths/index' { + import { differenceInMonths } from 'date-fns/esm' + export default differenceInMonths +} + +declare module 'date-fns/esm/differenceInQuarters/index' { + import { differenceInQuarters } from 'date-fns/esm' + export default differenceInQuarters +} + +declare module 'date-fns/esm/differenceInSeconds/index' { + import { differenceInSeconds } from 'date-fns/esm' + export default differenceInSeconds +} + +declare module 'date-fns/esm/differenceInWeeks/index' { + import { differenceInWeeks } from 'date-fns/esm' + export default differenceInWeeks +} + +declare module 'date-fns/esm/differenceInYears/index' { + import { differenceInYears } from 'date-fns/esm' + export default differenceInYears +} + +declare module 'date-fns/esm/eachDayOfInterval/index' { + import { eachDayOfInterval } from 'date-fns/esm' + export default eachDayOfInterval +} + +declare module 'date-fns/esm/eachHourOfInterval/index' { + import { eachHourOfInterval } from 'date-fns/esm' + export default eachHourOfInterval +} + +declare module 'date-fns/esm/eachMinuteOfInterval/index' { + import { eachMinuteOfInterval } from 'date-fns/esm' + export default eachMinuteOfInterval +} + +declare module 'date-fns/esm/eachMonthOfInterval/index' { + import { eachMonthOfInterval } from 'date-fns/esm' + export default eachMonthOfInterval +} + +declare module 'date-fns/esm/eachQuarterOfInterval/index' { + import { eachQuarterOfInterval } from 'date-fns/esm' + export default eachQuarterOfInterval +} + +declare module 'date-fns/esm/eachWeekendOfInterval/index' { + import { eachWeekendOfInterval } from 'date-fns/esm' + export default eachWeekendOfInterval +} + +declare module 'date-fns/esm/eachWeekendOfMonth/index' { + import { eachWeekendOfMonth } from 'date-fns/esm' + export default eachWeekendOfMonth +} + +declare module 'date-fns/esm/eachWeekendOfYear/index' { + import { eachWeekendOfYear } from 'date-fns/esm' + export default eachWeekendOfYear +} + +declare module 'date-fns/esm/eachWeekOfInterval/index' { + import { eachWeekOfInterval } from 'date-fns/esm' + export default eachWeekOfInterval +} + +declare module 'date-fns/esm/eachYearOfInterval/index' { + import { eachYearOfInterval } from 'date-fns/esm' + export default eachYearOfInterval +} + +declare module 'date-fns/esm/endOfDay/index' { + import { endOfDay } from 'date-fns/esm' + export default endOfDay +} + +declare module 'date-fns/esm/endOfDecade/index' { + import { endOfDecade } from 'date-fns/esm' + export default endOfDecade +} + +declare module 'date-fns/esm/endOfHour/index' { + import { endOfHour } from 'date-fns/esm' + export default endOfHour +} + +declare module 'date-fns/esm/endOfISOWeek/index' { + import { endOfISOWeek } from 'date-fns/esm' + export default endOfISOWeek +} + +declare module 'date-fns/esm/endOfISOWeekYear/index' { + import { endOfISOWeekYear } from 'date-fns/esm' + export default endOfISOWeekYear +} + +declare module 'date-fns/esm/endOfMinute/index' { + import { endOfMinute } from 'date-fns/esm' + export default endOfMinute +} + +declare module 'date-fns/esm/endOfMonth/index' { + import { endOfMonth } from 'date-fns/esm' + export default endOfMonth +} + +declare module 'date-fns/esm/endOfQuarter/index' { + import { endOfQuarter } from 'date-fns/esm' + export default endOfQuarter +} + +declare module 'date-fns/esm/endOfSecond/index' { + import { endOfSecond } from 'date-fns/esm' + export default endOfSecond +} + +declare module 'date-fns/esm/endOfToday/index' { + import { endOfToday } from 'date-fns/esm' + export default endOfToday +} + +declare module 'date-fns/esm/endOfTomorrow/index' { + import { endOfTomorrow } from 'date-fns/esm' + export default endOfTomorrow +} + +declare module 'date-fns/esm/endOfWeek/index' { + import { endOfWeek } from 'date-fns/esm' + export default endOfWeek +} + +declare module 'date-fns/esm/endOfYear/index' { + import { endOfYear } from 'date-fns/esm' + export default endOfYear +} + +declare module 'date-fns/esm/endOfYesterday/index' { + import { endOfYesterday } from 'date-fns/esm' + export default endOfYesterday +} + +declare module 'date-fns/esm/format/index' { + import { format } from 'date-fns/esm' + export default format +} + +declare module 'date-fns/esm/formatDistance/index' { + import { formatDistance } from 'date-fns/esm' + export default formatDistance +} + +declare module 'date-fns/esm/formatDistanceStrict/index' { + import { formatDistanceStrict } from 'date-fns/esm' + export default formatDistanceStrict +} + +declare module 'date-fns/esm/formatDistanceToNow/index' { + import { formatDistanceToNow } from 'date-fns/esm' + export default formatDistanceToNow +} + +declare module 'date-fns/esm/formatDistanceToNowStrict/index' { + import { formatDistanceToNowStrict } from 'date-fns/esm' + export default formatDistanceToNowStrict +} + +declare module 'date-fns/esm/formatDuration/index' { + import { formatDuration } from 'date-fns/esm' + export default formatDuration +} + +declare module 'date-fns/esm/formatISO/index' { + import { formatISO } from 'date-fns/esm' + export default formatISO +} + +declare module 'date-fns/esm/formatISO9075/index' { + import { formatISO9075 } from 'date-fns/esm' + export default formatISO9075 +} + +declare module 'date-fns/esm/formatISODuration/index' { + import { formatISODuration } from 'date-fns/esm' + export default formatISODuration +} + +declare module 'date-fns/esm/formatRelative/index' { + import { formatRelative } from 'date-fns/esm' + export default formatRelative +} + +declare module 'date-fns/esm/formatRFC3339/index' { + import { formatRFC3339 } from 'date-fns/esm' + export default formatRFC3339 +} + +declare module 'date-fns/esm/formatRFC7231/index' { + import { formatRFC7231 } from 'date-fns/esm' + export default formatRFC7231 +} + +declare module 'date-fns/esm/fromUnixTime/index' { + import { fromUnixTime } from 'date-fns/esm' + export default fromUnixTime +} + +declare module 'date-fns/esm/getDate/index' { + import { getDate } from 'date-fns/esm' + export default getDate +} + +declare module 'date-fns/esm/getDay/index' { + import { getDay } from 'date-fns/esm' + export default getDay +} + +declare module 'date-fns/esm/getDayOfYear/index' { + import { getDayOfYear } from 'date-fns/esm' + export default getDayOfYear +} + +declare module 'date-fns/esm/getDaysInMonth/index' { + import { getDaysInMonth } from 'date-fns/esm' + export default getDaysInMonth +} + +declare module 'date-fns/esm/getDaysInYear/index' { + import { getDaysInYear } from 'date-fns/esm' + export default getDaysInYear +} + +declare module 'date-fns/esm/getDecade/index' { + import { getDecade } from 'date-fns/esm' + export default getDecade +} + +declare module 'date-fns/esm/getDefaultOptions/index' { + import { getDefaultOptions } from 'date-fns/esm' + export default getDefaultOptions +} + +declare module 'date-fns/esm/getHours/index' { + import { getHours } from 'date-fns/esm' + export default getHours +} + +declare module 'date-fns/esm/getISODay/index' { + import { getISODay } from 'date-fns/esm' + export default getISODay +} + +declare module 'date-fns/esm/getISOWeek/index' { + import { getISOWeek } from 'date-fns/esm' + export default getISOWeek +} + +declare module 'date-fns/esm/getISOWeeksInYear/index' { + import { getISOWeeksInYear } from 'date-fns/esm' + export default getISOWeeksInYear +} + +declare module 'date-fns/esm/getISOWeekYear/index' { + import { getISOWeekYear } from 'date-fns/esm' + export default getISOWeekYear +} + +declare module 'date-fns/esm/getMilliseconds/index' { + import { getMilliseconds } from 'date-fns/esm' + export default getMilliseconds +} + +declare module 'date-fns/esm/getMinutes/index' { + import { getMinutes } from 'date-fns/esm' + export default getMinutes +} + +declare module 'date-fns/esm/getMonth/index' { + import { getMonth } from 'date-fns/esm' + export default getMonth +} + +declare module 'date-fns/esm/getOverlappingDaysInIntervals/index' { + import { getOverlappingDaysInIntervals } from 'date-fns/esm' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/esm/getQuarter/index' { + import { getQuarter } from 'date-fns/esm' + export default getQuarter +} + +declare module 'date-fns/esm/getSeconds/index' { + import { getSeconds } from 'date-fns/esm' + export default getSeconds +} + +declare module 'date-fns/esm/getTime/index' { + import { getTime } from 'date-fns/esm' + export default getTime +} + +declare module 'date-fns/esm/getUnixTime/index' { + import { getUnixTime } from 'date-fns/esm' + export default getUnixTime +} + +declare module 'date-fns/esm/getWeek/index' { + import { getWeek } from 'date-fns/esm' + export default getWeek +} + +declare module 'date-fns/esm/getWeekOfMonth/index' { + import { getWeekOfMonth } from 'date-fns/esm' + export default getWeekOfMonth +} + +declare module 'date-fns/esm/getWeeksInMonth/index' { + import { getWeeksInMonth } from 'date-fns/esm' + export default getWeeksInMonth +} + +declare module 'date-fns/esm/getWeekYear/index' { + import { getWeekYear } from 'date-fns/esm' + export default getWeekYear +} + +declare module 'date-fns/esm/getYear/index' { + import { getYear } from 'date-fns/esm' + export default getYear +} + +declare module 'date-fns/esm/hoursToMilliseconds/index' { + import { hoursToMilliseconds } from 'date-fns/esm' + export default hoursToMilliseconds +} + +declare module 'date-fns/esm/hoursToMinutes/index' { + import { hoursToMinutes } from 'date-fns/esm' + export default hoursToMinutes +} + +declare module 'date-fns/esm/hoursToSeconds/index' { + import { hoursToSeconds } from 'date-fns/esm' + export default hoursToSeconds +} + +declare module 'date-fns/esm/intervalToDuration/index' { + import { intervalToDuration } from 'date-fns/esm' + export default intervalToDuration +} + +declare module 'date-fns/esm/intlFormat/index' { + import { intlFormat } from 'date-fns/esm' + export default intlFormat +} + +declare module 'date-fns/esm/intlFormatDistance/index' { + import { intlFormatDistance } from 'date-fns/esm' + export default intlFormatDistance +} + +declare module 'date-fns/esm/isAfter/index' { + import { isAfter } from 'date-fns/esm' + export default isAfter +} + +declare module 'date-fns/esm/isBefore/index' { + import { isBefore } from 'date-fns/esm' + export default isBefore +} + +declare module 'date-fns/esm/isDate/index' { + import { isDate } from 'date-fns/esm' + export default isDate +} + +declare module 'date-fns/esm/isEqual/index' { + import { isEqual } from 'date-fns/esm' + export default isEqual +} + +declare module 'date-fns/esm/isExists/index' { + import { isExists } from 'date-fns/esm' + export default isExists +} + +declare module 'date-fns/esm/isFirstDayOfMonth/index' { + import { isFirstDayOfMonth } from 'date-fns/esm' + export default isFirstDayOfMonth +} + +declare module 'date-fns/esm/isFriday/index' { + import { isFriday } from 'date-fns/esm' + export default isFriday +} + +declare module 'date-fns/esm/isFuture/index' { + import { isFuture } from 'date-fns/esm' + export default isFuture +} + +declare module 'date-fns/esm/isLastDayOfMonth/index' { + import { isLastDayOfMonth } from 'date-fns/esm' + export default isLastDayOfMonth +} + +declare module 'date-fns/esm/isLeapYear/index' { + import { isLeapYear } from 'date-fns/esm' + export default isLeapYear +} + +declare module 'date-fns/esm/isMatch/index' { + import { isMatch } from 'date-fns/esm' + export default isMatch +} + +declare module 'date-fns/esm/isMonday/index' { + import { isMonday } from 'date-fns/esm' + export default isMonday +} + +declare module 'date-fns/esm/isPast/index' { + import { isPast } from 'date-fns/esm' + export default isPast +} + +declare module 'date-fns/esm/isSameDay/index' { + import { isSameDay } from 'date-fns/esm' + export default isSameDay +} + +declare module 'date-fns/esm/isSameHour/index' { + import { isSameHour } from 'date-fns/esm' + export default isSameHour +} + +declare module 'date-fns/esm/isSameISOWeek/index' { + import { isSameISOWeek } from 'date-fns/esm' + export default isSameISOWeek +} + +declare module 'date-fns/esm/isSameISOWeekYear/index' { + import { isSameISOWeekYear } from 'date-fns/esm' + export default isSameISOWeekYear +} + +declare module 'date-fns/esm/isSameMinute/index' { + import { isSameMinute } from 'date-fns/esm' + export default isSameMinute +} + +declare module 'date-fns/esm/isSameMonth/index' { + import { isSameMonth } from 'date-fns/esm' + export default isSameMonth +} + +declare module 'date-fns/esm/isSameQuarter/index' { + import { isSameQuarter } from 'date-fns/esm' + export default isSameQuarter +} + +declare module 'date-fns/esm/isSameSecond/index' { + import { isSameSecond } from 'date-fns/esm' + export default isSameSecond +} + +declare module 'date-fns/esm/isSameWeek/index' { + import { isSameWeek } from 'date-fns/esm' + export default isSameWeek +} + +declare module 'date-fns/esm/isSameYear/index' { + import { isSameYear } from 'date-fns/esm' + export default isSameYear +} + +declare module 'date-fns/esm/isSaturday/index' { + import { isSaturday } from 'date-fns/esm' + export default isSaturday +} + +declare module 'date-fns/esm/isSunday/index' { + import { isSunday } from 'date-fns/esm' + export default isSunday +} + +declare module 'date-fns/esm/isThisHour/index' { + import { isThisHour } from 'date-fns/esm' + export default isThisHour +} + +declare module 'date-fns/esm/isThisISOWeek/index' { + import { isThisISOWeek } from 'date-fns/esm' + export default isThisISOWeek +} + +declare module 'date-fns/esm/isThisMinute/index' { + import { isThisMinute } from 'date-fns/esm' + export default isThisMinute +} + +declare module 'date-fns/esm/isThisMonth/index' { + import { isThisMonth } from 'date-fns/esm' + export default isThisMonth +} + +declare module 'date-fns/esm/isThisQuarter/index' { + import { isThisQuarter } from 'date-fns/esm' + export default isThisQuarter +} + +declare module 'date-fns/esm/isThisSecond/index' { + import { isThisSecond } from 'date-fns/esm' + export default isThisSecond +} + +declare module 'date-fns/esm/isThisWeek/index' { + import { isThisWeek } from 'date-fns/esm' + export default isThisWeek +} + +declare module 'date-fns/esm/isThisYear/index' { + import { isThisYear } from 'date-fns/esm' + export default isThisYear +} + +declare module 'date-fns/esm/isThursday/index' { + import { isThursday } from 'date-fns/esm' + export default isThursday +} + +declare module 'date-fns/esm/isToday/index' { + import { isToday } from 'date-fns/esm' + export default isToday +} + +declare module 'date-fns/esm/isTomorrow/index' { + import { isTomorrow } from 'date-fns/esm' + export default isTomorrow +} + +declare module 'date-fns/esm/isTuesday/index' { + import { isTuesday } from 'date-fns/esm' + export default isTuesday +} + +declare module 'date-fns/esm/isValid/index' { + import { isValid } from 'date-fns/esm' + export default isValid +} + +declare module 'date-fns/esm/isWednesday/index' { + import { isWednesday } from 'date-fns/esm' + export default isWednesday +} + +declare module 'date-fns/esm/isWeekend/index' { + import { isWeekend } from 'date-fns/esm' + export default isWeekend +} + +declare module 'date-fns/esm/isWithinInterval/index' { + import { isWithinInterval } from 'date-fns/esm' + export default isWithinInterval +} + +declare module 'date-fns/esm/isYesterday/index' { + import { isYesterday } from 'date-fns/esm' + export default isYesterday +} + +declare module 'date-fns/esm/lastDayOfDecade/index' { + import { lastDayOfDecade } from 'date-fns/esm' + export default lastDayOfDecade +} + +declare module 'date-fns/esm/lastDayOfISOWeek/index' { + import { lastDayOfISOWeek } from 'date-fns/esm' + export default lastDayOfISOWeek +} + +declare module 'date-fns/esm/lastDayOfISOWeekYear/index' { + import { lastDayOfISOWeekYear } from 'date-fns/esm' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/esm/lastDayOfMonth/index' { + import { lastDayOfMonth } from 'date-fns/esm' + export default lastDayOfMonth +} + +declare module 'date-fns/esm/lastDayOfQuarter/index' { + import { lastDayOfQuarter } from 'date-fns/esm' + export default lastDayOfQuarter +} + +declare module 'date-fns/esm/lastDayOfWeek/index' { + import { lastDayOfWeek } from 'date-fns/esm' + export default lastDayOfWeek +} + +declare module 'date-fns/esm/lastDayOfYear/index' { + import { lastDayOfYear } from 'date-fns/esm' + export default lastDayOfYear +} + +declare module 'date-fns/esm/lightFormat/index' { + import { lightFormat } from 'date-fns/esm' + export default lightFormat +} + +declare module 'date-fns/esm/max/index' { + import { max } from 'date-fns/esm' + export default max +} + +declare module 'date-fns/esm/milliseconds/index' { + import { milliseconds } from 'date-fns/esm' + export default milliseconds +} + +declare module 'date-fns/esm/millisecondsToHours/index' { + import { millisecondsToHours } from 'date-fns/esm' + export default millisecondsToHours +} + +declare module 'date-fns/esm/millisecondsToMinutes/index' { + import { millisecondsToMinutes } from 'date-fns/esm' + export default millisecondsToMinutes +} + +declare module 'date-fns/esm/millisecondsToSeconds/index' { + import { millisecondsToSeconds } from 'date-fns/esm' + export default millisecondsToSeconds +} + +declare module 'date-fns/esm/min/index' { + import { min } from 'date-fns/esm' + export default min +} + +declare module 'date-fns/esm/minutesToHours/index' { + import { minutesToHours } from 'date-fns/esm' + export default minutesToHours +} + +declare module 'date-fns/esm/minutesToMilliseconds/index' { + import { minutesToMilliseconds } from 'date-fns/esm' + export default minutesToMilliseconds +} + +declare module 'date-fns/esm/minutesToSeconds/index' { + import { minutesToSeconds } from 'date-fns/esm' + export default minutesToSeconds +} + +declare module 'date-fns/esm/monthsToQuarters/index' { + import { monthsToQuarters } from 'date-fns/esm' + export default monthsToQuarters +} + +declare module 'date-fns/esm/monthsToYears/index' { + import { monthsToYears } from 'date-fns/esm' + export default monthsToYears +} + +declare module 'date-fns/esm/nextDay/index' { + import { nextDay } from 'date-fns/esm' + export default nextDay +} + +declare module 'date-fns/esm/nextFriday/index' { + import { nextFriday } from 'date-fns/esm' + export default nextFriday +} + +declare module 'date-fns/esm/nextMonday/index' { + import { nextMonday } from 'date-fns/esm' + export default nextMonday +} + +declare module 'date-fns/esm/nextSaturday/index' { + import { nextSaturday } from 'date-fns/esm' + export default nextSaturday +} + +declare module 'date-fns/esm/nextSunday/index' { + import { nextSunday } from 'date-fns/esm' + export default nextSunday +} + +declare module 'date-fns/esm/nextThursday/index' { + import { nextThursday } from 'date-fns/esm' + export default nextThursday +} + +declare module 'date-fns/esm/nextTuesday/index' { + import { nextTuesday } from 'date-fns/esm' + export default nextTuesday +} + +declare module 'date-fns/esm/nextWednesday/index' { + import { nextWednesday } from 'date-fns/esm' + export default nextWednesday +} + +declare module 'date-fns/esm/parse/index' { + import { parse } from 'date-fns/esm' + export default parse +} + +declare module 'date-fns/esm/parseISO/index' { + import { parseISO } from 'date-fns/esm' + export default parseISO +} + +declare module 'date-fns/esm/parseJSON/index' { + import { parseJSON } from 'date-fns/esm' + export default parseJSON +} + +declare module 'date-fns/esm/previousDay/index' { + import { previousDay } from 'date-fns/esm' + export default previousDay +} + +declare module 'date-fns/esm/previousFriday/index' { + import { previousFriday } from 'date-fns/esm' + export default previousFriday +} + +declare module 'date-fns/esm/previousMonday/index' { + import { previousMonday } from 'date-fns/esm' + export default previousMonday +} + +declare module 'date-fns/esm/previousSaturday/index' { + import { previousSaturday } from 'date-fns/esm' + export default previousSaturday +} + +declare module 'date-fns/esm/previousSunday/index' { + import { previousSunday } from 'date-fns/esm' + export default previousSunday +} + +declare module 'date-fns/esm/previousThursday/index' { + import { previousThursday } from 'date-fns/esm' + export default previousThursday +} + +declare module 'date-fns/esm/previousTuesday/index' { + import { previousTuesday } from 'date-fns/esm' + export default previousTuesday +} + +declare module 'date-fns/esm/previousWednesday/index' { + import { previousWednesday } from 'date-fns/esm' + export default previousWednesday +} + +declare module 'date-fns/esm/quartersToMonths/index' { + import { quartersToMonths } from 'date-fns/esm' + export default quartersToMonths +} + +declare module 'date-fns/esm/quartersToYears/index' { + import { quartersToYears } from 'date-fns/esm' + export default quartersToYears +} + +declare module 'date-fns/esm/roundToNearestMinutes/index' { + import { roundToNearestMinutes } from 'date-fns/esm' + export default roundToNearestMinutes +} + +declare module 'date-fns/esm/secondsToHours/index' { + import { secondsToHours } from 'date-fns/esm' + export default secondsToHours +} + +declare module 'date-fns/esm/secondsToMilliseconds/index' { + import { secondsToMilliseconds } from 'date-fns/esm' + export default secondsToMilliseconds +} + +declare module 'date-fns/esm/secondsToMinutes/index' { + import { secondsToMinutes } from 'date-fns/esm' + export default secondsToMinutes +} + +declare module 'date-fns/esm/set/index' { + import { set } from 'date-fns/esm' + export default set +} + +declare module 'date-fns/esm/setDate/index' { + import { setDate } from 'date-fns/esm' + export default setDate +} + +declare module 'date-fns/esm/setDay/index' { + import { setDay } from 'date-fns/esm' + export default setDay +} + +declare module 'date-fns/esm/setDayOfYear/index' { + import { setDayOfYear } from 'date-fns/esm' + export default setDayOfYear +} + +declare module 'date-fns/esm/setDefaultOptions/index' { + import { setDefaultOptions } from 'date-fns/esm' + export default setDefaultOptions +} + +declare module 'date-fns/esm/setHours/index' { + import { setHours } from 'date-fns/esm' + export default setHours +} + +declare module 'date-fns/esm/setISODay/index' { + import { setISODay } from 'date-fns/esm' + export default setISODay +} + +declare module 'date-fns/esm/setISOWeek/index' { + import { setISOWeek } from 'date-fns/esm' + export default setISOWeek +} + +declare module 'date-fns/esm/setISOWeekYear/index' { + import { setISOWeekYear } from 'date-fns/esm' + export default setISOWeekYear +} + +declare module 'date-fns/esm/setMilliseconds/index' { + import { setMilliseconds } from 'date-fns/esm' + export default setMilliseconds +} + +declare module 'date-fns/esm/setMinutes/index' { + import { setMinutes } from 'date-fns/esm' + export default setMinutes +} + +declare module 'date-fns/esm/setMonth/index' { + import { setMonth } from 'date-fns/esm' + export default setMonth +} + +declare module 'date-fns/esm/setQuarter/index' { + import { setQuarter } from 'date-fns/esm' + export default setQuarter +} + +declare module 'date-fns/esm/setSeconds/index' { + import { setSeconds } from 'date-fns/esm' + export default setSeconds +} + +declare module 'date-fns/esm/setWeek/index' { + import { setWeek } from 'date-fns/esm' + export default setWeek +} + +declare module 'date-fns/esm/setWeekYear/index' { + import { setWeekYear } from 'date-fns/esm' + export default setWeekYear +} + +declare module 'date-fns/esm/setYear/index' { + import { setYear } from 'date-fns/esm' + export default setYear +} + +declare module 'date-fns/esm/startOfDay/index' { + import { startOfDay } from 'date-fns/esm' + export default startOfDay +} + +declare module 'date-fns/esm/startOfDecade/index' { + import { startOfDecade } from 'date-fns/esm' + export default startOfDecade +} + +declare module 'date-fns/esm/startOfHour/index' { + import { startOfHour } from 'date-fns/esm' + export default startOfHour +} + +declare module 'date-fns/esm/startOfISOWeek/index' { + import { startOfISOWeek } from 'date-fns/esm' + export default startOfISOWeek +} + +declare module 'date-fns/esm/startOfISOWeekYear/index' { + import { startOfISOWeekYear } from 'date-fns/esm' + export default startOfISOWeekYear +} + +declare module 'date-fns/esm/startOfMinute/index' { + import { startOfMinute } from 'date-fns/esm' + export default startOfMinute +} + +declare module 'date-fns/esm/startOfMonth/index' { + import { startOfMonth } from 'date-fns/esm' + export default startOfMonth +} + +declare module 'date-fns/esm/startOfQuarter/index' { + import { startOfQuarter } from 'date-fns/esm' + export default startOfQuarter +} + +declare module 'date-fns/esm/startOfSecond/index' { + import { startOfSecond } from 'date-fns/esm' + export default startOfSecond +} + +declare module 'date-fns/esm/startOfToday/index' { + import { startOfToday } from 'date-fns/esm' + export default startOfToday +} + +declare module 'date-fns/esm/startOfTomorrow/index' { + import { startOfTomorrow } from 'date-fns/esm' + export default startOfTomorrow +} + +declare module 'date-fns/esm/startOfWeek/index' { + import { startOfWeek } from 'date-fns/esm' + export default startOfWeek +} + +declare module 'date-fns/esm/startOfWeekYear/index' { + import { startOfWeekYear } from 'date-fns/esm' + export default startOfWeekYear +} + +declare module 'date-fns/esm/startOfYear/index' { + import { startOfYear } from 'date-fns/esm' + export default startOfYear +} + +declare module 'date-fns/esm/startOfYesterday/index' { + import { startOfYesterday } from 'date-fns/esm' + export default startOfYesterday +} + +declare module 'date-fns/esm/sub/index' { + import { sub } from 'date-fns/esm' + export default sub +} + +declare module 'date-fns/esm/subBusinessDays/index' { + import { subBusinessDays } from 'date-fns/esm' + export default subBusinessDays +} + +declare module 'date-fns/esm/subDays/index' { + import { subDays } from 'date-fns/esm' + export default subDays +} + +declare module 'date-fns/esm/subHours/index' { + import { subHours } from 'date-fns/esm' + export default subHours +} + +declare module 'date-fns/esm/subISOWeekYears/index' { + import { subISOWeekYears } from 'date-fns/esm' + export default subISOWeekYears +} + +declare module 'date-fns/esm/subMilliseconds/index' { + import { subMilliseconds } from 'date-fns/esm' + export default subMilliseconds +} + +declare module 'date-fns/esm/subMinutes/index' { + import { subMinutes } from 'date-fns/esm' + export default subMinutes +} + +declare module 'date-fns/esm/subMonths/index' { + import { subMonths } from 'date-fns/esm' + export default subMonths +} + +declare module 'date-fns/esm/subQuarters/index' { + import { subQuarters } from 'date-fns/esm' + export default subQuarters +} + +declare module 'date-fns/esm/subSeconds/index' { + import { subSeconds } from 'date-fns/esm' + export default subSeconds +} + +declare module 'date-fns/esm/subWeeks/index' { + import { subWeeks } from 'date-fns/esm' + export default subWeeks +} + +declare module 'date-fns/esm/subYears/index' { + import { subYears } from 'date-fns/esm' + export default subYears +} + +declare module 'date-fns/esm/toDate/index' { + import { toDate } from 'date-fns/esm' + export default toDate +} + +declare module 'date-fns/esm/weeksToDays/index' { + import { weeksToDays } from 'date-fns/esm' + export default weeksToDays +} + +declare module 'date-fns/esm/yearsToMonths/index' { + import { yearsToMonths } from 'date-fns/esm' + export default yearsToMonths +} + +declare module 'date-fns/esm/yearsToQuarters/index' { + import { yearsToQuarters } from 'date-fns/esm' + export default yearsToQuarters +} + +declare module 'date-fns/esm/add/index.js' { + import { add } from 'date-fns/esm' + export default add +} + +declare module 'date-fns/esm/addBusinessDays/index.js' { + import { addBusinessDays } from 'date-fns/esm' + export default addBusinessDays +} + +declare module 'date-fns/esm/addDays/index.js' { + import { addDays } from 'date-fns/esm' + export default addDays +} + +declare module 'date-fns/esm/addHours/index.js' { + import { addHours } from 'date-fns/esm' + export default addHours +} + +declare module 'date-fns/esm/addISOWeekYears/index.js' { + import { addISOWeekYears } from 'date-fns/esm' + export default addISOWeekYears +} + +declare module 'date-fns/esm/addMilliseconds/index.js' { + import { addMilliseconds } from 'date-fns/esm' + export default addMilliseconds +} + +declare module 'date-fns/esm/addMinutes/index.js' { + import { addMinutes } from 'date-fns/esm' + export default addMinutes +} + +declare module 'date-fns/esm/addMonths/index.js' { + import { addMonths } from 'date-fns/esm' + export default addMonths +} + +declare module 'date-fns/esm/addQuarters/index.js' { + import { addQuarters } from 'date-fns/esm' + export default addQuarters +} + +declare module 'date-fns/esm/addSeconds/index.js' { + import { addSeconds } from 'date-fns/esm' + export default addSeconds +} + +declare module 'date-fns/esm/addWeeks/index.js' { + import { addWeeks } from 'date-fns/esm' + export default addWeeks +} + +declare module 'date-fns/esm/addYears/index.js' { + import { addYears } from 'date-fns/esm' + export default addYears +} + +declare module 'date-fns/esm/areIntervalsOverlapping/index.js' { + import { areIntervalsOverlapping } from 'date-fns/esm' + export default areIntervalsOverlapping +} + +declare module 'date-fns/esm/clamp/index.js' { + import { clamp } from 'date-fns/esm' + export default clamp +} + +declare module 'date-fns/esm/closestIndexTo/index.js' { + import { closestIndexTo } from 'date-fns/esm' + export default closestIndexTo +} + +declare module 'date-fns/esm/closestTo/index.js' { + import { closestTo } from 'date-fns/esm' + export default closestTo +} + +declare module 'date-fns/esm/compareAsc/index.js' { + import { compareAsc } from 'date-fns/esm' + export default compareAsc +} + +declare module 'date-fns/esm/compareDesc/index.js' { + import { compareDesc } from 'date-fns/esm' + export default compareDesc +} + +declare module 'date-fns/esm/daysToWeeks/index.js' { + import { daysToWeeks } from 'date-fns/esm' + export default daysToWeeks +} + +declare module 'date-fns/esm/differenceInBusinessDays/index.js' { + import { differenceInBusinessDays } from 'date-fns/esm' + export default differenceInBusinessDays +} + +declare module 'date-fns/esm/differenceInCalendarDays/index.js' { + import { differenceInCalendarDays } from 'date-fns/esm' + export default differenceInCalendarDays +} + +declare module 'date-fns/esm/differenceInCalendarISOWeeks/index.js' { + import { differenceInCalendarISOWeeks } from 'date-fns/esm' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/esm/differenceInCalendarISOWeekYears/index.js' { + import { differenceInCalendarISOWeekYears } from 'date-fns/esm' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/esm/differenceInCalendarMonths/index.js' { + import { differenceInCalendarMonths } from 'date-fns/esm' + export default differenceInCalendarMonths +} + +declare module 'date-fns/esm/differenceInCalendarQuarters/index.js' { + import { differenceInCalendarQuarters } from 'date-fns/esm' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/esm/differenceInCalendarWeeks/index.js' { + import { differenceInCalendarWeeks } from 'date-fns/esm' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/esm/differenceInCalendarYears/index.js' { + import { differenceInCalendarYears } from 'date-fns/esm' + export default differenceInCalendarYears +} + +declare module 'date-fns/esm/differenceInDays/index.js' { + import { differenceInDays } from 'date-fns/esm' + export default differenceInDays +} + +declare module 'date-fns/esm/differenceInHours/index.js' { + import { differenceInHours } from 'date-fns/esm' + export default differenceInHours +} + +declare module 'date-fns/esm/differenceInISOWeekYears/index.js' { + import { differenceInISOWeekYears } from 'date-fns/esm' + export default differenceInISOWeekYears +} + +declare module 'date-fns/esm/differenceInMilliseconds/index.js' { + import { differenceInMilliseconds } from 'date-fns/esm' + export default differenceInMilliseconds +} + +declare module 'date-fns/esm/differenceInMinutes/index.js' { + import { differenceInMinutes } from 'date-fns/esm' + export default differenceInMinutes +} + +declare module 'date-fns/esm/differenceInMonths/index.js' { + import { differenceInMonths } from 'date-fns/esm' + export default differenceInMonths +} + +declare module 'date-fns/esm/differenceInQuarters/index.js' { + import { differenceInQuarters } from 'date-fns/esm' + export default differenceInQuarters +} + +declare module 'date-fns/esm/differenceInSeconds/index.js' { + import { differenceInSeconds } from 'date-fns/esm' + export default differenceInSeconds +} + +declare module 'date-fns/esm/differenceInWeeks/index.js' { + import { differenceInWeeks } from 'date-fns/esm' + export default differenceInWeeks +} + +declare module 'date-fns/esm/differenceInYears/index.js' { + import { differenceInYears } from 'date-fns/esm' + export default differenceInYears +} + +declare module 'date-fns/esm/eachDayOfInterval/index.js' { + import { eachDayOfInterval } from 'date-fns/esm' + export default eachDayOfInterval +} + +declare module 'date-fns/esm/eachHourOfInterval/index.js' { + import { eachHourOfInterval } from 'date-fns/esm' + export default eachHourOfInterval +} + +declare module 'date-fns/esm/eachMinuteOfInterval/index.js' { + import { eachMinuteOfInterval } from 'date-fns/esm' + export default eachMinuteOfInterval +} + +declare module 'date-fns/esm/eachMonthOfInterval/index.js' { + import { eachMonthOfInterval } from 'date-fns/esm' + export default eachMonthOfInterval +} + +declare module 'date-fns/esm/eachQuarterOfInterval/index.js' { + import { eachQuarterOfInterval } from 'date-fns/esm' + export default eachQuarterOfInterval +} + +declare module 'date-fns/esm/eachWeekendOfInterval/index.js' { + import { eachWeekendOfInterval } from 'date-fns/esm' + export default eachWeekendOfInterval +} + +declare module 'date-fns/esm/eachWeekendOfMonth/index.js' { + import { eachWeekendOfMonth } from 'date-fns/esm' + export default eachWeekendOfMonth +} + +declare module 'date-fns/esm/eachWeekendOfYear/index.js' { + import { eachWeekendOfYear } from 'date-fns/esm' + export default eachWeekendOfYear +} + +declare module 'date-fns/esm/eachWeekOfInterval/index.js' { + import { eachWeekOfInterval } from 'date-fns/esm' + export default eachWeekOfInterval +} + +declare module 'date-fns/esm/eachYearOfInterval/index.js' { + import { eachYearOfInterval } from 'date-fns/esm' + export default eachYearOfInterval +} + +declare module 'date-fns/esm/endOfDay/index.js' { + import { endOfDay } from 'date-fns/esm' + export default endOfDay +} + +declare module 'date-fns/esm/endOfDecade/index.js' { + import { endOfDecade } from 'date-fns/esm' + export default endOfDecade +} + +declare module 'date-fns/esm/endOfHour/index.js' { + import { endOfHour } from 'date-fns/esm' + export default endOfHour +} + +declare module 'date-fns/esm/endOfISOWeek/index.js' { + import { endOfISOWeek } from 'date-fns/esm' + export default endOfISOWeek +} + +declare module 'date-fns/esm/endOfISOWeekYear/index.js' { + import { endOfISOWeekYear } from 'date-fns/esm' + export default endOfISOWeekYear +} + +declare module 'date-fns/esm/endOfMinute/index.js' { + import { endOfMinute } from 'date-fns/esm' + export default endOfMinute +} + +declare module 'date-fns/esm/endOfMonth/index.js' { + import { endOfMonth } from 'date-fns/esm' + export default endOfMonth +} + +declare module 'date-fns/esm/endOfQuarter/index.js' { + import { endOfQuarter } from 'date-fns/esm' + export default endOfQuarter +} + +declare module 'date-fns/esm/endOfSecond/index.js' { + import { endOfSecond } from 'date-fns/esm' + export default endOfSecond +} + +declare module 'date-fns/esm/endOfToday/index.js' { + import { endOfToday } from 'date-fns/esm' + export default endOfToday +} + +declare module 'date-fns/esm/endOfTomorrow/index.js' { + import { endOfTomorrow } from 'date-fns/esm' + export default endOfTomorrow +} + +declare module 'date-fns/esm/endOfWeek/index.js' { + import { endOfWeek } from 'date-fns/esm' + export default endOfWeek +} + +declare module 'date-fns/esm/endOfYear/index.js' { + import { endOfYear } from 'date-fns/esm' + export default endOfYear +} + +declare module 'date-fns/esm/endOfYesterday/index.js' { + import { endOfYesterday } from 'date-fns/esm' + export default endOfYesterday +} + +declare module 'date-fns/esm/format/index.js' { + import { format } from 'date-fns/esm' + export default format +} + +declare module 'date-fns/esm/formatDistance/index.js' { + import { formatDistance } from 'date-fns/esm' + export default formatDistance +} + +declare module 'date-fns/esm/formatDistanceStrict/index.js' { + import { formatDistanceStrict } from 'date-fns/esm' + export default formatDistanceStrict +} + +declare module 'date-fns/esm/formatDistanceToNow/index.js' { + import { formatDistanceToNow } from 'date-fns/esm' + export default formatDistanceToNow +} + +declare module 'date-fns/esm/formatDistanceToNowStrict/index.js' { + import { formatDistanceToNowStrict } from 'date-fns/esm' + export default formatDistanceToNowStrict +} + +declare module 'date-fns/esm/formatDuration/index.js' { + import { formatDuration } from 'date-fns/esm' + export default formatDuration +} + +declare module 'date-fns/esm/formatISO/index.js' { + import { formatISO } from 'date-fns/esm' + export default formatISO +} + +declare module 'date-fns/esm/formatISO9075/index.js' { + import { formatISO9075 } from 'date-fns/esm' + export default formatISO9075 +} + +declare module 'date-fns/esm/formatISODuration/index.js' { + import { formatISODuration } from 'date-fns/esm' + export default formatISODuration +} + +declare module 'date-fns/esm/formatRelative/index.js' { + import { formatRelative } from 'date-fns/esm' + export default formatRelative +} + +declare module 'date-fns/esm/formatRFC3339/index.js' { + import { formatRFC3339 } from 'date-fns/esm' + export default formatRFC3339 +} + +declare module 'date-fns/esm/formatRFC7231/index.js' { + import { formatRFC7231 } from 'date-fns/esm' + export default formatRFC7231 +} + +declare module 'date-fns/esm/fromUnixTime/index.js' { + import { fromUnixTime } from 'date-fns/esm' + export default fromUnixTime +} + +declare module 'date-fns/esm/getDate/index.js' { + import { getDate } from 'date-fns/esm' + export default getDate +} + +declare module 'date-fns/esm/getDay/index.js' { + import { getDay } from 'date-fns/esm' + export default getDay +} + +declare module 'date-fns/esm/getDayOfYear/index.js' { + import { getDayOfYear } from 'date-fns/esm' + export default getDayOfYear +} + +declare module 'date-fns/esm/getDaysInMonth/index.js' { + import { getDaysInMonth } from 'date-fns/esm' + export default getDaysInMonth +} + +declare module 'date-fns/esm/getDaysInYear/index.js' { + import { getDaysInYear } from 'date-fns/esm' + export default getDaysInYear +} + +declare module 'date-fns/esm/getDecade/index.js' { + import { getDecade } from 'date-fns/esm' + export default getDecade +} + +declare module 'date-fns/esm/getDefaultOptions/index.js' { + import { getDefaultOptions } from 'date-fns/esm' + export default getDefaultOptions +} + +declare module 'date-fns/esm/getHours/index.js' { + import { getHours } from 'date-fns/esm' + export default getHours +} + +declare module 'date-fns/esm/getISODay/index.js' { + import { getISODay } from 'date-fns/esm' + export default getISODay +} + +declare module 'date-fns/esm/getISOWeek/index.js' { + import { getISOWeek } from 'date-fns/esm' + export default getISOWeek +} + +declare module 'date-fns/esm/getISOWeeksInYear/index.js' { + import { getISOWeeksInYear } from 'date-fns/esm' + export default getISOWeeksInYear +} + +declare module 'date-fns/esm/getISOWeekYear/index.js' { + import { getISOWeekYear } from 'date-fns/esm' + export default getISOWeekYear +} + +declare module 'date-fns/esm/getMilliseconds/index.js' { + import { getMilliseconds } from 'date-fns/esm' + export default getMilliseconds +} + +declare module 'date-fns/esm/getMinutes/index.js' { + import { getMinutes } from 'date-fns/esm' + export default getMinutes +} + +declare module 'date-fns/esm/getMonth/index.js' { + import { getMonth } from 'date-fns/esm' + export default getMonth +} + +declare module 'date-fns/esm/getOverlappingDaysInIntervals/index.js' { + import { getOverlappingDaysInIntervals } from 'date-fns/esm' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/esm/getQuarter/index.js' { + import { getQuarter } from 'date-fns/esm' + export default getQuarter +} + +declare module 'date-fns/esm/getSeconds/index.js' { + import { getSeconds } from 'date-fns/esm' + export default getSeconds +} + +declare module 'date-fns/esm/getTime/index.js' { + import { getTime } from 'date-fns/esm' + export default getTime +} + +declare module 'date-fns/esm/getUnixTime/index.js' { + import { getUnixTime } from 'date-fns/esm' + export default getUnixTime +} + +declare module 'date-fns/esm/getWeek/index.js' { + import { getWeek } from 'date-fns/esm' + export default getWeek +} + +declare module 'date-fns/esm/getWeekOfMonth/index.js' { + import { getWeekOfMonth } from 'date-fns/esm' + export default getWeekOfMonth +} + +declare module 'date-fns/esm/getWeeksInMonth/index.js' { + import { getWeeksInMonth } from 'date-fns/esm' + export default getWeeksInMonth +} + +declare module 'date-fns/esm/getWeekYear/index.js' { + import { getWeekYear } from 'date-fns/esm' + export default getWeekYear +} + +declare module 'date-fns/esm/getYear/index.js' { + import { getYear } from 'date-fns/esm' + export default getYear +} + +declare module 'date-fns/esm/hoursToMilliseconds/index.js' { + import { hoursToMilliseconds } from 'date-fns/esm' + export default hoursToMilliseconds +} + +declare module 'date-fns/esm/hoursToMinutes/index.js' { + import { hoursToMinutes } from 'date-fns/esm' + export default hoursToMinutes +} + +declare module 'date-fns/esm/hoursToSeconds/index.js' { + import { hoursToSeconds } from 'date-fns/esm' + export default hoursToSeconds +} + +declare module 'date-fns/esm/intervalToDuration/index.js' { + import { intervalToDuration } from 'date-fns/esm' + export default intervalToDuration +} + +declare module 'date-fns/esm/intlFormat/index.js' { + import { intlFormat } from 'date-fns/esm' + export default intlFormat +} + +declare module 'date-fns/esm/intlFormatDistance/index.js' { + import { intlFormatDistance } from 'date-fns/esm' + export default intlFormatDistance +} + +declare module 'date-fns/esm/isAfter/index.js' { + import { isAfter } from 'date-fns/esm' + export default isAfter +} + +declare module 'date-fns/esm/isBefore/index.js' { + import { isBefore } from 'date-fns/esm' + export default isBefore +} + +declare module 'date-fns/esm/isDate/index.js' { + import { isDate } from 'date-fns/esm' + export default isDate +} + +declare module 'date-fns/esm/isEqual/index.js' { + import { isEqual } from 'date-fns/esm' + export default isEqual +} + +declare module 'date-fns/esm/isExists/index.js' { + import { isExists } from 'date-fns/esm' + export default isExists +} + +declare module 'date-fns/esm/isFirstDayOfMonth/index.js' { + import { isFirstDayOfMonth } from 'date-fns/esm' + export default isFirstDayOfMonth +} + +declare module 'date-fns/esm/isFriday/index.js' { + import { isFriday } from 'date-fns/esm' + export default isFriday +} + +declare module 'date-fns/esm/isFuture/index.js' { + import { isFuture } from 'date-fns/esm' + export default isFuture +} + +declare module 'date-fns/esm/isLastDayOfMonth/index.js' { + import { isLastDayOfMonth } from 'date-fns/esm' + export default isLastDayOfMonth +} + +declare module 'date-fns/esm/isLeapYear/index.js' { + import { isLeapYear } from 'date-fns/esm' + export default isLeapYear +} + +declare module 'date-fns/esm/isMatch/index.js' { + import { isMatch } from 'date-fns/esm' + export default isMatch +} + +declare module 'date-fns/esm/isMonday/index.js' { + import { isMonday } from 'date-fns/esm' + export default isMonday +} + +declare module 'date-fns/esm/isPast/index.js' { + import { isPast } from 'date-fns/esm' + export default isPast +} + +declare module 'date-fns/esm/isSameDay/index.js' { + import { isSameDay } from 'date-fns/esm' + export default isSameDay +} + +declare module 'date-fns/esm/isSameHour/index.js' { + import { isSameHour } from 'date-fns/esm' + export default isSameHour +} + +declare module 'date-fns/esm/isSameISOWeek/index.js' { + import { isSameISOWeek } from 'date-fns/esm' + export default isSameISOWeek +} + +declare module 'date-fns/esm/isSameISOWeekYear/index.js' { + import { isSameISOWeekYear } from 'date-fns/esm' + export default isSameISOWeekYear +} + +declare module 'date-fns/esm/isSameMinute/index.js' { + import { isSameMinute } from 'date-fns/esm' + export default isSameMinute +} + +declare module 'date-fns/esm/isSameMonth/index.js' { + import { isSameMonth } from 'date-fns/esm' + export default isSameMonth +} + +declare module 'date-fns/esm/isSameQuarter/index.js' { + import { isSameQuarter } from 'date-fns/esm' + export default isSameQuarter +} + +declare module 'date-fns/esm/isSameSecond/index.js' { + import { isSameSecond } from 'date-fns/esm' + export default isSameSecond +} + +declare module 'date-fns/esm/isSameWeek/index.js' { + import { isSameWeek } from 'date-fns/esm' + export default isSameWeek +} + +declare module 'date-fns/esm/isSameYear/index.js' { + import { isSameYear } from 'date-fns/esm' + export default isSameYear +} + +declare module 'date-fns/esm/isSaturday/index.js' { + import { isSaturday } from 'date-fns/esm' + export default isSaturday +} + +declare module 'date-fns/esm/isSunday/index.js' { + import { isSunday } from 'date-fns/esm' + export default isSunday +} + +declare module 'date-fns/esm/isThisHour/index.js' { + import { isThisHour } from 'date-fns/esm' + export default isThisHour +} + +declare module 'date-fns/esm/isThisISOWeek/index.js' { + import { isThisISOWeek } from 'date-fns/esm' + export default isThisISOWeek +} + +declare module 'date-fns/esm/isThisMinute/index.js' { + import { isThisMinute } from 'date-fns/esm' + export default isThisMinute +} + +declare module 'date-fns/esm/isThisMonth/index.js' { + import { isThisMonth } from 'date-fns/esm' + export default isThisMonth +} + +declare module 'date-fns/esm/isThisQuarter/index.js' { + import { isThisQuarter } from 'date-fns/esm' + export default isThisQuarter +} + +declare module 'date-fns/esm/isThisSecond/index.js' { + import { isThisSecond } from 'date-fns/esm' + export default isThisSecond +} + +declare module 'date-fns/esm/isThisWeek/index.js' { + import { isThisWeek } from 'date-fns/esm' + export default isThisWeek +} + +declare module 'date-fns/esm/isThisYear/index.js' { + import { isThisYear } from 'date-fns/esm' + export default isThisYear +} + +declare module 'date-fns/esm/isThursday/index.js' { + import { isThursday } from 'date-fns/esm' + export default isThursday +} + +declare module 'date-fns/esm/isToday/index.js' { + import { isToday } from 'date-fns/esm' + export default isToday +} + +declare module 'date-fns/esm/isTomorrow/index.js' { + import { isTomorrow } from 'date-fns/esm' + export default isTomorrow +} + +declare module 'date-fns/esm/isTuesday/index.js' { + import { isTuesday } from 'date-fns/esm' + export default isTuesday +} + +declare module 'date-fns/esm/isValid/index.js' { + import { isValid } from 'date-fns/esm' + export default isValid +} + +declare module 'date-fns/esm/isWednesday/index.js' { + import { isWednesday } from 'date-fns/esm' + export default isWednesday +} + +declare module 'date-fns/esm/isWeekend/index.js' { + import { isWeekend } from 'date-fns/esm' + export default isWeekend +} + +declare module 'date-fns/esm/isWithinInterval/index.js' { + import { isWithinInterval } from 'date-fns/esm' + export default isWithinInterval +} + +declare module 'date-fns/esm/isYesterday/index.js' { + import { isYesterday } from 'date-fns/esm' + export default isYesterday +} + +declare module 'date-fns/esm/lastDayOfDecade/index.js' { + import { lastDayOfDecade } from 'date-fns/esm' + export default lastDayOfDecade +} + +declare module 'date-fns/esm/lastDayOfISOWeek/index.js' { + import { lastDayOfISOWeek } from 'date-fns/esm' + export default lastDayOfISOWeek +} + +declare module 'date-fns/esm/lastDayOfISOWeekYear/index.js' { + import { lastDayOfISOWeekYear } from 'date-fns/esm' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/esm/lastDayOfMonth/index.js' { + import { lastDayOfMonth } from 'date-fns/esm' + export default lastDayOfMonth +} + +declare module 'date-fns/esm/lastDayOfQuarter/index.js' { + import { lastDayOfQuarter } from 'date-fns/esm' + export default lastDayOfQuarter +} + +declare module 'date-fns/esm/lastDayOfWeek/index.js' { + import { lastDayOfWeek } from 'date-fns/esm' + export default lastDayOfWeek +} + +declare module 'date-fns/esm/lastDayOfYear/index.js' { + import { lastDayOfYear } from 'date-fns/esm' + export default lastDayOfYear +} + +declare module 'date-fns/esm/lightFormat/index.js' { + import { lightFormat } from 'date-fns/esm' + export default lightFormat +} + +declare module 'date-fns/esm/max/index.js' { + import { max } from 'date-fns/esm' + export default max +} + +declare module 'date-fns/esm/milliseconds/index.js' { + import { milliseconds } from 'date-fns/esm' + export default milliseconds +} + +declare module 'date-fns/esm/millisecondsToHours/index.js' { + import { millisecondsToHours } from 'date-fns/esm' + export default millisecondsToHours +} + +declare module 'date-fns/esm/millisecondsToMinutes/index.js' { + import { millisecondsToMinutes } from 'date-fns/esm' + export default millisecondsToMinutes +} + +declare module 'date-fns/esm/millisecondsToSeconds/index.js' { + import { millisecondsToSeconds } from 'date-fns/esm' + export default millisecondsToSeconds +} + +declare module 'date-fns/esm/min/index.js' { + import { min } from 'date-fns/esm' + export default min +} + +declare module 'date-fns/esm/minutesToHours/index.js' { + import { minutesToHours } from 'date-fns/esm' + export default minutesToHours +} + +declare module 'date-fns/esm/minutesToMilliseconds/index.js' { + import { minutesToMilliseconds } from 'date-fns/esm' + export default minutesToMilliseconds +} + +declare module 'date-fns/esm/minutesToSeconds/index.js' { + import { minutesToSeconds } from 'date-fns/esm' + export default minutesToSeconds +} + +declare module 'date-fns/esm/monthsToQuarters/index.js' { + import { monthsToQuarters } from 'date-fns/esm' + export default monthsToQuarters +} + +declare module 'date-fns/esm/monthsToYears/index.js' { + import { monthsToYears } from 'date-fns/esm' + export default monthsToYears +} + +declare module 'date-fns/esm/nextDay/index.js' { + import { nextDay } from 'date-fns/esm' + export default nextDay +} + +declare module 'date-fns/esm/nextFriday/index.js' { + import { nextFriday } from 'date-fns/esm' + export default nextFriday +} + +declare module 'date-fns/esm/nextMonday/index.js' { + import { nextMonday } from 'date-fns/esm' + export default nextMonday +} + +declare module 'date-fns/esm/nextSaturday/index.js' { + import { nextSaturday } from 'date-fns/esm' + export default nextSaturday +} + +declare module 'date-fns/esm/nextSunday/index.js' { + import { nextSunday } from 'date-fns/esm' + export default nextSunday +} + +declare module 'date-fns/esm/nextThursday/index.js' { + import { nextThursday } from 'date-fns/esm' + export default nextThursday +} + +declare module 'date-fns/esm/nextTuesday/index.js' { + import { nextTuesday } from 'date-fns/esm' + export default nextTuesday +} + +declare module 'date-fns/esm/nextWednesday/index.js' { + import { nextWednesday } from 'date-fns/esm' + export default nextWednesday +} + +declare module 'date-fns/esm/parse/index.js' { + import { parse } from 'date-fns/esm' + export default parse +} + +declare module 'date-fns/esm/parseISO/index.js' { + import { parseISO } from 'date-fns/esm' + export default parseISO +} + +declare module 'date-fns/esm/parseJSON/index.js' { + import { parseJSON } from 'date-fns/esm' + export default parseJSON +} + +declare module 'date-fns/esm/previousDay/index.js' { + import { previousDay } from 'date-fns/esm' + export default previousDay +} + +declare module 'date-fns/esm/previousFriday/index.js' { + import { previousFriday } from 'date-fns/esm' + export default previousFriday +} + +declare module 'date-fns/esm/previousMonday/index.js' { + import { previousMonday } from 'date-fns/esm' + export default previousMonday +} + +declare module 'date-fns/esm/previousSaturday/index.js' { + import { previousSaturday } from 'date-fns/esm' + export default previousSaturday +} + +declare module 'date-fns/esm/previousSunday/index.js' { + import { previousSunday } from 'date-fns/esm' + export default previousSunday +} + +declare module 'date-fns/esm/previousThursday/index.js' { + import { previousThursday } from 'date-fns/esm' + export default previousThursday +} + +declare module 'date-fns/esm/previousTuesday/index.js' { + import { previousTuesday } from 'date-fns/esm' + export default previousTuesday +} + +declare module 'date-fns/esm/previousWednesday/index.js' { + import { previousWednesday } from 'date-fns/esm' + export default previousWednesday +} + +declare module 'date-fns/esm/quartersToMonths/index.js' { + import { quartersToMonths } from 'date-fns/esm' + export default quartersToMonths +} + +declare module 'date-fns/esm/quartersToYears/index.js' { + import { quartersToYears } from 'date-fns/esm' + export default quartersToYears +} + +declare module 'date-fns/esm/roundToNearestMinutes/index.js' { + import { roundToNearestMinutes } from 'date-fns/esm' + export default roundToNearestMinutes +} + +declare module 'date-fns/esm/secondsToHours/index.js' { + import { secondsToHours } from 'date-fns/esm' + export default secondsToHours +} + +declare module 'date-fns/esm/secondsToMilliseconds/index.js' { + import { secondsToMilliseconds } from 'date-fns/esm' + export default secondsToMilliseconds +} + +declare module 'date-fns/esm/secondsToMinutes/index.js' { + import { secondsToMinutes } from 'date-fns/esm' + export default secondsToMinutes +} + +declare module 'date-fns/esm/set/index.js' { + import { set } from 'date-fns/esm' + export default set +} + +declare module 'date-fns/esm/setDate/index.js' { + import { setDate } from 'date-fns/esm' + export default setDate +} + +declare module 'date-fns/esm/setDay/index.js' { + import { setDay } from 'date-fns/esm' + export default setDay +} + +declare module 'date-fns/esm/setDayOfYear/index.js' { + import { setDayOfYear } from 'date-fns/esm' + export default setDayOfYear +} + +declare module 'date-fns/esm/setDefaultOptions/index.js' { + import { setDefaultOptions } from 'date-fns/esm' + export default setDefaultOptions +} + +declare module 'date-fns/esm/setHours/index.js' { + import { setHours } from 'date-fns/esm' + export default setHours +} + +declare module 'date-fns/esm/setISODay/index.js' { + import { setISODay } from 'date-fns/esm' + export default setISODay +} + +declare module 'date-fns/esm/setISOWeek/index.js' { + import { setISOWeek } from 'date-fns/esm' + export default setISOWeek +} + +declare module 'date-fns/esm/setISOWeekYear/index.js' { + import { setISOWeekYear } from 'date-fns/esm' + export default setISOWeekYear +} + +declare module 'date-fns/esm/setMilliseconds/index.js' { + import { setMilliseconds } from 'date-fns/esm' + export default setMilliseconds +} + +declare module 'date-fns/esm/setMinutes/index.js' { + import { setMinutes } from 'date-fns/esm' + export default setMinutes +} + +declare module 'date-fns/esm/setMonth/index.js' { + import { setMonth } from 'date-fns/esm' + export default setMonth +} + +declare module 'date-fns/esm/setQuarter/index.js' { + import { setQuarter } from 'date-fns/esm' + export default setQuarter +} + +declare module 'date-fns/esm/setSeconds/index.js' { + import { setSeconds } from 'date-fns/esm' + export default setSeconds +} + +declare module 'date-fns/esm/setWeek/index.js' { + import { setWeek } from 'date-fns/esm' + export default setWeek +} + +declare module 'date-fns/esm/setWeekYear/index.js' { + import { setWeekYear } from 'date-fns/esm' + export default setWeekYear +} + +declare module 'date-fns/esm/setYear/index.js' { + import { setYear } from 'date-fns/esm' + export default setYear +} + +declare module 'date-fns/esm/startOfDay/index.js' { + import { startOfDay } from 'date-fns/esm' + export default startOfDay +} + +declare module 'date-fns/esm/startOfDecade/index.js' { + import { startOfDecade } from 'date-fns/esm' + export default startOfDecade +} + +declare module 'date-fns/esm/startOfHour/index.js' { + import { startOfHour } from 'date-fns/esm' + export default startOfHour +} + +declare module 'date-fns/esm/startOfISOWeek/index.js' { + import { startOfISOWeek } from 'date-fns/esm' + export default startOfISOWeek +} + +declare module 'date-fns/esm/startOfISOWeekYear/index.js' { + import { startOfISOWeekYear } from 'date-fns/esm' + export default startOfISOWeekYear +} + +declare module 'date-fns/esm/startOfMinute/index.js' { + import { startOfMinute } from 'date-fns/esm' + export default startOfMinute +} + +declare module 'date-fns/esm/startOfMonth/index.js' { + import { startOfMonth } from 'date-fns/esm' + export default startOfMonth +} + +declare module 'date-fns/esm/startOfQuarter/index.js' { + import { startOfQuarter } from 'date-fns/esm' + export default startOfQuarter +} + +declare module 'date-fns/esm/startOfSecond/index.js' { + import { startOfSecond } from 'date-fns/esm' + export default startOfSecond +} + +declare module 'date-fns/esm/startOfToday/index.js' { + import { startOfToday } from 'date-fns/esm' + export default startOfToday +} + +declare module 'date-fns/esm/startOfTomorrow/index.js' { + import { startOfTomorrow } from 'date-fns/esm' + export default startOfTomorrow +} + +declare module 'date-fns/esm/startOfWeek/index.js' { + import { startOfWeek } from 'date-fns/esm' + export default startOfWeek +} + +declare module 'date-fns/esm/startOfWeekYear/index.js' { + import { startOfWeekYear } from 'date-fns/esm' + export default startOfWeekYear +} + +declare module 'date-fns/esm/startOfYear/index.js' { + import { startOfYear } from 'date-fns/esm' + export default startOfYear +} + +declare module 'date-fns/esm/startOfYesterday/index.js' { + import { startOfYesterday } from 'date-fns/esm' + export default startOfYesterday +} + +declare module 'date-fns/esm/sub/index.js' { + import { sub } from 'date-fns/esm' + export default sub +} + +declare module 'date-fns/esm/subBusinessDays/index.js' { + import { subBusinessDays } from 'date-fns/esm' + export default subBusinessDays +} + +declare module 'date-fns/esm/subDays/index.js' { + import { subDays } from 'date-fns/esm' + export default subDays +} + +declare module 'date-fns/esm/subHours/index.js' { + import { subHours } from 'date-fns/esm' + export default subHours +} + +declare module 'date-fns/esm/subISOWeekYears/index.js' { + import { subISOWeekYears } from 'date-fns/esm' + export default subISOWeekYears +} + +declare module 'date-fns/esm/subMilliseconds/index.js' { + import { subMilliseconds } from 'date-fns/esm' + export default subMilliseconds +} + +declare module 'date-fns/esm/subMinutes/index.js' { + import { subMinutes } from 'date-fns/esm' + export default subMinutes +} + +declare module 'date-fns/esm/subMonths/index.js' { + import { subMonths } from 'date-fns/esm' + export default subMonths +} + +declare module 'date-fns/esm/subQuarters/index.js' { + import { subQuarters } from 'date-fns/esm' + export default subQuarters +} + +declare module 'date-fns/esm/subSeconds/index.js' { + import { subSeconds } from 'date-fns/esm' + export default subSeconds +} + +declare module 'date-fns/esm/subWeeks/index.js' { + import { subWeeks } from 'date-fns/esm' + export default subWeeks +} + +declare module 'date-fns/esm/subYears/index.js' { + import { subYears } from 'date-fns/esm' + export default subYears +} + +declare module 'date-fns/esm/toDate/index.js' { + import { toDate } from 'date-fns/esm' + export default toDate +} + +declare module 'date-fns/esm/weeksToDays/index.js' { + import { weeksToDays } from 'date-fns/esm' + export default weeksToDays +} + +declare module 'date-fns/esm/yearsToMonths/index.js' { + import { yearsToMonths } from 'date-fns/esm' + export default yearsToMonths +} + +declare module 'date-fns/esm/yearsToQuarters/index.js' { + import { yearsToQuarters } from 'date-fns/esm' + export default yearsToQuarters +} + +// ECMAScript Module FP Functions + +declare module 'date-fns/esm/fp' { + const add: CurriedFn2 + namespace add {} + + const addBusinessDays: CurriedFn2 + namespace addBusinessDays {} + + const addDays: CurriedFn2 + namespace addDays {} + + const addHours: CurriedFn2 + namespace addHours {} + + const addISOWeekYears: CurriedFn2 + namespace addISOWeekYears {} + + const addMilliseconds: CurriedFn2 + namespace addMilliseconds {} + + const addMinutes: CurriedFn2 + namespace addMinutes {} + + const addMonths: CurriedFn2 + namespace addMonths {} + + const addQuarters: CurriedFn2 + namespace addQuarters {} + + const addSeconds: CurriedFn2 + namespace addSeconds {} + + const addWeeks: CurriedFn2 + namespace addWeeks {} + + const addYears: CurriedFn2 + namespace addYears {} + + const areIntervalsOverlapping: CurriedFn2 + namespace areIntervalsOverlapping {} + + const areIntervalsOverlappingWithOptions: CurriedFn3< + { + inclusive?: boolean + }, + Interval, + Interval, + boolean + > + namespace areIntervalsOverlappingWithOptions {} + + const clamp: CurriedFn2 + namespace clamp {} + + const closestIndexTo: CurriedFn2< + (Date | number)[], + Date | number, + number | undefined + > + namespace closestIndexTo {} + + const closestTo: CurriedFn2< + (Date | number)[], + Date | number, + Date | undefined + > + namespace closestTo {} + + const compareAsc: CurriedFn2 + namespace compareAsc {} + + const compareDesc: CurriedFn2 + namespace compareDesc {} + + const daysToWeeks: CurriedFn1 + namespace daysToWeeks {} + + const differenceInBusinessDays: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInBusinessDays {} + + const differenceInCalendarDays: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarDays {} + + const differenceInCalendarISOWeeks: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarISOWeeks {} + + const differenceInCalendarISOWeekYears: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarISOWeekYears {} + + const differenceInCalendarMonths: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarMonths {} + + const differenceInCalendarQuarters: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarQuarters {} + + const differenceInCalendarWeeks: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarWeeks {} + + const differenceInCalendarWeeksWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date | number, + number + > + namespace differenceInCalendarWeeksWithOptions {} + + const differenceInCalendarYears: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInCalendarYears {} + + const differenceInDays: CurriedFn2 + namespace differenceInDays {} + + const differenceInHours: CurriedFn2 + namespace differenceInHours {} + + const differenceInHoursWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInHoursWithOptions {} + + const differenceInISOWeekYears: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInISOWeekYears {} + + const differenceInMilliseconds: CurriedFn2< + Date | number, + Date | number, + number + > + namespace differenceInMilliseconds {} + + const differenceInMinutes: CurriedFn2 + namespace differenceInMinutes {} + + const differenceInMinutesWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInMinutesWithOptions {} + + const differenceInMonths: CurriedFn2 + namespace differenceInMonths {} + + const differenceInQuarters: CurriedFn2 + namespace differenceInQuarters {} + + const differenceInQuartersWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInQuartersWithOptions {} + + const differenceInSeconds: CurriedFn2 + namespace differenceInSeconds {} + + const differenceInSecondsWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInSecondsWithOptions {} + + const differenceInWeeks: CurriedFn2 + namespace differenceInWeeks {} + + const differenceInWeeksWithOptions: CurriedFn3< + { + roundingMethod?: string + }, + Date | number, + Date | number, + number + > + namespace differenceInWeeksWithOptions {} + + const differenceInYears: CurriedFn2 + namespace differenceInYears {} + + const eachDayOfInterval: CurriedFn1 + namespace eachDayOfInterval {} + + const eachDayOfIntervalWithOptions: CurriedFn2< + { + step?: number + }, + Interval, + Date[] + > + namespace eachDayOfIntervalWithOptions {} + + const eachHourOfInterval: CurriedFn1 + namespace eachHourOfInterval {} + + const eachHourOfIntervalWithOptions: CurriedFn2< + { + step?: number + }, + Interval, + Date[] + > + namespace eachHourOfIntervalWithOptions {} + + const eachMinuteOfInterval: CurriedFn1 + namespace eachMinuteOfInterval {} + + const eachMinuteOfIntervalWithOptions: CurriedFn2< + { + step?: number + }, + Interval, + Date[] + > + namespace eachMinuteOfIntervalWithOptions {} + + const eachMonthOfInterval: CurriedFn1 + namespace eachMonthOfInterval {} + + const eachQuarterOfInterval: CurriedFn1 + namespace eachQuarterOfInterval {} + + const eachWeekendOfInterval: CurriedFn1 + namespace eachWeekendOfInterval {} + + const eachWeekendOfMonth: CurriedFn1 + namespace eachWeekendOfMonth {} + + const eachWeekendOfYear: CurriedFn1 + namespace eachWeekendOfYear {} + + const eachWeekOfInterval: CurriedFn1 + namespace eachWeekOfInterval {} + + const eachWeekOfIntervalWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Interval, + Date[] + > + namespace eachWeekOfIntervalWithOptions {} + + const eachYearOfInterval: CurriedFn1 + namespace eachYearOfInterval {} + + const endOfDay: CurriedFn1 + namespace endOfDay {} + + const endOfDecade: CurriedFn1 + namespace endOfDecade {} + + const endOfDecadeWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2 + }, + Date | number, + Date + > + namespace endOfDecadeWithOptions {} + + const endOfHour: CurriedFn1 + namespace endOfHour {} + + const endOfISOWeek: CurriedFn1 + namespace endOfISOWeek {} + + const endOfISOWeekYear: CurriedFn1 + namespace endOfISOWeekYear {} + + const endOfMinute: CurriedFn1 + namespace endOfMinute {} + + const endOfMonth: CurriedFn1 + namespace endOfMonth {} + + const endOfQuarter: CurriedFn1 + namespace endOfQuarter {} + + const endOfSecond: CurriedFn1 + namespace endOfSecond {} + + const endOfWeek: CurriedFn1 + namespace endOfWeek {} + + const endOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace endOfWeekWithOptions {} + + const endOfYear: CurriedFn1 + namespace endOfYear {} + + const format: CurriedFn2 + namespace format {} + + const formatDistance: CurriedFn2 + namespace formatDistance {} + + const formatDistanceStrict: CurriedFn2 + namespace formatDistanceStrict {} + + const formatDistanceStrictWithOptions: CurriedFn3< + { + locale?: Locale + roundingMethod?: 'floor' | 'ceil' | 'round' + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + addSuffix?: boolean + }, + Date | number, + Date | number, + string + > + namespace formatDistanceStrictWithOptions {} + + const formatDistanceWithOptions: CurriedFn3< + { + locale?: Locale + addSuffix?: boolean + includeSeconds?: boolean + }, + Date | number, + Date | number, + string + > + namespace formatDistanceWithOptions {} + + const formatDuration: CurriedFn1 + namespace formatDuration {} + + const formatDurationWithOptions: CurriedFn2< + { + locale?: Locale + delimiter?: string + zero?: boolean + format?: string[] + }, + Duration, + string + > + namespace formatDurationWithOptions {} + + const formatISO: CurriedFn1 + namespace formatISO {} + + const formatISO9075: CurriedFn1 + namespace formatISO9075 {} + + const formatISO9075WithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time' + format?: 'extended' | 'basic' + }, + Date | number, + string + > + namespace formatISO9075WithOptions {} + + const formatISODuration: CurriedFn1 + namespace formatISODuration {} + + const formatISOWithOptions: CurriedFn2< + { + representation?: 'complete' | 'date' | 'time' + format?: 'extended' | 'basic' + }, + Date | number, + string + > + namespace formatISOWithOptions {} + + const formatRelative: CurriedFn2 + namespace formatRelative {} + + const formatRelativeWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date | number, + string + > + namespace formatRelativeWithOptions {} + + const formatRFC3339: CurriedFn1 + namespace formatRFC3339 {} + + const formatRFC3339WithOptions: CurriedFn2< + { + fractionDigits?: 0 | 1 | 2 | 3 + }, + Date | number, + string + > + namespace formatRFC3339WithOptions {} + + const formatRFC7231: CurriedFn1 + namespace formatRFC7231 {} + + const formatWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean + useAdditionalWeekYearTokens?: boolean + firstWeekContainsDate?: number + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + string, + Date | number, + string + > + namespace formatWithOptions {} + + const fromUnixTime: CurriedFn1 + namespace fromUnixTime {} + + const getDate: CurriedFn1 + namespace getDate {} + + const getDay: CurriedFn1 + namespace getDay {} + + const getDayOfYear: CurriedFn1 + namespace getDayOfYear {} + + const getDaysInMonth: CurriedFn1 + namespace getDaysInMonth {} + + const getDaysInYear: CurriedFn1 + namespace getDaysInYear {} + + const getDecade: CurriedFn1 + namespace getDecade {} + + const getHours: CurriedFn1 + namespace getHours {} + + const getISODay: CurriedFn1 + namespace getISODay {} + + const getISOWeek: CurriedFn1 + namespace getISOWeek {} + + const getISOWeeksInYear: CurriedFn1 + namespace getISOWeeksInYear {} + + const getISOWeekYear: CurriedFn1 + namespace getISOWeekYear {} + + const getMilliseconds: CurriedFn1 + namespace getMilliseconds {} + + const getMinutes: CurriedFn1 + namespace getMinutes {} + + const getMonth: CurriedFn1 + namespace getMonth {} + + const getOverlappingDaysInIntervals: CurriedFn2 + namespace getOverlappingDaysInIntervals {} + + const getQuarter: CurriedFn1 + namespace getQuarter {} + + const getSeconds: CurriedFn1 + namespace getSeconds {} + + const getTime: CurriedFn1 + namespace getTime {} + + const getUnixTime: CurriedFn1 + namespace getUnixTime {} + + const getWeek: CurriedFn1 + namespace getWeek {} + + const getWeekOfMonth: CurriedFn1 + namespace getWeekOfMonth {} + + const getWeekOfMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeekOfMonthWithOptions {} + + const getWeeksInMonth: CurriedFn1 + namespace getWeeksInMonth {} + + const getWeeksInMonthWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeeksInMonthWithOptions {} + + const getWeekWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeekWithOptions {} + + const getWeekYear: CurriedFn1 + namespace getWeekYear {} + + const getWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + number + > + namespace getWeekYearWithOptions {} + + const getYear: CurriedFn1 + namespace getYear {} + + const hoursToMilliseconds: CurriedFn1 + namespace hoursToMilliseconds {} + + const hoursToMinutes: CurriedFn1 + namespace hoursToMinutes {} + + const hoursToSeconds: CurriedFn1 + namespace hoursToSeconds {} + + const intervalToDuration: CurriedFn1 + namespace intervalToDuration {} + + const intlFormat: CurriedFn3< + { + locale?: string | string[] + }, + { + timeZone?: string + hour12?: boolean + formatMatcher?: 'basic' | 'best fit' + timeZoneName?: 'short' | 'long' + second?: 'numeric' | '2-digit' + minute?: 'numeric' | '2-digit' + hour?: 'numeric' | '2-digit' + day?: 'numeric' | '2-digit' + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long' + year?: 'numeric' | '2-digit' + era?: 'narrow' | 'short' | 'long' + weekday?: 'narrow' | 'short' | 'long' + localeMatcher?: 'lookup' | 'best fit' + }, + Date | number, + string + > + namespace intlFormat {} + + const intlFormatDistance: CurriedFn2 + namespace intlFormatDistance {} + + const intlFormatDistanceWithOptions: CurriedFn3< + { + style?: string + numeric?: string + localeMatcher?: string + locale?: string | string[] + unit?: string + }, + Date | number, + Date | number, + string + > + namespace intlFormatDistanceWithOptions {} + + const isAfter: CurriedFn2 + namespace isAfter {} + + const isBefore: CurriedFn2 + namespace isBefore {} + + const isDate: CurriedFn1 + namespace isDate {} + + const isEqual: CurriedFn2 + namespace isEqual {} + + const isExists: CurriedFn3 + namespace isExists {} + + const isFirstDayOfMonth: CurriedFn1 + namespace isFirstDayOfMonth {} + + const isFriday: CurriedFn1 + namespace isFriday {} + + const isLastDayOfMonth: CurriedFn1 + namespace isLastDayOfMonth {} + + const isLeapYear: CurriedFn1 + namespace isLeapYear {} + + const isMatch: CurriedFn2 + namespace isMatch {} + + const isMatchWithOptions: CurriedFn3< + { + useAdditionalDayOfYearTokens?: boolean + useAdditionalWeekYearTokens?: boolean + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + string, + string, + boolean + > + namespace isMatchWithOptions {} + + const isMonday: CurriedFn1 + namespace isMonday {} + + const isSameDay: CurriedFn2 + namespace isSameDay {} + + const isSameHour: CurriedFn2 + namespace isSameHour {} + + const isSameISOWeek: CurriedFn2 + namespace isSameISOWeek {} + + const isSameISOWeekYear: CurriedFn2 + namespace isSameISOWeekYear {} + + const isSameMinute: CurriedFn2 + namespace isSameMinute {} + + const isSameMonth: CurriedFn2 + namespace isSameMonth {} + + const isSameQuarter: CurriedFn2 + namespace isSameQuarter {} + + const isSameSecond: CurriedFn2 + namespace isSameSecond {} + + const isSameWeek: CurriedFn2 + namespace isSameWeek {} + + const isSameWeekWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date | number, + boolean + > + namespace isSameWeekWithOptions {} + + const isSameYear: CurriedFn2 + namespace isSameYear {} + + const isSaturday: CurriedFn1 + namespace isSaturday {} + + const isSunday: CurriedFn1 + namespace isSunday {} + + const isThursday: CurriedFn1 + namespace isThursday {} + + const isTuesday: CurriedFn1 + namespace isTuesday {} + + const isValid: CurriedFn1 + namespace isValid {} + + const isWednesday: CurriedFn1 + namespace isWednesday {} + + const isWeekend: CurriedFn1 + namespace isWeekend {} + + const isWithinInterval: CurriedFn2 + namespace isWithinInterval {} + + const lastDayOfDecade: CurriedFn1 + namespace lastDayOfDecade {} + + const lastDayOfISOWeek: CurriedFn1 + namespace lastDayOfISOWeek {} + + const lastDayOfISOWeekYear: CurriedFn1 + namespace lastDayOfISOWeekYear {} + + const lastDayOfMonth: CurriedFn1 + namespace lastDayOfMonth {} + + const lastDayOfQuarter: CurriedFn1 + namespace lastDayOfQuarter {} + + const lastDayOfQuarterWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2 + }, + Date | number, + Date + > + namespace lastDayOfQuarterWithOptions {} + + const lastDayOfWeek: CurriedFn1 + namespace lastDayOfWeek {} + + const lastDayOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace lastDayOfWeekWithOptions {} + + const lastDayOfYear: CurriedFn1 + namespace lastDayOfYear {} + + const lightFormat: CurriedFn2 + namespace lightFormat {} + + const max: CurriedFn1<(Date | number)[], Date> + namespace max {} + + const milliseconds: CurriedFn1 + namespace milliseconds {} + + const millisecondsToHours: CurriedFn1 + namespace millisecondsToHours {} + + const millisecondsToMinutes: CurriedFn1 + namespace millisecondsToMinutes {} + + const millisecondsToSeconds: CurriedFn1 + namespace millisecondsToSeconds {} + + const min: CurriedFn1<(Date | number)[], Date> + namespace min {} + + const minutesToHours: CurriedFn1 + namespace minutesToHours {} + + const minutesToMilliseconds: CurriedFn1 + namespace minutesToMilliseconds {} + + const minutesToSeconds: CurriedFn1 + namespace minutesToSeconds {} + + const monthsToQuarters: CurriedFn1 + namespace monthsToQuarters {} + + const monthsToYears: CurriedFn1 + namespace monthsToYears {} + + const nextDay: CurriedFn2 + namespace nextDay {} + + const nextFriday: CurriedFn1 + namespace nextFriday {} + + const nextMonday: CurriedFn1 + namespace nextMonday {} + + const nextSaturday: CurriedFn1 + namespace nextSaturday {} + + const nextSunday: CurriedFn1 + namespace nextSunday {} + + const nextThursday: CurriedFn1 + namespace nextThursday {} + + const nextTuesday: CurriedFn1 + namespace nextTuesday {} + + const nextWednesday: CurriedFn1 + namespace nextWednesday {} + + const parse: CurriedFn3 + namespace parse {} + + const parseISO: CurriedFn1 + namespace parseISO {} + + const parseISOWithOptions: CurriedFn2< + { + additionalDigits?: 0 | 1 | 2 + }, + string, + Date + > + namespace parseISOWithOptions {} + + const parseJSON: CurriedFn1 + namespace parseJSON {} + + const parseWithOptions: CurriedFn4< + { + useAdditionalDayOfYearTokens?: boolean + useAdditionalWeekYearTokens?: boolean + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + string, + string, + Date + > + namespace parseWithOptions {} + + const previousDay: CurriedFn2 + namespace previousDay {} + + const previousFriday: CurriedFn1 + namespace previousFriday {} + + const previousMonday: CurriedFn1 + namespace previousMonday {} + + const previousSaturday: CurriedFn1 + namespace previousSaturday {} + + const previousSunday: CurriedFn1 + namespace previousSunday {} + + const previousThursday: CurriedFn1 + namespace previousThursday {} + + const previousTuesday: CurriedFn1 + namespace previousTuesday {} + + const previousWednesday: CurriedFn1 + namespace previousWednesday {} + + const quartersToMonths: CurriedFn1 + namespace quartersToMonths {} + + const quartersToYears: CurriedFn1 + namespace quartersToYears {} + + const roundToNearestMinutes: CurriedFn1 + namespace roundToNearestMinutes {} + + const roundToNearestMinutesWithOptions: CurriedFn2< + { + roundingMethod?: string + nearestTo?: number + }, + Date | number, + Date + > + namespace roundToNearestMinutesWithOptions {} + + const secondsToHours: CurriedFn1 + namespace secondsToHours {} + + const secondsToMilliseconds: CurriedFn1 + namespace secondsToMilliseconds {} + + const secondsToMinutes: CurriedFn1 + namespace secondsToMinutes {} + + const set: CurriedFn2< + { + milliseconds?: number + seconds?: number + minutes?: number + hours?: number + date?: number + month?: number + year?: number + }, + Date | number, + Date + > + namespace set {} + + const setDate: CurriedFn2 + namespace setDate {} + + const setDay: CurriedFn2 + namespace setDay {} + + const setDayOfYear: CurriedFn2 + namespace setDayOfYear {} + + const setDayWithOptions: CurriedFn3< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + number, + Date | number, + Date + > + namespace setDayWithOptions {} + + const setHours: CurriedFn2 + namespace setHours {} + + const setISODay: CurriedFn2 + namespace setISODay {} + + const setISOWeek: CurriedFn2 + namespace setISOWeek {} + + const setISOWeekYear: CurriedFn2 + namespace setISOWeekYear {} + + const setMilliseconds: CurriedFn2 + namespace setMilliseconds {} + + const setMinutes: CurriedFn2 + namespace setMinutes {} + + const setMonth: CurriedFn2 + namespace setMonth {} + + const setQuarter: CurriedFn2 + namespace setQuarter {} + + const setSeconds: CurriedFn2 + namespace setSeconds {} + + const setWeek: CurriedFn2 + namespace setWeek {} + + const setWeekWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + number, + Date | number, + Date + > + namespace setWeekWithOptions {} + + const setWeekYear: CurriedFn2 + namespace setWeekYear {} + + const setWeekYearWithOptions: CurriedFn3< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + number, + Date | number, + Date + > + namespace setWeekYearWithOptions {} + + const setYear: CurriedFn2 + namespace setYear {} + + const startOfDay: CurriedFn1 + namespace startOfDay {} + + const startOfDecade: CurriedFn1 + namespace startOfDecade {} + + const startOfHour: CurriedFn1 + namespace startOfHour {} + + const startOfISOWeek: CurriedFn1 + namespace startOfISOWeek {} + + const startOfISOWeekYear: CurriedFn1 + namespace startOfISOWeekYear {} + + const startOfMinute: CurriedFn1 + namespace startOfMinute {} + + const startOfMonth: CurriedFn1 + namespace startOfMonth {} + + const startOfQuarter: CurriedFn1 + namespace startOfQuarter {} + + const startOfSecond: CurriedFn1 + namespace startOfSecond {} + + const startOfWeek: CurriedFn1 + namespace startOfWeek {} + + const startOfWeekWithOptions: CurriedFn2< + { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace startOfWeekWithOptions {} + + const startOfWeekYear: CurriedFn1 + namespace startOfWeekYear {} + + const startOfWeekYearWithOptions: CurriedFn2< + { + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + locale?: Locale + }, + Date | number, + Date + > + namespace startOfWeekYearWithOptions {} + + const startOfYear: CurriedFn1 + namespace startOfYear {} + + const sub: CurriedFn2 + namespace sub {} + + const subBusinessDays: CurriedFn2 + namespace subBusinessDays {} + + const subDays: CurriedFn2 + namespace subDays {} + + const subHours: CurriedFn2 + namespace subHours {} + + const subISOWeekYears: CurriedFn2 + namespace subISOWeekYears {} + + const subMilliseconds: CurriedFn2 + namespace subMilliseconds {} + + const subMinutes: CurriedFn2 + namespace subMinutes {} + + const subMonths: CurriedFn2 + namespace subMonths {} + + const subQuarters: CurriedFn2 + namespace subQuarters {} + + const subSeconds: CurriedFn2 + namespace subSeconds {} + + const subWeeks: CurriedFn2 + namespace subWeeks {} + + const subYears: CurriedFn2 + namespace subYears {} + + const toDate: CurriedFn1 + namespace toDate {} + + const weeksToDays: CurriedFn1 + namespace weeksToDays {} + + const yearsToMonths: CurriedFn1 + namespace yearsToMonths {} + + const yearsToQuarters: CurriedFn1 + namespace yearsToQuarters {} + + const daysInWeek: number + + const daysInYear: number + + const maxTime: number + + const millisecondsInMinute: number + + const millisecondsInHour: number + + const millisecondsInSecond: number + + const minTime: number + + const minutesInHour: number + + const monthsInQuarter: number + + const monthsInYear: number + + const quartersInYear: number + + const secondsInHour: number + + const secondsInMinute: number + + const secondsInDay: number + + const secondsInWeek: number + + const secondsInYear: number + + const secondsInMonth: number + + const secondsInQuarter: number +} + +declare module 'date-fns/esm/fp/add' { + import { add } from 'date-fns/esm/fp' + export default add +} + +declare module 'date-fns/esm/fp/addBusinessDays' { + import { addBusinessDays } from 'date-fns/esm/fp' + export default addBusinessDays +} + +declare module 'date-fns/esm/fp/addDays' { + import { addDays } from 'date-fns/esm/fp' + export default addDays +} + +declare module 'date-fns/esm/fp/addHours' { + import { addHours } from 'date-fns/esm/fp' + export default addHours +} + +declare module 'date-fns/esm/fp/addISOWeekYears' { + import { addISOWeekYears } from 'date-fns/esm/fp' + export default addISOWeekYears +} + +declare module 'date-fns/esm/fp/addMilliseconds' { + import { addMilliseconds } from 'date-fns/esm/fp' + export default addMilliseconds +} + +declare module 'date-fns/esm/fp/addMinutes' { + import { addMinutes } from 'date-fns/esm/fp' + export default addMinutes +} + +declare module 'date-fns/esm/fp/addMonths' { + import { addMonths } from 'date-fns/esm/fp' + export default addMonths +} + +declare module 'date-fns/esm/fp/addQuarters' { + import { addQuarters } from 'date-fns/esm/fp' + export default addQuarters +} + +declare module 'date-fns/esm/fp/addSeconds' { + import { addSeconds } from 'date-fns/esm/fp' + export default addSeconds +} + +declare module 'date-fns/esm/fp/addWeeks' { + import { addWeeks } from 'date-fns/esm/fp' + export default addWeeks +} + +declare module 'date-fns/esm/fp/addYears' { + import { addYears } from 'date-fns/esm/fp' + export default addYears +} + +declare module 'date-fns/esm/fp/areIntervalsOverlapping' { + import { areIntervalsOverlapping } from 'date-fns/esm/fp' + export default areIntervalsOverlapping +} + +declare module 'date-fns/esm/fp/areIntervalsOverlappingWithOptions' { + import { areIntervalsOverlappingWithOptions } from 'date-fns/esm/fp' + export default areIntervalsOverlappingWithOptions +} + +declare module 'date-fns/esm/fp/clamp' { + import { clamp } from 'date-fns/esm/fp' + export default clamp +} + +declare module 'date-fns/esm/fp/closestIndexTo' { + import { closestIndexTo } from 'date-fns/esm/fp' + export default closestIndexTo +} + +declare module 'date-fns/esm/fp/closestTo' { + import { closestTo } from 'date-fns/esm/fp' + export default closestTo +} + +declare module 'date-fns/esm/fp/compareAsc' { + import { compareAsc } from 'date-fns/esm/fp' + export default compareAsc +} + +declare module 'date-fns/esm/fp/compareDesc' { + import { compareDesc } from 'date-fns/esm/fp' + export default compareDesc +} + +declare module 'date-fns/esm/fp/daysToWeeks' { + import { daysToWeeks } from 'date-fns/esm/fp' + export default daysToWeeks +} + +declare module 'date-fns/esm/fp/differenceInBusinessDays' { + import { differenceInBusinessDays } from 'date-fns/esm/fp' + export default differenceInBusinessDays +} + +declare module 'date-fns/esm/fp/differenceInCalendarDays' { + import { differenceInCalendarDays } from 'date-fns/esm/fp' + export default differenceInCalendarDays +} + +declare module 'date-fns/esm/fp/differenceInCalendarISOWeeks' { + import { differenceInCalendarISOWeeks } from 'date-fns/esm/fp' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/esm/fp/differenceInCalendarISOWeekYears' { + import { differenceInCalendarISOWeekYears } from 'date-fns/esm/fp' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/esm/fp/differenceInCalendarMonths' { + import { differenceInCalendarMonths } from 'date-fns/esm/fp' + export default differenceInCalendarMonths +} + +declare module 'date-fns/esm/fp/differenceInCalendarQuarters' { + import { differenceInCalendarQuarters } from 'date-fns/esm/fp' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/esm/fp/differenceInCalendarWeeks' { + import { differenceInCalendarWeeks } from 'date-fns/esm/fp' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/esm/fp/differenceInCalendarWeeksWithOptions' { + import { differenceInCalendarWeeksWithOptions } from 'date-fns/esm/fp' + export default differenceInCalendarWeeksWithOptions +} + +declare module 'date-fns/esm/fp/differenceInCalendarYears' { + import { differenceInCalendarYears } from 'date-fns/esm/fp' + export default differenceInCalendarYears +} + +declare module 'date-fns/esm/fp/differenceInDays' { + import { differenceInDays } from 'date-fns/esm/fp' + export default differenceInDays +} + +declare module 'date-fns/esm/fp/differenceInHours' { + import { differenceInHours } from 'date-fns/esm/fp' + export default differenceInHours +} + +declare module 'date-fns/esm/fp/differenceInHoursWithOptions' { + import { differenceInHoursWithOptions } from 'date-fns/esm/fp' + export default differenceInHoursWithOptions +} + +declare module 'date-fns/esm/fp/differenceInISOWeekYears' { + import { differenceInISOWeekYears } from 'date-fns/esm/fp' + export default differenceInISOWeekYears +} + +declare module 'date-fns/esm/fp/differenceInMilliseconds' { + import { differenceInMilliseconds } from 'date-fns/esm/fp' + export default differenceInMilliseconds +} + +declare module 'date-fns/esm/fp/differenceInMinutes' { + import { differenceInMinutes } from 'date-fns/esm/fp' + export default differenceInMinutes +} + +declare module 'date-fns/esm/fp/differenceInMinutesWithOptions' { + import { differenceInMinutesWithOptions } from 'date-fns/esm/fp' + export default differenceInMinutesWithOptions +} + +declare module 'date-fns/esm/fp/differenceInMonths' { + import { differenceInMonths } from 'date-fns/esm/fp' + export default differenceInMonths +} + +declare module 'date-fns/esm/fp/differenceInQuarters' { + import { differenceInQuarters } from 'date-fns/esm/fp' + export default differenceInQuarters +} + +declare module 'date-fns/esm/fp/differenceInQuartersWithOptions' { + import { differenceInQuartersWithOptions } from 'date-fns/esm/fp' + export default differenceInQuartersWithOptions +} + +declare module 'date-fns/esm/fp/differenceInSeconds' { + import { differenceInSeconds } from 'date-fns/esm/fp' + export default differenceInSeconds +} + +declare module 'date-fns/esm/fp/differenceInSecondsWithOptions' { + import { differenceInSecondsWithOptions } from 'date-fns/esm/fp' + export default differenceInSecondsWithOptions +} + +declare module 'date-fns/esm/fp/differenceInWeeks' { + import { differenceInWeeks } from 'date-fns/esm/fp' + export default differenceInWeeks +} + +declare module 'date-fns/esm/fp/differenceInWeeksWithOptions' { + import { differenceInWeeksWithOptions } from 'date-fns/esm/fp' + export default differenceInWeeksWithOptions +} + +declare module 'date-fns/esm/fp/differenceInYears' { + import { differenceInYears } from 'date-fns/esm/fp' + export default differenceInYears +} + +declare module 'date-fns/esm/fp/eachDayOfInterval' { + import { eachDayOfInterval } from 'date-fns/esm/fp' + export default eachDayOfInterval +} + +declare module 'date-fns/esm/fp/eachDayOfIntervalWithOptions' { + import { eachDayOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachDayOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachHourOfInterval' { + import { eachHourOfInterval } from 'date-fns/esm/fp' + export default eachHourOfInterval +} + +declare module 'date-fns/esm/fp/eachHourOfIntervalWithOptions' { + import { eachHourOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachHourOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachMinuteOfInterval' { + import { eachMinuteOfInterval } from 'date-fns/esm/fp' + export default eachMinuteOfInterval +} + +declare module 'date-fns/esm/fp/eachMinuteOfIntervalWithOptions' { + import { eachMinuteOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachMinuteOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachMonthOfInterval' { + import { eachMonthOfInterval } from 'date-fns/esm/fp' + export default eachMonthOfInterval +} + +declare module 'date-fns/esm/fp/eachQuarterOfInterval' { + import { eachQuarterOfInterval } from 'date-fns/esm/fp' + export default eachQuarterOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekendOfInterval' { + import { eachWeekendOfInterval } from 'date-fns/esm/fp' + export default eachWeekendOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekendOfMonth' { + import { eachWeekendOfMonth } from 'date-fns/esm/fp' + export default eachWeekendOfMonth +} + +declare module 'date-fns/esm/fp/eachWeekendOfYear' { + import { eachWeekendOfYear } from 'date-fns/esm/fp' + export default eachWeekendOfYear +} + +declare module 'date-fns/esm/fp/eachWeekOfInterval' { + import { eachWeekOfInterval } from 'date-fns/esm/fp' + export default eachWeekOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekOfIntervalWithOptions' { + import { eachWeekOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachWeekOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachYearOfInterval' { + import { eachYearOfInterval } from 'date-fns/esm/fp' + export default eachYearOfInterval +} + +declare module 'date-fns/esm/fp/endOfDay' { + import { endOfDay } from 'date-fns/esm/fp' + export default endOfDay +} + +declare module 'date-fns/esm/fp/endOfDecade' { + import { endOfDecade } from 'date-fns/esm/fp' + export default endOfDecade +} + +declare module 'date-fns/esm/fp/endOfDecadeWithOptions' { + import { endOfDecadeWithOptions } from 'date-fns/esm/fp' + export default endOfDecadeWithOptions +} + +declare module 'date-fns/esm/fp/endOfHour' { + import { endOfHour } from 'date-fns/esm/fp' + export default endOfHour +} + +declare module 'date-fns/esm/fp/endOfISOWeek' { + import { endOfISOWeek } from 'date-fns/esm/fp' + export default endOfISOWeek +} + +declare module 'date-fns/esm/fp/endOfISOWeekYear' { + import { endOfISOWeekYear } from 'date-fns/esm/fp' + export default endOfISOWeekYear +} + +declare module 'date-fns/esm/fp/endOfMinute' { + import { endOfMinute } from 'date-fns/esm/fp' + export default endOfMinute +} + +declare module 'date-fns/esm/fp/endOfMonth' { + import { endOfMonth } from 'date-fns/esm/fp' + export default endOfMonth +} + +declare module 'date-fns/esm/fp/endOfQuarter' { + import { endOfQuarter } from 'date-fns/esm/fp' + export default endOfQuarter +} + +declare module 'date-fns/esm/fp/endOfSecond' { + import { endOfSecond } from 'date-fns/esm/fp' + export default endOfSecond +} + +declare module 'date-fns/esm/fp/endOfWeek' { + import { endOfWeek } from 'date-fns/esm/fp' + export default endOfWeek +} + +declare module 'date-fns/esm/fp/endOfWeekWithOptions' { + import { endOfWeekWithOptions } from 'date-fns/esm/fp' + export default endOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/endOfYear' { + import { endOfYear } from 'date-fns/esm/fp' + export default endOfYear +} + +declare module 'date-fns/esm/fp/format' { + import { format } from 'date-fns/esm/fp' + export default format +} + +declare module 'date-fns/esm/fp/formatDistance' { + import { formatDistance } from 'date-fns/esm/fp' + export default formatDistance +} + +declare module 'date-fns/esm/fp/formatDistanceStrict' { + import { formatDistanceStrict } from 'date-fns/esm/fp' + export default formatDistanceStrict +} + +declare module 'date-fns/esm/fp/formatDistanceStrictWithOptions' { + import { formatDistanceStrictWithOptions } from 'date-fns/esm/fp' + export default formatDistanceStrictWithOptions +} + +declare module 'date-fns/esm/fp/formatDistanceWithOptions' { + import { formatDistanceWithOptions } from 'date-fns/esm/fp' + export default formatDistanceWithOptions +} + +declare module 'date-fns/esm/fp/formatDuration' { + import { formatDuration } from 'date-fns/esm/fp' + export default formatDuration +} + +declare module 'date-fns/esm/fp/formatDurationWithOptions' { + import { formatDurationWithOptions } from 'date-fns/esm/fp' + export default formatDurationWithOptions +} + +declare module 'date-fns/esm/fp/formatISO' { + import { formatISO } from 'date-fns/esm/fp' + export default formatISO +} + +declare module 'date-fns/esm/fp/formatISO9075' { + import { formatISO9075 } from 'date-fns/esm/fp' + export default formatISO9075 +} + +declare module 'date-fns/esm/fp/formatISO9075WithOptions' { + import { formatISO9075WithOptions } from 'date-fns/esm/fp' + export default formatISO9075WithOptions +} + +declare module 'date-fns/esm/fp/formatISODuration' { + import { formatISODuration } from 'date-fns/esm/fp' + export default formatISODuration +} + +declare module 'date-fns/esm/fp/formatISOWithOptions' { + import { formatISOWithOptions } from 'date-fns/esm/fp' + export default formatISOWithOptions +} + +declare module 'date-fns/esm/fp/formatRelative' { + import { formatRelative } from 'date-fns/esm/fp' + export default formatRelative +} + +declare module 'date-fns/esm/fp/formatRelativeWithOptions' { + import { formatRelativeWithOptions } from 'date-fns/esm/fp' + export default formatRelativeWithOptions +} + +declare module 'date-fns/esm/fp/formatRFC3339' { + import { formatRFC3339 } from 'date-fns/esm/fp' + export default formatRFC3339 +} + +declare module 'date-fns/esm/fp/formatRFC3339WithOptions' { + import { formatRFC3339WithOptions } from 'date-fns/esm/fp' + export default formatRFC3339WithOptions +} + +declare module 'date-fns/esm/fp/formatRFC7231' { + import { formatRFC7231 } from 'date-fns/esm/fp' + export default formatRFC7231 +} + +declare module 'date-fns/esm/fp/formatWithOptions' { + import { formatWithOptions } from 'date-fns/esm/fp' + export default formatWithOptions +} + +declare module 'date-fns/esm/fp/fromUnixTime' { + import { fromUnixTime } from 'date-fns/esm/fp' + export default fromUnixTime +} + +declare module 'date-fns/esm/fp/getDate' { + import { getDate } from 'date-fns/esm/fp' + export default getDate +} + +declare module 'date-fns/esm/fp/getDay' { + import { getDay } from 'date-fns/esm/fp' + export default getDay +} + +declare module 'date-fns/esm/fp/getDayOfYear' { + import { getDayOfYear } from 'date-fns/esm/fp' + export default getDayOfYear +} + +declare module 'date-fns/esm/fp/getDaysInMonth' { + import { getDaysInMonth } from 'date-fns/esm/fp' + export default getDaysInMonth +} + +declare module 'date-fns/esm/fp/getDaysInYear' { + import { getDaysInYear } from 'date-fns/esm/fp' + export default getDaysInYear +} + +declare module 'date-fns/esm/fp/getDecade' { + import { getDecade } from 'date-fns/esm/fp' + export default getDecade +} + +declare module 'date-fns/esm/fp/getHours' { + import { getHours } from 'date-fns/esm/fp' + export default getHours +} + +declare module 'date-fns/esm/fp/getISODay' { + import { getISODay } from 'date-fns/esm/fp' + export default getISODay +} + +declare module 'date-fns/esm/fp/getISOWeek' { + import { getISOWeek } from 'date-fns/esm/fp' + export default getISOWeek +} + +declare module 'date-fns/esm/fp/getISOWeeksInYear' { + import { getISOWeeksInYear } from 'date-fns/esm/fp' + export default getISOWeeksInYear +} + +declare module 'date-fns/esm/fp/getISOWeekYear' { + import { getISOWeekYear } from 'date-fns/esm/fp' + export default getISOWeekYear +} + +declare module 'date-fns/esm/fp/getMilliseconds' { + import { getMilliseconds } from 'date-fns/esm/fp' + export default getMilliseconds +} + +declare module 'date-fns/esm/fp/getMinutes' { + import { getMinutes } from 'date-fns/esm/fp' + export default getMinutes +} + +declare module 'date-fns/esm/fp/getMonth' { + import { getMonth } from 'date-fns/esm/fp' + export default getMonth +} + +declare module 'date-fns/esm/fp/getOverlappingDaysInIntervals' { + import { getOverlappingDaysInIntervals } from 'date-fns/esm/fp' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/esm/fp/getQuarter' { + import { getQuarter } from 'date-fns/esm/fp' + export default getQuarter +} + +declare module 'date-fns/esm/fp/getSeconds' { + import { getSeconds } from 'date-fns/esm/fp' + export default getSeconds +} + +declare module 'date-fns/esm/fp/getTime' { + import { getTime } from 'date-fns/esm/fp' + export default getTime +} + +declare module 'date-fns/esm/fp/getUnixTime' { + import { getUnixTime } from 'date-fns/esm/fp' + export default getUnixTime +} + +declare module 'date-fns/esm/fp/getWeek' { + import { getWeek } from 'date-fns/esm/fp' + export default getWeek +} + +declare module 'date-fns/esm/fp/getWeekOfMonth' { + import { getWeekOfMonth } from 'date-fns/esm/fp' + export default getWeekOfMonth +} + +declare module 'date-fns/esm/fp/getWeekOfMonthWithOptions' { + import { getWeekOfMonthWithOptions } from 'date-fns/esm/fp' + export default getWeekOfMonthWithOptions +} + +declare module 'date-fns/esm/fp/getWeeksInMonth' { + import { getWeeksInMonth } from 'date-fns/esm/fp' + export default getWeeksInMonth +} + +declare module 'date-fns/esm/fp/getWeeksInMonthWithOptions' { + import { getWeeksInMonthWithOptions } from 'date-fns/esm/fp' + export default getWeeksInMonthWithOptions +} + +declare module 'date-fns/esm/fp/getWeekWithOptions' { + import { getWeekWithOptions } from 'date-fns/esm/fp' + export default getWeekWithOptions +} + +declare module 'date-fns/esm/fp/getWeekYear' { + import { getWeekYear } from 'date-fns/esm/fp' + export default getWeekYear +} + +declare module 'date-fns/esm/fp/getWeekYearWithOptions' { + import { getWeekYearWithOptions } from 'date-fns/esm/fp' + export default getWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/getYear' { + import { getYear } from 'date-fns/esm/fp' + export default getYear +} + +declare module 'date-fns/esm/fp/hoursToMilliseconds' { + import { hoursToMilliseconds } from 'date-fns/esm/fp' + export default hoursToMilliseconds +} + +declare module 'date-fns/esm/fp/hoursToMinutes' { + import { hoursToMinutes } from 'date-fns/esm/fp' + export default hoursToMinutes +} + +declare module 'date-fns/esm/fp/hoursToSeconds' { + import { hoursToSeconds } from 'date-fns/esm/fp' + export default hoursToSeconds +} + +declare module 'date-fns/esm/fp/intervalToDuration' { + import { intervalToDuration } from 'date-fns/esm/fp' + export default intervalToDuration +} + +declare module 'date-fns/esm/fp/intlFormat' { + import { intlFormat } from 'date-fns/esm/fp' + export default intlFormat +} + +declare module 'date-fns/esm/fp/intlFormatDistance' { + import { intlFormatDistance } from 'date-fns/esm/fp' + export default intlFormatDistance +} + +declare module 'date-fns/esm/fp/intlFormatDistanceWithOptions' { + import { intlFormatDistanceWithOptions } from 'date-fns/esm/fp' + export default intlFormatDistanceWithOptions +} + +declare module 'date-fns/esm/fp/isAfter' { + import { isAfter } from 'date-fns/esm/fp' + export default isAfter +} + +declare module 'date-fns/esm/fp/isBefore' { + import { isBefore } from 'date-fns/esm/fp' + export default isBefore +} + +declare module 'date-fns/esm/fp/isDate' { + import { isDate } from 'date-fns/esm/fp' + export default isDate +} + +declare module 'date-fns/esm/fp/isEqual' { + import { isEqual } from 'date-fns/esm/fp' + export default isEqual +} + +declare module 'date-fns/esm/fp/isExists' { + import { isExists } from 'date-fns/esm/fp' + export default isExists +} + +declare module 'date-fns/esm/fp/isFirstDayOfMonth' { + import { isFirstDayOfMonth } from 'date-fns/esm/fp' + export default isFirstDayOfMonth +} + +declare module 'date-fns/esm/fp/isFriday' { + import { isFriday } from 'date-fns/esm/fp' + export default isFriday +} + +declare module 'date-fns/esm/fp/isLastDayOfMonth' { + import { isLastDayOfMonth } from 'date-fns/esm/fp' + export default isLastDayOfMonth +} + +declare module 'date-fns/esm/fp/isLeapYear' { + import { isLeapYear } from 'date-fns/esm/fp' + export default isLeapYear +} + +declare module 'date-fns/esm/fp/isMatch' { + import { isMatch } from 'date-fns/esm/fp' + export default isMatch +} + +declare module 'date-fns/esm/fp/isMatchWithOptions' { + import { isMatchWithOptions } from 'date-fns/esm/fp' + export default isMatchWithOptions +} + +declare module 'date-fns/esm/fp/isMonday' { + import { isMonday } from 'date-fns/esm/fp' + export default isMonday +} + +declare module 'date-fns/esm/fp/isSameDay' { + import { isSameDay } from 'date-fns/esm/fp' + export default isSameDay +} + +declare module 'date-fns/esm/fp/isSameHour' { + import { isSameHour } from 'date-fns/esm/fp' + export default isSameHour +} + +declare module 'date-fns/esm/fp/isSameISOWeek' { + import { isSameISOWeek } from 'date-fns/esm/fp' + export default isSameISOWeek +} + +declare module 'date-fns/esm/fp/isSameISOWeekYear' { + import { isSameISOWeekYear } from 'date-fns/esm/fp' + export default isSameISOWeekYear +} + +declare module 'date-fns/esm/fp/isSameMinute' { + import { isSameMinute } from 'date-fns/esm/fp' + export default isSameMinute +} + +declare module 'date-fns/esm/fp/isSameMonth' { + import { isSameMonth } from 'date-fns/esm/fp' + export default isSameMonth +} + +declare module 'date-fns/esm/fp/isSameQuarter' { + import { isSameQuarter } from 'date-fns/esm/fp' + export default isSameQuarter +} + +declare module 'date-fns/esm/fp/isSameSecond' { + import { isSameSecond } from 'date-fns/esm/fp' + export default isSameSecond +} + +declare module 'date-fns/esm/fp/isSameWeek' { + import { isSameWeek } from 'date-fns/esm/fp' + export default isSameWeek +} + +declare module 'date-fns/esm/fp/isSameWeekWithOptions' { + import { isSameWeekWithOptions } from 'date-fns/esm/fp' + export default isSameWeekWithOptions +} + +declare module 'date-fns/esm/fp/isSameYear' { + import { isSameYear } from 'date-fns/esm/fp' + export default isSameYear +} + +declare module 'date-fns/esm/fp/isSaturday' { + import { isSaturday } from 'date-fns/esm/fp' + export default isSaturday +} + +declare module 'date-fns/esm/fp/isSunday' { + import { isSunday } from 'date-fns/esm/fp' + export default isSunday +} + +declare module 'date-fns/esm/fp/isThursday' { + import { isThursday } from 'date-fns/esm/fp' + export default isThursday +} + +declare module 'date-fns/esm/fp/isTuesday' { + import { isTuesday } from 'date-fns/esm/fp' + export default isTuesday +} + +declare module 'date-fns/esm/fp/isValid' { + import { isValid } from 'date-fns/esm/fp' + export default isValid +} + +declare module 'date-fns/esm/fp/isWednesday' { + import { isWednesday } from 'date-fns/esm/fp' + export default isWednesday +} + +declare module 'date-fns/esm/fp/isWeekend' { + import { isWeekend } from 'date-fns/esm/fp' + export default isWeekend +} + +declare module 'date-fns/esm/fp/isWithinInterval' { + import { isWithinInterval } from 'date-fns/esm/fp' + export default isWithinInterval +} + +declare module 'date-fns/esm/fp/lastDayOfDecade' { + import { lastDayOfDecade } from 'date-fns/esm/fp' + export default lastDayOfDecade +} + +declare module 'date-fns/esm/fp/lastDayOfISOWeek' { + import { lastDayOfISOWeek } from 'date-fns/esm/fp' + export default lastDayOfISOWeek +} + +declare module 'date-fns/esm/fp/lastDayOfISOWeekYear' { + import { lastDayOfISOWeekYear } from 'date-fns/esm/fp' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/esm/fp/lastDayOfMonth' { + import { lastDayOfMonth } from 'date-fns/esm/fp' + export default lastDayOfMonth +} + +declare module 'date-fns/esm/fp/lastDayOfQuarter' { + import { lastDayOfQuarter } from 'date-fns/esm/fp' + export default lastDayOfQuarter +} + +declare module 'date-fns/esm/fp/lastDayOfQuarterWithOptions' { + import { lastDayOfQuarterWithOptions } from 'date-fns/esm/fp' + export default lastDayOfQuarterWithOptions +} + +declare module 'date-fns/esm/fp/lastDayOfWeek' { + import { lastDayOfWeek } from 'date-fns/esm/fp' + export default lastDayOfWeek +} + +declare module 'date-fns/esm/fp/lastDayOfWeekWithOptions' { + import { lastDayOfWeekWithOptions } from 'date-fns/esm/fp' + export default lastDayOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/lastDayOfYear' { + import { lastDayOfYear } from 'date-fns/esm/fp' + export default lastDayOfYear +} + +declare module 'date-fns/esm/fp/lightFormat' { + import { lightFormat } from 'date-fns/esm/fp' + export default lightFormat +} + +declare module 'date-fns/esm/fp/max' { + import { max } from 'date-fns/esm/fp' + export default max +} + +declare module 'date-fns/esm/fp/milliseconds' { + import { milliseconds } from 'date-fns/esm/fp' + export default milliseconds +} + +declare module 'date-fns/esm/fp/millisecondsToHours' { + import { millisecondsToHours } from 'date-fns/esm/fp' + export default millisecondsToHours +} + +declare module 'date-fns/esm/fp/millisecondsToMinutes' { + import { millisecondsToMinutes } from 'date-fns/esm/fp' + export default millisecondsToMinutes +} + +declare module 'date-fns/esm/fp/millisecondsToSeconds' { + import { millisecondsToSeconds } from 'date-fns/esm/fp' + export default millisecondsToSeconds +} + +declare module 'date-fns/esm/fp/min' { + import { min } from 'date-fns/esm/fp' + export default min +} + +declare module 'date-fns/esm/fp/minutesToHours' { + import { minutesToHours } from 'date-fns/esm/fp' + export default minutesToHours +} + +declare module 'date-fns/esm/fp/minutesToMilliseconds' { + import { minutesToMilliseconds } from 'date-fns/esm/fp' + export default minutesToMilliseconds +} + +declare module 'date-fns/esm/fp/minutesToSeconds' { + import { minutesToSeconds } from 'date-fns/esm/fp' + export default minutesToSeconds +} + +declare module 'date-fns/esm/fp/monthsToQuarters' { + import { monthsToQuarters } from 'date-fns/esm/fp' + export default monthsToQuarters +} + +declare module 'date-fns/esm/fp/monthsToYears' { + import { monthsToYears } from 'date-fns/esm/fp' + export default monthsToYears +} + +declare module 'date-fns/esm/fp/nextDay' { + import { nextDay } from 'date-fns/esm/fp' + export default nextDay +} + +declare module 'date-fns/esm/fp/nextFriday' { + import { nextFriday } from 'date-fns/esm/fp' + export default nextFriday +} + +declare module 'date-fns/esm/fp/nextMonday' { + import { nextMonday } from 'date-fns/esm/fp' + export default nextMonday +} + +declare module 'date-fns/esm/fp/nextSaturday' { + import { nextSaturday } from 'date-fns/esm/fp' + export default nextSaturday +} + +declare module 'date-fns/esm/fp/nextSunday' { + import { nextSunday } from 'date-fns/esm/fp' + export default nextSunday +} + +declare module 'date-fns/esm/fp/nextThursday' { + import { nextThursday } from 'date-fns/esm/fp' + export default nextThursday +} + +declare module 'date-fns/esm/fp/nextTuesday' { + import { nextTuesday } from 'date-fns/esm/fp' + export default nextTuesday +} + +declare module 'date-fns/esm/fp/nextWednesday' { + import { nextWednesday } from 'date-fns/esm/fp' + export default nextWednesday +} + +declare module 'date-fns/esm/fp/parse' { + import { parse } from 'date-fns/esm/fp' + export default parse +} + +declare module 'date-fns/esm/fp/parseISO' { + import { parseISO } from 'date-fns/esm/fp' + export default parseISO +} + +declare module 'date-fns/esm/fp/parseISOWithOptions' { + import { parseISOWithOptions } from 'date-fns/esm/fp' + export default parseISOWithOptions +} + +declare module 'date-fns/esm/fp/parseJSON' { + import { parseJSON } from 'date-fns/esm/fp' + export default parseJSON +} + +declare module 'date-fns/esm/fp/parseWithOptions' { + import { parseWithOptions } from 'date-fns/esm/fp' + export default parseWithOptions +} + +declare module 'date-fns/esm/fp/previousDay' { + import { previousDay } from 'date-fns/esm/fp' + export default previousDay +} + +declare module 'date-fns/esm/fp/previousFriday' { + import { previousFriday } from 'date-fns/esm/fp' + export default previousFriday +} + +declare module 'date-fns/esm/fp/previousMonday' { + import { previousMonday } from 'date-fns/esm/fp' + export default previousMonday +} + +declare module 'date-fns/esm/fp/previousSaturday' { + import { previousSaturday } from 'date-fns/esm/fp' + export default previousSaturday +} + +declare module 'date-fns/esm/fp/previousSunday' { + import { previousSunday } from 'date-fns/esm/fp' + export default previousSunday +} + +declare module 'date-fns/esm/fp/previousThursday' { + import { previousThursday } from 'date-fns/esm/fp' + export default previousThursday +} + +declare module 'date-fns/esm/fp/previousTuesday' { + import { previousTuesday } from 'date-fns/esm/fp' + export default previousTuesday +} + +declare module 'date-fns/esm/fp/previousWednesday' { + import { previousWednesday } from 'date-fns/esm/fp' + export default previousWednesday +} + +declare module 'date-fns/esm/fp/quartersToMonths' { + import { quartersToMonths } from 'date-fns/esm/fp' + export default quartersToMonths +} + +declare module 'date-fns/esm/fp/quartersToYears' { + import { quartersToYears } from 'date-fns/esm/fp' + export default quartersToYears +} + +declare module 'date-fns/esm/fp/roundToNearestMinutes' { + import { roundToNearestMinutes } from 'date-fns/esm/fp' + export default roundToNearestMinutes +} + +declare module 'date-fns/esm/fp/roundToNearestMinutesWithOptions' { + import { roundToNearestMinutesWithOptions } from 'date-fns/esm/fp' + export default roundToNearestMinutesWithOptions +} + +declare module 'date-fns/esm/fp/secondsToHours' { + import { secondsToHours } from 'date-fns/esm/fp' + export default secondsToHours +} + +declare module 'date-fns/esm/fp/secondsToMilliseconds' { + import { secondsToMilliseconds } from 'date-fns/esm/fp' + export default secondsToMilliseconds +} + +declare module 'date-fns/esm/fp/secondsToMinutes' { + import { secondsToMinutes } from 'date-fns/esm/fp' + export default secondsToMinutes +} + +declare module 'date-fns/esm/fp/set' { + import { set } from 'date-fns/esm/fp' + export default set +} + +declare module 'date-fns/esm/fp/setDate' { + import { setDate } from 'date-fns/esm/fp' + export default setDate +} + +declare module 'date-fns/esm/fp/setDay' { + import { setDay } from 'date-fns/esm/fp' + export default setDay +} + +declare module 'date-fns/esm/fp/setDayOfYear' { + import { setDayOfYear } from 'date-fns/esm/fp' + export default setDayOfYear +} + +declare module 'date-fns/esm/fp/setDayWithOptions' { + import { setDayWithOptions } from 'date-fns/esm/fp' + export default setDayWithOptions +} + +declare module 'date-fns/esm/fp/setHours' { + import { setHours } from 'date-fns/esm/fp' + export default setHours +} + +declare module 'date-fns/esm/fp/setISODay' { + import { setISODay } from 'date-fns/esm/fp' + export default setISODay +} + +declare module 'date-fns/esm/fp/setISOWeek' { + import { setISOWeek } from 'date-fns/esm/fp' + export default setISOWeek +} + +declare module 'date-fns/esm/fp/setISOWeekYear' { + import { setISOWeekYear } from 'date-fns/esm/fp' + export default setISOWeekYear +} + +declare module 'date-fns/esm/fp/setMilliseconds' { + import { setMilliseconds } from 'date-fns/esm/fp' + export default setMilliseconds +} + +declare module 'date-fns/esm/fp/setMinutes' { + import { setMinutes } from 'date-fns/esm/fp' + export default setMinutes +} + +declare module 'date-fns/esm/fp/setMonth' { + import { setMonth } from 'date-fns/esm/fp' + export default setMonth +} + +declare module 'date-fns/esm/fp/setQuarter' { + import { setQuarter } from 'date-fns/esm/fp' + export default setQuarter +} + +declare module 'date-fns/esm/fp/setSeconds' { + import { setSeconds } from 'date-fns/esm/fp' + export default setSeconds +} + +declare module 'date-fns/esm/fp/setWeek' { + import { setWeek } from 'date-fns/esm/fp' + export default setWeek +} + +declare module 'date-fns/esm/fp/setWeekWithOptions' { + import { setWeekWithOptions } from 'date-fns/esm/fp' + export default setWeekWithOptions +} + +declare module 'date-fns/esm/fp/setWeekYear' { + import { setWeekYear } from 'date-fns/esm/fp' + export default setWeekYear +} + +declare module 'date-fns/esm/fp/setWeekYearWithOptions' { + import { setWeekYearWithOptions } from 'date-fns/esm/fp' + export default setWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/setYear' { + import { setYear } from 'date-fns/esm/fp' + export default setYear +} + +declare module 'date-fns/esm/fp/startOfDay' { + import { startOfDay } from 'date-fns/esm/fp' + export default startOfDay +} + +declare module 'date-fns/esm/fp/startOfDecade' { + import { startOfDecade } from 'date-fns/esm/fp' + export default startOfDecade +} + +declare module 'date-fns/esm/fp/startOfHour' { + import { startOfHour } from 'date-fns/esm/fp' + export default startOfHour +} + +declare module 'date-fns/esm/fp/startOfISOWeek' { + import { startOfISOWeek } from 'date-fns/esm/fp' + export default startOfISOWeek +} + +declare module 'date-fns/esm/fp/startOfISOWeekYear' { + import { startOfISOWeekYear } from 'date-fns/esm/fp' + export default startOfISOWeekYear +} + +declare module 'date-fns/esm/fp/startOfMinute' { + import { startOfMinute } from 'date-fns/esm/fp' + export default startOfMinute +} + +declare module 'date-fns/esm/fp/startOfMonth' { + import { startOfMonth } from 'date-fns/esm/fp' + export default startOfMonth +} + +declare module 'date-fns/esm/fp/startOfQuarter' { + import { startOfQuarter } from 'date-fns/esm/fp' + export default startOfQuarter +} + +declare module 'date-fns/esm/fp/startOfSecond' { + import { startOfSecond } from 'date-fns/esm/fp' + export default startOfSecond +} + +declare module 'date-fns/esm/fp/startOfWeek' { + import { startOfWeek } from 'date-fns/esm/fp' + export default startOfWeek +} + +declare module 'date-fns/esm/fp/startOfWeekWithOptions' { + import { startOfWeekWithOptions } from 'date-fns/esm/fp' + export default startOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/startOfWeekYear' { + import { startOfWeekYear } from 'date-fns/esm/fp' + export default startOfWeekYear +} + +declare module 'date-fns/esm/fp/startOfWeekYearWithOptions' { + import { startOfWeekYearWithOptions } from 'date-fns/esm/fp' + export default startOfWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/startOfYear' { + import { startOfYear } from 'date-fns/esm/fp' + export default startOfYear +} + +declare module 'date-fns/esm/fp/sub' { + import { sub } from 'date-fns/esm/fp' + export default sub +} + +declare module 'date-fns/esm/fp/subBusinessDays' { + import { subBusinessDays } from 'date-fns/esm/fp' + export default subBusinessDays +} + +declare module 'date-fns/esm/fp/subDays' { + import { subDays } from 'date-fns/esm/fp' + export default subDays +} + +declare module 'date-fns/esm/fp/subHours' { + import { subHours } from 'date-fns/esm/fp' + export default subHours +} + +declare module 'date-fns/esm/fp/subISOWeekYears' { + import { subISOWeekYears } from 'date-fns/esm/fp' + export default subISOWeekYears +} + +declare module 'date-fns/esm/fp/subMilliseconds' { + import { subMilliseconds } from 'date-fns/esm/fp' + export default subMilliseconds +} + +declare module 'date-fns/esm/fp/subMinutes' { + import { subMinutes } from 'date-fns/esm/fp' + export default subMinutes +} + +declare module 'date-fns/esm/fp/subMonths' { + import { subMonths } from 'date-fns/esm/fp' + export default subMonths +} + +declare module 'date-fns/esm/fp/subQuarters' { + import { subQuarters } from 'date-fns/esm/fp' + export default subQuarters +} + +declare module 'date-fns/esm/fp/subSeconds' { + import { subSeconds } from 'date-fns/esm/fp' + export default subSeconds +} + +declare module 'date-fns/esm/fp/subWeeks' { + import { subWeeks } from 'date-fns/esm/fp' + export default subWeeks +} + +declare module 'date-fns/esm/fp/subYears' { + import { subYears } from 'date-fns/esm/fp' + export default subYears +} + +declare module 'date-fns/esm/fp/toDate' { + import { toDate } from 'date-fns/esm/fp' + export default toDate +} + +declare module 'date-fns/esm/fp/weeksToDays' { + import { weeksToDays } from 'date-fns/esm/fp' + export default weeksToDays +} + +declare module 'date-fns/esm/fp/yearsToMonths' { + import { yearsToMonths } from 'date-fns/esm/fp' + export default yearsToMonths +} + +declare module 'date-fns/esm/fp/yearsToQuarters' { + import { yearsToQuarters } from 'date-fns/esm/fp' + export default yearsToQuarters +} + +declare module 'date-fns/esm/fp/add/index' { + import { add } from 'date-fns/esm/fp' + export default add +} + +declare module 'date-fns/esm/fp/addBusinessDays/index' { + import { addBusinessDays } from 'date-fns/esm/fp' + export default addBusinessDays +} + +declare module 'date-fns/esm/fp/addDays/index' { + import { addDays } from 'date-fns/esm/fp' + export default addDays +} + +declare module 'date-fns/esm/fp/addHours/index' { + import { addHours } from 'date-fns/esm/fp' + export default addHours +} + +declare module 'date-fns/esm/fp/addISOWeekYears/index' { + import { addISOWeekYears } from 'date-fns/esm/fp' + export default addISOWeekYears +} + +declare module 'date-fns/esm/fp/addMilliseconds/index' { + import { addMilliseconds } from 'date-fns/esm/fp' + export default addMilliseconds +} + +declare module 'date-fns/esm/fp/addMinutes/index' { + import { addMinutes } from 'date-fns/esm/fp' + export default addMinutes +} + +declare module 'date-fns/esm/fp/addMonths/index' { + import { addMonths } from 'date-fns/esm/fp' + export default addMonths +} + +declare module 'date-fns/esm/fp/addQuarters/index' { + import { addQuarters } from 'date-fns/esm/fp' + export default addQuarters +} + +declare module 'date-fns/esm/fp/addSeconds/index' { + import { addSeconds } from 'date-fns/esm/fp' + export default addSeconds +} + +declare module 'date-fns/esm/fp/addWeeks/index' { + import { addWeeks } from 'date-fns/esm/fp' + export default addWeeks +} + +declare module 'date-fns/esm/fp/addYears/index' { + import { addYears } from 'date-fns/esm/fp' + export default addYears +} + +declare module 'date-fns/esm/fp/areIntervalsOverlapping/index' { + import { areIntervalsOverlapping } from 'date-fns/esm/fp' + export default areIntervalsOverlapping +} + +declare module 'date-fns/esm/fp/areIntervalsOverlappingWithOptions/index' { + import { areIntervalsOverlappingWithOptions } from 'date-fns/esm/fp' + export default areIntervalsOverlappingWithOptions +} + +declare module 'date-fns/esm/fp/clamp/index' { + import { clamp } from 'date-fns/esm/fp' + export default clamp +} + +declare module 'date-fns/esm/fp/closestIndexTo/index' { + import { closestIndexTo } from 'date-fns/esm/fp' + export default closestIndexTo +} + +declare module 'date-fns/esm/fp/closestTo/index' { + import { closestTo } from 'date-fns/esm/fp' + export default closestTo +} + +declare module 'date-fns/esm/fp/compareAsc/index' { + import { compareAsc } from 'date-fns/esm/fp' + export default compareAsc +} + +declare module 'date-fns/esm/fp/compareDesc/index' { + import { compareDesc } from 'date-fns/esm/fp' + export default compareDesc +} + +declare module 'date-fns/esm/fp/daysToWeeks/index' { + import { daysToWeeks } from 'date-fns/esm/fp' + export default daysToWeeks +} + +declare module 'date-fns/esm/fp/differenceInBusinessDays/index' { + import { differenceInBusinessDays } from 'date-fns/esm/fp' + export default differenceInBusinessDays +} + +declare module 'date-fns/esm/fp/differenceInCalendarDays/index' { + import { differenceInCalendarDays } from 'date-fns/esm/fp' + export default differenceInCalendarDays +} + +declare module 'date-fns/esm/fp/differenceInCalendarISOWeeks/index' { + import { differenceInCalendarISOWeeks } from 'date-fns/esm/fp' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/esm/fp/differenceInCalendarISOWeekYears/index' { + import { differenceInCalendarISOWeekYears } from 'date-fns/esm/fp' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/esm/fp/differenceInCalendarMonths/index' { + import { differenceInCalendarMonths } from 'date-fns/esm/fp' + export default differenceInCalendarMonths +} + +declare module 'date-fns/esm/fp/differenceInCalendarQuarters/index' { + import { differenceInCalendarQuarters } from 'date-fns/esm/fp' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/esm/fp/differenceInCalendarWeeks/index' { + import { differenceInCalendarWeeks } from 'date-fns/esm/fp' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index' { + import { differenceInCalendarWeeksWithOptions } from 'date-fns/esm/fp' + export default differenceInCalendarWeeksWithOptions +} + +declare module 'date-fns/esm/fp/differenceInCalendarYears/index' { + import { differenceInCalendarYears } from 'date-fns/esm/fp' + export default differenceInCalendarYears +} + +declare module 'date-fns/esm/fp/differenceInDays/index' { + import { differenceInDays } from 'date-fns/esm/fp' + export default differenceInDays +} + +declare module 'date-fns/esm/fp/differenceInHours/index' { + import { differenceInHours } from 'date-fns/esm/fp' + export default differenceInHours +} + +declare module 'date-fns/esm/fp/differenceInHoursWithOptions/index' { + import { differenceInHoursWithOptions } from 'date-fns/esm/fp' + export default differenceInHoursWithOptions +} + +declare module 'date-fns/esm/fp/differenceInISOWeekYears/index' { + import { differenceInISOWeekYears } from 'date-fns/esm/fp' + export default differenceInISOWeekYears +} + +declare module 'date-fns/esm/fp/differenceInMilliseconds/index' { + import { differenceInMilliseconds } from 'date-fns/esm/fp' + export default differenceInMilliseconds +} + +declare module 'date-fns/esm/fp/differenceInMinutes/index' { + import { differenceInMinutes } from 'date-fns/esm/fp' + export default differenceInMinutes +} + +declare module 'date-fns/esm/fp/differenceInMinutesWithOptions/index' { + import { differenceInMinutesWithOptions } from 'date-fns/esm/fp' + export default differenceInMinutesWithOptions +} + +declare module 'date-fns/esm/fp/differenceInMonths/index' { + import { differenceInMonths } from 'date-fns/esm/fp' + export default differenceInMonths +} + +declare module 'date-fns/esm/fp/differenceInQuarters/index' { + import { differenceInQuarters } from 'date-fns/esm/fp' + export default differenceInQuarters +} + +declare module 'date-fns/esm/fp/differenceInQuartersWithOptions/index' { + import { differenceInQuartersWithOptions } from 'date-fns/esm/fp' + export default differenceInQuartersWithOptions +} + +declare module 'date-fns/esm/fp/differenceInSeconds/index' { + import { differenceInSeconds } from 'date-fns/esm/fp' + export default differenceInSeconds +} + +declare module 'date-fns/esm/fp/differenceInSecondsWithOptions/index' { + import { differenceInSecondsWithOptions } from 'date-fns/esm/fp' + export default differenceInSecondsWithOptions +} + +declare module 'date-fns/esm/fp/differenceInWeeks/index' { + import { differenceInWeeks } from 'date-fns/esm/fp' + export default differenceInWeeks +} + +declare module 'date-fns/esm/fp/differenceInWeeksWithOptions/index' { + import { differenceInWeeksWithOptions } from 'date-fns/esm/fp' + export default differenceInWeeksWithOptions +} + +declare module 'date-fns/esm/fp/differenceInYears/index' { + import { differenceInYears } from 'date-fns/esm/fp' + export default differenceInYears +} + +declare module 'date-fns/esm/fp/eachDayOfInterval/index' { + import { eachDayOfInterval } from 'date-fns/esm/fp' + export default eachDayOfInterval +} + +declare module 'date-fns/esm/fp/eachDayOfIntervalWithOptions/index' { + import { eachDayOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachDayOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachHourOfInterval/index' { + import { eachHourOfInterval } from 'date-fns/esm/fp' + export default eachHourOfInterval +} + +declare module 'date-fns/esm/fp/eachHourOfIntervalWithOptions/index' { + import { eachHourOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachHourOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachMinuteOfInterval/index' { + import { eachMinuteOfInterval } from 'date-fns/esm/fp' + export default eachMinuteOfInterval +} + +declare module 'date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index' { + import { eachMinuteOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachMinuteOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachMonthOfInterval/index' { + import { eachMonthOfInterval } from 'date-fns/esm/fp' + export default eachMonthOfInterval +} + +declare module 'date-fns/esm/fp/eachQuarterOfInterval/index' { + import { eachQuarterOfInterval } from 'date-fns/esm/fp' + export default eachQuarterOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekendOfInterval/index' { + import { eachWeekendOfInterval } from 'date-fns/esm/fp' + export default eachWeekendOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekendOfMonth/index' { + import { eachWeekendOfMonth } from 'date-fns/esm/fp' + export default eachWeekendOfMonth +} + +declare module 'date-fns/esm/fp/eachWeekendOfYear/index' { + import { eachWeekendOfYear } from 'date-fns/esm/fp' + export default eachWeekendOfYear +} + +declare module 'date-fns/esm/fp/eachWeekOfInterval/index' { + import { eachWeekOfInterval } from 'date-fns/esm/fp' + export default eachWeekOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekOfIntervalWithOptions/index' { + import { eachWeekOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachWeekOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachYearOfInterval/index' { + import { eachYearOfInterval } from 'date-fns/esm/fp' + export default eachYearOfInterval +} + +declare module 'date-fns/esm/fp/endOfDay/index' { + import { endOfDay } from 'date-fns/esm/fp' + export default endOfDay +} + +declare module 'date-fns/esm/fp/endOfDecade/index' { + import { endOfDecade } from 'date-fns/esm/fp' + export default endOfDecade +} + +declare module 'date-fns/esm/fp/endOfDecadeWithOptions/index' { + import { endOfDecadeWithOptions } from 'date-fns/esm/fp' + export default endOfDecadeWithOptions +} + +declare module 'date-fns/esm/fp/endOfHour/index' { + import { endOfHour } from 'date-fns/esm/fp' + export default endOfHour +} + +declare module 'date-fns/esm/fp/endOfISOWeek/index' { + import { endOfISOWeek } from 'date-fns/esm/fp' + export default endOfISOWeek +} + +declare module 'date-fns/esm/fp/endOfISOWeekYear/index' { + import { endOfISOWeekYear } from 'date-fns/esm/fp' + export default endOfISOWeekYear +} + +declare module 'date-fns/esm/fp/endOfMinute/index' { + import { endOfMinute } from 'date-fns/esm/fp' + export default endOfMinute +} + +declare module 'date-fns/esm/fp/endOfMonth/index' { + import { endOfMonth } from 'date-fns/esm/fp' + export default endOfMonth +} + +declare module 'date-fns/esm/fp/endOfQuarter/index' { + import { endOfQuarter } from 'date-fns/esm/fp' + export default endOfQuarter +} + +declare module 'date-fns/esm/fp/endOfSecond/index' { + import { endOfSecond } from 'date-fns/esm/fp' + export default endOfSecond +} + +declare module 'date-fns/esm/fp/endOfWeek/index' { + import { endOfWeek } from 'date-fns/esm/fp' + export default endOfWeek +} + +declare module 'date-fns/esm/fp/endOfWeekWithOptions/index' { + import { endOfWeekWithOptions } from 'date-fns/esm/fp' + export default endOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/endOfYear/index' { + import { endOfYear } from 'date-fns/esm/fp' + export default endOfYear +} + +declare module 'date-fns/esm/fp/format/index' { + import { format } from 'date-fns/esm/fp' + export default format +} + +declare module 'date-fns/esm/fp/formatDistance/index' { + import { formatDistance } from 'date-fns/esm/fp' + export default formatDistance +} + +declare module 'date-fns/esm/fp/formatDistanceStrict/index' { + import { formatDistanceStrict } from 'date-fns/esm/fp' + export default formatDistanceStrict +} + +declare module 'date-fns/esm/fp/formatDistanceStrictWithOptions/index' { + import { formatDistanceStrictWithOptions } from 'date-fns/esm/fp' + export default formatDistanceStrictWithOptions +} + +declare module 'date-fns/esm/fp/formatDistanceWithOptions/index' { + import { formatDistanceWithOptions } from 'date-fns/esm/fp' + export default formatDistanceWithOptions +} + +declare module 'date-fns/esm/fp/formatDuration/index' { + import { formatDuration } from 'date-fns/esm/fp' + export default formatDuration +} + +declare module 'date-fns/esm/fp/formatDurationWithOptions/index' { + import { formatDurationWithOptions } from 'date-fns/esm/fp' + export default formatDurationWithOptions +} + +declare module 'date-fns/esm/fp/formatISO/index' { + import { formatISO } from 'date-fns/esm/fp' + export default formatISO +} + +declare module 'date-fns/esm/fp/formatISO9075/index' { + import { formatISO9075 } from 'date-fns/esm/fp' + export default formatISO9075 +} + +declare module 'date-fns/esm/fp/formatISO9075WithOptions/index' { + import { formatISO9075WithOptions } from 'date-fns/esm/fp' + export default formatISO9075WithOptions +} + +declare module 'date-fns/esm/fp/formatISODuration/index' { + import { formatISODuration } from 'date-fns/esm/fp' + export default formatISODuration +} + +declare module 'date-fns/esm/fp/formatISOWithOptions/index' { + import { formatISOWithOptions } from 'date-fns/esm/fp' + export default formatISOWithOptions +} + +declare module 'date-fns/esm/fp/formatRelative/index' { + import { formatRelative } from 'date-fns/esm/fp' + export default formatRelative +} + +declare module 'date-fns/esm/fp/formatRelativeWithOptions/index' { + import { formatRelativeWithOptions } from 'date-fns/esm/fp' + export default formatRelativeWithOptions +} + +declare module 'date-fns/esm/fp/formatRFC3339/index' { + import { formatRFC3339 } from 'date-fns/esm/fp' + export default formatRFC3339 +} + +declare module 'date-fns/esm/fp/formatRFC3339WithOptions/index' { + import { formatRFC3339WithOptions } from 'date-fns/esm/fp' + export default formatRFC3339WithOptions +} + +declare module 'date-fns/esm/fp/formatRFC7231/index' { + import { formatRFC7231 } from 'date-fns/esm/fp' + export default formatRFC7231 +} + +declare module 'date-fns/esm/fp/formatWithOptions/index' { + import { formatWithOptions } from 'date-fns/esm/fp' + export default formatWithOptions +} + +declare module 'date-fns/esm/fp/fromUnixTime/index' { + import { fromUnixTime } from 'date-fns/esm/fp' + export default fromUnixTime +} + +declare module 'date-fns/esm/fp/getDate/index' { + import { getDate } from 'date-fns/esm/fp' + export default getDate +} + +declare module 'date-fns/esm/fp/getDay/index' { + import { getDay } from 'date-fns/esm/fp' + export default getDay +} + +declare module 'date-fns/esm/fp/getDayOfYear/index' { + import { getDayOfYear } from 'date-fns/esm/fp' + export default getDayOfYear +} + +declare module 'date-fns/esm/fp/getDaysInMonth/index' { + import { getDaysInMonth } from 'date-fns/esm/fp' + export default getDaysInMonth +} + +declare module 'date-fns/esm/fp/getDaysInYear/index' { + import { getDaysInYear } from 'date-fns/esm/fp' + export default getDaysInYear +} + +declare module 'date-fns/esm/fp/getDecade/index' { + import { getDecade } from 'date-fns/esm/fp' + export default getDecade +} + +declare module 'date-fns/esm/fp/getHours/index' { + import { getHours } from 'date-fns/esm/fp' + export default getHours +} + +declare module 'date-fns/esm/fp/getISODay/index' { + import { getISODay } from 'date-fns/esm/fp' + export default getISODay +} + +declare module 'date-fns/esm/fp/getISOWeek/index' { + import { getISOWeek } from 'date-fns/esm/fp' + export default getISOWeek +} + +declare module 'date-fns/esm/fp/getISOWeeksInYear/index' { + import { getISOWeeksInYear } from 'date-fns/esm/fp' + export default getISOWeeksInYear +} + +declare module 'date-fns/esm/fp/getISOWeekYear/index' { + import { getISOWeekYear } from 'date-fns/esm/fp' + export default getISOWeekYear +} + +declare module 'date-fns/esm/fp/getMilliseconds/index' { + import { getMilliseconds } from 'date-fns/esm/fp' + export default getMilliseconds +} + +declare module 'date-fns/esm/fp/getMinutes/index' { + import { getMinutes } from 'date-fns/esm/fp' + export default getMinutes +} + +declare module 'date-fns/esm/fp/getMonth/index' { + import { getMonth } from 'date-fns/esm/fp' + export default getMonth +} + +declare module 'date-fns/esm/fp/getOverlappingDaysInIntervals/index' { + import { getOverlappingDaysInIntervals } from 'date-fns/esm/fp' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/esm/fp/getQuarter/index' { + import { getQuarter } from 'date-fns/esm/fp' + export default getQuarter +} + +declare module 'date-fns/esm/fp/getSeconds/index' { + import { getSeconds } from 'date-fns/esm/fp' + export default getSeconds +} + +declare module 'date-fns/esm/fp/getTime/index' { + import { getTime } from 'date-fns/esm/fp' + export default getTime +} + +declare module 'date-fns/esm/fp/getUnixTime/index' { + import { getUnixTime } from 'date-fns/esm/fp' + export default getUnixTime +} + +declare module 'date-fns/esm/fp/getWeek/index' { + import { getWeek } from 'date-fns/esm/fp' + export default getWeek +} + +declare module 'date-fns/esm/fp/getWeekOfMonth/index' { + import { getWeekOfMonth } from 'date-fns/esm/fp' + export default getWeekOfMonth +} + +declare module 'date-fns/esm/fp/getWeekOfMonthWithOptions/index' { + import { getWeekOfMonthWithOptions } from 'date-fns/esm/fp' + export default getWeekOfMonthWithOptions +} + +declare module 'date-fns/esm/fp/getWeeksInMonth/index' { + import { getWeeksInMonth } from 'date-fns/esm/fp' + export default getWeeksInMonth +} + +declare module 'date-fns/esm/fp/getWeeksInMonthWithOptions/index' { + import { getWeeksInMonthWithOptions } from 'date-fns/esm/fp' + export default getWeeksInMonthWithOptions +} + +declare module 'date-fns/esm/fp/getWeekWithOptions/index' { + import { getWeekWithOptions } from 'date-fns/esm/fp' + export default getWeekWithOptions +} + +declare module 'date-fns/esm/fp/getWeekYear/index' { + import { getWeekYear } from 'date-fns/esm/fp' + export default getWeekYear +} + +declare module 'date-fns/esm/fp/getWeekYearWithOptions/index' { + import { getWeekYearWithOptions } from 'date-fns/esm/fp' + export default getWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/getYear/index' { + import { getYear } from 'date-fns/esm/fp' + export default getYear +} + +declare module 'date-fns/esm/fp/hoursToMilliseconds/index' { + import { hoursToMilliseconds } from 'date-fns/esm/fp' + export default hoursToMilliseconds +} + +declare module 'date-fns/esm/fp/hoursToMinutes/index' { + import { hoursToMinutes } from 'date-fns/esm/fp' + export default hoursToMinutes +} + +declare module 'date-fns/esm/fp/hoursToSeconds/index' { + import { hoursToSeconds } from 'date-fns/esm/fp' + export default hoursToSeconds +} + +declare module 'date-fns/esm/fp/intervalToDuration/index' { + import { intervalToDuration } from 'date-fns/esm/fp' + export default intervalToDuration +} + +declare module 'date-fns/esm/fp/intlFormat/index' { + import { intlFormat } from 'date-fns/esm/fp' + export default intlFormat +} + +declare module 'date-fns/esm/fp/intlFormatDistance/index' { + import { intlFormatDistance } from 'date-fns/esm/fp' + export default intlFormatDistance +} + +declare module 'date-fns/esm/fp/intlFormatDistanceWithOptions/index' { + import { intlFormatDistanceWithOptions } from 'date-fns/esm/fp' + export default intlFormatDistanceWithOptions +} + +declare module 'date-fns/esm/fp/isAfter/index' { + import { isAfter } from 'date-fns/esm/fp' + export default isAfter +} + +declare module 'date-fns/esm/fp/isBefore/index' { + import { isBefore } from 'date-fns/esm/fp' + export default isBefore +} + +declare module 'date-fns/esm/fp/isDate/index' { + import { isDate } from 'date-fns/esm/fp' + export default isDate +} + +declare module 'date-fns/esm/fp/isEqual/index' { + import { isEqual } from 'date-fns/esm/fp' + export default isEqual +} + +declare module 'date-fns/esm/fp/isExists/index' { + import { isExists } from 'date-fns/esm/fp' + export default isExists +} + +declare module 'date-fns/esm/fp/isFirstDayOfMonth/index' { + import { isFirstDayOfMonth } from 'date-fns/esm/fp' + export default isFirstDayOfMonth +} + +declare module 'date-fns/esm/fp/isFriday/index' { + import { isFriday } from 'date-fns/esm/fp' + export default isFriday +} + +declare module 'date-fns/esm/fp/isLastDayOfMonth/index' { + import { isLastDayOfMonth } from 'date-fns/esm/fp' + export default isLastDayOfMonth +} + +declare module 'date-fns/esm/fp/isLeapYear/index' { + import { isLeapYear } from 'date-fns/esm/fp' + export default isLeapYear +} + +declare module 'date-fns/esm/fp/isMatch/index' { + import { isMatch } from 'date-fns/esm/fp' + export default isMatch +} + +declare module 'date-fns/esm/fp/isMatchWithOptions/index' { + import { isMatchWithOptions } from 'date-fns/esm/fp' + export default isMatchWithOptions +} + +declare module 'date-fns/esm/fp/isMonday/index' { + import { isMonday } from 'date-fns/esm/fp' + export default isMonday +} + +declare module 'date-fns/esm/fp/isSameDay/index' { + import { isSameDay } from 'date-fns/esm/fp' + export default isSameDay +} + +declare module 'date-fns/esm/fp/isSameHour/index' { + import { isSameHour } from 'date-fns/esm/fp' + export default isSameHour +} + +declare module 'date-fns/esm/fp/isSameISOWeek/index' { + import { isSameISOWeek } from 'date-fns/esm/fp' + export default isSameISOWeek +} + +declare module 'date-fns/esm/fp/isSameISOWeekYear/index' { + import { isSameISOWeekYear } from 'date-fns/esm/fp' + export default isSameISOWeekYear +} + +declare module 'date-fns/esm/fp/isSameMinute/index' { + import { isSameMinute } from 'date-fns/esm/fp' + export default isSameMinute +} + +declare module 'date-fns/esm/fp/isSameMonth/index' { + import { isSameMonth } from 'date-fns/esm/fp' + export default isSameMonth +} + +declare module 'date-fns/esm/fp/isSameQuarter/index' { + import { isSameQuarter } from 'date-fns/esm/fp' + export default isSameQuarter +} + +declare module 'date-fns/esm/fp/isSameSecond/index' { + import { isSameSecond } from 'date-fns/esm/fp' + export default isSameSecond +} + +declare module 'date-fns/esm/fp/isSameWeek/index' { + import { isSameWeek } from 'date-fns/esm/fp' + export default isSameWeek +} + +declare module 'date-fns/esm/fp/isSameWeekWithOptions/index' { + import { isSameWeekWithOptions } from 'date-fns/esm/fp' + export default isSameWeekWithOptions +} + +declare module 'date-fns/esm/fp/isSameYear/index' { + import { isSameYear } from 'date-fns/esm/fp' + export default isSameYear +} + +declare module 'date-fns/esm/fp/isSaturday/index' { + import { isSaturday } from 'date-fns/esm/fp' + export default isSaturday +} + +declare module 'date-fns/esm/fp/isSunday/index' { + import { isSunday } from 'date-fns/esm/fp' + export default isSunday +} + +declare module 'date-fns/esm/fp/isThursday/index' { + import { isThursday } from 'date-fns/esm/fp' + export default isThursday +} + +declare module 'date-fns/esm/fp/isTuesday/index' { + import { isTuesday } from 'date-fns/esm/fp' + export default isTuesday +} + +declare module 'date-fns/esm/fp/isValid/index' { + import { isValid } from 'date-fns/esm/fp' + export default isValid +} + +declare module 'date-fns/esm/fp/isWednesday/index' { + import { isWednesday } from 'date-fns/esm/fp' + export default isWednesday +} + +declare module 'date-fns/esm/fp/isWeekend/index' { + import { isWeekend } from 'date-fns/esm/fp' + export default isWeekend +} + +declare module 'date-fns/esm/fp/isWithinInterval/index' { + import { isWithinInterval } from 'date-fns/esm/fp' + export default isWithinInterval +} + +declare module 'date-fns/esm/fp/lastDayOfDecade/index' { + import { lastDayOfDecade } from 'date-fns/esm/fp' + export default lastDayOfDecade +} + +declare module 'date-fns/esm/fp/lastDayOfISOWeek/index' { + import { lastDayOfISOWeek } from 'date-fns/esm/fp' + export default lastDayOfISOWeek +} + +declare module 'date-fns/esm/fp/lastDayOfISOWeekYear/index' { + import { lastDayOfISOWeekYear } from 'date-fns/esm/fp' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/esm/fp/lastDayOfMonth/index' { + import { lastDayOfMonth } from 'date-fns/esm/fp' + export default lastDayOfMonth +} + +declare module 'date-fns/esm/fp/lastDayOfQuarter/index' { + import { lastDayOfQuarter } from 'date-fns/esm/fp' + export default lastDayOfQuarter +} + +declare module 'date-fns/esm/fp/lastDayOfQuarterWithOptions/index' { + import { lastDayOfQuarterWithOptions } from 'date-fns/esm/fp' + export default lastDayOfQuarterWithOptions +} + +declare module 'date-fns/esm/fp/lastDayOfWeek/index' { + import { lastDayOfWeek } from 'date-fns/esm/fp' + export default lastDayOfWeek +} + +declare module 'date-fns/esm/fp/lastDayOfWeekWithOptions/index' { + import { lastDayOfWeekWithOptions } from 'date-fns/esm/fp' + export default lastDayOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/lastDayOfYear/index' { + import { lastDayOfYear } from 'date-fns/esm/fp' + export default lastDayOfYear +} + +declare module 'date-fns/esm/fp/lightFormat/index' { + import { lightFormat } from 'date-fns/esm/fp' + export default lightFormat +} + +declare module 'date-fns/esm/fp/max/index' { + import { max } from 'date-fns/esm/fp' + export default max +} + +declare module 'date-fns/esm/fp/milliseconds/index' { + import { milliseconds } from 'date-fns/esm/fp' + export default milliseconds +} + +declare module 'date-fns/esm/fp/millisecondsToHours/index' { + import { millisecondsToHours } from 'date-fns/esm/fp' + export default millisecondsToHours +} + +declare module 'date-fns/esm/fp/millisecondsToMinutes/index' { + import { millisecondsToMinutes } from 'date-fns/esm/fp' + export default millisecondsToMinutes +} + +declare module 'date-fns/esm/fp/millisecondsToSeconds/index' { + import { millisecondsToSeconds } from 'date-fns/esm/fp' + export default millisecondsToSeconds +} + +declare module 'date-fns/esm/fp/min/index' { + import { min } from 'date-fns/esm/fp' + export default min +} + +declare module 'date-fns/esm/fp/minutesToHours/index' { + import { minutesToHours } from 'date-fns/esm/fp' + export default minutesToHours +} + +declare module 'date-fns/esm/fp/minutesToMilliseconds/index' { + import { minutesToMilliseconds } from 'date-fns/esm/fp' + export default minutesToMilliseconds +} + +declare module 'date-fns/esm/fp/minutesToSeconds/index' { + import { minutesToSeconds } from 'date-fns/esm/fp' + export default minutesToSeconds +} + +declare module 'date-fns/esm/fp/monthsToQuarters/index' { + import { monthsToQuarters } from 'date-fns/esm/fp' + export default monthsToQuarters +} + +declare module 'date-fns/esm/fp/monthsToYears/index' { + import { monthsToYears } from 'date-fns/esm/fp' + export default monthsToYears +} + +declare module 'date-fns/esm/fp/nextDay/index' { + import { nextDay } from 'date-fns/esm/fp' + export default nextDay +} + +declare module 'date-fns/esm/fp/nextFriday/index' { + import { nextFriday } from 'date-fns/esm/fp' + export default nextFriday +} + +declare module 'date-fns/esm/fp/nextMonday/index' { + import { nextMonday } from 'date-fns/esm/fp' + export default nextMonday +} + +declare module 'date-fns/esm/fp/nextSaturday/index' { + import { nextSaturday } from 'date-fns/esm/fp' + export default nextSaturday +} + +declare module 'date-fns/esm/fp/nextSunday/index' { + import { nextSunday } from 'date-fns/esm/fp' + export default nextSunday +} + +declare module 'date-fns/esm/fp/nextThursday/index' { + import { nextThursday } from 'date-fns/esm/fp' + export default nextThursday +} + +declare module 'date-fns/esm/fp/nextTuesday/index' { + import { nextTuesday } from 'date-fns/esm/fp' + export default nextTuesday +} + +declare module 'date-fns/esm/fp/nextWednesday/index' { + import { nextWednesday } from 'date-fns/esm/fp' + export default nextWednesday +} + +declare module 'date-fns/esm/fp/parse/index' { + import { parse } from 'date-fns/esm/fp' + export default parse +} + +declare module 'date-fns/esm/fp/parseISO/index' { + import { parseISO } from 'date-fns/esm/fp' + export default parseISO +} + +declare module 'date-fns/esm/fp/parseISOWithOptions/index' { + import { parseISOWithOptions } from 'date-fns/esm/fp' + export default parseISOWithOptions +} + +declare module 'date-fns/esm/fp/parseJSON/index' { + import { parseJSON } from 'date-fns/esm/fp' + export default parseJSON +} + +declare module 'date-fns/esm/fp/parseWithOptions/index' { + import { parseWithOptions } from 'date-fns/esm/fp' + export default parseWithOptions +} + +declare module 'date-fns/esm/fp/previousDay/index' { + import { previousDay } from 'date-fns/esm/fp' + export default previousDay +} + +declare module 'date-fns/esm/fp/previousFriday/index' { + import { previousFriday } from 'date-fns/esm/fp' + export default previousFriday +} + +declare module 'date-fns/esm/fp/previousMonday/index' { + import { previousMonday } from 'date-fns/esm/fp' + export default previousMonday +} + +declare module 'date-fns/esm/fp/previousSaturday/index' { + import { previousSaturday } from 'date-fns/esm/fp' + export default previousSaturday +} + +declare module 'date-fns/esm/fp/previousSunday/index' { + import { previousSunday } from 'date-fns/esm/fp' + export default previousSunday +} + +declare module 'date-fns/esm/fp/previousThursday/index' { + import { previousThursday } from 'date-fns/esm/fp' + export default previousThursday +} + +declare module 'date-fns/esm/fp/previousTuesday/index' { + import { previousTuesday } from 'date-fns/esm/fp' + export default previousTuesday +} + +declare module 'date-fns/esm/fp/previousWednesday/index' { + import { previousWednesday } from 'date-fns/esm/fp' + export default previousWednesday +} + +declare module 'date-fns/esm/fp/quartersToMonths/index' { + import { quartersToMonths } from 'date-fns/esm/fp' + export default quartersToMonths +} + +declare module 'date-fns/esm/fp/quartersToYears/index' { + import { quartersToYears } from 'date-fns/esm/fp' + export default quartersToYears +} + +declare module 'date-fns/esm/fp/roundToNearestMinutes/index' { + import { roundToNearestMinutes } from 'date-fns/esm/fp' + export default roundToNearestMinutes +} + +declare module 'date-fns/esm/fp/roundToNearestMinutesWithOptions/index' { + import { roundToNearestMinutesWithOptions } from 'date-fns/esm/fp' + export default roundToNearestMinutesWithOptions +} + +declare module 'date-fns/esm/fp/secondsToHours/index' { + import { secondsToHours } from 'date-fns/esm/fp' + export default secondsToHours +} + +declare module 'date-fns/esm/fp/secondsToMilliseconds/index' { + import { secondsToMilliseconds } from 'date-fns/esm/fp' + export default secondsToMilliseconds +} + +declare module 'date-fns/esm/fp/secondsToMinutes/index' { + import { secondsToMinutes } from 'date-fns/esm/fp' + export default secondsToMinutes +} + +declare module 'date-fns/esm/fp/set/index' { + import { set } from 'date-fns/esm/fp' + export default set +} + +declare module 'date-fns/esm/fp/setDate/index' { + import { setDate } from 'date-fns/esm/fp' + export default setDate +} + +declare module 'date-fns/esm/fp/setDay/index' { + import { setDay } from 'date-fns/esm/fp' + export default setDay +} + +declare module 'date-fns/esm/fp/setDayOfYear/index' { + import { setDayOfYear } from 'date-fns/esm/fp' + export default setDayOfYear +} + +declare module 'date-fns/esm/fp/setDayWithOptions/index' { + import { setDayWithOptions } from 'date-fns/esm/fp' + export default setDayWithOptions +} + +declare module 'date-fns/esm/fp/setHours/index' { + import { setHours } from 'date-fns/esm/fp' + export default setHours +} + +declare module 'date-fns/esm/fp/setISODay/index' { + import { setISODay } from 'date-fns/esm/fp' + export default setISODay +} + +declare module 'date-fns/esm/fp/setISOWeek/index' { + import { setISOWeek } from 'date-fns/esm/fp' + export default setISOWeek +} + +declare module 'date-fns/esm/fp/setISOWeekYear/index' { + import { setISOWeekYear } from 'date-fns/esm/fp' + export default setISOWeekYear +} + +declare module 'date-fns/esm/fp/setMilliseconds/index' { + import { setMilliseconds } from 'date-fns/esm/fp' + export default setMilliseconds +} + +declare module 'date-fns/esm/fp/setMinutes/index' { + import { setMinutes } from 'date-fns/esm/fp' + export default setMinutes +} + +declare module 'date-fns/esm/fp/setMonth/index' { + import { setMonth } from 'date-fns/esm/fp' + export default setMonth +} + +declare module 'date-fns/esm/fp/setQuarter/index' { + import { setQuarter } from 'date-fns/esm/fp' + export default setQuarter +} + +declare module 'date-fns/esm/fp/setSeconds/index' { + import { setSeconds } from 'date-fns/esm/fp' + export default setSeconds +} + +declare module 'date-fns/esm/fp/setWeek/index' { + import { setWeek } from 'date-fns/esm/fp' + export default setWeek +} + +declare module 'date-fns/esm/fp/setWeekWithOptions/index' { + import { setWeekWithOptions } from 'date-fns/esm/fp' + export default setWeekWithOptions +} + +declare module 'date-fns/esm/fp/setWeekYear/index' { + import { setWeekYear } from 'date-fns/esm/fp' + export default setWeekYear +} + +declare module 'date-fns/esm/fp/setWeekYearWithOptions/index' { + import { setWeekYearWithOptions } from 'date-fns/esm/fp' + export default setWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/setYear/index' { + import { setYear } from 'date-fns/esm/fp' + export default setYear +} + +declare module 'date-fns/esm/fp/startOfDay/index' { + import { startOfDay } from 'date-fns/esm/fp' + export default startOfDay +} + +declare module 'date-fns/esm/fp/startOfDecade/index' { + import { startOfDecade } from 'date-fns/esm/fp' + export default startOfDecade +} + +declare module 'date-fns/esm/fp/startOfHour/index' { + import { startOfHour } from 'date-fns/esm/fp' + export default startOfHour +} + +declare module 'date-fns/esm/fp/startOfISOWeek/index' { + import { startOfISOWeek } from 'date-fns/esm/fp' + export default startOfISOWeek +} + +declare module 'date-fns/esm/fp/startOfISOWeekYear/index' { + import { startOfISOWeekYear } from 'date-fns/esm/fp' + export default startOfISOWeekYear +} + +declare module 'date-fns/esm/fp/startOfMinute/index' { + import { startOfMinute } from 'date-fns/esm/fp' + export default startOfMinute +} + +declare module 'date-fns/esm/fp/startOfMonth/index' { + import { startOfMonth } from 'date-fns/esm/fp' + export default startOfMonth +} + +declare module 'date-fns/esm/fp/startOfQuarter/index' { + import { startOfQuarter } from 'date-fns/esm/fp' + export default startOfQuarter +} + +declare module 'date-fns/esm/fp/startOfSecond/index' { + import { startOfSecond } from 'date-fns/esm/fp' + export default startOfSecond +} + +declare module 'date-fns/esm/fp/startOfWeek/index' { + import { startOfWeek } from 'date-fns/esm/fp' + export default startOfWeek +} + +declare module 'date-fns/esm/fp/startOfWeekWithOptions/index' { + import { startOfWeekWithOptions } from 'date-fns/esm/fp' + export default startOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/startOfWeekYear/index' { + import { startOfWeekYear } from 'date-fns/esm/fp' + export default startOfWeekYear +} + +declare module 'date-fns/esm/fp/startOfWeekYearWithOptions/index' { + import { startOfWeekYearWithOptions } from 'date-fns/esm/fp' + export default startOfWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/startOfYear/index' { + import { startOfYear } from 'date-fns/esm/fp' + export default startOfYear +} + +declare module 'date-fns/esm/fp/sub/index' { + import { sub } from 'date-fns/esm/fp' + export default sub +} + +declare module 'date-fns/esm/fp/subBusinessDays/index' { + import { subBusinessDays } from 'date-fns/esm/fp' + export default subBusinessDays +} + +declare module 'date-fns/esm/fp/subDays/index' { + import { subDays } from 'date-fns/esm/fp' + export default subDays +} + +declare module 'date-fns/esm/fp/subHours/index' { + import { subHours } from 'date-fns/esm/fp' + export default subHours +} + +declare module 'date-fns/esm/fp/subISOWeekYears/index' { + import { subISOWeekYears } from 'date-fns/esm/fp' + export default subISOWeekYears +} + +declare module 'date-fns/esm/fp/subMilliseconds/index' { + import { subMilliseconds } from 'date-fns/esm/fp' + export default subMilliseconds +} + +declare module 'date-fns/esm/fp/subMinutes/index' { + import { subMinutes } from 'date-fns/esm/fp' + export default subMinutes +} + +declare module 'date-fns/esm/fp/subMonths/index' { + import { subMonths } from 'date-fns/esm/fp' + export default subMonths +} + +declare module 'date-fns/esm/fp/subQuarters/index' { + import { subQuarters } from 'date-fns/esm/fp' + export default subQuarters +} + +declare module 'date-fns/esm/fp/subSeconds/index' { + import { subSeconds } from 'date-fns/esm/fp' + export default subSeconds +} + +declare module 'date-fns/esm/fp/subWeeks/index' { + import { subWeeks } from 'date-fns/esm/fp' + export default subWeeks +} + +declare module 'date-fns/esm/fp/subYears/index' { + import { subYears } from 'date-fns/esm/fp' + export default subYears +} + +declare module 'date-fns/esm/fp/toDate/index' { + import { toDate } from 'date-fns/esm/fp' + export default toDate +} + +declare module 'date-fns/esm/fp/weeksToDays/index' { + import { weeksToDays } from 'date-fns/esm/fp' + export default weeksToDays +} + +declare module 'date-fns/esm/fp/yearsToMonths/index' { + import { yearsToMonths } from 'date-fns/esm/fp' + export default yearsToMonths +} + +declare module 'date-fns/esm/fp/yearsToQuarters/index' { + import { yearsToQuarters } from 'date-fns/esm/fp' + export default yearsToQuarters +} + +declare module 'date-fns/esm/fp/add/index.js' { + import { add } from 'date-fns/esm/fp' + export default add +} + +declare module 'date-fns/esm/fp/addBusinessDays/index.js' { + import { addBusinessDays } from 'date-fns/esm/fp' + export default addBusinessDays +} + +declare module 'date-fns/esm/fp/addDays/index.js' { + import { addDays } from 'date-fns/esm/fp' + export default addDays +} + +declare module 'date-fns/esm/fp/addHours/index.js' { + import { addHours } from 'date-fns/esm/fp' + export default addHours +} + +declare module 'date-fns/esm/fp/addISOWeekYears/index.js' { + import { addISOWeekYears } from 'date-fns/esm/fp' + export default addISOWeekYears +} + +declare module 'date-fns/esm/fp/addMilliseconds/index.js' { + import { addMilliseconds } from 'date-fns/esm/fp' + export default addMilliseconds +} + +declare module 'date-fns/esm/fp/addMinutes/index.js' { + import { addMinutes } from 'date-fns/esm/fp' + export default addMinutes +} + +declare module 'date-fns/esm/fp/addMonths/index.js' { + import { addMonths } from 'date-fns/esm/fp' + export default addMonths +} + +declare module 'date-fns/esm/fp/addQuarters/index.js' { + import { addQuarters } from 'date-fns/esm/fp' + export default addQuarters +} + +declare module 'date-fns/esm/fp/addSeconds/index.js' { + import { addSeconds } from 'date-fns/esm/fp' + export default addSeconds +} + +declare module 'date-fns/esm/fp/addWeeks/index.js' { + import { addWeeks } from 'date-fns/esm/fp' + export default addWeeks +} + +declare module 'date-fns/esm/fp/addYears/index.js' { + import { addYears } from 'date-fns/esm/fp' + export default addYears +} + +declare module 'date-fns/esm/fp/areIntervalsOverlapping/index.js' { + import { areIntervalsOverlapping } from 'date-fns/esm/fp' + export default areIntervalsOverlapping +} + +declare module 'date-fns/esm/fp/areIntervalsOverlappingWithOptions/index.js' { + import { areIntervalsOverlappingWithOptions } from 'date-fns/esm/fp' + export default areIntervalsOverlappingWithOptions +} + +declare module 'date-fns/esm/fp/clamp/index.js' { + import { clamp } from 'date-fns/esm/fp' + export default clamp +} + +declare module 'date-fns/esm/fp/closestIndexTo/index.js' { + import { closestIndexTo } from 'date-fns/esm/fp' + export default closestIndexTo +} + +declare module 'date-fns/esm/fp/closestTo/index.js' { + import { closestTo } from 'date-fns/esm/fp' + export default closestTo +} + +declare module 'date-fns/esm/fp/compareAsc/index.js' { + import { compareAsc } from 'date-fns/esm/fp' + export default compareAsc +} + +declare module 'date-fns/esm/fp/compareDesc/index.js' { + import { compareDesc } from 'date-fns/esm/fp' + export default compareDesc +} + +declare module 'date-fns/esm/fp/daysToWeeks/index.js' { + import { daysToWeeks } from 'date-fns/esm/fp' + export default daysToWeeks +} + +declare module 'date-fns/esm/fp/differenceInBusinessDays/index.js' { + import { differenceInBusinessDays } from 'date-fns/esm/fp' + export default differenceInBusinessDays +} + +declare module 'date-fns/esm/fp/differenceInCalendarDays/index.js' { + import { differenceInCalendarDays } from 'date-fns/esm/fp' + export default differenceInCalendarDays +} + +declare module 'date-fns/esm/fp/differenceInCalendarISOWeeks/index.js' { + import { differenceInCalendarISOWeeks } from 'date-fns/esm/fp' + export default differenceInCalendarISOWeeks +} + +declare module 'date-fns/esm/fp/differenceInCalendarISOWeekYears/index.js' { + import { differenceInCalendarISOWeekYears } from 'date-fns/esm/fp' + export default differenceInCalendarISOWeekYears +} + +declare module 'date-fns/esm/fp/differenceInCalendarMonths/index.js' { + import { differenceInCalendarMonths } from 'date-fns/esm/fp' + export default differenceInCalendarMonths +} + +declare module 'date-fns/esm/fp/differenceInCalendarQuarters/index.js' { + import { differenceInCalendarQuarters } from 'date-fns/esm/fp' + export default differenceInCalendarQuarters +} + +declare module 'date-fns/esm/fp/differenceInCalendarWeeks/index.js' { + import { differenceInCalendarWeeks } from 'date-fns/esm/fp' + export default differenceInCalendarWeeks +} + +declare module 'date-fns/esm/fp/differenceInCalendarWeeksWithOptions/index.js' { + import { differenceInCalendarWeeksWithOptions } from 'date-fns/esm/fp' + export default differenceInCalendarWeeksWithOptions +} + +declare module 'date-fns/esm/fp/differenceInCalendarYears/index.js' { + import { differenceInCalendarYears } from 'date-fns/esm/fp' + export default differenceInCalendarYears +} + +declare module 'date-fns/esm/fp/differenceInDays/index.js' { + import { differenceInDays } from 'date-fns/esm/fp' + export default differenceInDays +} + +declare module 'date-fns/esm/fp/differenceInHours/index.js' { + import { differenceInHours } from 'date-fns/esm/fp' + export default differenceInHours +} + +declare module 'date-fns/esm/fp/differenceInHoursWithOptions/index.js' { + import { differenceInHoursWithOptions } from 'date-fns/esm/fp' + export default differenceInHoursWithOptions +} + +declare module 'date-fns/esm/fp/differenceInISOWeekYears/index.js' { + import { differenceInISOWeekYears } from 'date-fns/esm/fp' + export default differenceInISOWeekYears +} + +declare module 'date-fns/esm/fp/differenceInMilliseconds/index.js' { + import { differenceInMilliseconds } from 'date-fns/esm/fp' + export default differenceInMilliseconds +} + +declare module 'date-fns/esm/fp/differenceInMinutes/index.js' { + import { differenceInMinutes } from 'date-fns/esm/fp' + export default differenceInMinutes +} + +declare module 'date-fns/esm/fp/differenceInMinutesWithOptions/index.js' { + import { differenceInMinutesWithOptions } from 'date-fns/esm/fp' + export default differenceInMinutesWithOptions +} + +declare module 'date-fns/esm/fp/differenceInMonths/index.js' { + import { differenceInMonths } from 'date-fns/esm/fp' + export default differenceInMonths +} + +declare module 'date-fns/esm/fp/differenceInQuarters/index.js' { + import { differenceInQuarters } from 'date-fns/esm/fp' + export default differenceInQuarters +} + +declare module 'date-fns/esm/fp/differenceInQuartersWithOptions/index.js' { + import { differenceInQuartersWithOptions } from 'date-fns/esm/fp' + export default differenceInQuartersWithOptions +} + +declare module 'date-fns/esm/fp/differenceInSeconds/index.js' { + import { differenceInSeconds } from 'date-fns/esm/fp' + export default differenceInSeconds +} + +declare module 'date-fns/esm/fp/differenceInSecondsWithOptions/index.js' { + import { differenceInSecondsWithOptions } from 'date-fns/esm/fp' + export default differenceInSecondsWithOptions +} + +declare module 'date-fns/esm/fp/differenceInWeeks/index.js' { + import { differenceInWeeks } from 'date-fns/esm/fp' + export default differenceInWeeks +} + +declare module 'date-fns/esm/fp/differenceInWeeksWithOptions/index.js' { + import { differenceInWeeksWithOptions } from 'date-fns/esm/fp' + export default differenceInWeeksWithOptions +} + +declare module 'date-fns/esm/fp/differenceInYears/index.js' { + import { differenceInYears } from 'date-fns/esm/fp' + export default differenceInYears +} + +declare module 'date-fns/esm/fp/eachDayOfInterval/index.js' { + import { eachDayOfInterval } from 'date-fns/esm/fp' + export default eachDayOfInterval +} + +declare module 'date-fns/esm/fp/eachDayOfIntervalWithOptions/index.js' { + import { eachDayOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachDayOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachHourOfInterval/index.js' { + import { eachHourOfInterval } from 'date-fns/esm/fp' + export default eachHourOfInterval +} + +declare module 'date-fns/esm/fp/eachHourOfIntervalWithOptions/index.js' { + import { eachHourOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachHourOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachMinuteOfInterval/index.js' { + import { eachMinuteOfInterval } from 'date-fns/esm/fp' + export default eachMinuteOfInterval +} + +declare module 'date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js' { + import { eachMinuteOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachMinuteOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachMonthOfInterval/index.js' { + import { eachMonthOfInterval } from 'date-fns/esm/fp' + export default eachMonthOfInterval +} + +declare module 'date-fns/esm/fp/eachQuarterOfInterval/index.js' { + import { eachQuarterOfInterval } from 'date-fns/esm/fp' + export default eachQuarterOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekendOfInterval/index.js' { + import { eachWeekendOfInterval } from 'date-fns/esm/fp' + export default eachWeekendOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekendOfMonth/index.js' { + import { eachWeekendOfMonth } from 'date-fns/esm/fp' + export default eachWeekendOfMonth +} + +declare module 'date-fns/esm/fp/eachWeekendOfYear/index.js' { + import { eachWeekendOfYear } from 'date-fns/esm/fp' + export default eachWeekendOfYear +} + +declare module 'date-fns/esm/fp/eachWeekOfInterval/index.js' { + import { eachWeekOfInterval } from 'date-fns/esm/fp' + export default eachWeekOfInterval +} + +declare module 'date-fns/esm/fp/eachWeekOfIntervalWithOptions/index.js' { + import { eachWeekOfIntervalWithOptions } from 'date-fns/esm/fp' + export default eachWeekOfIntervalWithOptions +} + +declare module 'date-fns/esm/fp/eachYearOfInterval/index.js' { + import { eachYearOfInterval } from 'date-fns/esm/fp' + export default eachYearOfInterval +} + +declare module 'date-fns/esm/fp/endOfDay/index.js' { + import { endOfDay } from 'date-fns/esm/fp' + export default endOfDay +} + +declare module 'date-fns/esm/fp/endOfDecade/index.js' { + import { endOfDecade } from 'date-fns/esm/fp' + export default endOfDecade +} + +declare module 'date-fns/esm/fp/endOfDecadeWithOptions/index.js' { + import { endOfDecadeWithOptions } from 'date-fns/esm/fp' + export default endOfDecadeWithOptions +} + +declare module 'date-fns/esm/fp/endOfHour/index.js' { + import { endOfHour } from 'date-fns/esm/fp' + export default endOfHour +} + +declare module 'date-fns/esm/fp/endOfISOWeek/index.js' { + import { endOfISOWeek } from 'date-fns/esm/fp' + export default endOfISOWeek +} + +declare module 'date-fns/esm/fp/endOfISOWeekYear/index.js' { + import { endOfISOWeekYear } from 'date-fns/esm/fp' + export default endOfISOWeekYear +} + +declare module 'date-fns/esm/fp/endOfMinute/index.js' { + import { endOfMinute } from 'date-fns/esm/fp' + export default endOfMinute +} + +declare module 'date-fns/esm/fp/endOfMonth/index.js' { + import { endOfMonth } from 'date-fns/esm/fp' + export default endOfMonth +} + +declare module 'date-fns/esm/fp/endOfQuarter/index.js' { + import { endOfQuarter } from 'date-fns/esm/fp' + export default endOfQuarter +} + +declare module 'date-fns/esm/fp/endOfSecond/index.js' { + import { endOfSecond } from 'date-fns/esm/fp' + export default endOfSecond +} + +declare module 'date-fns/esm/fp/endOfWeek/index.js' { + import { endOfWeek } from 'date-fns/esm/fp' + export default endOfWeek +} + +declare module 'date-fns/esm/fp/endOfWeekWithOptions/index.js' { + import { endOfWeekWithOptions } from 'date-fns/esm/fp' + export default endOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/endOfYear/index.js' { + import { endOfYear } from 'date-fns/esm/fp' + export default endOfYear +} + +declare module 'date-fns/esm/fp/format/index.js' { + import { format } from 'date-fns/esm/fp' + export default format +} + +declare module 'date-fns/esm/fp/formatDistance/index.js' { + import { formatDistance } from 'date-fns/esm/fp' + export default formatDistance +} + +declare module 'date-fns/esm/fp/formatDistanceStrict/index.js' { + import { formatDistanceStrict } from 'date-fns/esm/fp' + export default formatDistanceStrict +} + +declare module 'date-fns/esm/fp/formatDistanceStrictWithOptions/index.js' { + import { formatDistanceStrictWithOptions } from 'date-fns/esm/fp' + export default formatDistanceStrictWithOptions +} + +declare module 'date-fns/esm/fp/formatDistanceWithOptions/index.js' { + import { formatDistanceWithOptions } from 'date-fns/esm/fp' + export default formatDistanceWithOptions +} + +declare module 'date-fns/esm/fp/formatDuration/index.js' { + import { formatDuration } from 'date-fns/esm/fp' + export default formatDuration +} + +declare module 'date-fns/esm/fp/formatDurationWithOptions/index.js' { + import { formatDurationWithOptions } from 'date-fns/esm/fp' + export default formatDurationWithOptions +} + +declare module 'date-fns/esm/fp/formatISO/index.js' { + import { formatISO } from 'date-fns/esm/fp' + export default formatISO +} + +declare module 'date-fns/esm/fp/formatISO9075/index.js' { + import { formatISO9075 } from 'date-fns/esm/fp' + export default formatISO9075 +} + +declare module 'date-fns/esm/fp/formatISO9075WithOptions/index.js' { + import { formatISO9075WithOptions } from 'date-fns/esm/fp' + export default formatISO9075WithOptions +} + +declare module 'date-fns/esm/fp/formatISODuration/index.js' { + import { formatISODuration } from 'date-fns/esm/fp' + export default formatISODuration +} + +declare module 'date-fns/esm/fp/formatISOWithOptions/index.js' { + import { formatISOWithOptions } from 'date-fns/esm/fp' + export default formatISOWithOptions +} + +declare module 'date-fns/esm/fp/formatRelative/index.js' { + import { formatRelative } from 'date-fns/esm/fp' + export default formatRelative +} + +declare module 'date-fns/esm/fp/formatRelativeWithOptions/index.js' { + import { formatRelativeWithOptions } from 'date-fns/esm/fp' + export default formatRelativeWithOptions +} + +declare module 'date-fns/esm/fp/formatRFC3339/index.js' { + import { formatRFC3339 } from 'date-fns/esm/fp' + export default formatRFC3339 +} + +declare module 'date-fns/esm/fp/formatRFC3339WithOptions/index.js' { + import { formatRFC3339WithOptions } from 'date-fns/esm/fp' + export default formatRFC3339WithOptions +} + +declare module 'date-fns/esm/fp/formatRFC7231/index.js' { + import { formatRFC7231 } from 'date-fns/esm/fp' + export default formatRFC7231 +} + +declare module 'date-fns/esm/fp/formatWithOptions/index.js' { + import { formatWithOptions } from 'date-fns/esm/fp' + export default formatWithOptions +} + +declare module 'date-fns/esm/fp/fromUnixTime/index.js' { + import { fromUnixTime } from 'date-fns/esm/fp' + export default fromUnixTime +} + +declare module 'date-fns/esm/fp/getDate/index.js' { + import { getDate } from 'date-fns/esm/fp' + export default getDate +} + +declare module 'date-fns/esm/fp/getDay/index.js' { + import { getDay } from 'date-fns/esm/fp' + export default getDay +} + +declare module 'date-fns/esm/fp/getDayOfYear/index.js' { + import { getDayOfYear } from 'date-fns/esm/fp' + export default getDayOfYear +} + +declare module 'date-fns/esm/fp/getDaysInMonth/index.js' { + import { getDaysInMonth } from 'date-fns/esm/fp' + export default getDaysInMonth +} + +declare module 'date-fns/esm/fp/getDaysInYear/index.js' { + import { getDaysInYear } from 'date-fns/esm/fp' + export default getDaysInYear +} + +declare module 'date-fns/esm/fp/getDecade/index.js' { + import { getDecade } from 'date-fns/esm/fp' + export default getDecade +} + +declare module 'date-fns/esm/fp/getHours/index.js' { + import { getHours } from 'date-fns/esm/fp' + export default getHours +} + +declare module 'date-fns/esm/fp/getISODay/index.js' { + import { getISODay } from 'date-fns/esm/fp' + export default getISODay +} + +declare module 'date-fns/esm/fp/getISOWeek/index.js' { + import { getISOWeek } from 'date-fns/esm/fp' + export default getISOWeek +} + +declare module 'date-fns/esm/fp/getISOWeeksInYear/index.js' { + import { getISOWeeksInYear } from 'date-fns/esm/fp' + export default getISOWeeksInYear +} + +declare module 'date-fns/esm/fp/getISOWeekYear/index.js' { + import { getISOWeekYear } from 'date-fns/esm/fp' + export default getISOWeekYear +} + +declare module 'date-fns/esm/fp/getMilliseconds/index.js' { + import { getMilliseconds } from 'date-fns/esm/fp' + export default getMilliseconds +} + +declare module 'date-fns/esm/fp/getMinutes/index.js' { + import { getMinutes } from 'date-fns/esm/fp' + export default getMinutes +} + +declare module 'date-fns/esm/fp/getMonth/index.js' { + import { getMonth } from 'date-fns/esm/fp' + export default getMonth +} + +declare module 'date-fns/esm/fp/getOverlappingDaysInIntervals/index.js' { + import { getOverlappingDaysInIntervals } from 'date-fns/esm/fp' + export default getOverlappingDaysInIntervals +} + +declare module 'date-fns/esm/fp/getQuarter/index.js' { + import { getQuarter } from 'date-fns/esm/fp' + export default getQuarter +} + +declare module 'date-fns/esm/fp/getSeconds/index.js' { + import { getSeconds } from 'date-fns/esm/fp' + export default getSeconds +} + +declare module 'date-fns/esm/fp/getTime/index.js' { + import { getTime } from 'date-fns/esm/fp' + export default getTime +} + +declare module 'date-fns/esm/fp/getUnixTime/index.js' { + import { getUnixTime } from 'date-fns/esm/fp' + export default getUnixTime +} + +declare module 'date-fns/esm/fp/getWeek/index.js' { + import { getWeek } from 'date-fns/esm/fp' + export default getWeek +} + +declare module 'date-fns/esm/fp/getWeekOfMonth/index.js' { + import { getWeekOfMonth } from 'date-fns/esm/fp' + export default getWeekOfMonth +} + +declare module 'date-fns/esm/fp/getWeekOfMonthWithOptions/index.js' { + import { getWeekOfMonthWithOptions } from 'date-fns/esm/fp' + export default getWeekOfMonthWithOptions +} + +declare module 'date-fns/esm/fp/getWeeksInMonth/index.js' { + import { getWeeksInMonth } from 'date-fns/esm/fp' + export default getWeeksInMonth +} + +declare module 'date-fns/esm/fp/getWeeksInMonthWithOptions/index.js' { + import { getWeeksInMonthWithOptions } from 'date-fns/esm/fp' + export default getWeeksInMonthWithOptions +} + +declare module 'date-fns/esm/fp/getWeekWithOptions/index.js' { + import { getWeekWithOptions } from 'date-fns/esm/fp' + export default getWeekWithOptions +} + +declare module 'date-fns/esm/fp/getWeekYear/index.js' { + import { getWeekYear } from 'date-fns/esm/fp' + export default getWeekYear +} + +declare module 'date-fns/esm/fp/getWeekYearWithOptions/index.js' { + import { getWeekYearWithOptions } from 'date-fns/esm/fp' + export default getWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/getYear/index.js' { + import { getYear } from 'date-fns/esm/fp' + export default getYear +} + +declare module 'date-fns/esm/fp/hoursToMilliseconds/index.js' { + import { hoursToMilliseconds } from 'date-fns/esm/fp' + export default hoursToMilliseconds +} + +declare module 'date-fns/esm/fp/hoursToMinutes/index.js' { + import { hoursToMinutes } from 'date-fns/esm/fp' + export default hoursToMinutes +} + +declare module 'date-fns/esm/fp/hoursToSeconds/index.js' { + import { hoursToSeconds } from 'date-fns/esm/fp' + export default hoursToSeconds +} + +declare module 'date-fns/esm/fp/intervalToDuration/index.js' { + import { intervalToDuration } from 'date-fns/esm/fp' + export default intervalToDuration +} + +declare module 'date-fns/esm/fp/intlFormat/index.js' { + import { intlFormat } from 'date-fns/esm/fp' + export default intlFormat +} + +declare module 'date-fns/esm/fp/intlFormatDistance/index.js' { + import { intlFormatDistance } from 'date-fns/esm/fp' + export default intlFormatDistance +} + +declare module 'date-fns/esm/fp/intlFormatDistanceWithOptions/index.js' { + import { intlFormatDistanceWithOptions } from 'date-fns/esm/fp' + export default intlFormatDistanceWithOptions +} + +declare module 'date-fns/esm/fp/isAfter/index.js' { + import { isAfter } from 'date-fns/esm/fp' + export default isAfter +} + +declare module 'date-fns/esm/fp/isBefore/index.js' { + import { isBefore } from 'date-fns/esm/fp' + export default isBefore +} + +declare module 'date-fns/esm/fp/isDate/index.js' { + import { isDate } from 'date-fns/esm/fp' + export default isDate +} + +declare module 'date-fns/esm/fp/isEqual/index.js' { + import { isEqual } from 'date-fns/esm/fp' + export default isEqual +} + +declare module 'date-fns/esm/fp/isExists/index.js' { + import { isExists } from 'date-fns/esm/fp' + export default isExists +} + +declare module 'date-fns/esm/fp/isFirstDayOfMonth/index.js' { + import { isFirstDayOfMonth } from 'date-fns/esm/fp' + export default isFirstDayOfMonth +} + +declare module 'date-fns/esm/fp/isFriday/index.js' { + import { isFriday } from 'date-fns/esm/fp' + export default isFriday +} + +declare module 'date-fns/esm/fp/isLastDayOfMonth/index.js' { + import { isLastDayOfMonth } from 'date-fns/esm/fp' + export default isLastDayOfMonth +} + +declare module 'date-fns/esm/fp/isLeapYear/index.js' { + import { isLeapYear } from 'date-fns/esm/fp' + export default isLeapYear +} + +declare module 'date-fns/esm/fp/isMatch/index.js' { + import { isMatch } from 'date-fns/esm/fp' + export default isMatch +} + +declare module 'date-fns/esm/fp/isMatchWithOptions/index.js' { + import { isMatchWithOptions } from 'date-fns/esm/fp' + export default isMatchWithOptions +} + +declare module 'date-fns/esm/fp/isMonday/index.js' { + import { isMonday } from 'date-fns/esm/fp' + export default isMonday +} + +declare module 'date-fns/esm/fp/isSameDay/index.js' { + import { isSameDay } from 'date-fns/esm/fp' + export default isSameDay +} + +declare module 'date-fns/esm/fp/isSameHour/index.js' { + import { isSameHour } from 'date-fns/esm/fp' + export default isSameHour +} + +declare module 'date-fns/esm/fp/isSameISOWeek/index.js' { + import { isSameISOWeek } from 'date-fns/esm/fp' + export default isSameISOWeek +} + +declare module 'date-fns/esm/fp/isSameISOWeekYear/index.js' { + import { isSameISOWeekYear } from 'date-fns/esm/fp' + export default isSameISOWeekYear +} + +declare module 'date-fns/esm/fp/isSameMinute/index.js' { + import { isSameMinute } from 'date-fns/esm/fp' + export default isSameMinute +} + +declare module 'date-fns/esm/fp/isSameMonth/index.js' { + import { isSameMonth } from 'date-fns/esm/fp' + export default isSameMonth +} + +declare module 'date-fns/esm/fp/isSameQuarter/index.js' { + import { isSameQuarter } from 'date-fns/esm/fp' + export default isSameQuarter +} + +declare module 'date-fns/esm/fp/isSameSecond/index.js' { + import { isSameSecond } from 'date-fns/esm/fp' + export default isSameSecond +} + +declare module 'date-fns/esm/fp/isSameWeek/index.js' { + import { isSameWeek } from 'date-fns/esm/fp' + export default isSameWeek +} + +declare module 'date-fns/esm/fp/isSameWeekWithOptions/index.js' { + import { isSameWeekWithOptions } from 'date-fns/esm/fp' + export default isSameWeekWithOptions +} + +declare module 'date-fns/esm/fp/isSameYear/index.js' { + import { isSameYear } from 'date-fns/esm/fp' + export default isSameYear +} + +declare module 'date-fns/esm/fp/isSaturday/index.js' { + import { isSaturday } from 'date-fns/esm/fp' + export default isSaturday +} + +declare module 'date-fns/esm/fp/isSunday/index.js' { + import { isSunday } from 'date-fns/esm/fp' + export default isSunday +} + +declare module 'date-fns/esm/fp/isThursday/index.js' { + import { isThursday } from 'date-fns/esm/fp' + export default isThursday +} + +declare module 'date-fns/esm/fp/isTuesday/index.js' { + import { isTuesday } from 'date-fns/esm/fp' + export default isTuesday +} + +declare module 'date-fns/esm/fp/isValid/index.js' { + import { isValid } from 'date-fns/esm/fp' + export default isValid +} + +declare module 'date-fns/esm/fp/isWednesday/index.js' { + import { isWednesday } from 'date-fns/esm/fp' + export default isWednesday +} + +declare module 'date-fns/esm/fp/isWeekend/index.js' { + import { isWeekend } from 'date-fns/esm/fp' + export default isWeekend +} + +declare module 'date-fns/esm/fp/isWithinInterval/index.js' { + import { isWithinInterval } from 'date-fns/esm/fp' + export default isWithinInterval +} + +declare module 'date-fns/esm/fp/lastDayOfDecade/index.js' { + import { lastDayOfDecade } from 'date-fns/esm/fp' + export default lastDayOfDecade +} + +declare module 'date-fns/esm/fp/lastDayOfISOWeek/index.js' { + import { lastDayOfISOWeek } from 'date-fns/esm/fp' + export default lastDayOfISOWeek +} + +declare module 'date-fns/esm/fp/lastDayOfISOWeekYear/index.js' { + import { lastDayOfISOWeekYear } from 'date-fns/esm/fp' + export default lastDayOfISOWeekYear +} + +declare module 'date-fns/esm/fp/lastDayOfMonth/index.js' { + import { lastDayOfMonth } from 'date-fns/esm/fp' + export default lastDayOfMonth +} + +declare module 'date-fns/esm/fp/lastDayOfQuarter/index.js' { + import { lastDayOfQuarter } from 'date-fns/esm/fp' + export default lastDayOfQuarter +} + +declare module 'date-fns/esm/fp/lastDayOfQuarterWithOptions/index.js' { + import { lastDayOfQuarterWithOptions } from 'date-fns/esm/fp' + export default lastDayOfQuarterWithOptions +} + +declare module 'date-fns/esm/fp/lastDayOfWeek/index.js' { + import { lastDayOfWeek } from 'date-fns/esm/fp' + export default lastDayOfWeek +} + +declare module 'date-fns/esm/fp/lastDayOfWeekWithOptions/index.js' { + import { lastDayOfWeekWithOptions } from 'date-fns/esm/fp' + export default lastDayOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/lastDayOfYear/index.js' { + import { lastDayOfYear } from 'date-fns/esm/fp' + export default lastDayOfYear +} + +declare module 'date-fns/esm/fp/lightFormat/index.js' { + import { lightFormat } from 'date-fns/esm/fp' + export default lightFormat +} + +declare module 'date-fns/esm/fp/max/index.js' { + import { max } from 'date-fns/esm/fp' + export default max +} + +declare module 'date-fns/esm/fp/milliseconds/index.js' { + import { milliseconds } from 'date-fns/esm/fp' + export default milliseconds +} + +declare module 'date-fns/esm/fp/millisecondsToHours/index.js' { + import { millisecondsToHours } from 'date-fns/esm/fp' + export default millisecondsToHours +} + +declare module 'date-fns/esm/fp/millisecondsToMinutes/index.js' { + import { millisecondsToMinutes } from 'date-fns/esm/fp' + export default millisecondsToMinutes +} + +declare module 'date-fns/esm/fp/millisecondsToSeconds/index.js' { + import { millisecondsToSeconds } from 'date-fns/esm/fp' + export default millisecondsToSeconds +} + +declare module 'date-fns/esm/fp/min/index.js' { + import { min } from 'date-fns/esm/fp' + export default min +} + +declare module 'date-fns/esm/fp/minutesToHours/index.js' { + import { minutesToHours } from 'date-fns/esm/fp' + export default minutesToHours +} + +declare module 'date-fns/esm/fp/minutesToMilliseconds/index.js' { + import { minutesToMilliseconds } from 'date-fns/esm/fp' + export default minutesToMilliseconds +} + +declare module 'date-fns/esm/fp/minutesToSeconds/index.js' { + import { minutesToSeconds } from 'date-fns/esm/fp' + export default minutesToSeconds +} + +declare module 'date-fns/esm/fp/monthsToQuarters/index.js' { + import { monthsToQuarters } from 'date-fns/esm/fp' + export default monthsToQuarters +} + +declare module 'date-fns/esm/fp/monthsToYears/index.js' { + import { monthsToYears } from 'date-fns/esm/fp' + export default monthsToYears +} + +declare module 'date-fns/esm/fp/nextDay/index.js' { + import { nextDay } from 'date-fns/esm/fp' + export default nextDay +} + +declare module 'date-fns/esm/fp/nextFriday/index.js' { + import { nextFriday } from 'date-fns/esm/fp' + export default nextFriday +} + +declare module 'date-fns/esm/fp/nextMonday/index.js' { + import { nextMonday } from 'date-fns/esm/fp' + export default nextMonday +} + +declare module 'date-fns/esm/fp/nextSaturday/index.js' { + import { nextSaturday } from 'date-fns/esm/fp' + export default nextSaturday +} + +declare module 'date-fns/esm/fp/nextSunday/index.js' { + import { nextSunday } from 'date-fns/esm/fp' + export default nextSunday +} + +declare module 'date-fns/esm/fp/nextThursday/index.js' { + import { nextThursday } from 'date-fns/esm/fp' + export default nextThursday +} + +declare module 'date-fns/esm/fp/nextTuesday/index.js' { + import { nextTuesday } from 'date-fns/esm/fp' + export default nextTuesday +} + +declare module 'date-fns/esm/fp/nextWednesday/index.js' { + import { nextWednesday } from 'date-fns/esm/fp' + export default nextWednesday +} + +declare module 'date-fns/esm/fp/parse/index.js' { + import { parse } from 'date-fns/esm/fp' + export default parse +} + +declare module 'date-fns/esm/fp/parseISO/index.js' { + import { parseISO } from 'date-fns/esm/fp' + export default parseISO +} + +declare module 'date-fns/esm/fp/parseISOWithOptions/index.js' { + import { parseISOWithOptions } from 'date-fns/esm/fp' + export default parseISOWithOptions +} + +declare module 'date-fns/esm/fp/parseJSON/index.js' { + import { parseJSON } from 'date-fns/esm/fp' + export default parseJSON +} + +declare module 'date-fns/esm/fp/parseWithOptions/index.js' { + import { parseWithOptions } from 'date-fns/esm/fp' + export default parseWithOptions +} + +declare module 'date-fns/esm/fp/previousDay/index.js' { + import { previousDay } from 'date-fns/esm/fp' + export default previousDay +} + +declare module 'date-fns/esm/fp/previousFriday/index.js' { + import { previousFriday } from 'date-fns/esm/fp' + export default previousFriday +} + +declare module 'date-fns/esm/fp/previousMonday/index.js' { + import { previousMonday } from 'date-fns/esm/fp' + export default previousMonday +} + +declare module 'date-fns/esm/fp/previousSaturday/index.js' { + import { previousSaturday } from 'date-fns/esm/fp' + export default previousSaturday +} + +declare module 'date-fns/esm/fp/previousSunday/index.js' { + import { previousSunday } from 'date-fns/esm/fp' + export default previousSunday +} + +declare module 'date-fns/esm/fp/previousThursday/index.js' { + import { previousThursday } from 'date-fns/esm/fp' + export default previousThursday +} + +declare module 'date-fns/esm/fp/previousTuesday/index.js' { + import { previousTuesday } from 'date-fns/esm/fp' + export default previousTuesday +} + +declare module 'date-fns/esm/fp/previousWednesday/index.js' { + import { previousWednesday } from 'date-fns/esm/fp' + export default previousWednesday +} + +declare module 'date-fns/esm/fp/quartersToMonths/index.js' { + import { quartersToMonths } from 'date-fns/esm/fp' + export default quartersToMonths +} + +declare module 'date-fns/esm/fp/quartersToYears/index.js' { + import { quartersToYears } from 'date-fns/esm/fp' + export default quartersToYears +} + +declare module 'date-fns/esm/fp/roundToNearestMinutes/index.js' { + import { roundToNearestMinutes } from 'date-fns/esm/fp' + export default roundToNearestMinutes +} + +declare module 'date-fns/esm/fp/roundToNearestMinutesWithOptions/index.js' { + import { roundToNearestMinutesWithOptions } from 'date-fns/esm/fp' + export default roundToNearestMinutesWithOptions +} + +declare module 'date-fns/esm/fp/secondsToHours/index.js' { + import { secondsToHours } from 'date-fns/esm/fp' + export default secondsToHours +} + +declare module 'date-fns/esm/fp/secondsToMilliseconds/index.js' { + import { secondsToMilliseconds } from 'date-fns/esm/fp' + export default secondsToMilliseconds +} + +declare module 'date-fns/esm/fp/secondsToMinutes/index.js' { + import { secondsToMinutes } from 'date-fns/esm/fp' + export default secondsToMinutes +} + +declare module 'date-fns/esm/fp/set/index.js' { + import { set } from 'date-fns/esm/fp' + export default set +} + +declare module 'date-fns/esm/fp/setDate/index.js' { + import { setDate } from 'date-fns/esm/fp' + export default setDate +} + +declare module 'date-fns/esm/fp/setDay/index.js' { + import { setDay } from 'date-fns/esm/fp' + export default setDay +} + +declare module 'date-fns/esm/fp/setDayOfYear/index.js' { + import { setDayOfYear } from 'date-fns/esm/fp' + export default setDayOfYear +} + +declare module 'date-fns/esm/fp/setDayWithOptions/index.js' { + import { setDayWithOptions } from 'date-fns/esm/fp' + export default setDayWithOptions +} + +declare module 'date-fns/esm/fp/setHours/index.js' { + import { setHours } from 'date-fns/esm/fp' + export default setHours +} + +declare module 'date-fns/esm/fp/setISODay/index.js' { + import { setISODay } from 'date-fns/esm/fp' + export default setISODay +} + +declare module 'date-fns/esm/fp/setISOWeek/index.js' { + import { setISOWeek } from 'date-fns/esm/fp' + export default setISOWeek +} + +declare module 'date-fns/esm/fp/setISOWeekYear/index.js' { + import { setISOWeekYear } from 'date-fns/esm/fp' + export default setISOWeekYear +} + +declare module 'date-fns/esm/fp/setMilliseconds/index.js' { + import { setMilliseconds } from 'date-fns/esm/fp' + export default setMilliseconds +} + +declare module 'date-fns/esm/fp/setMinutes/index.js' { + import { setMinutes } from 'date-fns/esm/fp' + export default setMinutes +} + +declare module 'date-fns/esm/fp/setMonth/index.js' { + import { setMonth } from 'date-fns/esm/fp' + export default setMonth +} + +declare module 'date-fns/esm/fp/setQuarter/index.js' { + import { setQuarter } from 'date-fns/esm/fp' + export default setQuarter +} + +declare module 'date-fns/esm/fp/setSeconds/index.js' { + import { setSeconds } from 'date-fns/esm/fp' + export default setSeconds +} + +declare module 'date-fns/esm/fp/setWeek/index.js' { + import { setWeek } from 'date-fns/esm/fp' + export default setWeek +} + +declare module 'date-fns/esm/fp/setWeekWithOptions/index.js' { + import { setWeekWithOptions } from 'date-fns/esm/fp' + export default setWeekWithOptions +} + +declare module 'date-fns/esm/fp/setWeekYear/index.js' { + import { setWeekYear } from 'date-fns/esm/fp' + export default setWeekYear +} + +declare module 'date-fns/esm/fp/setWeekYearWithOptions/index.js' { + import { setWeekYearWithOptions } from 'date-fns/esm/fp' + export default setWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/setYear/index.js' { + import { setYear } from 'date-fns/esm/fp' + export default setYear +} + +declare module 'date-fns/esm/fp/startOfDay/index.js' { + import { startOfDay } from 'date-fns/esm/fp' + export default startOfDay +} + +declare module 'date-fns/esm/fp/startOfDecade/index.js' { + import { startOfDecade } from 'date-fns/esm/fp' + export default startOfDecade +} + +declare module 'date-fns/esm/fp/startOfHour/index.js' { + import { startOfHour } from 'date-fns/esm/fp' + export default startOfHour +} + +declare module 'date-fns/esm/fp/startOfISOWeek/index.js' { + import { startOfISOWeek } from 'date-fns/esm/fp' + export default startOfISOWeek +} + +declare module 'date-fns/esm/fp/startOfISOWeekYear/index.js' { + import { startOfISOWeekYear } from 'date-fns/esm/fp' + export default startOfISOWeekYear +} + +declare module 'date-fns/esm/fp/startOfMinute/index.js' { + import { startOfMinute } from 'date-fns/esm/fp' + export default startOfMinute +} + +declare module 'date-fns/esm/fp/startOfMonth/index.js' { + import { startOfMonth } from 'date-fns/esm/fp' + export default startOfMonth +} + +declare module 'date-fns/esm/fp/startOfQuarter/index.js' { + import { startOfQuarter } from 'date-fns/esm/fp' + export default startOfQuarter +} + +declare module 'date-fns/esm/fp/startOfSecond/index.js' { + import { startOfSecond } from 'date-fns/esm/fp' + export default startOfSecond +} + +declare module 'date-fns/esm/fp/startOfWeek/index.js' { + import { startOfWeek } from 'date-fns/esm/fp' + export default startOfWeek +} + +declare module 'date-fns/esm/fp/startOfWeekWithOptions/index.js' { + import { startOfWeekWithOptions } from 'date-fns/esm/fp' + export default startOfWeekWithOptions +} + +declare module 'date-fns/esm/fp/startOfWeekYear/index.js' { + import { startOfWeekYear } from 'date-fns/esm/fp' + export default startOfWeekYear +} + +declare module 'date-fns/esm/fp/startOfWeekYearWithOptions/index.js' { + import { startOfWeekYearWithOptions } from 'date-fns/esm/fp' + export default startOfWeekYearWithOptions +} + +declare module 'date-fns/esm/fp/startOfYear/index.js' { + import { startOfYear } from 'date-fns/esm/fp' + export default startOfYear +} + +declare module 'date-fns/esm/fp/sub/index.js' { + import { sub } from 'date-fns/esm/fp' + export default sub +} + +declare module 'date-fns/esm/fp/subBusinessDays/index.js' { + import { subBusinessDays } from 'date-fns/esm/fp' + export default subBusinessDays +} + +declare module 'date-fns/esm/fp/subDays/index.js' { + import { subDays } from 'date-fns/esm/fp' + export default subDays +} + +declare module 'date-fns/esm/fp/subHours/index.js' { + import { subHours } from 'date-fns/esm/fp' + export default subHours +} + +declare module 'date-fns/esm/fp/subISOWeekYears/index.js' { + import { subISOWeekYears } from 'date-fns/esm/fp' + export default subISOWeekYears +} + +declare module 'date-fns/esm/fp/subMilliseconds/index.js' { + import { subMilliseconds } from 'date-fns/esm/fp' + export default subMilliseconds +} + +declare module 'date-fns/esm/fp/subMinutes/index.js' { + import { subMinutes } from 'date-fns/esm/fp' + export default subMinutes +} + +declare module 'date-fns/esm/fp/subMonths/index.js' { + import { subMonths } from 'date-fns/esm/fp' + export default subMonths +} + +declare module 'date-fns/esm/fp/subQuarters/index.js' { + import { subQuarters } from 'date-fns/esm/fp' + export default subQuarters +} + +declare module 'date-fns/esm/fp/subSeconds/index.js' { + import { subSeconds } from 'date-fns/esm/fp' + export default subSeconds +} + +declare module 'date-fns/esm/fp/subWeeks/index.js' { + import { subWeeks } from 'date-fns/esm/fp' + export default subWeeks +} + +declare module 'date-fns/esm/fp/subYears/index.js' { + import { subYears } from 'date-fns/esm/fp' + export default subYears +} + +declare module 'date-fns/esm/fp/toDate/index.js' { + import { toDate } from 'date-fns/esm/fp' + export default toDate +} + +declare module 'date-fns/esm/fp/weeksToDays/index.js' { + import { weeksToDays } from 'date-fns/esm/fp' + export default weeksToDays +} + +declare module 'date-fns/esm/fp/yearsToMonths/index.js' { + import { yearsToMonths } from 'date-fns/esm/fp' + export default yearsToMonths +} + +declare module 'date-fns/esm/fp/yearsToQuarters/index.js' { + import { yearsToQuarters } from 'date-fns/esm/fp' + export default yearsToQuarters +} + +// Regular Locales + +declare module 'date-fns/locale' { + const af: Locale + namespace af {} + + const ar: Locale + namespace ar {} + + const arDZ: Locale + namespace arDZ {} + + const arEG: Locale + namespace arEG {} + + const arMA: Locale + namespace arMA {} + + const arSA: Locale + namespace arSA {} + + const arTN: Locale + namespace arTN {} + + const az: Locale + namespace az {} + + const be: Locale + namespace be {} + + const beTarask: Locale + namespace beTarask {} + + const bg: Locale + namespace bg {} + + const bn: Locale + namespace bn {} + + const bs: Locale + namespace bs {} + + const ca: Locale + namespace ca {} + + const cs: Locale + namespace cs {} + + const cy: Locale + namespace cy {} + + const da: Locale + namespace da {} + + const de: Locale + namespace de {} + + const deAT: Locale + namespace deAT {} + + const el: Locale + namespace el {} + + const enAU: Locale + namespace enAU {} + + const enCA: Locale + namespace enCA {} + + const enGB: Locale + namespace enGB {} + + const enIE: Locale + namespace enIE {} + + const enIN: Locale + namespace enIN {} + + const enNZ: Locale + namespace enNZ {} + + const enUS: Locale + namespace enUS {} + + const enZA: Locale + namespace enZA {} + + const eo: Locale + namespace eo {} + + const es: Locale + namespace es {} + + const et: Locale + namespace et {} + + const eu: Locale + namespace eu {} + + const faIR: Locale + namespace faIR {} + + const fi: Locale + namespace fi {} + + const fr: Locale + namespace fr {} + + const frCA: Locale + namespace frCA {} + + const frCH: Locale + namespace frCH {} + + const fy: Locale + namespace fy {} + + const gd: Locale + namespace gd {} + + const gl: Locale + namespace gl {} + + const gu: Locale + namespace gu {} + + const he: Locale + namespace he {} + + const hi: Locale + namespace hi {} + + const hr: Locale + namespace hr {} + + const ht: Locale + namespace ht {} + + const hu: Locale + namespace hu {} + + const hy: Locale + namespace hy {} + + const id: Locale + namespace id {} + + const is: Locale + namespace is {} + + const it: Locale + namespace it {} + + const itCH: Locale + namespace itCH {} + + const ja: Locale + namespace ja {} + + const jaHira: Locale + namespace jaHira {} + + const ka: Locale + namespace ka {} + + const kk: Locale + namespace kk {} + + const km: Locale + namespace km {} + + const kn: Locale + namespace kn {} + + const ko: Locale + namespace ko {} + + const lb: Locale + namespace lb {} + + const lt: Locale + namespace lt {} + + const lv: Locale + namespace lv {} + + const mk: Locale + namespace mk {} + + const mn: Locale + namespace mn {} + + const ms: Locale + namespace ms {} + + const mt: Locale + namespace mt {} + + const nb: Locale + namespace nb {} + + const nl: Locale + namespace nl {} + + const nlBE: Locale + namespace nlBE {} + + const nn: Locale + namespace nn {} + + const oc: Locale + namespace oc {} + + const pl: Locale + namespace pl {} + + const pt: Locale + namespace pt {} + + const ptBR: Locale + namespace ptBR {} + + const ro: Locale + namespace ro {} + + const ru: Locale + namespace ru {} + + const sk: Locale + namespace sk {} + + const sl: Locale + namespace sl {} + + const sq: Locale + namespace sq {} + + const sr: Locale + namespace sr {} + + const srLatn: Locale + namespace srLatn {} + + const sv: Locale + namespace sv {} + + const ta: Locale + namespace ta {} + + const te: Locale + namespace te {} + + const th: Locale + namespace th {} + + const tr: Locale + namespace tr {} + + const ug: Locale + namespace ug {} + + const uk: Locale + namespace uk {} + + const uz: Locale + namespace uz {} + + const uzCyrl: Locale + namespace uzCyrl {} + + const vi: Locale + namespace vi {} + + const zhCN: Locale + namespace zhCN {} + + const zhHK: Locale + namespace zhHK {} + + const zhTW: Locale + namespace zhTW {} +} + +declare module 'date-fns/locale/af' { + import { af } from 'date-fns/locale' + export default af +} + +declare module 'date-fns/locale/ar' { + import { ar } from 'date-fns/locale' + export default ar +} + +declare module 'date-fns/locale/ar-DZ' { + import { arDZ } from 'date-fns/locale' + export default arDZ +} + +declare module 'date-fns/locale/ar-EG' { + import { arEG } from 'date-fns/locale' + export default arEG +} + +declare module 'date-fns/locale/ar-MA' { + import { arMA } from 'date-fns/locale' + export default arMA +} + +declare module 'date-fns/locale/ar-SA' { + import { arSA } from 'date-fns/locale' + export default arSA +} + +declare module 'date-fns/locale/ar-TN' { + import { arTN } from 'date-fns/locale' + export default arTN +} + +declare module 'date-fns/locale/az' { + import { az } from 'date-fns/locale' + export default az +} + +declare module 'date-fns/locale/be' { + import { be } from 'date-fns/locale' + export default be +} + +declare module 'date-fns/locale/be-tarask' { + import { beTarask } from 'date-fns/locale' + export default beTarask +} + +declare module 'date-fns/locale/bg' { + import { bg } from 'date-fns/locale' + export default bg +} + +declare module 'date-fns/locale/bn' { + import { bn } from 'date-fns/locale' + export default bn +} + +declare module 'date-fns/locale/bs' { + import { bs } from 'date-fns/locale' + export default bs +} + +declare module 'date-fns/locale/ca' { + import { ca } from 'date-fns/locale' + export default ca +} + +declare module 'date-fns/locale/cs' { + import { cs } from 'date-fns/locale' + export default cs +} + +declare module 'date-fns/locale/cy' { + import { cy } from 'date-fns/locale' + export default cy +} + +declare module 'date-fns/locale/da' { + import { da } from 'date-fns/locale' + export default da +} + +declare module 'date-fns/locale/de' { + import { de } from 'date-fns/locale' + export default de +} + +declare module 'date-fns/locale/de-AT' { + import { deAT } from 'date-fns/locale' + export default deAT +} + +declare module 'date-fns/locale/el' { + import { el } from 'date-fns/locale' + export default el +} + +declare module 'date-fns/locale/en-AU' { + import { enAU } from 'date-fns/locale' + export default enAU +} + +declare module 'date-fns/locale/en-CA' { + import { enCA } from 'date-fns/locale' + export default enCA +} + +declare module 'date-fns/locale/en-GB' { + import { enGB } from 'date-fns/locale' + export default enGB +} + +declare module 'date-fns/locale/en-IE' { + import { enIE } from 'date-fns/locale' + export default enIE +} + +declare module 'date-fns/locale/en-IN' { + import { enIN } from 'date-fns/locale' + export default enIN +} + +declare module 'date-fns/locale/en-NZ' { + import { enNZ } from 'date-fns/locale' + export default enNZ +} + +declare module 'date-fns/locale/en-US' { + import { enUS } from 'date-fns/locale' + export default enUS +} + +declare module 'date-fns/locale/en-ZA' { + import { enZA } from 'date-fns/locale' + export default enZA +} + +declare module 'date-fns/locale/eo' { + import { eo } from 'date-fns/locale' + export default eo +} + +declare module 'date-fns/locale/es' { + import { es } from 'date-fns/locale' + export default es +} + +declare module 'date-fns/locale/et' { + import { et } from 'date-fns/locale' + export default et +} + +declare module 'date-fns/locale/eu' { + import { eu } from 'date-fns/locale' + export default eu +} + +declare module 'date-fns/locale/fa-IR' { + import { faIR } from 'date-fns/locale' + export default faIR +} + +declare module 'date-fns/locale/fi' { + import { fi } from 'date-fns/locale' + export default fi +} + +declare module 'date-fns/locale/fr' { + import { fr } from 'date-fns/locale' + export default fr +} + +declare module 'date-fns/locale/fr-CA' { + import { frCA } from 'date-fns/locale' + export default frCA +} + +declare module 'date-fns/locale/fr-CH' { + import { frCH } from 'date-fns/locale' + export default frCH +} + +declare module 'date-fns/locale/fy' { + import { fy } from 'date-fns/locale' + export default fy +} + +declare module 'date-fns/locale/gd' { + import { gd } from 'date-fns/locale' + export default gd +} + +declare module 'date-fns/locale/gl' { + import { gl } from 'date-fns/locale' + export default gl +} + +declare module 'date-fns/locale/gu' { + import { gu } from 'date-fns/locale' + export default gu +} + +declare module 'date-fns/locale/he' { + import { he } from 'date-fns/locale' + export default he +} + +declare module 'date-fns/locale/hi' { + import { hi } from 'date-fns/locale' + export default hi +} + +declare module 'date-fns/locale/hr' { + import { hr } from 'date-fns/locale' + export default hr +} + +declare module 'date-fns/locale/ht' { + import { ht } from 'date-fns/locale' + export default ht +} + +declare module 'date-fns/locale/hu' { + import { hu } from 'date-fns/locale' + export default hu +} + +declare module 'date-fns/locale/hy' { + import { hy } from 'date-fns/locale' + export default hy +} + +declare module 'date-fns/locale/id' { + import { id } from 'date-fns/locale' + export default id +} + +declare module 'date-fns/locale/is' { + import { is } from 'date-fns/locale' + export default is +} + +declare module 'date-fns/locale/it' { + import { it } from 'date-fns/locale' + export default it +} + +declare module 'date-fns/locale/it-CH' { + import { itCH } from 'date-fns/locale' + export default itCH +} + +declare module 'date-fns/locale/ja' { + import { ja } from 'date-fns/locale' + export default ja +} + +declare module 'date-fns/locale/ja-Hira' { + import { jaHira } from 'date-fns/locale' + export default jaHira +} + +declare module 'date-fns/locale/ka' { + import { ka } from 'date-fns/locale' + export default ka +} + +declare module 'date-fns/locale/kk' { + import { kk } from 'date-fns/locale' + export default kk +} + +declare module 'date-fns/locale/km' { + import { km } from 'date-fns/locale' + export default km +} + +declare module 'date-fns/locale/kn' { + import { kn } from 'date-fns/locale' + export default kn +} + +declare module 'date-fns/locale/ko' { + import { ko } from 'date-fns/locale' + export default ko +} + +declare module 'date-fns/locale/lb' { + import { lb } from 'date-fns/locale' + export default lb +} + +declare module 'date-fns/locale/lt' { + import { lt } from 'date-fns/locale' + export default lt +} + +declare module 'date-fns/locale/lv' { + import { lv } from 'date-fns/locale' + export default lv +} + +declare module 'date-fns/locale/mk' { + import { mk } from 'date-fns/locale' + export default mk +} + +declare module 'date-fns/locale/mn' { + import { mn } from 'date-fns/locale' + export default mn +} + +declare module 'date-fns/locale/ms' { + import { ms } from 'date-fns/locale' + export default ms +} + +declare module 'date-fns/locale/mt' { + import { mt } from 'date-fns/locale' + export default mt +} + +declare module 'date-fns/locale/nb' { + import { nb } from 'date-fns/locale' + export default nb +} + +declare module 'date-fns/locale/nl' { + import { nl } from 'date-fns/locale' + export default nl +} + +declare module 'date-fns/locale/nl-BE' { + import { nlBE } from 'date-fns/locale' + export default nlBE +} + +declare module 'date-fns/locale/nn' { + import { nn } from 'date-fns/locale' + export default nn +} + +declare module 'date-fns/locale/oc' { + import { oc } from 'date-fns/locale' + export default oc +} + +declare module 'date-fns/locale/pl' { + import { pl } from 'date-fns/locale' + export default pl +} + +declare module 'date-fns/locale/pt' { + import { pt } from 'date-fns/locale' + export default pt +} + +declare module 'date-fns/locale/pt-BR' { + import { ptBR } from 'date-fns/locale' + export default ptBR +} + +declare module 'date-fns/locale/ro' { + import { ro } from 'date-fns/locale' + export default ro +} + +declare module 'date-fns/locale/ru' { + import { ru } from 'date-fns/locale' + export default ru +} + +declare module 'date-fns/locale/sk' { + import { sk } from 'date-fns/locale' + export default sk +} + +declare module 'date-fns/locale/sl' { + import { sl } from 'date-fns/locale' + export default sl +} + +declare module 'date-fns/locale/sq' { + import { sq } from 'date-fns/locale' + export default sq +} + +declare module 'date-fns/locale/sr' { + import { sr } from 'date-fns/locale' + export default sr +} + +declare module 'date-fns/locale/sr-Latn' { + import { srLatn } from 'date-fns/locale' + export default srLatn +} + +declare module 'date-fns/locale/sv' { + import { sv } from 'date-fns/locale' + export default sv +} + +declare module 'date-fns/locale/ta' { + import { ta } from 'date-fns/locale' + export default ta +} + +declare module 'date-fns/locale/te' { + import { te } from 'date-fns/locale' + export default te +} + +declare module 'date-fns/locale/th' { + import { th } from 'date-fns/locale' + export default th +} + +declare module 'date-fns/locale/tr' { + import { tr } from 'date-fns/locale' + export default tr +} + +declare module 'date-fns/locale/ug' { + import { ug } from 'date-fns/locale' + export default ug +} + +declare module 'date-fns/locale/uk' { + import { uk } from 'date-fns/locale' + export default uk +} + +declare module 'date-fns/locale/uz' { + import { uz } from 'date-fns/locale' + export default uz +} + +declare module 'date-fns/locale/uz-Cyrl' { + import { uzCyrl } from 'date-fns/locale' + export default uzCyrl +} + +declare module 'date-fns/locale/vi' { + import { vi } from 'date-fns/locale' + export default vi +} + +declare module 'date-fns/locale/zh-CN' { + import { zhCN } from 'date-fns/locale' + export default zhCN +} + +declare module 'date-fns/locale/zh-HK' { + import { zhHK } from 'date-fns/locale' + export default zhHK +} + +declare module 'date-fns/locale/zh-TW' { + import { zhTW } from 'date-fns/locale' + export default zhTW +} + +declare module 'date-fns/locale/af/index' { + import { af } from 'date-fns/locale' + export default af +} + +declare module 'date-fns/locale/ar/index' { + import { ar } from 'date-fns/locale' + export default ar +} + +declare module 'date-fns/locale/ar-DZ/index' { + import { arDZ } from 'date-fns/locale' + export default arDZ +} + +declare module 'date-fns/locale/ar-EG/index' { + import { arEG } from 'date-fns/locale' + export default arEG +} + +declare module 'date-fns/locale/ar-MA/index' { + import { arMA } from 'date-fns/locale' + export default arMA +} + +declare module 'date-fns/locale/ar-SA/index' { + import { arSA } from 'date-fns/locale' + export default arSA +} + +declare module 'date-fns/locale/ar-TN/index' { + import { arTN } from 'date-fns/locale' + export default arTN +} + +declare module 'date-fns/locale/az/index' { + import { az } from 'date-fns/locale' + export default az +} + +declare module 'date-fns/locale/be/index' { + import { be } from 'date-fns/locale' + export default be +} + +declare module 'date-fns/locale/be-tarask/index' { + import { beTarask } from 'date-fns/locale' + export default beTarask +} + +declare module 'date-fns/locale/bg/index' { + import { bg } from 'date-fns/locale' + export default bg +} + +declare module 'date-fns/locale/bn/index' { + import { bn } from 'date-fns/locale' + export default bn +} + +declare module 'date-fns/locale/bs/index' { + import { bs } from 'date-fns/locale' + export default bs +} + +declare module 'date-fns/locale/ca/index' { + import { ca } from 'date-fns/locale' + export default ca +} + +declare module 'date-fns/locale/cs/index' { + import { cs } from 'date-fns/locale' + export default cs +} + +declare module 'date-fns/locale/cy/index' { + import { cy } from 'date-fns/locale' + export default cy +} + +declare module 'date-fns/locale/da/index' { + import { da } from 'date-fns/locale' + export default da +} + +declare module 'date-fns/locale/de/index' { + import { de } from 'date-fns/locale' + export default de +} + +declare module 'date-fns/locale/de-AT/index' { + import { deAT } from 'date-fns/locale' + export default deAT +} + +declare module 'date-fns/locale/el/index' { + import { el } from 'date-fns/locale' + export default el +} + +declare module 'date-fns/locale/en-AU/index' { + import { enAU } from 'date-fns/locale' + export default enAU +} + +declare module 'date-fns/locale/en-CA/index' { + import { enCA } from 'date-fns/locale' + export default enCA +} + +declare module 'date-fns/locale/en-GB/index' { + import { enGB } from 'date-fns/locale' + export default enGB +} + +declare module 'date-fns/locale/en-IE/index' { + import { enIE } from 'date-fns/locale' + export default enIE +} + +declare module 'date-fns/locale/en-IN/index' { + import { enIN } from 'date-fns/locale' + export default enIN +} + +declare module 'date-fns/locale/en-NZ/index' { + import { enNZ } from 'date-fns/locale' + export default enNZ +} + +declare module 'date-fns/locale/en-US/index' { + import { enUS } from 'date-fns/locale' + export default enUS +} + +declare module 'date-fns/locale/en-ZA/index' { + import { enZA } from 'date-fns/locale' + export default enZA +} + +declare module 'date-fns/locale/eo/index' { + import { eo } from 'date-fns/locale' + export default eo +} + +declare module 'date-fns/locale/es/index' { + import { es } from 'date-fns/locale' + export default es +} + +declare module 'date-fns/locale/et/index' { + import { et } from 'date-fns/locale' + export default et +} + +declare module 'date-fns/locale/eu/index' { + import { eu } from 'date-fns/locale' + export default eu +} + +declare module 'date-fns/locale/fa-IR/index' { + import { faIR } from 'date-fns/locale' + export default faIR +} + +declare module 'date-fns/locale/fi/index' { + import { fi } from 'date-fns/locale' + export default fi +} + +declare module 'date-fns/locale/fr/index' { + import { fr } from 'date-fns/locale' + export default fr +} + +declare module 'date-fns/locale/fr-CA/index' { + import { frCA } from 'date-fns/locale' + export default frCA +} + +declare module 'date-fns/locale/fr-CH/index' { + import { frCH } from 'date-fns/locale' + export default frCH +} + +declare module 'date-fns/locale/fy/index' { + import { fy } from 'date-fns/locale' + export default fy +} + +declare module 'date-fns/locale/gd/index' { + import { gd } from 'date-fns/locale' + export default gd +} + +declare module 'date-fns/locale/gl/index' { + import { gl } from 'date-fns/locale' + export default gl +} + +declare module 'date-fns/locale/gu/index' { + import { gu } from 'date-fns/locale' + export default gu +} + +declare module 'date-fns/locale/he/index' { + import { he } from 'date-fns/locale' + export default he +} + +declare module 'date-fns/locale/hi/index' { + import { hi } from 'date-fns/locale' + export default hi +} + +declare module 'date-fns/locale/hr/index' { + import { hr } from 'date-fns/locale' + export default hr +} + +declare module 'date-fns/locale/ht/index' { + import { ht } from 'date-fns/locale' + export default ht +} + +declare module 'date-fns/locale/hu/index' { + import { hu } from 'date-fns/locale' + export default hu +} + +declare module 'date-fns/locale/hy/index' { + import { hy } from 'date-fns/locale' + export default hy +} + +declare module 'date-fns/locale/id/index' { + import { id } from 'date-fns/locale' + export default id +} + +declare module 'date-fns/locale/is/index' { + import { is } from 'date-fns/locale' + export default is +} + +declare module 'date-fns/locale/it/index' { + import { it } from 'date-fns/locale' + export default it +} + +declare module 'date-fns/locale/it-CH/index' { + import { itCH } from 'date-fns/locale' + export default itCH +} + +declare module 'date-fns/locale/ja/index' { + import { ja } from 'date-fns/locale' + export default ja +} + +declare module 'date-fns/locale/ja-Hira/index' { + import { jaHira } from 'date-fns/locale' + export default jaHira +} + +declare module 'date-fns/locale/ka/index' { + import { ka } from 'date-fns/locale' + export default ka +} + +declare module 'date-fns/locale/kk/index' { + import { kk } from 'date-fns/locale' + export default kk +} + +declare module 'date-fns/locale/km/index' { + import { km } from 'date-fns/locale' + export default km +} + +declare module 'date-fns/locale/kn/index' { + import { kn } from 'date-fns/locale' + export default kn +} + +declare module 'date-fns/locale/ko/index' { + import { ko } from 'date-fns/locale' + export default ko +} + +declare module 'date-fns/locale/lb/index' { + import { lb } from 'date-fns/locale' + export default lb +} + +declare module 'date-fns/locale/lt/index' { + import { lt } from 'date-fns/locale' + export default lt +} + +declare module 'date-fns/locale/lv/index' { + import { lv } from 'date-fns/locale' + export default lv +} + +declare module 'date-fns/locale/mk/index' { + import { mk } from 'date-fns/locale' + export default mk +} + +declare module 'date-fns/locale/mn/index' { + import { mn } from 'date-fns/locale' + export default mn +} + +declare module 'date-fns/locale/ms/index' { + import { ms } from 'date-fns/locale' + export default ms +} + +declare module 'date-fns/locale/mt/index' { + import { mt } from 'date-fns/locale' + export default mt +} + +declare module 'date-fns/locale/nb/index' { + import { nb } from 'date-fns/locale' + export default nb +} + +declare module 'date-fns/locale/nl/index' { + import { nl } from 'date-fns/locale' + export default nl +} + +declare module 'date-fns/locale/nl-BE/index' { + import { nlBE } from 'date-fns/locale' + export default nlBE +} + +declare module 'date-fns/locale/nn/index' { + import { nn } from 'date-fns/locale' + export default nn +} + +declare module 'date-fns/locale/oc/index' { + import { oc } from 'date-fns/locale' + export default oc +} + +declare module 'date-fns/locale/pl/index' { + import { pl } from 'date-fns/locale' + export default pl +} + +declare module 'date-fns/locale/pt/index' { + import { pt } from 'date-fns/locale' + export default pt +} + +declare module 'date-fns/locale/pt-BR/index' { + import { ptBR } from 'date-fns/locale' + export default ptBR +} + +declare module 'date-fns/locale/ro/index' { + import { ro } from 'date-fns/locale' + export default ro +} + +declare module 'date-fns/locale/ru/index' { + import { ru } from 'date-fns/locale' + export default ru +} + +declare module 'date-fns/locale/sk/index' { + import { sk } from 'date-fns/locale' + export default sk +} + +declare module 'date-fns/locale/sl/index' { + import { sl } from 'date-fns/locale' + export default sl +} + +declare module 'date-fns/locale/sq/index' { + import { sq } from 'date-fns/locale' + export default sq +} + +declare module 'date-fns/locale/sr/index' { + import { sr } from 'date-fns/locale' + export default sr +} + +declare module 'date-fns/locale/sr-Latn/index' { + import { srLatn } from 'date-fns/locale' + export default srLatn +} + +declare module 'date-fns/locale/sv/index' { + import { sv } from 'date-fns/locale' + export default sv +} + +declare module 'date-fns/locale/ta/index' { + import { ta } from 'date-fns/locale' + export default ta +} + +declare module 'date-fns/locale/te/index' { + import { te } from 'date-fns/locale' + export default te +} + +declare module 'date-fns/locale/th/index' { + import { th } from 'date-fns/locale' + export default th +} + +declare module 'date-fns/locale/tr/index' { + import { tr } from 'date-fns/locale' + export default tr +} + +declare module 'date-fns/locale/ug/index' { + import { ug } from 'date-fns/locale' + export default ug +} + +declare module 'date-fns/locale/uk/index' { + import { uk } from 'date-fns/locale' + export default uk +} + +declare module 'date-fns/locale/uz/index' { + import { uz } from 'date-fns/locale' + export default uz +} + +declare module 'date-fns/locale/uz-Cyrl/index' { + import { uzCyrl } from 'date-fns/locale' + export default uzCyrl +} + +declare module 'date-fns/locale/vi/index' { + import { vi } from 'date-fns/locale' + export default vi +} + +declare module 'date-fns/locale/zh-CN/index' { + import { zhCN } from 'date-fns/locale' + export default zhCN +} + +declare module 'date-fns/locale/zh-HK/index' { + import { zhHK } from 'date-fns/locale' + export default zhHK +} + +declare module 'date-fns/locale/zh-TW/index' { + import { zhTW } from 'date-fns/locale' + export default zhTW +} + +declare module 'date-fns/locale/af/index.js' { + import { af } from 'date-fns/locale' + export default af +} + +declare module 'date-fns/locale/ar/index.js' { + import { ar } from 'date-fns/locale' + export default ar +} + +declare module 'date-fns/locale/ar-DZ/index.js' { + import { arDZ } from 'date-fns/locale' + export default arDZ +} + +declare module 'date-fns/locale/ar-EG/index.js' { + import { arEG } from 'date-fns/locale' + export default arEG +} + +declare module 'date-fns/locale/ar-MA/index.js' { + import { arMA } from 'date-fns/locale' + export default arMA +} + +declare module 'date-fns/locale/ar-SA/index.js' { + import { arSA } from 'date-fns/locale' + export default arSA +} + +declare module 'date-fns/locale/ar-TN/index.js' { + import { arTN } from 'date-fns/locale' + export default arTN +} + +declare module 'date-fns/locale/az/index.js' { + import { az } from 'date-fns/locale' + export default az +} + +declare module 'date-fns/locale/be/index.js' { + import { be } from 'date-fns/locale' + export default be +} + +declare module 'date-fns/locale/be-tarask/index.js' { + import { beTarask } from 'date-fns/locale' + export default beTarask +} + +declare module 'date-fns/locale/bg/index.js' { + import { bg } from 'date-fns/locale' + export default bg +} + +declare module 'date-fns/locale/bn/index.js' { + import { bn } from 'date-fns/locale' + export default bn +} + +declare module 'date-fns/locale/bs/index.js' { + import { bs } from 'date-fns/locale' + export default bs +} + +declare module 'date-fns/locale/ca/index.js' { + import { ca } from 'date-fns/locale' + export default ca +} + +declare module 'date-fns/locale/cs/index.js' { + import { cs } from 'date-fns/locale' + export default cs +} + +declare module 'date-fns/locale/cy/index.js' { + import { cy } from 'date-fns/locale' + export default cy +} + +declare module 'date-fns/locale/da/index.js' { + import { da } from 'date-fns/locale' + export default da +} + +declare module 'date-fns/locale/de/index.js' { + import { de } from 'date-fns/locale' + export default de +} + +declare module 'date-fns/locale/de-AT/index.js' { + import { deAT } from 'date-fns/locale' + export default deAT +} + +declare module 'date-fns/locale/el/index.js' { + import { el } from 'date-fns/locale' + export default el +} + +declare module 'date-fns/locale/en-AU/index.js' { + import { enAU } from 'date-fns/locale' + export default enAU +} + +declare module 'date-fns/locale/en-CA/index.js' { + import { enCA } from 'date-fns/locale' + export default enCA +} + +declare module 'date-fns/locale/en-GB/index.js' { + import { enGB } from 'date-fns/locale' + export default enGB +} + +declare module 'date-fns/locale/en-IE/index.js' { + import { enIE } from 'date-fns/locale' + export default enIE +} + +declare module 'date-fns/locale/en-IN/index.js' { + import { enIN } from 'date-fns/locale' + export default enIN +} + +declare module 'date-fns/locale/en-NZ/index.js' { + import { enNZ } from 'date-fns/locale' + export default enNZ +} + +declare module 'date-fns/locale/en-US/index.js' { + import { enUS } from 'date-fns/locale' + export default enUS +} + +declare module 'date-fns/locale/en-ZA/index.js' { + import { enZA } from 'date-fns/locale' + export default enZA +} + +declare module 'date-fns/locale/eo/index.js' { + import { eo } from 'date-fns/locale' + export default eo +} + +declare module 'date-fns/locale/es/index.js' { + import { es } from 'date-fns/locale' + export default es +} + +declare module 'date-fns/locale/et/index.js' { + import { et } from 'date-fns/locale' + export default et +} + +declare module 'date-fns/locale/eu/index.js' { + import { eu } from 'date-fns/locale' + export default eu +} + +declare module 'date-fns/locale/fa-IR/index.js' { + import { faIR } from 'date-fns/locale' + export default faIR +} + +declare module 'date-fns/locale/fi/index.js' { + import { fi } from 'date-fns/locale' + export default fi +} + +declare module 'date-fns/locale/fr/index.js' { + import { fr } from 'date-fns/locale' + export default fr +} + +declare module 'date-fns/locale/fr-CA/index.js' { + import { frCA } from 'date-fns/locale' + export default frCA +} + +declare module 'date-fns/locale/fr-CH/index.js' { + import { frCH } from 'date-fns/locale' + export default frCH +} + +declare module 'date-fns/locale/fy/index.js' { + import { fy } from 'date-fns/locale' + export default fy +} + +declare module 'date-fns/locale/gd/index.js' { + import { gd } from 'date-fns/locale' + export default gd +} + +declare module 'date-fns/locale/gl/index.js' { + import { gl } from 'date-fns/locale' + export default gl +} + +declare module 'date-fns/locale/gu/index.js' { + import { gu } from 'date-fns/locale' + export default gu +} + +declare module 'date-fns/locale/he/index.js' { + import { he } from 'date-fns/locale' + export default he +} + +declare module 'date-fns/locale/hi/index.js' { + import { hi } from 'date-fns/locale' + export default hi +} + +declare module 'date-fns/locale/hr/index.js' { + import { hr } from 'date-fns/locale' + export default hr +} + +declare module 'date-fns/locale/ht/index.js' { + import { ht } from 'date-fns/locale' + export default ht +} + +declare module 'date-fns/locale/hu/index.js' { + import { hu } from 'date-fns/locale' + export default hu +} + +declare module 'date-fns/locale/hy/index.js' { + import { hy } from 'date-fns/locale' + export default hy +} + +declare module 'date-fns/locale/id/index.js' { + import { id } from 'date-fns/locale' + export default id +} + +declare module 'date-fns/locale/is/index.js' { + import { is } from 'date-fns/locale' + export default is +} + +declare module 'date-fns/locale/it/index.js' { + import { it } from 'date-fns/locale' + export default it +} + +declare module 'date-fns/locale/it-CH/index.js' { + import { itCH } from 'date-fns/locale' + export default itCH +} + +declare module 'date-fns/locale/ja/index.js' { + import { ja } from 'date-fns/locale' + export default ja +} + +declare module 'date-fns/locale/ja-Hira/index.js' { + import { jaHira } from 'date-fns/locale' + export default jaHira +} + +declare module 'date-fns/locale/ka/index.js' { + import { ka } from 'date-fns/locale' + export default ka +} + +declare module 'date-fns/locale/kk/index.js' { + import { kk } from 'date-fns/locale' + export default kk +} + +declare module 'date-fns/locale/km/index.js' { + import { km } from 'date-fns/locale' + export default km +} + +declare module 'date-fns/locale/kn/index.js' { + import { kn } from 'date-fns/locale' + export default kn +} + +declare module 'date-fns/locale/ko/index.js' { + import { ko } from 'date-fns/locale' + export default ko +} + +declare module 'date-fns/locale/lb/index.js' { + import { lb } from 'date-fns/locale' + export default lb +} + +declare module 'date-fns/locale/lt/index.js' { + import { lt } from 'date-fns/locale' + export default lt +} + +declare module 'date-fns/locale/lv/index.js' { + import { lv } from 'date-fns/locale' + export default lv +} + +declare module 'date-fns/locale/mk/index.js' { + import { mk } from 'date-fns/locale' + export default mk +} + +declare module 'date-fns/locale/mn/index.js' { + import { mn } from 'date-fns/locale' + export default mn +} + +declare module 'date-fns/locale/ms/index.js' { + import { ms } from 'date-fns/locale' + export default ms +} + +declare module 'date-fns/locale/mt/index.js' { + import { mt } from 'date-fns/locale' + export default mt +} + +declare module 'date-fns/locale/nb/index.js' { + import { nb } from 'date-fns/locale' + export default nb +} + +declare module 'date-fns/locale/nl/index.js' { + import { nl } from 'date-fns/locale' + export default nl +} + +declare module 'date-fns/locale/nl-BE/index.js' { + import { nlBE } from 'date-fns/locale' + export default nlBE +} + +declare module 'date-fns/locale/nn/index.js' { + import { nn } from 'date-fns/locale' + export default nn +} + +declare module 'date-fns/locale/oc/index.js' { + import { oc } from 'date-fns/locale' + export default oc +} + +declare module 'date-fns/locale/pl/index.js' { + import { pl } from 'date-fns/locale' + export default pl +} + +declare module 'date-fns/locale/pt/index.js' { + import { pt } from 'date-fns/locale' + export default pt +} + +declare module 'date-fns/locale/pt-BR/index.js' { + import { ptBR } from 'date-fns/locale' + export default ptBR +} + +declare module 'date-fns/locale/ro/index.js' { + import { ro } from 'date-fns/locale' + export default ro +} + +declare module 'date-fns/locale/ru/index.js' { + import { ru } from 'date-fns/locale' + export default ru +} + +declare module 'date-fns/locale/sk/index.js' { + import { sk } from 'date-fns/locale' + export default sk +} + +declare module 'date-fns/locale/sl/index.js' { + import { sl } from 'date-fns/locale' + export default sl +} + +declare module 'date-fns/locale/sq/index.js' { + import { sq } from 'date-fns/locale' + export default sq +} + +declare module 'date-fns/locale/sr/index.js' { + import { sr } from 'date-fns/locale' + export default sr +} + +declare module 'date-fns/locale/sr-Latn/index.js' { + import { srLatn } from 'date-fns/locale' + export default srLatn +} + +declare module 'date-fns/locale/sv/index.js' { + import { sv } from 'date-fns/locale' + export default sv +} + +declare module 'date-fns/locale/ta/index.js' { + import { ta } from 'date-fns/locale' + export default ta +} + +declare module 'date-fns/locale/te/index.js' { + import { te } from 'date-fns/locale' + export default te +} + +declare module 'date-fns/locale/th/index.js' { + import { th } from 'date-fns/locale' + export default th +} + +declare module 'date-fns/locale/tr/index.js' { + import { tr } from 'date-fns/locale' + export default tr +} + +declare module 'date-fns/locale/ug/index.js' { + import { ug } from 'date-fns/locale' + export default ug +} + +declare module 'date-fns/locale/uk/index.js' { + import { uk } from 'date-fns/locale' + export default uk +} + +declare module 'date-fns/locale/uz/index.js' { + import { uz } from 'date-fns/locale' + export default uz +} + +declare module 'date-fns/locale/uz-Cyrl/index.js' { + import { uzCyrl } from 'date-fns/locale' + export default uzCyrl +} + +declare module 'date-fns/locale/vi/index.js' { + import { vi } from 'date-fns/locale' + export default vi +} + +declare module 'date-fns/locale/zh-CN/index.js' { + import { zhCN } from 'date-fns/locale' + export default zhCN +} + +declare module 'date-fns/locale/zh-HK/index.js' { + import { zhHK } from 'date-fns/locale' + export default zhHK +} + +declare module 'date-fns/locale/zh-TW/index.js' { + import { zhTW } from 'date-fns/locale' + export default zhTW +} + +// ECMAScript Module Locales + +declare module 'date-fns/esm/locale' { + const af: Locale + namespace af {} + + const ar: Locale + namespace ar {} + + const arDZ: Locale + namespace arDZ {} + + const arEG: Locale + namespace arEG {} + + const arMA: Locale + namespace arMA {} + + const arSA: Locale + namespace arSA {} + + const arTN: Locale + namespace arTN {} + + const az: Locale + namespace az {} + + const be: Locale + namespace be {} + + const beTarask: Locale + namespace beTarask {} + + const bg: Locale + namespace bg {} + + const bn: Locale + namespace bn {} + + const bs: Locale + namespace bs {} + + const ca: Locale + namespace ca {} + + const cs: Locale + namespace cs {} + + const cy: Locale + namespace cy {} + + const da: Locale + namespace da {} + + const de: Locale + namespace de {} + + const deAT: Locale + namespace deAT {} + + const el: Locale + namespace el {} + + const enAU: Locale + namespace enAU {} + + const enCA: Locale + namespace enCA {} + + const enGB: Locale + namespace enGB {} + + const enIE: Locale + namespace enIE {} + + const enIN: Locale + namespace enIN {} + + const enNZ: Locale + namespace enNZ {} + + const enUS: Locale + namespace enUS {} + + const enZA: Locale + namespace enZA {} + + const eo: Locale + namespace eo {} + + const es: Locale + namespace es {} + + const et: Locale + namespace et {} + + const eu: Locale + namespace eu {} + + const faIR: Locale + namespace faIR {} + + const fi: Locale + namespace fi {} + + const fr: Locale + namespace fr {} + + const frCA: Locale + namespace frCA {} + + const frCH: Locale + namespace frCH {} + + const fy: Locale + namespace fy {} + + const gd: Locale + namespace gd {} + + const gl: Locale + namespace gl {} + + const gu: Locale + namespace gu {} + + const he: Locale + namespace he {} + + const hi: Locale + namespace hi {} + + const hr: Locale + namespace hr {} + + const ht: Locale + namespace ht {} + + const hu: Locale + namespace hu {} + + const hy: Locale + namespace hy {} + + const id: Locale + namespace id {} + + const is: Locale + namespace is {} + + const it: Locale + namespace it {} + + const itCH: Locale + namespace itCH {} + + const ja: Locale + namespace ja {} + + const jaHira: Locale + namespace jaHira {} + + const ka: Locale + namespace ka {} + + const kk: Locale + namespace kk {} + + const km: Locale + namespace km {} + + const kn: Locale + namespace kn {} + + const ko: Locale + namespace ko {} + + const lb: Locale + namespace lb {} + + const lt: Locale + namespace lt {} + + const lv: Locale + namespace lv {} + + const mk: Locale + namespace mk {} + + const mn: Locale + namespace mn {} + + const ms: Locale + namespace ms {} + + const mt: Locale + namespace mt {} + + const nb: Locale + namespace nb {} + + const nl: Locale + namespace nl {} + + const nlBE: Locale + namespace nlBE {} + + const nn: Locale + namespace nn {} + + const oc: Locale + namespace oc {} + + const pl: Locale + namespace pl {} + + const pt: Locale + namespace pt {} + + const ptBR: Locale + namespace ptBR {} + + const ro: Locale + namespace ro {} + + const ru: Locale + namespace ru {} + + const sk: Locale + namespace sk {} + + const sl: Locale + namespace sl {} + + const sq: Locale + namespace sq {} + + const sr: Locale + namespace sr {} + + const srLatn: Locale + namespace srLatn {} + + const sv: Locale + namespace sv {} + + const ta: Locale + namespace ta {} + + const te: Locale + namespace te {} + + const th: Locale + namespace th {} + + const tr: Locale + namespace tr {} + + const ug: Locale + namespace ug {} + + const uk: Locale + namespace uk {} + + const uz: Locale + namespace uz {} + + const uzCyrl: Locale + namespace uzCyrl {} + + const vi: Locale + namespace vi {} + + const zhCN: Locale + namespace zhCN {} + + const zhHK: Locale + namespace zhHK {} + + const zhTW: Locale + namespace zhTW {} +} + +declare module 'date-fns/esm/locale/af' { + import { af } from 'date-fns/esm/locale' + export default af +} + +declare module 'date-fns/esm/locale/ar' { + import { ar } from 'date-fns/esm/locale' + export default ar +} + +declare module 'date-fns/esm/locale/ar-DZ' { + import { arDZ } from 'date-fns/esm/locale' + export default arDZ +} + +declare module 'date-fns/esm/locale/ar-EG' { + import { arEG } from 'date-fns/esm/locale' + export default arEG +} + +declare module 'date-fns/esm/locale/ar-MA' { + import { arMA } from 'date-fns/esm/locale' + export default arMA +} + +declare module 'date-fns/esm/locale/ar-SA' { + import { arSA } from 'date-fns/esm/locale' + export default arSA +} + +declare module 'date-fns/esm/locale/ar-TN' { + import { arTN } from 'date-fns/esm/locale' + export default arTN +} + +declare module 'date-fns/esm/locale/az' { + import { az } from 'date-fns/esm/locale' + export default az +} + +declare module 'date-fns/esm/locale/be' { + import { be } from 'date-fns/esm/locale' + export default be +} + +declare module 'date-fns/esm/locale/be-tarask' { + import { beTarask } from 'date-fns/esm/locale' + export default beTarask +} + +declare module 'date-fns/esm/locale/bg' { + import { bg } from 'date-fns/esm/locale' + export default bg +} + +declare module 'date-fns/esm/locale/bn' { + import { bn } from 'date-fns/esm/locale' + export default bn +} + +declare module 'date-fns/esm/locale/bs' { + import { bs } from 'date-fns/esm/locale' + export default bs +} + +declare module 'date-fns/esm/locale/ca' { + import { ca } from 'date-fns/esm/locale' + export default ca +} + +declare module 'date-fns/esm/locale/cs' { + import { cs } from 'date-fns/esm/locale' + export default cs +} + +declare module 'date-fns/esm/locale/cy' { + import { cy } from 'date-fns/esm/locale' + export default cy +} + +declare module 'date-fns/esm/locale/da' { + import { da } from 'date-fns/esm/locale' + export default da +} + +declare module 'date-fns/esm/locale/de' { + import { de } from 'date-fns/esm/locale' + export default de +} + +declare module 'date-fns/esm/locale/de-AT' { + import { deAT } from 'date-fns/esm/locale' + export default deAT +} + +declare module 'date-fns/esm/locale/el' { + import { el } from 'date-fns/esm/locale' + export default el +} + +declare module 'date-fns/esm/locale/en-AU' { + import { enAU } from 'date-fns/esm/locale' + export default enAU +} + +declare module 'date-fns/esm/locale/en-CA' { + import { enCA } from 'date-fns/esm/locale' + export default enCA +} + +declare module 'date-fns/esm/locale/en-GB' { + import { enGB } from 'date-fns/esm/locale' + export default enGB +} + +declare module 'date-fns/esm/locale/en-IE' { + import { enIE } from 'date-fns/esm/locale' + export default enIE +} + +declare module 'date-fns/esm/locale/en-IN' { + import { enIN } from 'date-fns/esm/locale' + export default enIN +} + +declare module 'date-fns/esm/locale/en-NZ' { + import { enNZ } from 'date-fns/esm/locale' + export default enNZ +} + +declare module 'date-fns/esm/locale/en-US' { + import { enUS } from 'date-fns/esm/locale' + export default enUS +} + +declare module 'date-fns/esm/locale/en-ZA' { + import { enZA } from 'date-fns/esm/locale' + export default enZA +} + +declare module 'date-fns/esm/locale/eo' { + import { eo } from 'date-fns/esm/locale' + export default eo +} + +declare module 'date-fns/esm/locale/es' { + import { es } from 'date-fns/esm/locale' + export default es +} + +declare module 'date-fns/esm/locale/et' { + import { et } from 'date-fns/esm/locale' + export default et +} + +declare module 'date-fns/esm/locale/eu' { + import { eu } from 'date-fns/esm/locale' + export default eu +} + +declare module 'date-fns/esm/locale/fa-IR' { + import { faIR } from 'date-fns/esm/locale' + export default faIR +} + +declare module 'date-fns/esm/locale/fi' { + import { fi } from 'date-fns/esm/locale' + export default fi +} + +declare module 'date-fns/esm/locale/fr' { + import { fr } from 'date-fns/esm/locale' + export default fr +} + +declare module 'date-fns/esm/locale/fr-CA' { + import { frCA } from 'date-fns/esm/locale' + export default frCA +} + +declare module 'date-fns/esm/locale/fr-CH' { + import { frCH } from 'date-fns/esm/locale' + export default frCH +} + +declare module 'date-fns/esm/locale/fy' { + import { fy } from 'date-fns/esm/locale' + export default fy +} + +declare module 'date-fns/esm/locale/gd' { + import { gd } from 'date-fns/esm/locale' + export default gd +} + +declare module 'date-fns/esm/locale/gl' { + import { gl } from 'date-fns/esm/locale' + export default gl +} + +declare module 'date-fns/esm/locale/gu' { + import { gu } from 'date-fns/esm/locale' + export default gu +} + +declare module 'date-fns/esm/locale/he' { + import { he } from 'date-fns/esm/locale' + export default he +} + +declare module 'date-fns/esm/locale/hi' { + import { hi } from 'date-fns/esm/locale' + export default hi +} + +declare module 'date-fns/esm/locale/hr' { + import { hr } from 'date-fns/esm/locale' + export default hr +} + +declare module 'date-fns/esm/locale/ht' { + import { ht } from 'date-fns/esm/locale' + export default ht +} + +declare module 'date-fns/esm/locale/hu' { + import { hu } from 'date-fns/esm/locale' + export default hu +} + +declare module 'date-fns/esm/locale/hy' { + import { hy } from 'date-fns/esm/locale' + export default hy +} + +declare module 'date-fns/esm/locale/id' { + import { id } from 'date-fns/esm/locale' + export default id +} + +declare module 'date-fns/esm/locale/is' { + import { is } from 'date-fns/esm/locale' + export default is +} + +declare module 'date-fns/esm/locale/it' { + import { it } from 'date-fns/esm/locale' + export default it +} + +declare module 'date-fns/esm/locale/it-CH' { + import { itCH } from 'date-fns/esm/locale' + export default itCH +} + +declare module 'date-fns/esm/locale/ja' { + import { ja } from 'date-fns/esm/locale' + export default ja +} + +declare module 'date-fns/esm/locale/ja-Hira' { + import { jaHira } from 'date-fns/esm/locale' + export default jaHira +} + +declare module 'date-fns/esm/locale/ka' { + import { ka } from 'date-fns/esm/locale' + export default ka +} + +declare module 'date-fns/esm/locale/kk' { + import { kk } from 'date-fns/esm/locale' + export default kk +} + +declare module 'date-fns/esm/locale/km' { + import { km } from 'date-fns/esm/locale' + export default km +} + +declare module 'date-fns/esm/locale/kn' { + import { kn } from 'date-fns/esm/locale' + export default kn +} + +declare module 'date-fns/esm/locale/ko' { + import { ko } from 'date-fns/esm/locale' + export default ko +} + +declare module 'date-fns/esm/locale/lb' { + import { lb } from 'date-fns/esm/locale' + export default lb +} + +declare module 'date-fns/esm/locale/lt' { + import { lt } from 'date-fns/esm/locale' + export default lt +} + +declare module 'date-fns/esm/locale/lv' { + import { lv } from 'date-fns/esm/locale' + export default lv +} + +declare module 'date-fns/esm/locale/mk' { + import { mk } from 'date-fns/esm/locale' + export default mk +} + +declare module 'date-fns/esm/locale/mn' { + import { mn } from 'date-fns/esm/locale' + export default mn +} + +declare module 'date-fns/esm/locale/ms' { + import { ms } from 'date-fns/esm/locale' + export default ms +} + +declare module 'date-fns/esm/locale/mt' { + import { mt } from 'date-fns/esm/locale' + export default mt +} + +declare module 'date-fns/esm/locale/nb' { + import { nb } from 'date-fns/esm/locale' + export default nb +} + +declare module 'date-fns/esm/locale/nl' { + import { nl } from 'date-fns/esm/locale' + export default nl +} + +declare module 'date-fns/esm/locale/nl-BE' { + import { nlBE } from 'date-fns/esm/locale' + export default nlBE +} + +declare module 'date-fns/esm/locale/nn' { + import { nn } from 'date-fns/esm/locale' + export default nn +} + +declare module 'date-fns/esm/locale/oc' { + import { oc } from 'date-fns/esm/locale' + export default oc +} + +declare module 'date-fns/esm/locale/pl' { + import { pl } from 'date-fns/esm/locale' + export default pl +} + +declare module 'date-fns/esm/locale/pt' { + import { pt } from 'date-fns/esm/locale' + export default pt +} + +declare module 'date-fns/esm/locale/pt-BR' { + import { ptBR } from 'date-fns/esm/locale' + export default ptBR +} + +declare module 'date-fns/esm/locale/ro' { + import { ro } from 'date-fns/esm/locale' + export default ro +} + +declare module 'date-fns/esm/locale/ru' { + import { ru } from 'date-fns/esm/locale' + export default ru +} + +declare module 'date-fns/esm/locale/sk' { + import { sk } from 'date-fns/esm/locale' + export default sk +} + +declare module 'date-fns/esm/locale/sl' { + import { sl } from 'date-fns/esm/locale' + export default sl +} + +declare module 'date-fns/esm/locale/sq' { + import { sq } from 'date-fns/esm/locale' + export default sq +} + +declare module 'date-fns/esm/locale/sr' { + import { sr } from 'date-fns/esm/locale' + export default sr +} + +declare module 'date-fns/esm/locale/sr-Latn' { + import { srLatn } from 'date-fns/esm/locale' + export default srLatn +} + +declare module 'date-fns/esm/locale/sv' { + import { sv } from 'date-fns/esm/locale' + export default sv +} + +declare module 'date-fns/esm/locale/ta' { + import { ta } from 'date-fns/esm/locale' + export default ta +} + +declare module 'date-fns/esm/locale/te' { + import { te } from 'date-fns/esm/locale' + export default te +} + +declare module 'date-fns/esm/locale/th' { + import { th } from 'date-fns/esm/locale' + export default th +} + +declare module 'date-fns/esm/locale/tr' { + import { tr } from 'date-fns/esm/locale' + export default tr +} + +declare module 'date-fns/esm/locale/ug' { + import { ug } from 'date-fns/esm/locale' + export default ug +} + +declare module 'date-fns/esm/locale/uk' { + import { uk } from 'date-fns/esm/locale' + export default uk +} + +declare module 'date-fns/esm/locale/uz' { + import { uz } from 'date-fns/esm/locale' + export default uz +} + +declare module 'date-fns/esm/locale/uz-Cyrl' { + import { uzCyrl } from 'date-fns/esm/locale' + export default uzCyrl +} + +declare module 'date-fns/esm/locale/vi' { + import { vi } from 'date-fns/esm/locale' + export default vi +} + +declare module 'date-fns/esm/locale/zh-CN' { + import { zhCN } from 'date-fns/esm/locale' + export default zhCN +} + +declare module 'date-fns/esm/locale/zh-HK' { + import { zhHK } from 'date-fns/esm/locale' + export default zhHK +} + +declare module 'date-fns/esm/locale/zh-TW' { + import { zhTW } from 'date-fns/esm/locale' + export default zhTW +} + +declare module 'date-fns/esm/locale/af/index' { + import { af } from 'date-fns/esm/locale' + export default af +} + +declare module 'date-fns/esm/locale/ar/index' { + import { ar } from 'date-fns/esm/locale' + export default ar +} + +declare module 'date-fns/esm/locale/ar-DZ/index' { + import { arDZ } from 'date-fns/esm/locale' + export default arDZ +} + +declare module 'date-fns/esm/locale/ar-EG/index' { + import { arEG } from 'date-fns/esm/locale' + export default arEG +} + +declare module 'date-fns/esm/locale/ar-MA/index' { + import { arMA } from 'date-fns/esm/locale' + export default arMA +} + +declare module 'date-fns/esm/locale/ar-SA/index' { + import { arSA } from 'date-fns/esm/locale' + export default arSA +} + +declare module 'date-fns/esm/locale/ar-TN/index' { + import { arTN } from 'date-fns/esm/locale' + export default arTN +} + +declare module 'date-fns/esm/locale/az/index' { + import { az } from 'date-fns/esm/locale' + export default az +} + +declare module 'date-fns/esm/locale/be/index' { + import { be } from 'date-fns/esm/locale' + export default be +} + +declare module 'date-fns/esm/locale/be-tarask/index' { + import { beTarask } from 'date-fns/esm/locale' + export default beTarask +} + +declare module 'date-fns/esm/locale/bg/index' { + import { bg } from 'date-fns/esm/locale' + export default bg +} + +declare module 'date-fns/esm/locale/bn/index' { + import { bn } from 'date-fns/esm/locale' + export default bn +} + +declare module 'date-fns/esm/locale/bs/index' { + import { bs } from 'date-fns/esm/locale' + export default bs +} + +declare module 'date-fns/esm/locale/ca/index' { + import { ca } from 'date-fns/esm/locale' + export default ca +} + +declare module 'date-fns/esm/locale/cs/index' { + import { cs } from 'date-fns/esm/locale' + export default cs +} + +declare module 'date-fns/esm/locale/cy/index' { + import { cy } from 'date-fns/esm/locale' + export default cy +} + +declare module 'date-fns/esm/locale/da/index' { + import { da } from 'date-fns/esm/locale' + export default da +} + +declare module 'date-fns/esm/locale/de/index' { + import { de } from 'date-fns/esm/locale' + export default de +} + +declare module 'date-fns/esm/locale/de-AT/index' { + import { deAT } from 'date-fns/esm/locale' + export default deAT +} + +declare module 'date-fns/esm/locale/el/index' { + import { el } from 'date-fns/esm/locale' + export default el +} + +declare module 'date-fns/esm/locale/en-AU/index' { + import { enAU } from 'date-fns/esm/locale' + export default enAU +} + +declare module 'date-fns/esm/locale/en-CA/index' { + import { enCA } from 'date-fns/esm/locale' + export default enCA +} + +declare module 'date-fns/esm/locale/en-GB/index' { + import { enGB } from 'date-fns/esm/locale' + export default enGB +} + +declare module 'date-fns/esm/locale/en-IE/index' { + import { enIE } from 'date-fns/esm/locale' + export default enIE +} + +declare module 'date-fns/esm/locale/en-IN/index' { + import { enIN } from 'date-fns/esm/locale' + export default enIN +} + +declare module 'date-fns/esm/locale/en-NZ/index' { + import { enNZ } from 'date-fns/esm/locale' + export default enNZ +} + +declare module 'date-fns/esm/locale/en-US/index' { + import { enUS } from 'date-fns/esm/locale' + export default enUS +} + +declare module 'date-fns/esm/locale/en-ZA/index' { + import { enZA } from 'date-fns/esm/locale' + export default enZA +} + +declare module 'date-fns/esm/locale/eo/index' { + import { eo } from 'date-fns/esm/locale' + export default eo +} + +declare module 'date-fns/esm/locale/es/index' { + import { es } from 'date-fns/esm/locale' + export default es +} + +declare module 'date-fns/esm/locale/et/index' { + import { et } from 'date-fns/esm/locale' + export default et +} + +declare module 'date-fns/esm/locale/eu/index' { + import { eu } from 'date-fns/esm/locale' + export default eu +} + +declare module 'date-fns/esm/locale/fa-IR/index' { + import { faIR } from 'date-fns/esm/locale' + export default faIR +} + +declare module 'date-fns/esm/locale/fi/index' { + import { fi } from 'date-fns/esm/locale' + export default fi +} + +declare module 'date-fns/esm/locale/fr/index' { + import { fr } from 'date-fns/esm/locale' + export default fr +} + +declare module 'date-fns/esm/locale/fr-CA/index' { + import { frCA } from 'date-fns/esm/locale' + export default frCA +} + +declare module 'date-fns/esm/locale/fr-CH/index' { + import { frCH } from 'date-fns/esm/locale' + export default frCH +} + +declare module 'date-fns/esm/locale/fy/index' { + import { fy } from 'date-fns/esm/locale' + export default fy +} + +declare module 'date-fns/esm/locale/gd/index' { + import { gd } from 'date-fns/esm/locale' + export default gd +} + +declare module 'date-fns/esm/locale/gl/index' { + import { gl } from 'date-fns/esm/locale' + export default gl +} + +declare module 'date-fns/esm/locale/gu/index' { + import { gu } from 'date-fns/esm/locale' + export default gu +} + +declare module 'date-fns/esm/locale/he/index' { + import { he } from 'date-fns/esm/locale' + export default he +} + +declare module 'date-fns/esm/locale/hi/index' { + import { hi } from 'date-fns/esm/locale' + export default hi +} + +declare module 'date-fns/esm/locale/hr/index' { + import { hr } from 'date-fns/esm/locale' + export default hr +} + +declare module 'date-fns/esm/locale/ht/index' { + import { ht } from 'date-fns/esm/locale' + export default ht +} + +declare module 'date-fns/esm/locale/hu/index' { + import { hu } from 'date-fns/esm/locale' + export default hu +} + +declare module 'date-fns/esm/locale/hy/index' { + import { hy } from 'date-fns/esm/locale' + export default hy +} + +declare module 'date-fns/esm/locale/id/index' { + import { id } from 'date-fns/esm/locale' + export default id +} + +declare module 'date-fns/esm/locale/is/index' { + import { is } from 'date-fns/esm/locale' + export default is +} + +declare module 'date-fns/esm/locale/it/index' { + import { it } from 'date-fns/esm/locale' + export default it +} + +declare module 'date-fns/esm/locale/it-CH/index' { + import { itCH } from 'date-fns/esm/locale' + export default itCH +} + +declare module 'date-fns/esm/locale/ja/index' { + import { ja } from 'date-fns/esm/locale' + export default ja +} + +declare module 'date-fns/esm/locale/ja-Hira/index' { + import { jaHira } from 'date-fns/esm/locale' + export default jaHira +} + +declare module 'date-fns/esm/locale/ka/index' { + import { ka } from 'date-fns/esm/locale' + export default ka +} + +declare module 'date-fns/esm/locale/kk/index' { + import { kk } from 'date-fns/esm/locale' + export default kk +} + +declare module 'date-fns/esm/locale/km/index' { + import { km } from 'date-fns/esm/locale' + export default km +} + +declare module 'date-fns/esm/locale/kn/index' { + import { kn } from 'date-fns/esm/locale' + export default kn +} + +declare module 'date-fns/esm/locale/ko/index' { + import { ko } from 'date-fns/esm/locale' + export default ko +} + +declare module 'date-fns/esm/locale/lb/index' { + import { lb } from 'date-fns/esm/locale' + export default lb +} + +declare module 'date-fns/esm/locale/lt/index' { + import { lt } from 'date-fns/esm/locale' + export default lt +} + +declare module 'date-fns/esm/locale/lv/index' { + import { lv } from 'date-fns/esm/locale' + export default lv +} + +declare module 'date-fns/esm/locale/mk/index' { + import { mk } from 'date-fns/esm/locale' + export default mk +} + +declare module 'date-fns/esm/locale/mn/index' { + import { mn } from 'date-fns/esm/locale' + export default mn +} + +declare module 'date-fns/esm/locale/ms/index' { + import { ms } from 'date-fns/esm/locale' + export default ms +} + +declare module 'date-fns/esm/locale/mt/index' { + import { mt } from 'date-fns/esm/locale' + export default mt +} + +declare module 'date-fns/esm/locale/nb/index' { + import { nb } from 'date-fns/esm/locale' + export default nb +} + +declare module 'date-fns/esm/locale/nl/index' { + import { nl } from 'date-fns/esm/locale' + export default nl +} + +declare module 'date-fns/esm/locale/nl-BE/index' { + import { nlBE } from 'date-fns/esm/locale' + export default nlBE +} + +declare module 'date-fns/esm/locale/nn/index' { + import { nn } from 'date-fns/esm/locale' + export default nn +} + +declare module 'date-fns/esm/locale/oc/index' { + import { oc } from 'date-fns/esm/locale' + export default oc +} + +declare module 'date-fns/esm/locale/pl/index' { + import { pl } from 'date-fns/esm/locale' + export default pl +} + +declare module 'date-fns/esm/locale/pt/index' { + import { pt } from 'date-fns/esm/locale' + export default pt +} + +declare module 'date-fns/esm/locale/pt-BR/index' { + import { ptBR } from 'date-fns/esm/locale' + export default ptBR +} + +declare module 'date-fns/esm/locale/ro/index' { + import { ro } from 'date-fns/esm/locale' + export default ro +} + +declare module 'date-fns/esm/locale/ru/index' { + import { ru } from 'date-fns/esm/locale' + export default ru +} + +declare module 'date-fns/esm/locale/sk/index' { + import { sk } from 'date-fns/esm/locale' + export default sk +} + +declare module 'date-fns/esm/locale/sl/index' { + import { sl } from 'date-fns/esm/locale' + export default sl +} + +declare module 'date-fns/esm/locale/sq/index' { + import { sq } from 'date-fns/esm/locale' + export default sq +} + +declare module 'date-fns/esm/locale/sr/index' { + import { sr } from 'date-fns/esm/locale' + export default sr +} + +declare module 'date-fns/esm/locale/sr-Latn/index' { + import { srLatn } from 'date-fns/esm/locale' + export default srLatn +} + +declare module 'date-fns/esm/locale/sv/index' { + import { sv } from 'date-fns/esm/locale' + export default sv +} + +declare module 'date-fns/esm/locale/ta/index' { + import { ta } from 'date-fns/esm/locale' + export default ta +} + +declare module 'date-fns/esm/locale/te/index' { + import { te } from 'date-fns/esm/locale' + export default te +} + +declare module 'date-fns/esm/locale/th/index' { + import { th } from 'date-fns/esm/locale' + export default th +} + +declare module 'date-fns/esm/locale/tr/index' { + import { tr } from 'date-fns/esm/locale' + export default tr +} + +declare module 'date-fns/esm/locale/ug/index' { + import { ug } from 'date-fns/esm/locale' + export default ug +} + +declare module 'date-fns/esm/locale/uk/index' { + import { uk } from 'date-fns/esm/locale' + export default uk +} + +declare module 'date-fns/esm/locale/uz/index' { + import { uz } from 'date-fns/esm/locale' + export default uz +} + +declare module 'date-fns/esm/locale/uz-Cyrl/index' { + import { uzCyrl } from 'date-fns/esm/locale' + export default uzCyrl +} + +declare module 'date-fns/esm/locale/vi/index' { + import { vi } from 'date-fns/esm/locale' + export default vi +} + +declare module 'date-fns/esm/locale/zh-CN/index' { + import { zhCN } from 'date-fns/esm/locale' + export default zhCN +} + +declare module 'date-fns/esm/locale/zh-HK/index' { + import { zhHK } from 'date-fns/esm/locale' + export default zhHK +} + +declare module 'date-fns/esm/locale/zh-TW/index' { + import { zhTW } from 'date-fns/esm/locale' + export default zhTW +} + +declare module 'date-fns/esm/locale/af/index.js' { + import { af } from 'date-fns/esm/locale' + export default af +} + +declare module 'date-fns/esm/locale/ar/index.js' { + import { ar } from 'date-fns/esm/locale' + export default ar +} + +declare module 'date-fns/esm/locale/ar-DZ/index.js' { + import { arDZ } from 'date-fns/esm/locale' + export default arDZ +} + +declare module 'date-fns/esm/locale/ar-EG/index.js' { + import { arEG } from 'date-fns/esm/locale' + export default arEG +} + +declare module 'date-fns/esm/locale/ar-MA/index.js' { + import { arMA } from 'date-fns/esm/locale' + export default arMA +} + +declare module 'date-fns/esm/locale/ar-SA/index.js' { + import { arSA } from 'date-fns/esm/locale' + export default arSA +} + +declare module 'date-fns/esm/locale/ar-TN/index.js' { + import { arTN } from 'date-fns/esm/locale' + export default arTN +} + +declare module 'date-fns/esm/locale/az/index.js' { + import { az } from 'date-fns/esm/locale' + export default az +} + +declare module 'date-fns/esm/locale/be/index.js' { + import { be } from 'date-fns/esm/locale' + export default be +} + +declare module 'date-fns/esm/locale/be-tarask/index.js' { + import { beTarask } from 'date-fns/esm/locale' + export default beTarask +} + +declare module 'date-fns/esm/locale/bg/index.js' { + import { bg } from 'date-fns/esm/locale' + export default bg +} + +declare module 'date-fns/esm/locale/bn/index.js' { + import { bn } from 'date-fns/esm/locale' + export default bn +} + +declare module 'date-fns/esm/locale/bs/index.js' { + import { bs } from 'date-fns/esm/locale' + export default bs +} + +declare module 'date-fns/esm/locale/ca/index.js' { + import { ca } from 'date-fns/esm/locale' + export default ca +} + +declare module 'date-fns/esm/locale/cs/index.js' { + import { cs } from 'date-fns/esm/locale' + export default cs +} + +declare module 'date-fns/esm/locale/cy/index.js' { + import { cy } from 'date-fns/esm/locale' + export default cy +} + +declare module 'date-fns/esm/locale/da/index.js' { + import { da } from 'date-fns/esm/locale' + export default da +} + +declare module 'date-fns/esm/locale/de/index.js' { + import { de } from 'date-fns/esm/locale' + export default de +} + +declare module 'date-fns/esm/locale/de-AT/index.js' { + import { deAT } from 'date-fns/esm/locale' + export default deAT +} + +declare module 'date-fns/esm/locale/el/index.js' { + import { el } from 'date-fns/esm/locale' + export default el +} + +declare module 'date-fns/esm/locale/en-AU/index.js' { + import { enAU } from 'date-fns/esm/locale' + export default enAU +} + +declare module 'date-fns/esm/locale/en-CA/index.js' { + import { enCA } from 'date-fns/esm/locale' + export default enCA +} + +declare module 'date-fns/esm/locale/en-GB/index.js' { + import { enGB } from 'date-fns/esm/locale' + export default enGB +} + +declare module 'date-fns/esm/locale/en-IE/index.js' { + import { enIE } from 'date-fns/esm/locale' + export default enIE +} + +declare module 'date-fns/esm/locale/en-IN/index.js' { + import { enIN } from 'date-fns/esm/locale' + export default enIN +} + +declare module 'date-fns/esm/locale/en-NZ/index.js' { + import { enNZ } from 'date-fns/esm/locale' + export default enNZ +} + +declare module 'date-fns/esm/locale/en-US/index.js' { + import { enUS } from 'date-fns/esm/locale' + export default enUS +} + +declare module 'date-fns/esm/locale/en-ZA/index.js' { + import { enZA } from 'date-fns/esm/locale' + export default enZA +} + +declare module 'date-fns/esm/locale/eo/index.js' { + import { eo } from 'date-fns/esm/locale' + export default eo +} + +declare module 'date-fns/esm/locale/es/index.js' { + import { es } from 'date-fns/esm/locale' + export default es +} + +declare module 'date-fns/esm/locale/et/index.js' { + import { et } from 'date-fns/esm/locale' + export default et +} + +declare module 'date-fns/esm/locale/eu/index.js' { + import { eu } from 'date-fns/esm/locale' + export default eu +} + +declare module 'date-fns/esm/locale/fa-IR/index.js' { + import { faIR } from 'date-fns/esm/locale' + export default faIR +} + +declare module 'date-fns/esm/locale/fi/index.js' { + import { fi } from 'date-fns/esm/locale' + export default fi +} + +declare module 'date-fns/esm/locale/fr/index.js' { + import { fr } from 'date-fns/esm/locale' + export default fr +} + +declare module 'date-fns/esm/locale/fr-CA/index.js' { + import { frCA } from 'date-fns/esm/locale' + export default frCA +} + +declare module 'date-fns/esm/locale/fr-CH/index.js' { + import { frCH } from 'date-fns/esm/locale' + export default frCH +} + +declare module 'date-fns/esm/locale/fy/index.js' { + import { fy } from 'date-fns/esm/locale' + export default fy +} + +declare module 'date-fns/esm/locale/gd/index.js' { + import { gd } from 'date-fns/esm/locale' + export default gd +} + +declare module 'date-fns/esm/locale/gl/index.js' { + import { gl } from 'date-fns/esm/locale' + export default gl +} + +declare module 'date-fns/esm/locale/gu/index.js' { + import { gu } from 'date-fns/esm/locale' + export default gu +} + +declare module 'date-fns/esm/locale/he/index.js' { + import { he } from 'date-fns/esm/locale' + export default he +} + +declare module 'date-fns/esm/locale/hi/index.js' { + import { hi } from 'date-fns/esm/locale' + export default hi +} + +declare module 'date-fns/esm/locale/hr/index.js' { + import { hr } from 'date-fns/esm/locale' + export default hr +} + +declare module 'date-fns/esm/locale/ht/index.js' { + import { ht } from 'date-fns/esm/locale' + export default ht +} + +declare module 'date-fns/esm/locale/hu/index.js' { + import { hu } from 'date-fns/esm/locale' + export default hu +} + +declare module 'date-fns/esm/locale/hy/index.js' { + import { hy } from 'date-fns/esm/locale' + export default hy +} + +declare module 'date-fns/esm/locale/id/index.js' { + import { id } from 'date-fns/esm/locale' + export default id +} + +declare module 'date-fns/esm/locale/is/index.js' { + import { is } from 'date-fns/esm/locale' + export default is +} + +declare module 'date-fns/esm/locale/it/index.js' { + import { it } from 'date-fns/esm/locale' + export default it +} + +declare module 'date-fns/esm/locale/it-CH/index.js' { + import { itCH } from 'date-fns/esm/locale' + export default itCH +} + +declare module 'date-fns/esm/locale/ja/index.js' { + import { ja } from 'date-fns/esm/locale' + export default ja +} + +declare module 'date-fns/esm/locale/ja-Hira/index.js' { + import { jaHira } from 'date-fns/esm/locale' + export default jaHira +} + +declare module 'date-fns/esm/locale/ka/index.js' { + import { ka } from 'date-fns/esm/locale' + export default ka +} + +declare module 'date-fns/esm/locale/kk/index.js' { + import { kk } from 'date-fns/esm/locale' + export default kk +} + +declare module 'date-fns/esm/locale/km/index.js' { + import { km } from 'date-fns/esm/locale' + export default km +} + +declare module 'date-fns/esm/locale/kn/index.js' { + import { kn } from 'date-fns/esm/locale' + export default kn +} + +declare module 'date-fns/esm/locale/ko/index.js' { + import { ko } from 'date-fns/esm/locale' + export default ko +} + +declare module 'date-fns/esm/locale/lb/index.js' { + import { lb } from 'date-fns/esm/locale' + export default lb +} + +declare module 'date-fns/esm/locale/lt/index.js' { + import { lt } from 'date-fns/esm/locale' + export default lt +} + +declare module 'date-fns/esm/locale/lv/index.js' { + import { lv } from 'date-fns/esm/locale' + export default lv +} + +declare module 'date-fns/esm/locale/mk/index.js' { + import { mk } from 'date-fns/esm/locale' + export default mk +} + +declare module 'date-fns/esm/locale/mn/index.js' { + import { mn } from 'date-fns/esm/locale' + export default mn +} + +declare module 'date-fns/esm/locale/ms/index.js' { + import { ms } from 'date-fns/esm/locale' + export default ms +} + +declare module 'date-fns/esm/locale/mt/index.js' { + import { mt } from 'date-fns/esm/locale' + export default mt +} + +declare module 'date-fns/esm/locale/nb/index.js' { + import { nb } from 'date-fns/esm/locale' + export default nb +} + +declare module 'date-fns/esm/locale/nl/index.js' { + import { nl } from 'date-fns/esm/locale' + export default nl +} + +declare module 'date-fns/esm/locale/nl-BE/index.js' { + import { nlBE } from 'date-fns/esm/locale' + export default nlBE +} + +declare module 'date-fns/esm/locale/nn/index.js' { + import { nn } from 'date-fns/esm/locale' + export default nn +} + +declare module 'date-fns/esm/locale/oc/index.js' { + import { oc } from 'date-fns/esm/locale' + export default oc +} + +declare module 'date-fns/esm/locale/pl/index.js' { + import { pl } from 'date-fns/esm/locale' + export default pl +} + +declare module 'date-fns/esm/locale/pt/index.js' { + import { pt } from 'date-fns/esm/locale' + export default pt +} + +declare module 'date-fns/esm/locale/pt-BR/index.js' { + import { ptBR } from 'date-fns/esm/locale' + export default ptBR +} + +declare module 'date-fns/esm/locale/ro/index.js' { + import { ro } from 'date-fns/esm/locale' + export default ro +} + +declare module 'date-fns/esm/locale/ru/index.js' { + import { ru } from 'date-fns/esm/locale' + export default ru +} + +declare module 'date-fns/esm/locale/sk/index.js' { + import { sk } from 'date-fns/esm/locale' + export default sk +} + +declare module 'date-fns/esm/locale/sl/index.js' { + import { sl } from 'date-fns/esm/locale' + export default sl +} + +declare module 'date-fns/esm/locale/sq/index.js' { + import { sq } from 'date-fns/esm/locale' + export default sq +} + +declare module 'date-fns/esm/locale/sr/index.js' { + import { sr } from 'date-fns/esm/locale' + export default sr +} + +declare module 'date-fns/esm/locale/sr-Latn/index.js' { + import { srLatn } from 'date-fns/esm/locale' + export default srLatn +} + +declare module 'date-fns/esm/locale/sv/index.js' { + import { sv } from 'date-fns/esm/locale' + export default sv +} + +declare module 'date-fns/esm/locale/ta/index.js' { + import { ta } from 'date-fns/esm/locale' + export default ta +} + +declare module 'date-fns/esm/locale/te/index.js' { + import { te } from 'date-fns/esm/locale' + export default te +} + +declare module 'date-fns/esm/locale/th/index.js' { + import { th } from 'date-fns/esm/locale' + export default th +} + +declare module 'date-fns/esm/locale/tr/index.js' { + import { tr } from 'date-fns/esm/locale' + export default tr +} + +declare module 'date-fns/esm/locale/ug/index.js' { + import { ug } from 'date-fns/esm/locale' + export default ug +} + +declare module 'date-fns/esm/locale/uk/index.js' { + import { uk } from 'date-fns/esm/locale' + export default uk +} + +declare module 'date-fns/esm/locale/uz/index.js' { + import { uz } from 'date-fns/esm/locale' + export default uz +} + +declare module 'date-fns/esm/locale/uz-Cyrl/index.js' { + import { uzCyrl } from 'date-fns/esm/locale' + export default uzCyrl +} + +declare module 'date-fns/esm/locale/vi/index.js' { + import { vi } from 'date-fns/esm/locale' + export default vi +} + +declare module 'date-fns/esm/locale/zh-CN/index.js' { + import { zhCN } from 'date-fns/esm/locale' + export default zhCN +} + +declare module 'date-fns/esm/locale/zh-HK/index.js' { + import { zhHK } from 'date-fns/esm/locale' + export default zhHK +} + +declare module 'date-fns/esm/locale/zh-TW/index.js' { + import { zhTW } from 'date-fns/esm/locale' + export default zhTW +} + +// dateFns Global Interface + +interface dateFns { + add(date: Date | number, duration: Duration): Date + + addBusinessDays(date: Date | number, amount: number): Date + + addDays(date: Date | number, amount: number): Date + + addHours(date: Date | number, amount: number): Date + + addISOWeekYears(date: Date | number, amount: number): Date + + addMilliseconds(date: Date | number, amount: number): Date + + addMinutes(date: Date | number, amount: number): Date + + addMonths(date: Date | number, amount: number): Date + + addQuarters(date: Date | number, amount: number): Date + + addSeconds(date: Date | number, amount: number): Date + + addWeeks(date: Date | number, amount: number): Date + + addYears(date: Date | number, amount: number): Date + + areIntervalsOverlapping( + intervalLeft: Interval, + intervalRight: Interval, + options?: { + inclusive?: boolean + } + ): boolean + + clamp(date: Date | number, interval: Interval): Date + + closestIndexTo( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ): number | undefined + + closestTo( + dateToCompare: Date | number, + datesArray: (Date | number)[] + ): Date | undefined + + compareAsc(dateLeft: Date | number, dateRight: Date | number): number + + compareDesc(dateLeft: Date | number, dateRight: Date | number): number + + daysToWeeks(days: number): number + + differenceInBusinessDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInCalendarDays( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInCalendarISOWeeks( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInCalendarISOWeekYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInCalendarMonths( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInCalendarQuarters( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInCalendarWeeks( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + + differenceInCalendarYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInDays(dateLeft: Date | number, dateRight: Date | number): number + + differenceInHours( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + + differenceInISOWeekYears( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInMilliseconds( + dateLeft: Date | number, + dateRight: Date | number + ): number + + differenceInMinutes( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + + differenceInMonths(dateLeft: Date | number, dateRight: Date | number): number + + differenceInQuarters( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + + differenceInSeconds( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + + differenceInWeeks( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + roundingMethod?: string + } + ): number + + differenceInYears(dateLeft: Date | number, dateRight: Date | number): number + + eachDayOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + + eachHourOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + + eachMinuteOfInterval( + interval: Interval, + options?: { + step?: number + } + ): Date[] + + eachMonthOfInterval(interval: Interval): Date[] + + eachQuarterOfInterval(interval: Interval): Date[] + + eachWeekendOfInterval(interval: Interval): Date[] + + eachWeekendOfMonth(date: Date | number): Date[] + + eachWeekendOfYear(date: Date | number): Date[] + + eachWeekOfInterval( + interval: Interval, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date[] + + eachYearOfInterval(interval: Interval): Date[] + + endOfDay(date: Date | number): Date + + endOfDecade( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + + endOfHour(date: Date | number): Date + + endOfISOWeek(date: Date | number): Date + + endOfISOWeekYear(date: Date | number): Date + + endOfMinute(date: Date | number): Date + + endOfMonth(date: Date | number): Date + + endOfQuarter(date: Date | number): Date + + endOfSecond(date: Date | number): Date + + endOfToday(): Date + + endOfTomorrow(): Date + + endOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + + endOfYear(date: Date | number): Date + + endOfYesterday(): Date + + format( + date: Date | number, + format: string, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: number + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): string + + formatDistance( + date: Date | number, + baseDate: Date | number, + options?: { + includeSeconds?: boolean + addSuffix?: boolean + locale?: Locale + } + ): string + + formatDistanceStrict( + date: Date | number, + baseDate: Date | number, + options?: { + addSuffix?: boolean + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + roundingMethod?: 'floor' | 'ceil' | 'round' + locale?: Locale + } + ): string + + formatDistanceToNow( + date: Date | number, + options?: { + includeSeconds?: boolean + addSuffix?: boolean + locale?: Locale + } + ): string + + formatDistanceToNowStrict( + date: Date | number, + options?: { + addSuffix?: boolean + unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' + roundingMethod?: 'floor' | 'ceil' | 'round' + locale?: Locale + } + ): string + + formatDuration( + duration: Duration, + options?: { + format?: string[] + zero?: boolean + delimiter?: string + locale?: Locale + } + ): string + + formatISO( + date: Date | number, + options?: { + format?: 'extended' | 'basic' + representation?: 'complete' | 'date' | 'time' + } + ): string + + formatISO9075( + date: Date | number, + options?: { + format?: 'extended' | 'basic' + representation?: 'complete' | 'date' | 'time' + } + ): string + + formatISODuration(duration: Duration): string + + formatRelative( + date: Date | number, + baseDate: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): string + + formatRFC3339( + date: Date | number, + options?: { + fractionDigits?: 0 | 1 | 2 | 3 + } + ): string + + formatRFC7231(date: Date | number): string + + fromUnixTime(unixTime: number): Date + + getDate(date: Date | number): number + + getDay(date: Date | number): 0 | 1 | 2 | 3 | 4 | 5 | 6 + + getDayOfYear(date: Date | number): number + + getDaysInMonth(date: Date | number): number + + getDaysInYear(date: Date | number): number + + getDecade(date: Date | number): number + + getDefaultOptions(): Object + + getHours(date: Date | number): number + + getISODay(date: Date | number): number + + getISOWeek(date: Date | number): number + + getISOWeeksInYear(date: Date | number): number + + getISOWeekYear(date: Date | number): number + + getMilliseconds(date: Date | number): number + + getMinutes(date: Date | number): number + + getMonth(date: Date | number): number + + getOverlappingDaysInIntervals( + intervalLeft: Interval, + intervalRight: Interval + ): number + + getQuarter(date: Date | number): number + + getSeconds(date: Date | number): number + + getTime(date: Date | number): number + + getUnixTime(date: Date | number): number + + getWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): number + + getWeekOfMonth( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + + getWeeksInMonth( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): number + + getWeekYear( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): number + + getYear(date: Date | number): number + + hoursToMilliseconds(hours: number): number + + hoursToMinutes(hours: number): number + + hoursToSeconds(hours: number): number + + intervalToDuration(interval: Interval): Duration + + intlFormat( + argument: Date | number, + formatOptions?: { + localeMatcher?: 'lookup' | 'best fit' + weekday?: 'narrow' | 'short' | 'long' + era?: 'narrow' | 'short' | 'long' + year?: 'numeric' | '2-digit' + month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long' + day?: 'numeric' | '2-digit' + hour?: 'numeric' | '2-digit' + minute?: 'numeric' | '2-digit' + second?: 'numeric' | '2-digit' + timeZoneName?: 'short' | 'long' + formatMatcher?: 'basic' | 'best fit' + hour12?: boolean + timeZone?: string + }, + localeOptions?: { + locale?: string | string[] + } + ): string + + intlFormatDistance( + date: Date | number, + baseDate: Date | number, + options?: { + unit?: string + locale?: string | string[] + localeMatcher?: string + numeric?: string + style?: string + } + ): string + + isAfter(date: Date | number, dateToCompare: Date | number): boolean + + isBefore(date: Date | number, dateToCompare: Date | number): boolean + + isDate(value: any): boolean + + isEqual(dateLeft: Date | number, dateRight: Date | number): boolean + + isExists(year: number, month: number, day: number): boolean + + isFirstDayOfMonth(date: Date | number): boolean + + isFriday(date: Date | number): boolean + + isFuture(date: Date | number): boolean + + isLastDayOfMonth(date: Date | number): boolean + + isLeapYear(date: Date | number): boolean + + isMatch( + dateString: string, + formatString: string, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): boolean + + isMonday(date: Date | number): boolean + + isPast(date: Date | number): boolean + + isSameDay(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameHour(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameISOWeek(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameISOWeekYear(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameMinute(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameMonth(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameQuarter(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameSecond(dateLeft: Date | number, dateRight: Date | number): boolean + + isSameWeek( + dateLeft: Date | number, + dateRight: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): boolean + + isSameYear(dateLeft: Date | number, dateRight: Date | number): boolean + + isSaturday(date: Date | number): boolean + + isSunday(date: Date | number): boolean + + isThisHour(date: Date | number): boolean + + isThisISOWeek(date: Date | number): boolean + + isThisMinute(date: Date | number): boolean + + isThisMonth(date: Date | number): boolean + + isThisQuarter(date: Date | number): boolean + + isThisSecond(date: Date | number): boolean + + isThisWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): boolean + + isThisYear(date: Date | number): boolean + + isThursday(date: Date | number): boolean + + isToday(date: Date | number): boolean + + isTomorrow(date: Date | number): boolean + + isTuesday(date: Date | number): boolean + + isValid(date: any): boolean + + isWednesday(date: Date | number): boolean + + isWeekend(date: Date | number): boolean + + isWithinInterval(date: Date | number, interval: Interval): boolean + + isYesterday(date: Date | number): boolean + + lastDayOfDecade(date: Date | number): Date + + lastDayOfISOWeek(date: Date | number): Date + + lastDayOfISOWeekYear(date: Date | number): Date + + lastDayOfMonth(date: Date | number): Date + + lastDayOfQuarter( + date: Date | number, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + + lastDayOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + + lastDayOfYear(date: Date | number): Date + + lightFormat(date: Date | number, format: string): string + + max(datesArray: (Date | number)[]): Date + + milliseconds(duration: Duration): number + + millisecondsToHours(milliseconds: number): number + + millisecondsToMinutes(milliseconds: number): number + + millisecondsToSeconds(milliseconds: number): number + + min(datesArray: (Date | number)[]): Date + + minutesToHours(minutes: number): number + + minutesToMilliseconds(minutes: number): number + + minutesToSeconds(minutes: number): number + + monthsToQuarters(months: number): number + + monthsToYears(months: number): number + + nextDay(date: Date | number, day: Day): Date + + nextFriday(date: Date | number): Date + + nextMonday(date: Date | number): Date + + nextSaturday(date: Date | number): Date + + nextSunday(date: Date | number): Date + + nextThursday(date: Date | number): Date + + nextTuesday(date: Date | number): Date + + nextWednesday(date: Date | number): Date + + parse( + dateString: string, + formatString: string, + referenceDate: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + useAdditionalWeekYearTokens?: boolean + useAdditionalDayOfYearTokens?: boolean + } + ): Date + + parseISO( + argument: string, + options?: { + additionalDigits?: 0 | 1 | 2 + } + ): Date + + parseJSON(argument: string | number | Date): Date + + previousDay(date: Date | number, day: number): Date + + previousFriday(date: Date | number): Date + + previousMonday(date: Date | number): Date + + previousSaturday(date: Date | number): Date + + previousSunday(date: Date | number): Date + + previousThursday(date: Date | number): Date + + previousTuesday(date: Date | number): Date + + previousWednesday(date: Date | number): Date + + quartersToMonths(quarters: number): number + + quartersToYears(quarters: number): number + + roundToNearestMinutes( + date: Date | number, + options?: { + nearestTo?: number + roundingMethod?: string + } + ): Date + + secondsToHours(seconds: number): number + + secondsToMilliseconds(seconds: number): number + + secondsToMinutes(seconds: number): number + + set( + date: Date | number, + values: { + year?: number + month?: number + date?: number + hours?: number + minutes?: number + seconds?: number + milliseconds?: number + } + ): Date + + setDate(date: Date | number, dayOfMonth: number): Date + + setDay( + date: Date | number, + day: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + + setDayOfYear(date: Date | number, dayOfYear: number): Date + + setDefaultOptions(newOptions: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + }): void + + setHours(date: Date | number, hours: number): Date + + setISODay(date: Date | number, day: number): Date + + setISOWeek(date: Date | number, isoWeek: number): Date + + setISOWeekYear(date: Date | number, isoWeekYear: number): Date + + setMilliseconds(date: Date | number, milliseconds: number): Date + + setMinutes(date: Date | number, minutes: number): Date + + setMonth(date: Date | number, month: number): Date + + setQuarter(date: Date | number, quarter: number): Date + + setSeconds(date: Date | number, seconds: number): Date + + setWeek( + date: Date | number, + week: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + + setWeekYear( + date: Date | number, + weekYear: number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + + setYear(date: Date | number, year: number): Date + + startOfDay(date: Date | number): Date + + startOfDecade(date: Date | number): Date + + startOfHour(date: Date | number): Date + + startOfISOWeek(date: Date | number): Date + + startOfISOWeekYear(date: Date | number): Date + + startOfMinute(date: Date | number): Date + + startOfMonth(date: Date | number): Date + + startOfQuarter(date: Date | number): Date + + startOfSecond(date: Date | number): Date + + startOfToday(): Date + + startOfTomorrow(): Date + + startOfWeek( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + } + ): Date + + startOfWeekYear( + date: Date | number, + options?: { + locale?: Locale + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 + } + ): Date + + startOfYear(date: Date | number): Date + + startOfYesterday(): Date + + sub(date: Date | number, duration: Duration): Date + + subBusinessDays(date: Date | number, amount: number): Date + + subDays(date: Date | number, amount: number): Date + + subHours(date: Date | number, amount: number): Date + + subISOWeekYears(date: Date | number, amount: number): Date + + subMilliseconds(date: Date | number, amount: number): Date + + subMinutes(date: Date | number, amount: number): Date + + subMonths(date: Date | number, amount: number): Date + + subQuarters(date: Date | number, amount: number): Date + + subSeconds(date: Date | number, amount: number): Date + + subWeeks(date: Date | number, amount: number): Date + + subYears(date: Date | number, amount: number): Date + + toDate(argument: Date | number): Date + + weeksToDays(weeks: number): number + + yearsToMonths(years: number): number + + yearsToQuarters(years: number): number + + daysInWeek: number + + daysInYear: number + + maxTime: number + + millisecondsInMinute: number + + millisecondsInHour: number + + millisecondsInSecond: number + + minTime: number + + minutesInHour: number + + monthsInQuarter: number + + monthsInYear: number + + quartersInYear: number + + secondsInHour: number + + secondsInMinute: number + + secondsInDay: number + + secondsInWeek: number + + secondsInYear: number + + secondsInMonth: number + + secondsInQuarter: number +} diff --git a/node_modules/date-fns/weeksToDays/index.d.ts b/node_modules/date-fns/weeksToDays/index.d.ts new file mode 100644 index 000000000..dd8c1fe08 --- /dev/null +++ b/node_modules/date-fns/weeksToDays/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { weeksToDays } from 'date-fns' +export default weeksToDays diff --git a/node_modules/date-fns/weeksToDays/index.js b/node_modules/date-fns/weeksToDays/index.js new file mode 100644 index 000000000..87fef8304 --- /dev/null +++ b/node_modules/date-fns/weeksToDays/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = weeksToDays; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name weeksToDays + * @category Conversion Helpers + * @summary Convert weeks to days. + * + * @description + * Convert a number of weeks to a full number of days. + * + * @param {number} weeks - number of weeks to be converted + * + * @returns {number} the number of weeks converted in days + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 weeks into days + * const result = weeksToDays(2) + * //=> 14 + */ +function weeksToDays(weeks) { + (0, _index.default)(1, arguments); + return Math.floor(weeks * _index2.daysInWeek); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/weeksToDays/index.js.flow b/node_modules/date-fns/weeksToDays/index.js.flow new file mode 100644 index 000000000..257c1ccf4 --- /dev/null +++ b/node_modules/date-fns/weeksToDays/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (weeks: number) => number diff --git a/node_modules/date-fns/weeksToDays/package.json b/node_modules/date-fns/weeksToDays/package.json new file mode 100644 index 000000000..aef4ded4e --- /dev/null +++ b/node_modules/date-fns/weeksToDays/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/weeksToDays/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/yearsToMonths/index.d.ts b/node_modules/date-fns/yearsToMonths/index.d.ts new file mode 100644 index 000000000..9e9126d61 --- /dev/null +++ b/node_modules/date-fns/yearsToMonths/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToMonths } from 'date-fns' +export default yearsToMonths diff --git a/node_modules/date-fns/yearsToMonths/index.js b/node_modules/date-fns/yearsToMonths/index.js new file mode 100644 index 000000000..9451ab3f8 --- /dev/null +++ b/node_modules/date-fns/yearsToMonths/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = yearsToMonths; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name yearsToMonths + * @category Conversion Helpers + * @summary Convert years to months. + * + * @description + * Convert a number of years to a full number of months. + * + * @param {number} years - number of years to be converted + * + * @returns {number} the number of years converted in months + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 years into months + * const result = yearsToMonths(2) + * //=> 24 + */ +function yearsToMonths(years) { + (0, _index.default)(1, arguments); + return Math.floor(years * _index2.monthsInYear); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/yearsToMonths/index.js.flow b/node_modules/date-fns/yearsToMonths/index.js.flow new file mode 100644 index 000000000..d08191974 --- /dev/null +++ b/node_modules/date-fns/yearsToMonths/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (years: number) => number diff --git a/node_modules/date-fns/yearsToMonths/package.json b/node_modules/date-fns/yearsToMonths/package.json new file mode 100644 index 000000000..0ffcffbd6 --- /dev/null +++ b/node_modules/date-fns/yearsToMonths/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/yearsToMonths/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/date-fns/yearsToQuarters/index.d.ts b/node_modules/date-fns/yearsToQuarters/index.d.ts new file mode 100644 index 000000000..e3ebc705b --- /dev/null +++ b/node_modules/date-fns/yearsToQuarters/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { yearsToQuarters } from 'date-fns' +export default yearsToQuarters diff --git a/node_modules/date-fns/yearsToQuarters/index.js b/node_modules/date-fns/yearsToQuarters/index.js new file mode 100644 index 000000000..6634afeee --- /dev/null +++ b/node_modules/date-fns/yearsToQuarters/index.js @@ -0,0 +1,32 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = yearsToQuarters; +var _index = _interopRequireDefault(require("../_lib/requiredArgs/index.js")); +var _index2 = require("../constants/index.js"); +/** + * @name yearsToQuarters + * @category Conversion Helpers + * @summary Convert years to quarters. + * + * @description + * Convert a number of years to a full number of quarters. + * + * @param {number} years - number of years to be converted + * + * @returns {number} the number of years converted in quarters + * @throws {TypeError} 1 argument required + * + * @example + * // Convert 2 years to quarters + * const result = yearsToQuarters(2) + * //=> 8 + */ +function yearsToQuarters(years) { + (0, _index.default)(1, arguments); + return Math.floor(years * _index2.quartersInYear); +} +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/date-fns/yearsToQuarters/index.js.flow b/node_modules/date-fns/yearsToQuarters/index.js.flow new file mode 100644 index 000000000..d08191974 --- /dev/null +++ b/node_modules/date-fns/yearsToQuarters/index.js.flow @@ -0,0 +1,52 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Interval = { + start: Date | number, + end: Date | number, +} + +export type Locale = { + code?: string, + formatDistance?: (...args: Array) => any, + formatRelative?: (...args: Array) => any, + localize?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + formatLong?: { + date: (...args: Array) => any, + time: (...args: Array) => any, + dateTime: (...args: Array) => any, + }, + match?: { + ordinalNumber: (...args: Array) => any, + era: (...args: Array) => any, + quarter: (...args: Array) => any, + month: (...args: Array) => any, + day: (...args: Array) => any, + dayPeriod: (...args: Array) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +export type Duration = { + years?: number, + months?: number, + weeks?: number, + days?: number, + hours?: number, + minutes?: number, + seconds?: number, +} + +export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 + +declare module.exports: (years: number) => number diff --git a/node_modules/date-fns/yearsToQuarters/package.json b/node_modules/date-fns/yearsToQuarters/package.json new file mode 100644 index 000000000..45abb32e6 --- /dev/null +++ b/node_modules/date-fns/yearsToQuarters/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../esm/yearsToQuarters/index.js", + "typings": "../typings.d.ts" +} \ No newline at end of file diff --git a/node_modules/regenerator-runtime/LICENSE b/node_modules/regenerator-runtime/LICENSE new file mode 100644 index 000000000..cde61b6c5 --- /dev/null +++ b/node_modules/regenerator-runtime/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2014-present, Facebook, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/regenerator-runtime/README.md b/node_modules/regenerator-runtime/README.md new file mode 100644 index 000000000..e8702babf --- /dev/null +++ b/node_modules/regenerator-runtime/README.md @@ -0,0 +1,31 @@ +# regenerator-runtime + +Standalone runtime for +[Regenerator](https://github.com/facebook/regenerator)-compiled generator +and `async` functions. + +To import the runtime as a module (recommended), either of the following +import styles will work: +```js +// CommonJS +const regeneratorRuntime = require("regenerator-runtime"); + +// ECMAScript 2015 +import regeneratorRuntime from "regenerator-runtime"; +``` + +To ensure that `regeneratorRuntime` is defined globally, either of the +following styles will work: +```js +// CommonJS +require("regenerator-runtime/runtime"); + +// ECMAScript 2015 +import "regenerator-runtime/runtime.js"; +``` + +To get the absolute file system path of `runtime.js`, evaluate the +following expression: +```js +require("regenerator-runtime/path").path +``` diff --git a/node_modules/regenerator-runtime/package.json b/node_modules/regenerator-runtime/package.json new file mode 100644 index 000000000..7010b0c59 --- /dev/null +++ b/node_modules/regenerator-runtime/package.json @@ -0,0 +1,19 @@ +{ + "name": "regenerator-runtime", + "author": "Ben Newman ", + "description": "Runtime for Regenerator-compiled generator and async functions.", + "version": "0.14.0", + "main": "runtime.js", + "keywords": [ + "regenerator", + "runtime", + "generator", + "async" + ], + "sideEffects": true, + "repository": { + "type": "git", + "url": "https://github.com/facebook/regenerator/tree/main/packages/runtime" + }, + "license": "MIT" +} diff --git a/node_modules/regenerator-runtime/path.js b/node_modules/regenerator-runtime/path.js new file mode 100644 index 000000000..ced878b88 --- /dev/null +++ b/node_modules/regenerator-runtime/path.js @@ -0,0 +1,11 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +exports.path = require("path").join( + __dirname, + "runtime.js" +); diff --git a/node_modules/regenerator-runtime/runtime.js b/node_modules/regenerator-runtime/runtime.js new file mode 100644 index 000000000..efaa79b01 --- /dev/null +++ b/node_modules/regenerator-runtime/runtime.js @@ -0,0 +1,760 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +var runtime = (function (exports) { + "use strict"; + + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }; + var undefined; // More compressible than void 0. + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; + } + try { + // IE 8 has a broken Object.defineProperty that only works on DOM objects. + define({}, ""); + } catch (err) { + define = function(obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); + + // The ._invoke method unifies the implementations of the .next, + // .throw, and .return methods. + defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }); + + return generator; + } + exports.wrap = wrap; + + // Try/catch helper to minimize deoptimizations. Returns a completion + // record like context.tryEntries[i].completion. This interface could + // have been (and was previously) designed to take a closure to be + // invoked without arguments, but in all the cases we care about we + // already have an existing method we want to call, so there's no need + // to create a new function object. We can even get away with assuming + // the method takes exactly one argument, since that happens to be true + // in every case, so we don't have to touch the arguments object. The + // only additional allocation required is the completion record, which + // has a stable shape and so hopefully should be cheap to allocate. + function tryCatch(fn, obj, arg) { + try { + return { type: "normal", arg: fn.call(obj, arg) }; + } catch (err) { + return { type: "throw", arg: err }; + } + } + + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; + + // Returning this object from the innerFn has the same effect as + // breaking out of the dispatch switch statement. + var ContinueSentinel = {}; + + // Dummy constructor functions that we use as the .constructor and + // .constructor.prototype properties for functions that return Generator + // objects. For full spec compliance, you may wish to configure your + // minifier not to mangle the names of these two functions. + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + + // This is a polyfill for %IteratorPrototype% for environments that + // don't natively support it. + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + if (NativeIteratorPrototype && + NativeIteratorPrototype !== Op && + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + // This environment has a native %IteratorPrototype%; use it instead + // of the polyfill. + IteratorPrototype = NativeIteratorPrototype; + } + + var Gp = GeneratorFunctionPrototype.prototype = + Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = GeneratorFunctionPrototype; + defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true }); + defineProperty( + GeneratorFunctionPrototype, + "constructor", + { value: GeneratorFunction, configurable: true } + ); + GeneratorFunction.displayName = define( + GeneratorFunctionPrototype, + toStringTagSymbol, + "GeneratorFunction" + ); + + // Helper for defining the .next, .throw, and .return methods of the + // Iterator interface in terms of a single ._invoke method. + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function(method) { + define(prototype, method, function(arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function(genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor + ? ctor === GeneratorFunction || + // For the native GeneratorFunction constructor, the best we can + // do is to check its .name property. + (ctor.displayName || ctor.name) === "GeneratorFunction" + : false; + }; + + exports.mark = function(genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + genFun.prototype = Object.create(Gp); + return genFun; + }; + + // Within the body of any async function, `await x` is transformed to + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test + // `hasOwn.call(value, "__await")` to determine if the yielded value is + // meant to be awaited. + exports.awrap = function(arg) { + return { __await: arg }; + }; + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + if (value && + typeof value === "object" && + hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function(value) { + invoke("next", value, resolve, reject); + }, function(err) { + invoke("throw", err, resolve, reject); + }); + } + + return PromiseImpl.resolve(value).then(function(unwrapped) { + // When a yielded Promise is resolved, its final value becomes + // the .value of the Promise<{value,done}> result for the + // current iteration. + result.value = unwrapped; + resolve(result); + }, function(error) { + // If a rejected Promise was yielded, throw the rejection back + // into the async generator function so it can be handled there. + return invoke("throw", error, resolve, reject); + }); + } + } + + var previousPromise; + + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function(resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = + // If enqueue has been called before, then we want to wait until + // all previous Promises have been resolved before calling invoke, + // so that results are always delivered in the correct order. If + // enqueue has not been called before, then it is important to + // call invoke immediately, without waiting on a callback to fire, + // so that the async generator function has the opportunity to do + // any necessary setup in a predictable way. This predictability + // is why the Promise constructor synchronously invokes its + // executor callback, and why async functions synchronously + // execute code before the first await. Since we implement simple + // async functions in terms of async generators, it is especially + // important to get this right, even though it requires care. + previousPromise ? previousPromise.then( + callInvokeWithMethodAndArg, + // Avoid propagating failures to Promises returned by later + // invocations of the iterator. + callInvokeWithMethodAndArg + ) : callInvokeWithMethodAndArg(); + } + + // Define the unified helper method that is used to implement .next, + // .throw, and .return (see defineIteratorMethods). + defineProperty(this, "_invoke", { value: enqueue }); + } + + defineIteratorMethods(AsyncIterator.prototype); + define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }); + exports.AsyncIterator = AsyncIterator; + + // Note that simple async functions are implemented on top of + // AsyncIterator objects; they just return a Promise for the value of + // the final result produced by the iterator. + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; + + var iter = new AsyncIterator( + wrap(innerFn, outerFn, self, tryLocsList), + PromiseImpl + ); + + return exports.isGeneratorFunction(outerFn) + ? iter // If outerFn is a generator, return the full iterator. + : iter.next().then(function(result) { + return result.done ? result.value : iter.next(); + }); + }; + + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; + + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } + + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } + + // Be forgiving, per 25.3.3.3.3 of the spec: + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume + return doneResult(); + } + + context.method = method; + context.arg = arg; + + while (true) { + var delegate = context.delegate; + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if (context.method === "next") { + // Setting context._sent for legacy support of Babel's + // function.sent implementation. + context.sent = context._sent = context.arg; + + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } + + context.dispatchException(context.arg); + + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } + + state = GenStateExecuting; + + var record = tryCatch(innerFn, self, context); + if (record.type === "normal") { + // If an exception is thrown from innerFn, we leave state === + // GenStateExecuting and loop back for another invocation. + state = context.done + ? GenStateCompleted + : GenStateSuspendedYield; + + if (record.arg === ContinueSentinel) { + continue; + } + + return { + value: record.arg, + done: context.done + }; + + } else if (record.type === "throw") { + state = GenStateCompleted; + // Dispatch the exception by looping back around to the + // context.dispatchException(context.arg) call above. + context.method = "throw"; + context.arg = record.arg; + } + } + }; + } + + // Call delegate.iterator[context.method](context.arg) and handle the + // result, either by returning a { value, done } result from the + // delegate iterator, or by modifying context.method and context.arg, + // setting context.delegate to null, and returning the ContinueSentinel. + function maybeInvokeDelegate(delegate, context) { + var methodName = context.method; + var method = delegate.iterator[methodName]; + if (method === undefined) { + // A .throw or .return when the delegate iterator has no .throw + // method, or a missing .next mehtod, always terminate the + // yield* loop. + context.delegate = null; + + // Note: ["return"] must be used for ES3 parsing compatibility. + if (methodName === "throw" && delegate.iterator["return"]) { + // If the delegate iterator has a return method, give it a + // chance to clean up. + context.method = "return"; + context.arg = undefined; + maybeInvokeDelegate(delegate, context); + + if (context.method === "throw") { + // If maybeInvokeDelegate(context) changed context.method from + // "return" to "throw", let that override the TypeError below. + return ContinueSentinel; + } + } + if (methodName !== "return") { + context.method = "throw"; + context.arg = new TypeError( + "The iterator does not provide a '" + methodName + "' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } + + var info = record.arg; + + if (! info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } + + if (info.done) { + // Assign the result of the finished delegate to the temporary + // variable specified by delegate.resultName (see delegateYield). + context[delegate.resultName] = info.value; + + // Resume execution at the desired location (see delegateYield). + context.next = delegate.nextLoc; + + // If context.method was "throw" but the delegate handled the + // exception, let the outer generator proceed normally. If + // context.method was "next", forget context.arg since it has been + // "consumed" by the delegate iterator. If context.method was + // "return", allow the original .return call to continue in the + // outer generator. + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined; + } + + } else { + // Re-yield the result returned by the delegate method. + return info; + } + + // The delegate iterator is finished, so forget it and continue with + // the outer generator. + context.delegate = null; + return ContinueSentinel; + } + + // Define Generator.prototype.{next,throw,return} in terms of the + // unified ._invoke helper method. + defineIteratorMethods(Gp); + + define(Gp, toStringTagSymbol, "Generator"); + + // A Generator should always return itself as the iterator object when the + // @@iterator function is called on it. Some browsers' implementations of the + // iterator prototype chain incorrectly implement this, causing the Generator + // object to not be returned from this call. This ensures that doesn't happen. + // See https://github.com/facebook/regenerator/issues/274 for more details. + define(Gp, iteratorSymbol, function() { + return this; + }); + + define(Gp, "toString", function() { + return "[object Generator]"; + }); + + function pushTryEntry(locs) { + var entry = { tryLoc: locs[0] }; + + if (1 in locs) { + entry.catchLoc = locs[1]; + } + + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + + this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } + + function Context(tryLocsList) { + // The root entry object (effectively a try statement without a catch + // or a finally block) gives us a place to store values thrown from + // locations where there is no enclosing try statement. + this.tryEntries = [{ tryLoc: "root" }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } + + exports.keys = function(val) { + var object = Object(val); + var keys = []; + for (var key in object) { + keys.push(key); + } + keys.reverse(); + + // Rather than returning an object with a next method, we keep + // things simple and return the next function itself. + return function next() { + while (keys.length) { + var key = keys.pop(); + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } + + // To avoid creating an additional object, we just hang the .value + // and .done properties off the next function object itself. This + // also ensures that the minifier will not anonymize the function. + next.done = true; + return next; + }; + }; + + function values(iterable) { + if (iterable || iterable === "") { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } + + if (typeof iterable.next === "function") { + return iterable; + } + + if (!isNaN(iterable.length)) { + var i = -1, next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } + + next.value = undefined; + next.done = true; + + return next; + }; + + return next.next = next; + } + } + + throw new TypeError(typeof iterable + " is not iterable"); + } + exports.values = values; + + function doneResult() { + return { value: undefined, done: true }; + } + + Context.prototype = { + constructor: Context, + + reset: function(skipTempReset) { + this.prev = 0; + this.next = 0; + // Resetting context._sent for legacy support of Babel's + // function.sent implementation. + this.sent = this._sent = undefined; + this.done = false; + this.delegate = null; + + this.method = "next"; + this.arg = undefined; + + this.tryEntries.forEach(resetTryEntry); + + if (!skipTempReset) { + for (var name in this) { + // Not sure about the optimal order of these conditions: + if (name.charAt(0) === "t" && + hasOwn.call(this, name) && + !isNaN(+name.slice(1))) { + this[name] = undefined; + } + } + } + }, + + stop: function() { + this.done = true; + + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + if (rootRecord.type === "throw") { + throw rootRecord.arg; + } + + return this.rval; + }, + + dispatchException: function(exception) { + if (this.done) { + throw exception; + } + + var context = this; + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; + + if (caught) { + // If the dispatched exception was caught by a catch block, + // then let that catch block handle the exception normally. + context.method = "next"; + context.arg = undefined; + } + + return !! caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; + + if (entry.tryLoc === "root") { + // Exception thrown outside of any try block that could handle + // it, so set the completion value of the entire function to + // throw the exception. + return handle("end"); + } + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } + + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, + + abrupt: function(type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc <= this.prev && + hasOwn.call(entry, "finallyLoc") && + this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + if (finallyEntry && + (type === "break" || + type === "continue") && + finallyEntry.tryLoc <= arg && + arg <= finallyEntry.finallyLoc) { + // Ignore the finally entry if control is not jumping to a + // location outside the try/catch block. + finallyEntry = null; + } + + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; + + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } + + return this.complete(record); + }, + + complete: function(record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } + + if (record.type === "break" || + record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } + + return ContinueSentinel; + }, + + finish: function(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, + + "catch": function(tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + return thrown; + } + } + + // The context.catch method must only be called with a location + // argument that corresponds to a known catch block. + throw new Error("illegal catch attempt"); + }, + + delegateYield: function(iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; + + if (this.method === "next") { + // Deliberately forget the last sent value so that we don't + // accidentally pass it on to the delegate. + this.arg = undefined; + } + + return ContinueSentinel; + } + }; + + // Regardless of whether this script is executing as a CommonJS module + // or not, return the runtime object so that we can declare the variable + // regeneratorRuntime in the outer scope, which allows this module to be + // injected easily by `bin/regenerator --include-runtime script.js`. + return exports; + +}( + // If this script is executing as a CommonJS module, use module.exports + // as the regeneratorRuntime namespace. Otherwise create a new empty + // object. Either way, the resulting object will be used to initialize + // the regeneratorRuntime variable at the top of this file. + typeof module === "object" ? module.exports : {} +)); + +try { + regeneratorRuntime = runtime; +} catch (accidentalStrictMode) { + // This module should not be running in strict mode, so the above + // assignment should always work unless something is misconfigured. Just + // in case runtime.js accidentally runs in strict mode, in modern engines + // we can explicitly access globalThis. In older engines we can escape + // strict mode using a global Function call. This could conceivably fail + // if a Content Security Policy forbids using Function, but in that case + // the proper solution is to fix the accidental strict mode problem. If + // you've misconfigured your bundler to force strict mode and applied a + // CSP to forbid Function, and you're not willing to fix either of those + // problems, please detail your unique predicament in a GitHub issue. + if (typeof globalThis === "object") { + globalThis.regeneratorRuntime = runtime; + } else { + Function("r", "regeneratorRuntime = r")(runtime); + } +} diff --git a/package-lock.json b/package-lock.json index 67c88fa88..03c45cc2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "dependencies": { + "date-fns": "^2.30.0", "vue3-autocounter": "^1.0.6" } }, @@ -20,6 +21,17 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/runtime": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.15.tgz", + "integrity": "sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", @@ -144,6 +156,21 @@ "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", "peer": true }, + "node_modules/date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "dependencies": { + "@babel/runtime": "^7.21.0" + }, + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", @@ -214,6 +241,11 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/regenerator-runtime": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", + "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" + }, "node_modules/source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", diff --git a/package.json b/package.json index ef2381976..60ad53803 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { + "date-fns": "^2.30.0", "vue3-autocounter": "^1.0.6" } }